xen/netfront: drop RX packets with a short Ethernet header
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fd5481dd75ea879c53c17882cbb065ad3bd6b766, Kernel 0542d213253eec18785a24b603b28bd385dfe4a5, Kernel 089e58805c452e52179482b1025a8e309a57f801 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: xen/netfront: drop RX packets with a short Ethernet header handle_incoming_queue() pulls pull_to bytes into the head before calling eth_type_trans(). pull_to is the length of the first RX slot, capped at RX_COPY_THRESHOLD, and that length comes from the backend. Nothing checks it against ETH_HLEN. If the first slot is shorter than ETH_HLEN and more slots follow, the head ends up shorter than an Ethernet header while skb->len is longer, and eth_type_trans() BUG()s in __skb_pull(). If the whole packet is shorter than ETH_HLEN, eth_type_trans() reads the header past the end of the data instead. Pull at least ETH_HLEN, and drop the packet if that fails, which also drops packets too short to hold an Ethernet header. This also checks the return value of the pull, which was ignored.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=0d160211965b79de989cf2d170985abeb8da5ec6 <fd5481dd75ea879c53c17882cbb065ad3bd6b766, >=0d160211965b79de989cf2d170985abeb8da5ec6 <0542d213253eec18785a24b603b28bd385dfe4a5, >=0d160211965b79de989cf2d170985abeb8da5ec6 <089e58805c452e52179482b1025a8e309a57f801, >=0d160211965b79de989cf2d170985abeb8da5ec6 <236a17caebcff31f75bec5ff4136bde2de944e40, >=0d160211965b79de989cf2d170985abeb8da5ec6 <57508819da8dc1cf5a2c3b64570aa02cc5ae28b6, >=0d160211965b79de989cf2d170985abeb8da5ec6 <72d2f54367895d6e236b9857892e2e6b6036e067, >=0d160211965b79de989cf2d170985abeb8da5ec6 <9cb8813d157b4d15103d3b34c635620f36df4173, >=0d160211965b79de989cf2d170985abeb8da5ec6 <e2b721bc30f40ffa7ccc36a56d4e8990b8c0538e, =2.6.23 | fd5481dd75ea879c53c17882cbb065ad3bd6b766, 0542d213253eec18785a24b603b28bd385dfe4a5, 089e58805c452e52179482b1025a8e309a57f801, 236a17caebcff31f75bec5ff4136bde2de944e40, 57508819da8dc1cf5a2c3b64570aa02cc5ae28b6, 72d2f54367895d6e236b9857892e2e6b6036e067, 9cb8813d157b4d15103d3b34c635620f36df4173, e2b721bc30f40ffa7ccc36a56d4e8990b8c0538e |
| linux-kernel: Kernel | >=5.11.0 <5.15.224, >=5.16.0 <6.1.191, >=6.13.0 <6.18.56, >=6.19.0 <7.2.10, >=6.2.0 <6.6.160, >=6.7.0 <6.12.113, >=2.6.23 <5.10.273 | 5.15.224, 6.1.191, 6.18.56, 7.2.10, 6.6.160, 6.12.113, 5.10.273 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket