Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2023-52522

net: fix possible store tearing in neigh_periodic_work()

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to < 95eabb075a5902f4c0834ab1fb12dc35730c05afaffected
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to < 2ea52a2fb8e87067e26bbab4efb8872639240eb0affected
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to < 147d89ee41434b97043c2dcb17a97dc151859baaaffected
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to < f82aac8162871e87027692b36af335a2375d4580affected
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to < a75152d233370362eebedb2643592e7c883cc9fcaffected
  • 767e97e1e0db0d0f3152cd2f3bd3403596aedbad to < 25563b581ba3a1f263a00e8c9a97f5e7363be6fdaffected

Linux Linux

Default version status: affected

  • 2.6.37affected
  • 0 to < 2.6.37unaffected
  • 5.4.258 to ≤ 5.4.*unaffected
  • 5.10.198 to ≤ 5.10.*unaffected
  • 5.15.135 to ≤ 5.15.*unaffected
  • 6.1.57 to ≤ 6.1.*unaffected
  • 6.5.7 to ≤ 6.5.*unaffected
  • 6.6 to ≤ *unaffected

References