vdpa_sim_net: check TX pull result before RX copy
- 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.6.158, 6.12.111, 6.18.53, 7.2.7
- 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
Summary
In the Linux kernel, the following vulnerability has been resolved: vdpa_sim_net: check TX pull result before RX copy vringh_iov_pull_iotlb() returns a signed byte count. A failed TX pull is currently added to the unsigned byte counter and then passed as a size_t length to receive_filter() and vringh_iov_push_iotlb(). A negative error can therefore become a large length in the RX path. Handle non-positive pull results before every length use. Count the TX error and complete the consumed TX descriptor with zero bytes. I found this bug myself, though the patch was written with AI assistance.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From cfe226892913a448e83e7a19db93862baa3cb99c · fixed in 1b803d382cde6d85755b363f22010208a04ba40a; From cfe226892913a448e83e7a19db93862baa3cb99c · fixed in c001abcde865b74231da8f1412c3217dbf66781e; From cfe226892913a448e83e7a19db93862baa3cb99c · fixed in 3af20238a09ca180d66623e3bed16b64e9975f39; From cfe226892913a448e83e7a19db93862baa3cb99c · fixed in 2bbf1c1f69991e28787e02b0a2f826289d5fc730; From cfe226892913a448e83e7a19db93862baa3cb99c · fixed in 0d195797a80b77f2ec56718cd26d3ee65d0093e8
- Linux Linux
5.19
- KernelLinux
From 5.19.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7