USB use-after-free leads a busy kernel day
Kernel discussion centered on a use-after-free in the USB device interface, library fixes for 7.3, and a heated proposal to tighten rules for AI-assisted patches. Memory-management and architecture work also moved, from arm64 page size selection to a shared page-attribute core.
USB device release has no barrier against in-flight async completion
Reports describe a use-after-free window on struct usb_dev_state because usbdev_release() has no barrier against an in-flight async_completed() callback. The thread, with Greg KH participating, includes KASAN reproductions on 7.3 and later reports of similar issues in sunrpc and ALSA. Anyone tracking USB userspace access or 7.3 stability is looking at an active memory-safety bug rather than a theoretical race.
Library fixes for 7.3 reopen the kvmalloc GFP_ATOMIC debate
A four-patch library series for 7.3 drew Linus and the mm maintainers into a debate over kvmalloc GFP_ATOMIC and vmalloc support. The discussion follows an rhashtable deadlock and maple_tree RCU fixes. How that allocator may be used under atomic constraints affects deadlock risk in core data structures.
Docs patch would demand short changelogs and cover letters for AI-assisted work
A documentation patch would require short changelogs and a cover letter for AI-assisted submissions, after repeated maintainer complaints about verbosity. The thread is heated. If the change is adopted, contributors who use AI tools would face extra process requirements before review.
RFC would make arm64 page size selectable at boot
An RFC v2 posts core patches so arm64 can select a 4K, 16K, or 64K page size at boot from the command line. One kernel image could then serve workloads that today need separate page-size builds.
MGLRU v6 adds frequency-guided promotion
Version 6 of the multi-gen LRU series adds frequency-guided promotion, reports gains of 10 to 50 percent, fixes PSI and Kubernetes metrics, and drops a page flag. Reclaim behavior for memory management and container workloads is the practical stake.
cgroup kill and freeze walks would drop cgroup_mutex
A v2 series of 11 patches stops holding cgroup_mutex during cgroup.kill and cgroup.freeze walks. The stated aim is lower contention and latency for OOM killers and runtimes that hit those files under load.
RFC consolidates set_memory into a generic core
An RFC v2 of 54 patches would fold seven architecture-specific set_memory implementations into a generic memory-management change_page_attr core based on the x86 code. Architectures that still maintain their own page-attribute paths would share one implementation.
Perf coverage harness reaches v13 with the fixes it found
Arnaldo posted v13 of a perf coverage harness, along with seven fixes and ten new tests for data-type annotation and build features. The series is both a test tool and a record of bugs that tool has already turned up.