mm/mmu_notifier: finish non-blocking interval invalidation on error
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9439da3fa1ac9a7bdc4a2d3729a5bd0c2660c1b9, Kernel 00936003341fdb8c526652a9b84f99124616efb9, Kernel 01ce779d7e598aafd3a02059d100ce66c909bea2 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: mm/mmu_notifier: finish non-blocking interval invalidation on error When an ordinary MMU notifier rejects a non-blocking invalidation, the interval invalidation started beforehand is left unfinished: the caller skips mmu_notifier_invalidate_range_end(). Subsequent interval notifier operations can then wait forever. The only in-tree trigger is nouveau SVM, which uses both notifier types and rejects non-blocking invalidations. Reaping via the OOM reaper or process_mrelease() can therefore leave the GPU fault worker stuck, holding a reference that prevents the dying process's address space and memory from being freed. End the interval invalidation when an ordinary notifier fails a non-blocking invalidation, like mn_itree_invalidate() already does when an interval notifier fails. Make that handling clearer in the documentation of mmu_notifier_invalidate_range_start_nonblock(). Fix generated by an LLM and sent by Josef Bacik in private. [ david: simplify description, update function doc ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=99cb252f5e68d72afa3245a4e73d216d295cd335 <9439da3fa1ac9a7bdc4a2d3729a5bd0c2660c1b9, >=99cb252f5e68d72afa3245a4e73d216d295cd335 <00936003341fdb8c526652a9b84f99124616efb9, >=99cb252f5e68d72afa3245a4e73d216d295cd335 <01ce779d7e598aafd3a02059d100ce66c909bea2, >=99cb252f5e68d72afa3245a4e73d216d295cd335 <6d65925777ecae9d7a571a327e41c63f3940a0c7, =5.5 | 9439da3fa1ac9a7bdc4a2d3729a5bd0c2660c1b9, 00936003341fdb8c526652a9b84f99124616efb9, 01ce779d7e598aafd3a02059d100ce66c909bea2, 6d65925777ecae9d7a571a327e41c63f3940a0c7 |
| linux-kernel: Kernel | >=6.13.0 <6.18.64, >=6.19.0 <7.3.5, >=5.5.0 <6.12.118 | 6.18.64, 7.3.5, 6.12.118 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket