vsock/virtio: fix potential unbounded skb queue
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.2, Kernel 059b7dbd20a6f0c539a45ddff1573cb8946685b5, Kernel 100d5b2ffdc6468b9e48532641f29e83efdcb63c and 5 more.
In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: fix potential unbounded skb queue virtio_transport_inc_rx_pkt() checks vvs->rx_bytes + len > vvs->buf_alloc. virtio_transport_recv_enqueue() skips coalescing for packets with VIRTIO_VSOCK_SEQ_EOM. If fed with packets with len == 0 and VIRTIO_VSOCK_SEQ_EOM, a very large number of packets can be queued because vvs->rx_bytes stays at 0. Fix this by estimating the skb metadata size: (Number of skbs in the queue) * SKB_TRUESIZE(0)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.1.63 <6.2, >=077706165717686a2a6a71405fef036cd5b37ae0 <059b7dbd20a6f0c539a45ddff1573cb8946685b5, >=077706165717686a2a6a71405fef036cd5b37ae0 <100d5b2ffdc6468b9e48532641f29e83efdcb63c, >=077706165717686a2a6a71405fef036cd5b37ae0 <1eca304f97a34ed5e921e1f0e06c8b241f25bf12, >=077706165717686a2a6a71405fef036cd5b37ae0 <9bdc637fde66b63d6cad0caacd034888bb7bf5f5, =5852a2b573f7a3a29df46296e56aa3491e589cdf, =6.3 | 6.2, 059b7dbd20a6f0c539a45ddff1573cb8946685b5, 100d5b2ffdc6468b9e48532641f29e83efdcb63c, 1eca304f97a34ed5e921e1f0e06c8b241f25bf12, 9bdc637fde66b63d6cad0caacd034888bb7bf5f5 |
| linux-kernel: Kernel | >=6.13.0 <6.18.36, >=6.19.0 <7.0.13, >=6.3.0 <6.12.94, >=6.1.63 <6.2 | 6.18.36, 7.0.13, 6.12.94, 6.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket