Linux 7.2-rc7 Addresses a “Nasty” Race Condition Leading to Use-After-Free After 8 Years
Linux 7.2-rc7 fixes an eight-year-old race between the page-table dumper and vmap page-table freeing. A ptdump walker could continue through a PUD, PMD, or PTE page-table page after it had been freed, creating a use-after-free; Syzbot found the defect in June.
The fix was reworked from an investigation assisted by Claude Opus 4.8, then merged for the release candidate and expected to be backported to stable kernels. It is a useful example of AI-assisted debugging ending in a conventional, reviewable kernel patch rather than machine-authored code being trusted wholesale.