CVE-2023-52522

net: fix possible store tearing in neigh_periodic_work()

State
Published
Severity
8.8 High
Published
Mar 2, 2024
Updated
Aug 5, 2026
Reserved
Feb 20, 2024

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to before 95eabb075a5902f4c0834ab1fb12dc35730c05afAffected
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to before 2ea52a2fb8e87067e26bbab4efb8872639240eb0Affected
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to before 147d89ee41434b97043c2dcb17a97dc151859baaAffected
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to before f82aac8162871e87027692b36af335a2375d4580Affected
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to before a75152d233370362eebedb2643592e7c883cc9fcAffected
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to before 25563b581ba3a1f263a00e8c9a97f5e7363be6fdAffected
LinuxLinux
  • 2.6.37Affected
  • before 2.6.37Not affected
  • 5.4.258 through 5.4.*Not affected
  • 5.10.198 through 5.10.*Not affected
  • 5.15.135 through 5.15.*Not affected
  • 6.1.57 through 6.1.*Not affected
  • 6.5.7 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.