Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f7a22071dbf316c982fb44308874bd7ad9ac2091 to < ee188a6b264b71315a67f1b9470faad308b730d2affectedf7a22071dbf316c982fb44308874bd7ad9ac2091 to < b2f426a9a22886071966432ede8fceafffe12b8caffectedf7a22071dbf316c982fb44308874bd7ad9ac2091 to < 94fe0ab01b480b52bd8f977edbd845ef375d69fdaffectedf7a22071dbf316c982fb44308874bd7ad9ac2091 to < 78237e3c0720fcc6eb9b87e90fd70f63eeca886faffected
Linux Linux
Default version status: affected
6.10affected0 to < 6.10unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected