dibs: loopback: validate offset and size in move_data()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ee188a6b264b71315a67f1b9470faad308b730d2, Kernel 78237e3c0720fcc6eb9b87e90fd70f63eeca886f, Kernel 94fe0ab01b480b52bd8f977edbd845ef375d69fd and 4 more.
In the Linux kernel, the following vulnerability has been resolved: dibs: loopback: validate offset and size in move_data() The loopback move_data() performs a memcpy into the registered DMB without checking whether offset + size exceeds the DMB length. Unlike real ISM hardware, which enforces memory region bounds natively, the software loopback has no such protection. A peer-supplied out-of-bounds offset or oversized write would result in an OOB write past the allocated kernel buffer. Add an explicit bounds check before the memcpy to reject such requests with -EINVAL.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f7a22071dbf316c982fb44308874bd7ad9ac2091 <ee188a6b264b71315a67f1b9470faad308b730d2, >=f7a22071dbf316c982fb44308874bd7ad9ac2091 <78237e3c0720fcc6eb9b87e90fd70f63eeca886f, >=f7a22071dbf316c982fb44308874bd7ad9ac2091 <94fe0ab01b480b52bd8f977edbd845ef375d69fd, >=f7a22071dbf316c982fb44308874bd7ad9ac2091 <b2f426a9a22886071966432ede8fceafffe12b8c, =6.10 | ee188a6b264b71315a67f1b9470faad308b730d2, 78237e3c0720fcc6eb9b87e90fd70f63eeca886f, 94fe0ab01b480b52bd8f977edbd845ef375d69fd, b2f426a9a22886071966432ede8fceafffe12b8c |
| linux-kernel: Kernel | >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.10.0 <6.12.97 | 6.18.40, 7.1.5, 6.12.97 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket