dibs: loopback: validate offset and size in move_data()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.97, 6.18.40, 7.1.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From f7a22071dbf316c982fb44308874bd7ad9ac2091 · fixed in ee188a6b264b71315a67f1b9470faad308b730d2; From f7a22071dbf316c982fb44308874bd7ad9ac2091 · fixed in b2f426a9a22886071966432ede8fceafffe12b8c; From f7a22071dbf316c982fb44308874bd7ad9ac2091 · fixed in 94fe0ab01b480b52bd8f977edbd845ef375d69fd; From f7a22071dbf316c982fb44308874bd7ad9ac2091 · fixed in 78237e3c0720fcc6eb9b87e90fd70f63eeca886f
- Linux Linux
6.10
- KernelLinux
From 6.10.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5