Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e4f67addf158f98f8197e08974966b18480dc751 before 371425d4be7795e9158388af9eee0201e6047410; affected e4f67addf158f98f8197e08974966b18480dc751 before bb01c51950c3ff3c76acdd54b85ab38ccc2a8bb4; affected e4f67addf158f98f8197e08974966b18480dc751 before 6146901881f09ef063eb34ad389f63231f8486f5; affected e4f67addf158f98f8197e08974966b18480dc751 before 94dee751aad627b3645d424b5d0c736d394573e9; affected e4f67addf158f98f8197e08974966b18480dc751 before 7076a34b6e33315dc160b4612bfea1c597495585; affected e4f67addf158f98f8197e08974966b18480dc751 before b9553558b48db54ac9273e6b98d7263ef5c1a329 |
| Linux / Linux | affected 3.8; unaffected 0 before 3.8; unaffected 6.1.188 through 6.1.*; unaffected 6.6.153 through 6.6.*; unaffected 6.12.105 through 6.12.*; unaffected 6.18.44 through 6.18.*; unaffected 7.1.8 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/371425d4be7795e9158388af9eee0201e6047410
- https://git.kernel.org/stable/c/bb01c51950c3ff3c76acdd54b85ab38ccc2a8bb4
- https://git.kernel.org/stable/c/6146901881f09ef063eb34ad389f63231f8486f5
- https://git.kernel.org/stable/c/94dee751aad627b3645d424b5d0c736d394573e9
- https://git.kernel.org/stable/c/7076a34b6e33315dc160b4612bfea1c597495585
- https://git.kernel.org/stable/c/b9553558b48db54ac9273e6b98d7263ef5c1a329
ADP enrichment
No English description supplied.
No references supplied.