181bccbacc4f Linux 5.15.45-xanmod1-tt f921fc296496 Merge branch '5.15' into 5.15-tt c0002efed8a1 Merge tag 'v5.15.45' into 5.15 a4828b3c55fb drivers/char: Remove LRNG v43 patchset 207ca688162d Linux 5.15.45 37fad50e16ff ALSA: usb-audio: Optimize TEAC clock quirk 6099a6c8a749 bpf: Check PTR_TO_MEM | MEM_RDONLY in check_helper_mem_access 5d0bba8232bf bpf: Reject writes for PTR_TO_MAP_KEY in check_helper_mem_access 51f6657e9443 bpf: Fix excessive memory allocation in stack_map_alloc() 77f8c4a5f3d0 bpf: Enlarge offset check value to INT_MAX in bpf_skb_{load,store}_bytes e36452d5da63 bpf: Fix potential array overflow in bpf_trampoline_get_progs() e2fc17fcc503 NFSD: Fix possible sleep during nfsd4_release_lockowner() fa1c51c82c0e NFS: Memory allocation failures are not server fatal errors 9bc73bbd5597 docs: submitting-patches: Fix crossref to 'The canonical patch format' 581b2ed60535 tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe() b5745954a993 tpm: Fix buffer access in tpm2_get_tpm_pt() 718ff5fc7e1c media: i2c: imx412: Fix power_off ordering d207a2e2080b media: i2c: imx412: Fix reset GPIO polarity 9ebed8d283e5 x86/sgx: Ensure no data in PCMD page after truncate cd6947942511 x86/sgx: Fix race between reclaimer and page fault handler b070e97fbd14 x86/sgx: Obtain backing storage page with enclave mutex held fd55a1707750 x86/sgx: Mark PCMD page as dirty when modifying contents cdf828c11c12 x86/sgx: Disconnect backing page references from dirty status 12b635b4e349 HID: multitouch: add quirks to enable Lenovo X12 trackpoint 18242f342838 HID: multitouch: Add support for Google Whiskers Touchpad 58cf68a1886d fs/ntfs3: validate BOOT sectors_per_clusters 6e5bc6f7fef0 raid5: introduce MD_BROKEN 69712b170237 dm verity: set DM_TARGET_IMMUTABLE feature flag 40aaeb41dde0 dm stats: add cond_resched when looping over entries fd77cb622074 dm crypt: make printing of the key constant-time ed0712361a91 dm integrity: fix error code in dm_integrity_ctr() a485b32de799 ARM: dts: s5pv210: Correct interrupt name for bluetooth in Aries db03727b4bbb Bluetooth: hci_qca: Use del_timer_sync() before freeing f18aa2fc00bf ALSA: usb-audio: Configure sync endpoints before data 8d1f71573089 ALSA: usb-audio: Add missing ep_idx in fixed EP quirks 8c9a54eed738 ALSA: usb-audio: Workaround for clock setup on TEAC devices 3ec459c8810e zsmalloc: fix races between asynchronous zspage free and page migration 5763176f6954 crypto: ecrdsa - Fix incorrect use of vli_cmp dd36037d4ae7 crypto: caam - fix i.MX6SX entropy delay value d8fdb4b24097 KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak 8d3a2aa0976f KVM: x86: Drop WARNs that assert a triple fault never "escapes" from L2 531d1070d864 KVM: x86: avoid calling x86 emulator without a decoded instruction eea9755a04e0 x86, kvm: use correct GFP flags for preemption disabled 7b54eb631934 x86/kvm: Alloc dummy async #PF token outside of raw spinlock 1b6bcda5df8c KVM: PPC: Book3S HV: fix incorrect NULL check on list iterator 01989d7eebb6 netfilter: conntrack: re-fetch conntrack after insertion 9c413a8c8bb4 netfilter: nf_tables: double hook unregistration in netns path 9ea55b9f4353 netfilter: nf_tables: hold mutex on netns pre_exit path 89ef50fe03a5 netfilter: nf_tables: sanitize nft_set_desc_concat_parse() e61717947af5 crypto: drbg - make reseeding from get_random_bytes() synchronous da208708f4c5 crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed() 585f6b76d354 crypto: drbg - track whether DRBG was seeded with !rng_is_initialized() fa996803b9d6 crypto: drbg - prepare for more fine-grained tracking of seeding state e16cc79b0f91 lib/crypto: add prompts back to crypto libraries c504167adc32 exfat: check if cluster num is valid 195fffbf8291 drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency() 23cb9eff90b1 net: ipa: compute proper aggregation limit cf2fbc56c478 pipe: Fix missing lock in pipe_resize_ring() e6acf868ff0e pipe: make poll_usage boolean and annotate its access 8a3db00ab0e2 assoc_array: Fix BUG_ON during garbage collect 24c6fc6e7453 i2c: ismt: prevent memory corruption in ismt_access() f692bcffd1f2 netfilter: nf_tables: disallow non-stateful expression in sets earlier f55c75cf73c0 drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers 71475936e647 i2c: ismt: Provide a DMA buffer for Interrupt Cause Logging 731561de2aeb net: ftgmac100: Disable hardware checksum on AST2600 49651497b637 nfc: pn533: Fix buggy cleanup order 7e18fd12489b net: af_key: check encryption module availability consistency 20b413c38b7c percpu_ref_init(): clean ->percpu_count_ref on failure 8243f5768dea KVM: arm64: Don't hypercall before EL2 init 8ff411998a33 pinctrl: sunxi: fix f1c100s uart2 function 09901136e79d ALSA: usb-audio: Don't get sample rate for MCT Trigger 5 USB-to-HDMI 4e67be407725 Linux 5.15.44 50196b5d73dc ALSA: ctxfi: Add SB046x PCI ID ea5b87349d5a random: check for signals after page of pool writes 3e167570a951 random: wire up fops->splice_{read,write}_iter() 0789c69644c8 random: convert to using fops->write_iter() 7f8cea12a494 random: convert to using fops->read_iter() 6244da28c6b3 random: unify batched entropy implementations 64cb7f01ddd2 random: move randomize_page() into mm where it belongs 55a368c3e850 random: move initialization functions out of hot pages 542a60612d2a random: make consistent use of buf and len 29ed26a33436 random: use proper return types on get_random_{int,long}_wait() 55729575eaa9 random: remove extern from functions in header c6ae9d65bcdb random: use static branch for crng_ready() 4e5e6754a4b6 random: credit architectural init the exact amount 11cce5040c29 random: handle latent entropy and command line from random_init() ac0172992c94 random: use proper jiffies comparison macro 8df752b82ec5 random: remove ratelimiting for in-kernel unseeded randomness 272b79432f66 random: move initialization out of reseeding hot path c4e600154ac0 random: avoid initializing twice in credit race 23a1b984f4b8 random: use symbolic constants for crng_init states f4cb809a90df siphash: use one source of truth for siphash permutations 82caef84092e random: help compiler out with fast_mix() by using simpler arguments 4649394c4749 random: do not use input pool from hard IRQs df4e319ea60f random: order timer entropy functions below interrupt functions baf06217704b random: do not pretend to handle premature next security model 0d24003b5fde random: use first 128 bits of input as fast init 0d79a47b4ae0 random: do not use batches when !crng_ready() 1ab530cf40dc random: insist on random_get_entropy() existing in order to simplify e6bd242523e8 xtensa: use fallback for random_get_entropy() instead of zero b4582cb35167 sparc: use fallback for random_get_entropy() instead of zero d876dca6edf3 um: use fallback for random_get_entropy() instead of zero e017497815f3 x86/tsc: Use fallback for random_get_entropy() instead of zero 38fbfa404da6 nios2: use fallback for random_get_entropy() instead of zero 197d25e068c0 arm: use fallback for random_get_entropy() instead of zero 9e6db825e87a mips: use fallback for random_get_entropy() instead of just c0 random 2ab416043a94 riscv: use fallback for random_get_entropy() instead of zero a1428cd7e194 m68k: use fallback for random_get_entropy() instead of zero 82f182812f17 timekeeping: Add raw clock fallback for random_get_entropy() bc94ccb2904e powerpc: define get_cycles macro for arch-override 8ca78fbdeba0 alpha: define get_cycles macro for arch-override 9bf990cff673 parisc: define get_cycles macro for arch-override e05efd31b9db s390: define get_cycles macro for arch-override 9f174326e35c ia64: define get_cycles macro for arch-override 807ed9c29586 init: call time_init() before rand_initialize() 2814a9e632db random: fix sysctl documentation nits 4179671f496b random: document crng_fast_key_erasure() destination possibility 8b373c113a4c random: make random_get_entropy() return an unsigned long b8078810e44d random: allow partial reads if later user copies fail ccaaff57ed50 random: check for signals every PAGE_SIZE chunk of /dev/[u]random 02c2e2ca3610 random: check for signal_pending() outside of need_resched() check e7e196e1ae26 random: do not allow user to keep crng key around on stack be7561767ce8 random: do not split fast init input in add_hwgenerator_randomness() 636b057e2a1a random: mix build-time latent entropy into pool at init 3967a200367c random: re-add removed comment about get_random_{u32,u64} reseeding 25727cbbe9b4 random: treat bootloader trust toggle the same way as cpu trust toggle a704248b4590 random: skip fast_init if hwrng provides large chunk of entropy 3689ac035180 random: check for signal and try earlier when generating entropy 94c8249efa76 random: reseed more often immediately after booting 99290c6898b2 random: make consistent usage of crng_ready() 0c66c876393b random: use SipHash as interrupt entropy accumulator 6da877d2d46b random: replace custom notifier chain with standard one 39c9e5566ac5 random: don't let 644 read-only sysctls be written to e4e1600a674f random: give sysctl_random_min_urandom_seed a more sensible value 2c60d7f38d64 random: do crng pre-init loading in worker rather than irq 1523ec5324e9 random: unify cycles_t and jiffies usage and types fdb1e54472c3 random: cleanup UUID handling c169e7a09cd4 random: only wake up writers after zap if threshold was passed e400ba11a241 random: round-robin registers as ulong, not u32 144c1e7ecf00 random: clear fast pool, crng, and batches in cpuhp bring up 80c1f7f8f3cd random: pull add_hwgenerator_randomness() declaration into random.h 98d6def672fd random: check for crng_init == 0 in add_device_randomness() 9df4a56fad32 random: unify early init crng load accounting d386b087056a random: do not take pool spinlock at boot 3c48a2da32ef random: defer fast pool mixing to worker 9489e36e2150 random: rewrite header introductory comment 9385681af846 random: group sysctl functions 96340f035df6 random: group userspace read/write functions 74b704245f31 random: group entropy collection functions 43e87e6f3317 random: group entropy extraction functions 019e057db9b1 random: group crng functions 81e62ff1f650 random: group initialization wait functions d3a2510216b4 random: remove whitespace and reorder includes 30c52e99db0d random: remove useless header comment 95f85a01584e random: introduce drain_entropy() helper to declutter crng_reseed() c807eca035c3 random: deobfuscate irq u32/u64 contributions f641f9495d6f random: add proper SPDX header ce951e9672df random: remove unused tracepoints 4509941f75ac random: remove ifdef'd out interrupt bench ad5d17d0faf9 random: tie batched entropy generation to base_crng generation 86ab60616ec6 random: fix locking for crng_init in crng_reseed() d2d1ad9430b1 random: zero buffer after reading entropy from userspace eda555356b39 random: remove outdated INT_MAX >> 6 check in urandom_read() 5dd066ade820 random: make more consistent use of integer types ba789caa17a0 random: use hash function for crng_slow_load() b27bd09d0544 random: use simpler fast key erasure flow on per-cpu keys 1aab83f96663 random: absorb fast pool into input pool after fast load 4a18db164cbb random: do not xor RDRAND when writing into /dev/random b51caadb18a7 random: ensure early RDSEED goes through mixer on init fd6eb2800589 random: inline leaves of rand_initialize() 5e4fab6fefb1 random: get rid of secondary crngs ded4cc806d0d random: use RDSEED instead of RDRAND in entropy extraction 704c76e08804 random: fix locking in crng_fast_load() 67fdda9af773 random: remove batched entropy locking ad86aa8ec90f random: remove use_input_pool parameter from crng_reseed() 1bc9db59b24c random: make credit_entropy_bits() always safe 3730490111ca random: always wake up entropy writers after extraction cb65ac300816 random: use linear min-entropy accumulation crediting a6beb8155b9c random: simplify entropy debiting a5e2c8a4574a random: use computational hash for entropy extraction add92df1cb37 random: only call crng_finalize_init() for primary_crng 07e015230415 random: access primary_pool directly rather than through pointer b53c9666e714 random: continually use hwgenerator randomness c1dc53d781fd random: simplify arithmetic function flow in account() 2f0e83e8326b random: selectively clang-format where it makes sense db7a0a9171ed random: access input_pool_data directly rather than through pointer c25c7e29be27 random: cleanup fractional entropy shift constants 68512942c0d7 random: prepend remaining pool constants with POOL_ 2772ba4d5223 random: de-duplicate INPUT_POOL constants da80b44cf9cf random: remove unused OUTPUT_POOL constants f9efa1a98831 random: rather than entropy_store abstraction, use global b6d849d0e2f8 random: remove unused extract_entropy() reserved argument 578fbb760064 random: remove incomplete last_data logic 8aa9ddc4db29 random: cleanup integer types 4330c485f92c random: cleanup poolinfo abstraction 250bda5d0505 random: fix typo in comments 15a1a3baf14f random: don't reset crng_init_cnt on urandom_read() d47579fb283a random: avoid superfluous call to RDRAND in CRNG extraction 0c3910447110 random: early initialization of ChaCha constants 5822fad8d3dc random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs 69bb5f0917f9 random: harmonize "crng init done" messages c4c9081184e9 random: mix bootloader randomness into pool 1b1258b91757 random: do not re-init if crng_reseed completes before primary init 08040365d0b7 random: do not sign extend bytes for rotation when mixing 2e827d53343a random: use BLAKE2s instead of SHA1 in extraction c5a7694fa802 random: remove unused irq_flags argument from add_interrupt_randomness() 40af1df8034a random: document add_hwgenerator_randomness() with other input functions 45626449eb25 lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFI b0cdd9ec8445 lib/crypto: sha1: re-roll loops to reduce code size cba2195416d4 lib/crypto: blake2s: move hmac construction into wireguard caba66ec322e lib/crypto: blake2s: include as built-in 830ecbae41a7 MAINTAINERS: add git tree for random.c 12d7163380a2 MAINTAINERS: co-maintain random.c 0da5349e2254 ACPI: sysfs: Fix BERT error region memory mapping bf5a3c51e9f7 ice: fix crash at allocation failure acd12d165281 KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID f82ccfa4835b HID: amd_sfh: Add support for sensor discovery f800a905fb8d Linux 5.15.43-xanmod1