vxlan: use pskb_network_may_pull() for transmit path header pulls
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bb01c51950c3ff3c76acdd54b85ab38ccc2a8bb4, Kernel 371425d4be7795e9158388af9eee0201e6047410, Kernel 6146901881f09ef063eb34ad389f63231f8486f5 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: vxlan: use pskb_network_may_pull() for transmit path header pulls In vxlan_xmit(), arp_reduce(), and vxlan_mdb_entry_skb_get(), pskb_may_pull() was being called to verify the availability of network layer headers (ARP, IPv6/ND, IP/IPv6 MDB keys). However, during transmit skb->data points to the MAC header, so skb_network_offset(skb) is ETH_HLEN (14 bytes). Using pskb_may_pull(skb, len) only checks len bytes from skb->data rather than skb_network_offset(skb) + len, which can leave part of the network header in non-linear frags. Replace these remaining pskb_may_pull() calls with pskb_network_may_pull() to properly account for the MAC header offset.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=e4f67addf158f98f8197e08974966b18480dc751 <bb01c51950c3ff3c76acdd54b85ab38ccc2a8bb4, >=e4f67addf158f98f8197e08974966b18480dc751 <371425d4be7795e9158388af9eee0201e6047410, >=e4f67addf158f98f8197e08974966b18480dc751 <6146901881f09ef063eb34ad389f63231f8486f5, >=e4f67addf158f98f8197e08974966b18480dc751 <7076a34b6e33315dc160b4612bfea1c597495585, >=e4f67addf158f98f8197e08974966b18480dc751 <94dee751aad627b3645d424b5d0c736d394573e9, >=e4f67addf158f98f8197e08974966b18480dc751 <b9553558b48db54ac9273e6b98d7263ef5c1a329, =3.8 | bb01c51950c3ff3c76acdd54b85ab38ccc2a8bb4, 371425d4be7795e9158388af9eee0201e6047410, 6146901881f09ef063eb34ad389f63231f8486f5, 7076a34b6e33315dc160b4612bfea1c597495585, 94dee751aad627b3645d424b5d0c736d394573e9, b9553558b48db54ac9273e6b98d7263ef5c1a329 |
| linux-kernel: Kernel | >=6.13.0 <6.18.44, >=6.19.0 <7.1.8, >=6.2.0 <6.6.153, >=6.7.0 <6.12.105, >=3.8.0 <6.1.188 | 6.18.44, 7.1.8, 6.6.153, 6.12.105, 6.1.188 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket