vxlan: re-fetch eth header after route_shortcircuit()
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.8epss 0.5%
exploitation probability
0.5%top 58% of all CVEs
observed exploitation
nono source reports it
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().
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/1235e017aa11cf01e91b613c4c5ed6aa28934fffhttps://git.kernel.org/stable/c/1395a676ec15a0a02a2a6d86602324f2d5fd41d5https://git.kernel.org/stable/c/1511631b7cfc4152b10a0a9d04c7a0bf2ddf4585https://git.kernel.org/stable/c/1b7f7b653e3557690047c62f03b80a24ea5a58a5https://git.kernel.org/stable/c/2355c8c26d2aa1b4385b369e67202e47d460d555https://git.kernel.org/stable/c/6375093eb45cd7d89f1945f939eeae3b29d79f56https://git.kernel.org/stable/c/bf045341dfb3e767f0ff94cf240ce3c371973bd4https://git.kernel.org/stable/c/c9dceac9e1c7c772c43c732fc0d325e72835801a