Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f7a22071dbf316c982fb44308874bd7ad9ac2091 before ee188a6b264b71315a67f1b9470faad308b730d2; affected f7a22071dbf316c982fb44308874bd7ad9ac2091 before b2f426a9a22886071966432ede8fceafffe12b8c; affected f7a22071dbf316c982fb44308874bd7ad9ac2091 before 94fe0ab01b480b52bd8f977edbd845ef375d69fd; affected f7a22071dbf316c982fb44308874bd7ad9ac2091 before 78237e3c0720fcc6eb9b87e90fd70f63eeca886f |
| Linux / Linux | affected 6.10; unaffected 0 before 6.10; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/ee188a6b264b71315a67f1b9470faad308b730d2
- https://git.kernel.org/stable/c/b2f426a9a22886071966432ede8fceafffe12b8c
- https://git.kernel.org/stable/c/94fe0ab01b480b52bd8f977edbd845ef375d69fd
- https://git.kernel.org/stable/c/78237e3c0720fcc6eb9b87e90fd70f63eeca886f
ADP enrichment
No English description supplied.
No references supplied.