Linux
vdpa_sim_net: check TX pull result before RX copy
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= cfe226892913a448e83e7a19db93862baa3cb99c, < 1b803d382cde6d85755b363f22010208a04ba40a
- >= cfe226892913a448e83e7a19db93862baa3cb99c, < c001abcde865b74231da8f1412c3217dbf66781e
- >= cfe226892913a448e83e7a19db93862baa3cb99c, < 3af20238a09ca180d66623e3bed16b64e9975f39
- >= cfe226892913a448e83e7a19db93862baa3cb99c, < 2bbf1c1f69991e28787e02b0a2f826289d5fc730
- >= cfe226892913a448e83e7a19db93862baa3cb99c, < 0d195797a80b77f2ec56718cd26d3ee65d0093e8
Fixed in 1b803d382cde6d85755b363f22010208a04ba40a, c001abcde865b74231da8f1412c3217dbf66781e, 3af20238a09ca180d66623e3bed16b64e9975f39, 2bbf1c1f69991e28787e02b0a2f826289d5fc730, 0d195797a80b77f2ec56718cd26d3ee65d0093e8
- 5.19
Fixed in 0, 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3
Mitigation
Upgrade Linux to 1b803d382cde6d85755b363f22010208a04ba40a or c001abcde865b74231da8f1412c3217dbf66781e or 3af20238a09ca180d66623e3bed16b64e9975f39 or 2bbf1c1f69991e28787e02b0a2f826289d5fc730 or 0d195797a80b77f2ec56718cd26d3ee65d0093e8 or later.
Upgrade Linux to 0 or 6.6.158 or 6.12.111 or 6.18.53 or 7.2.7 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.