Description
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)
CVSS breakdown
CVSS 3.1
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High
Affected products
- Linux / Linux077706165717686a2a6a71405fef036cd5b37ae0 – 1eca304f97a34ed5e921e1f0e06c8b241f25bf12
- Linux / Linux077706165717686a2a6a71405fef036cd5b37ae0 – 9bdc637fde66b63d6cad0caacd034888bb7bf5f5
- Linux / Linux077706165717686a2a6a71405fef036cd5b37ae0 – 100d5b2ffdc6468b9e48532641f29e83efdcb63c
- Linux / Linux077706165717686a2a6a71405fef036cd5b37ae0 – 059b7dbd20a6f0c539a45ddff1573cb8946685b5
- Linux / Linux5852a2b573f7a3a29df46296e56aa3491e589cdf – 5852a2b573f7a3a29df46296e56aa3491e589cdf
- Linux / Linux6.1.63 – 6.2
- Linux / Linux6.3 – 6.3
- Linux / Linux0 – 6.3
- Linux / Linux6.12.94 – 6.12.*
- Linux / Linux6.18.36 – 6.18.*
- Linux / Linux7.0.13 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/1eca304f97a34ed5e921e1f0e06c8b241f25bf12
- MISChttps://git.kernel.org/stable/c/9bdc637fde66b63d6cad0caacd034888bb7bf5f5
- MISChttps://git.kernel.org/stable/c/100d5b2ffdc6468b9e48532641f29e83efdcb63c
- MISChttps://git.kernel.org/stable/c/059b7dbd20a6f0c539a45ddff1573cb8946685b5