CVE-2023-52522

Source
https://cve.org/CVERecord?id=CVE-2023-52522
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52522.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52522
Downstream
Related
Published
2024-03-02T21:52:29.710Z
Modified
2026-03-13T07:48:04.090899Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net: fix possible store tearing in neigh_periodic_work()
Details

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52522.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
767e97e1e0db0d0f3152cd2f3bd3403596aedbad
Fixed
95eabb075a5902f4c0834ab1fb12dc35730c05af
Fixed
2ea52a2fb8e87067e26bbab4efb8872639240eb0
Fixed
147d89ee41434b97043c2dcb17a97dc151859baa
Fixed
f82aac8162871e87027692b36af335a2375d4580
Fixed
a75152d233370362eebedb2643592e7c883cc9fc
Fixed
25563b581ba3a1f263a00e8c9a97f5e7363be6fd

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52522.json"