mm: fix unkillable fault loop on MAP_DROPPABLE memory
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f8ed1ee3f590555be7cdbaeaa5b349eb9c95ba94, Kernel 76ae1564e4c77d0ade4f533ac6de4fe1eb6d7e7f, Kernel 9f02ca8c15a74bc9e4e8e05ec089f63cb87cbf75 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: mm: fix unkillable fault loop on MAP_DROPPABLE memory handle_mm_fault() suppresses VM_FAULT_OOM for VM_DROPPABLE mappings. For user-mode faults, pending signals are processed before retrying the access. Kernel-mode faults on user buffers instead return directly to the faulting instruction. With persistent allocation failures (esp. memcg limits), a syscall, such as write(), can therefore loop while not dropping locks. Only suppress VM_FAULT_OOM when FAULT_FLAG_USER is set, allowing kernel-mode faults and GUP to fail and signal allocation errors. Fix generated by an LLM and sent by Chris Mason in private. [ david: simplify description ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1 <f8ed1ee3f590555be7cdbaeaa5b349eb9c95ba94, >=9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1 <76ae1564e4c77d0ade4f533ac6de4fe1eb6d7e7f, >=9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1 <9f02ca8c15a74bc9e4e8e05ec089f63cb87cbf75, >=9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1 <a9756f83b8a84b1f50c6af48aeabe9eb6429bcb1, =6.11 | f8ed1ee3f590555be7cdbaeaa5b349eb9c95ba94, 76ae1564e4c77d0ade4f533ac6de4fe1eb6d7e7f, 9f02ca8c15a74bc9e4e8e05ec089f63cb87cbf75, a9756f83b8a84b1f50c6af48aeabe9eb6429bcb1 |
| linux-kernel: Kernel | >=6.13.0 <6.18.64, >=6.19.0 <7.3.5, >=6.11.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