CVE-2023-52522
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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().
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < 95eabb075a5902f4c0834ab1fb12dc35730c05af | affected |
| Linux | Linux | 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < 2ea52a2fb8e87067e26bbab4efb8872639240eb0 | affected |
| Linux | Linux | 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < 147d89ee41434b97043c2dcb17a97dc151859baa | affected |
| Linux | Linux | 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < f82aac8162871e87027692b36af335a2375d4580 | affected |
| Linux | Linux | 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < a75152d233370362eebedb2643592e7c883cc9fc | affected |
| Linux | Linux | 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < 25563b581ba3a1f263a00e8c9a97f5e7363be6fd | affected |
| Linux | Linux | 2.6.37 | affected |
| Linux | Linux | 0 < 2.6.37 | unaffected |
| Linux | Linux | 5.4.258 <= 5.4.* | unaffected |
| Linux | Linux | 5.10.198 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.135 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.57 <= 6.1.* | unaffected |
| Linux | Linux | 6.5.7 <= 6.5.* | unaffected |
| Linux | Linux | 6.6 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
- https://git.kernel.org/stable/c/95eabb075a5902f4c0834ab1fb12dc35730c05af
- https://git.kernel.org/stable/c/2ea52a2fb8e87067e26bbab4efb8872639240eb0
- https://git.kernel.org/stable/c/147d89ee41434b97043c2dcb17a97dc151859baa
- https://git.kernel.org/stable/c/f82aac8162871e87027692b36af335a2375d4580
- https://git.kernel.org/stable/c/a75152d233370362eebedb2643592e7c883cc9fc
- https://git.kernel.org/stable/c/25563b581ba3a1f263a00e8c9a97f5e7363be6fd
References
- https://git.kernel.org/stable/c/95eabb075a5902f4c0834ab1fb12dc35730c05af
- https://git.kernel.org/stable/c/2ea52a2fb8e87067e26bbab4efb8872639240eb0
- https://git.kernel.org/stable/c/147d89ee41434b97043c2dcb17a97dc151859baa
- https://git.kernel.org/stable/c/f82aac8162871e87027692b36af335a2375d4580
- https://git.kernel.org/stable/c/a75152d233370362eebedb2643592e7c883cc9fc
- https://git.kernel.org/stable/c/25563b581ba3a1f263a00e8c9a97f5e7363be6fd
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.