← CVE Intelligence

CVE-2026-97990

vdpa_sim_net: check TX pull result before RX copy PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected cfe226892913a448e83e7a19db93862baa3cb99c before 1b803d382cde6d85755b363f22010208a04ba40a; affected cfe226892913a448e83e7a19db93862baa3cb99c before c001abcde865b74231da8f1412c3217dbf66781e; affected cfe226892913a448e83e7a19db93862baa3cb99c before 3af20238a09ca180d66623e3bed16b64e9975f39; affected cfe226892913a448e83e7a19db93862baa3cb99c before 2bbf1c1f69991e28787e02b0a2f826289d5fc730; affected cfe226892913a448e83e7a19db93862baa3cb99c before 0d195797a80b77f2ec56718cd26d3ee65d0093e8
Linux / Linuxaffected 5.19; unaffected 0 before 5.19; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References