CVE-2026-99658
mm/mmu_notifier: finish non-blocking interval invalidation on error
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 99cb252f5e68d72afa3245a4e73d216d295cd335 to < ae55bb60306c9aed7205886f594b2ebc2fddf3fe; affected: 99cb252f5e68d72afa3245a4e73d216d295cd335 to < 466869473707e14c8404a0e19dcf956b44173bea; affected: 99cb252f5e68d72afa3245a4e73d216d295cd335 to < 2f0322e263ff009933bf3215051f2a4b1babb102; affected: 99cb252f5e68d72afa3245a4e73d216d295cd335 to < cb8f6eef819a210e8fce3a12303004e88bd3dffc; affected: 99cb252f5e68d72afa3245a4e73d216d295cd335 to < 01ce779d7e598aafd3a02059d100ce66c909bea2; affected: 99cb252f5e68d72afa3245a4e73d216d295cd335 to < 00936003341fdb8c526652a9b84f99124616efb9; affected: 99cb252f5e68d72afa3245a4e73d216d295cd335 to < 9439da3fa1ac9a7bdc4a2d3729a5bd0c2660c1b9; affected: 99cb252f5e68d72afa3245a4e73d216d295cd335 to < 6d65925777ecae9d7a571a327e41c63f3940a0c7 | See vendor advisory |
| LinuxLinux | affected: 5.5; unaffected: 0 to < 5.5; unaffected: 5.10.275 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99658
- https://git.kernel.org/stable/c/ae55bb60306c9aed7205886f594b2ebc2fddf3fe
- https://git.kernel.org/stable/c/466869473707e14c8404a0e19dcf956b44173bea
- https://git.kernel.org/stable/c/2f0322e263ff009933bf3215051f2a4b1babb102
- https://git.kernel.org/stable/c/cb8f6eef819a210e8fce3a12303004e88bd3dffc
- https://git.kernel.org/stable/c/01ce779d7e598aafd3a02059d100ce66c909bea2
- https://git.kernel.org/stable/c/00936003341fdb8c526652a9b84f99124616efb9
- https://git.kernel.org/stable/c/9439da3fa1ac9a7bdc4a2d3729a5bd0c2660c1b9
- https://git.kernel.org/stable/c/6d65925777ecae9d7a571a327e41c63f3940a0c7