freenode

← digests

Kernel: AF_XDP bounds fix, mm_cid bugs, MGLRU promotion

Kernel & Low-Level2026-11-29

The day's kernel traffic is dominated by a security fix for AF_XDP zero-copy receive and a stable-bound scheduler series covering use-after-free on exec and affinity. Larger proposals also advanced for multi-generation LRU promotion, TPM trusted keys, and a userland container object model.

AF_XDP zero-copy shared info moved out of user memory

A three-patch series for net fixes a kernel out-of-bounds access in AF_XDP zero-copy multi-buffer receive. Shared info that previously lived in user-writable UMEM is moved into the kernel buffer pool. The change matters to anyone running AF_XDP zero-copy, because user-controlled memory was reachable from kernel packet processing.

mm_cid fixes for exec, mode switches, and affinity

Mathieu Desnoyers posted a 17-patch series addressing six mm_cid scheduler bugs, including use-after-free on exec and affinity changes, marked for stable, plus new rseq selftests. The bugs sit on the path used to assign memory-context identifiers for restartable sequences. Incorrect lifetime handling there can corrupt scheduler state across process replacement and CPU affinity updates.

MGLRU frequency-guided promotion reaches v6

A v6 series for mm/mglru adds frequency-guided promotion (MGLRU-FG), claims gains in the 10 to 50 percent range, fixes PSI and Kubernetes metrics, and drops a page flag. The work changes how multi-generation LRU decides which pages to promote. Operators who rely on pressure metrics should watch the PSI and Kubernetes fixes even if they do not adopt the promotion policy.

TPM trusted keys gain asymmetric key support

Jarkko posted v6 of a KEYS trusted series that adds ASN.1 TPMKey asymmetric key support, with pkey operations and on-the-fly primary creation. Trusted keys today are mostly symmetric sealing; this extends the kernel keyring path to asymmetric TPM-backed keys. That is relevant to systems that want TPM-resident keys usable through the existing kernel key API.

RFC for userland container objects

Jarkko Sakkinen posted RFC v8, a 29-patch series adding userland container objects, CLONE_INTO_USERLAND, mount and namespace changes, and LSM hooks. The proposal is still an RFC, not a merge candidate. It would add a new container primitive rather than only composing existing namespaces, so the LSM and clone interfaces are the parts worth reading first.

Early Qualcomm USB4 host router driver

An RFC marked do-not-merge posts a Qualcomm USB4 router driver (qcom.c) along with prerequisite Thunderbolt, power-management, and clock fixes. Device-tree bindings are still missing. The series is an early look at host-side USB4 on Qualcomm platforms, not something to build on yet.

RAID1 and RAID10 writes acknowledged before failure is recorded

An eight-patch series fixes several RAID1 and RAID10 cases where writes complete before a device failure is recorded in the superblock, which can lose data. The window is between I/O completion and the metadata update that marks a member failed. Arrays that acknowledge writes in that window can reconstruct from a disk the kernel already knows is bad.

IOMMU flush queue restored after NVMe regression

A four-patch series restores flush-queue use in dma_iova_destroy() after a simplification forced strict IOTLB invalidation and a fourfold NVMe throughput loss on SMMUv3. Discussion on the thread was heated. The practical effect is a large storage regression on Arm SMMUv3 systems that had been relying on deferred invalidation.