CVE-2026-64552 virtio-net: fix len check in receive_big()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.1.159 이상 6.1.178 미만
- 6.6.117 이상 6.6.145 미만
- 6.12.58 이상 6.12.97 미만
- 6.17.8 이상 6.18 미만
- 6.18
해결 버전
- 6.1.178 이상
- 6.6.145 이상
- 6.12.97 이상
- 6.18 이상
- 6.18 미만
- 6.18.40 이상
- 7.1.5 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/38e94d63e29f4a5c6eae87ee2c02101aaa321502 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9e5ad06ea826322ce8c58b4a68442a96f600c3c4 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c7fc9adf4e006155f7f2aeda052fbcde25cdcc49 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e6b8463b7d791f3886d7584259d6e9f06a69f12e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f9451d0fd5ba635dcabb49bfe456a6db734a8986 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/fbeb65154583879d556ea94cb2f15888e9470f3d (새 창)