cxl/mbox: Break poison list loop on an empty payload
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 42eab80981f4d2ac820e253e80ecf92f8cd91f69, Kernel 6ad491cef1a812cf7b53aa769cd8869516c47362, Kernel 86771c105293ca26bfcc320b4f60d32c137b54aa and 2 more.
In the Linux kernel, the following vulnerability has been resolved: cxl/mbox: Break poison list loop on an empty payload A device that returns count == 0 with CXL_POISON_FLAG_MORE set on every iteration never advances nr_records, so the max_errors guard never trips and the do/while loops forever while holding poison.mutex. That hangs the sysfs-triggered scan thread and blocks all subsequent poison operations on the device. The existing "Protect against an uncleared _FLAG_MORE" guard was intended to bound a misbehaving device but does not cover the count == 0 case. Stop the loop on an empty payload so a malfunctioning or malicious device cannot wedge the poison scan.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.4, >=ed83f7ca398b3798b82c1d5d1113011c0e5a2198 <42eab80981f4d2ac820e253e80ecf92f8cd91f69, >=ed83f7ca398b3798b82c1d5d1113011c0e5a2198 <6ad491cef1a812cf7b53aa769cd8869516c47362, >=ed83f7ca398b3798b82c1d5d1113011c0e5a2198 <86771c105293ca26bfcc320b4f60d32c137b54aa, >=ed83f7ca398b3798b82c1d5d1113011c0e5a2198 <8b301c4afbce4bc3f94528441d8d5ce1366504ad, >=ed83f7ca398b3798b82c1d5d1113011c0e5a2198 <e77594e0cea67ab1c2317a27aa77a744e26ad6a6 | 42eab80981f4d2ac820e253e80ecf92f8cd91f69, 6ad491cef1a812cf7b53aa769cd8869516c47362, 86771c105293ca26bfcc320b4f60d32c137b54aa, 8b301c4afbce4bc3f94528441d8d5ce1366504ad, e77594e0cea67ab1c2317a27aa77a744e26ad6a6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket