xen/netfront: don't leak the skb when xennet_fill_frags() fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 99011a11c97340ef7290df7dc199305c73fab2f2, Kernel 4.15, Kernel 4.19 and 16 more.
In the Linux kernel, the following vulnerability has been resolved: xen/netfront: don't leak the skb when xennet_fill_frags() fails When a response chain has more slots than fit in the skb's frags, xennet_fill_frags() returns an error and xennet_poll() jumps to its error path. That path moves what's left on tmpq to errq to be freed, but the skb being filled was already dequeued from tmpq, so it's never freed. Each chain that overflows leaks the skb and the pages attached to it as frags, and the backend decides how many slots it sends. Put the skb back on tmpq before taking the error path, like the xennet_set_skb_gso() failure just above it does.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c <99011a11c97340ef7290df7dc199305c73fab2f2, >=4.14.73 <4.15, >=4.18.11 <4.19, >=4.4.159 <4.5, >=4.9.130 <4.10, >=ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c <086944c1c2cbb683543bc3ff08637847b03c8009, >=ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c <0cf0a25a639c535146c5eb4480d256995721aed6, >=ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c <5051df031144753d3e18862514969146b601d089, >=ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c <53a131eb2a998c77e2851401b32b712d6c6e8487, >=ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c <6e6bd1051daabc327233c3ca3d00613fc6783c8e, >=ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c <84e3ea6502b5f14ce8d499d0b6e0e38386274cf0, >=ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c <93ccaf1c26e2133396173b76a071e59024daa622, =29a6193c0d74390c004808441061ac1812cf6f51, =4.19, =7eced4478f4ec6ff0a603ddfd6e24a5d3831fca7, =b73a161e9beff24bf1803ba393dff95a255268f9, =bd1468048aa3e2af865da92990539946d4483989 | 99011a11c97340ef7290df7dc199305c73fab2f2, 4.15, 4.19, 4.5, 4.10, 086944c1c2cbb683543bc3ff08637847b03c8009, 0cf0a25a639c535146c5eb4480d256995721aed6, 5051df031144753d3e18862514969146b601d089, 53a131eb2a998c77e2851401b32b712d6c6e8487, 6e6bd1051daabc327233c3ca3d00613fc6783c8e, 84e3ea6502b5f14ce8d499d0b6e0e38386274cf0, 93ccaf1c26e2133396173b76a071e59024daa622 |
| linux-kernel: Kernel | >=4.18.11 <4.19, >=4.19.0 <5.10.273, >=4.4.159 <4.5, >=4.9.130 <4.10, >=5.11.0 <5.15.224, >=5.16.0 <6.1.191, >=6.13.0 <6.18.57, >=6.19.0 <7.2.11, >=6.2.0 <6.6.160, >=6.7.0 <6.12.113, >=4.14.73 <4.15 | 4.19, 5.10.273, 4.5, 4.10, 5.15.224, 6.1.191, 6.18.57, 7.2.11, 6.6.160, 6.12.113, 4.15 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket