vxlan: re-fetch eth header after route_shortcircuit()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel c9dceac9e1c7c772c43c732fc0d325e72835801a, Kernel 1235e017aa11cf01e91b613c4c5ed6aa28934fff, Kernel 1395a676ec15a0a02a2a6d86602324f2d5fd41d5 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: vxlan: re-fetch eth header after route_shortcircuit() Before route_shortcircuit(), the eth header pointer is cached from eth_hdr(skb). Inside route_shortcircuit(), pskb_may_pull() can be called, which may reallocate skb->head. In this case, returning to vxlan_xmit() leaves the cached eth pointer pointing to freed memory, leading to a use-after-free when dereferencing eth->h_dest. Fix this by updating eth = eth_hdr(skb) after calling route_shortcircuit().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ae8840825605f36f98f247323edc150e761cb64e <c9dceac9e1c7c772c43c732fc0d325e72835801a, >=ae8840825605f36f98f247323edc150e761cb64e <1235e017aa11cf01e91b613c4c5ed6aa28934fff, >=ae8840825605f36f98f247323edc150e761cb64e <1395a676ec15a0a02a2a6d86602324f2d5fd41d5, >=ae8840825605f36f98f247323edc150e761cb64e <1511631b7cfc4152b10a0a9d04c7a0bf2ddf4585, >=ae8840825605f36f98f247323edc150e761cb64e <1b7f7b653e3557690047c62f03b80a24ea5a58a5, >=ae8840825605f36f98f247323edc150e761cb64e <2355c8c26d2aa1b4385b369e67202e47d460d555, >=ae8840825605f36f98f247323edc150e761cb64e <6375093eb45cd7d89f1945f939eeae3b29d79f56, >=ae8840825605f36f98f247323edc150e761cb64e <bf045341dfb3e767f0ff94cf240ce3c371973bd4, =3.10 | c9dceac9e1c7c772c43c732fc0d325e72835801a, 1235e017aa11cf01e91b613c4c5ed6aa28934fff, 1395a676ec15a0a02a2a6d86602324f2d5fd41d5, 1511631b7cfc4152b10a0a9d04c7a0bf2ddf4585, 1b7f7b653e3557690047c62f03b80a24ea5a58a5, 2355c8c26d2aa1b4385b369e67202e47d460d555, 6375093eb45cd7d89f1945f939eeae3b29d79f56, bf045341dfb3e767f0ff94cf240ce3c371973bd4 |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.44, >=6.19.0 <7.1.8, >=6.2.0 <6.6.151, >=6.7.0 <6.12.103, >=3.10.0 <5.10.265 | 5.15.216, 6.1.183, 6.18.44, 7.1.8, 6.6.151, 6.12.103, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket