NetSight
high8.8

CVE-2023-52522

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 …

Impact

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().

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 2.6.37 before 5.4.258
from 5.5 before 5.10.198
from 5.11 before 5.15.135
from 5.16 before 6.1.57
from 6.2 before 6.5.7
Version 6.6

References