net: fix possible store tearing in neigh_periodic_work()
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.8epss 0.3%
exploitation probability
0.3%top 74% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
net: fix possible store tearing in neigh_periodic_work()
While looking at a related syzbot report involving neigh_periodic_work(),
I found that I forgot to add an annotation when deleting an
RCU protected item from a list.
Readers use rcu_deference(*np), we need to use either
rcu_assign_pointer() or WRITE_ONCE() on writer side
to prevent store tearing.
I use rcu_assign_pointer() to have lockdep support,
this was the choice made in neigh_flush_dev().
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/147d89ee41434b97043c2dcb17a97dc151859baahttps://git.kernel.org/stable/c/25563b581ba3a1f263a00e8c9a97f5e7363be6fdhttps://git.kernel.org/stable/c/2ea52a2fb8e87067e26bbab4efb8872639240eb0https://git.kernel.org/stable/c/95eabb075a5902f4c0834ab1fb12dc35730c05afhttps://git.kernel.org/stable/c/a75152d233370362eebedb2643592e7c883cc9fchttps://git.kernel.org/stable/c/f82aac8162871e87027692b36af335a2375d4580