net: fix possible store tearing in neigh_periodic_work() (Linux Linux)

CVE-2023-52522
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.34 % · percentile 27 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < 95eabb075a5902f4c0834ab1fb12dc35730c05af ; affected 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < 2ea52a2fb8e87067e26bbab4efb8872639240eb0 ; affected 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < 147d89ee41434b97043c2dcb17a97dc151859baa ; affected 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < f82aac8162871e87027692b36af335a2375d4580 ; affected 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < a75152d233370362eebedb2643592e7c883cc9fc ; affected 767e97e1e0db0d0f3152cd2f3bd3403596aedbad < 25563b581ba3a1f263a00e8c9a97f5e7363be6fd
Linux · Linuxaffected 2.6.37 ; unaffected 0 < 2.6.37 ; unaffected 5.4.258 ≤ 5.4.* ; unaffected 5.10.198 ≤ 5.10.* ; unaffected 5.15.135 ≤ 5.15.* ; unaffected 6.1.57 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD