vxlan: use neigh_ha_snapshot() in route_shortcircuit()
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 10epss 0.6%
exploitation probability
0.6%top 52% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
vxlan: use neigh_ha_snapshot() in route_shortcircuit()
The neighbour hardware address n->ha can be updated asynchronously by the
neighbour subsystem, protected by n->ha_lock seqlock. Reading n->ha without
holding the seqlock loop can lead to torn reads or reading a partially updated
MAC address.
Use neigh_ha_snapshot() in route_shortcircuit() to safely copy n->ha under
read_seqbegin()/read_seqretry() lock protection before using it.
Note that arp_reduce() and neigh_reduce() seem to have the same issue
left for future patches.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/05f2987f73daa05333fd713d05546142f9f7c5f0https://git.kernel.org/stable/c/32a9590a8d30426e3db63e6b20893e47e02576c0https://git.kernel.org/stable/c/87210054bad82bbae6f483a742dc45722fb47a6bhttps://git.kernel.org/stable/c/8eca411347e1d38964f9ed2c8d3b6ab0e7e4473dhttps://git.kernel.org/stable/c/d08e8ac13f2e228cc7fc3c70b5ebe71557b624a0https://git.kernel.org/stable/c/d0993fc053f29e15cc7c9fe2029df3882a2ab5abhttps://git.kernel.org/stable/c/ec341bb76d77b4c2948764375ee6bfeef4bb41c3https://git.kernel.org/stable/c/ff89415d34c3ab9f5312316423122e664ed3524f