Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited with local access to the device, without logging in, without any user interaction.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
Weakness type: Out-of-bounds write.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
In the Linux kernel, the following vulnerability has been resolved:
virtio-net: fix len check in receive_big()
receive_big() bounds the device-announced length by
(big_packets_num_skbfrags + 1) * PAGE_SIZE. That is still too loose:
add_recvbuf_big() sets sg[1] to start at offset
sizeof(struct padded_vnet_hdr) into the first page, so the chain
actually carries hdr_len + (PAGE_SIZE - sizeof(padded_vnet_hdr)) +
big_packets_num_skbfrags * PAGE_SIZE bytes -- 20 bytes less than the
check allows for the common hdr_len == 12 case.
A malicious virtio backend can announce a len in that gap. page_to_skb()
then walks one frag past the page chain, storing a NULL page->private
into skb_shinfo()->frags[MAX_SKB_FRAGS], which is both an out-of-bounds
write past the static frag array and a NULL frag handed up the rx path.
Bound len by the size add_recvbuf_big() actually advertised.
Weakness: CWE-787 – Out-of-bounds write
| Vendor | Product | Versions |
|---|---|---|
| linux | linux kernel | >=6.1.159 <6.1.178 |
| linux | linux kernel | >=6.6.117 <6.6.145 |
| linux | linux kernel | >=6.12.58 <6.12.97 |
| linux | linux kernel | >=6.17.8 <6.18 |
| linux | linux kernel | >=6.18.1 <6.18.40 |
| linux | linux kernel | >=6.19 <7.1.5 |
| linux | linux kernel | 6.18 |