net: fix possible store tearing in neigh_periodic_work()
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().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.198, 5.15.135, 5.4.258, 6.1.57, 6.5.7
- CVEs
- CVE-2023-52522
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 04:35 UTC · Revision 1
Source evidence
net: fix possible store tearing in neigh_periodic_work()
core-osv · Original sourcePublished 2 Mar 2024, 21:52 UTC
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().
osv:CVE-2023-52522
Kernel
Fixed versions: 5.4.258, 5.10.198, 5.15.135, 6.1.57, 6.5.7
Complete source record
{
"id": "9c0c80edd823f68f931e1cbdd77d81048ccb4ba5988d6a5134bb877c3acf973b",
"url": "https://osv.dev/vulnerability/CVE-2023-52522",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: fix possible store tearing in neigh_periodic_work()",
"summary": "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().",
"evidence": "osv:CVE-2023-52522",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.258",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.198",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.135",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.57",
"evidence": "/affected/1/ranges"
},
{
"value": "6.5.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-52522",
"aliases": [
"CVE-2023-52522"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "767e97e1e0db0d0f3152cd2f3bd3403596aedbad"
},
{
"fixed": "95eabb075a5902f4c0834ab1fb12dc35730c05af"
},
{
"fixed": "2ea52a2fb8e87067e26bbab4efb8872639240eb0"
},
{
"fixed": "147d89ee41434b97043c2dcb17a97dc151859baa"
},
{
"fixed": "f82aac8162871e87027692b36af335a2375d4580"
},
{
"fixed": "a75152d233370362eebedb2643592e7c883cc9fc"
},
{
"fixed": "25563b581ba3a1f263a00e8c9a97f5e7363be6fd"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52522.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.37"
},
{
"fixed": "5.4.258"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.198"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.135"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.57"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.5.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52522.json"
}
}
],
"modified": "2026-10-28T02:30:33.385648084Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/147d89ee41434b97043c2dcb17a97dc151859baa",
"https://git.kernel.org/stable/c/25563b581ba3a1f263a00e8c9a97f5e7363be6fd",
"https://git.kernel.org/stable/c/2ea52a2fb8e87067e26bbab4efb8872639240eb0",
"https://git.kernel.org/stable/c/95eabb075a5902f4c0834ab1fb12dc35730c05af",
"https://git.kernel.org/stable/c/a75152d233370362eebedb2643592e7c883cc9fc",
"https://git.kernel.org/stable/c/f82aac8162871e87027692b36af335a2375d4580",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52522.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-52522",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52522.json"
}
},
"related_cves": [
{
"value": "CVE-2023-52522",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500263,
"published_at": "2024-03-02T21:52:29.71+00:00"
}