In the Linux kernel, the following vulnerability has been resolved:
net: fix possible store tearing in neighperiodicwork()
While looking at a related syzbot report involving neighperiodicwork(), I found that I forgot to add an annotation when deleting an RCU protected item from a list.
Readers use rcudeference(*np), we need to use either rcuassignpointer() or WRITEONCE() on writer side to prevent store tearing.
I use rcuassignpointer() to have lockdep support, this was the choice made in neighflushdev().
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52522.json"
}