vdpa_sim_net: check TX pull result before RX copy
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0d195797a80b77f2ec56718cd26d3ee65d0093e8, Kernel 1b803d382cde6d85755b363f22010208a04ba40a, Kernel 2bbf1c1f69991e28787e02b0a2f826289d5fc730 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.19, >=cfe226892913a448e83e7a19db93862baa3cb99c <0d195797a80b77f2ec56718cd26d3ee65d0093e8, >=cfe226892913a448e83e7a19db93862baa3cb99c <1b803d382cde6d85755b363f22010208a04ba40a, >=cfe226892913a448e83e7a19db93862baa3cb99c <2bbf1c1f69991e28787e02b0a2f826289d5fc730, >=cfe226892913a448e83e7a19db93862baa3cb99c <3af20238a09ca180d66623e3bed16b64e9975f39, >=cfe226892913a448e83e7a19db93862baa3cb99c <c001abcde865b74231da8f1412c3217dbf66781e | 0d195797a80b77f2ec56718cd26d3ee65d0093e8, 1b803d382cde6d85755b363f22010208a04ba40a, 2bbf1c1f69991e28787e02b0a2f826289d5fc730, 3af20238a09ca180d66623e3bed16b64e9975f39, c001abcde865b74231da8f1412c3217dbf66781e |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket