---
id: CVE-2023-52522
title: |-
  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 anno…
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 anno…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 2.6.37, < 5.4.258'
  - 'linux_kernel >= 5.5, < 5.10.198'
  - 'linux_kernel >= 5.11, < 5.15.135'
  - 'linux_kernel >= 5.16, < 6.1.57'
  - 'linux_kernel >= 6.2, < 6.5.7'
  - linux_kernel = 6.6
patched:
  - linux_kernel 6.5.7
published: '2024-03-02'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52522'
references:
  - url: 'https://git.kernel.org/stable/c/147d89ee41434b97043c2dcb17a97dc151859baa'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/25563b581ba3a1f263a00e8c9a97f5e7363be6fd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2ea52a2fb8e87067e26bbab4efb8872639240eb0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/95eabb075a5902f4c0834ab1fb12dc35730c05af'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a75152d233370362eebedb2643592e7c883cc9fc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f82aac8162871e87027692b36af335a2375d4580'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/147d89ee41434b97043c2dcb17a97dc151859baa'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/25563b581ba3a1f263a00e8c9a97f5e7363be6fd'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/2ea52a2fb8e87067e26bbab4efb8872639240eb0'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/95eabb075a5902f4c0834ab1fb12dc35730c05af'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/a75152d233370362eebedb2643592e7c883cc9fc'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/f82aac8162871e87027692b36af335a2375d4580'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-52522.json
  - url: 'https://access.redhat.com/security/cve/CVE-2023-52522'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2267795'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2023-52522'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52522'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2024030253-CVE-2023-52522-6abd@gregkh/T/#u
  - url: 'https://access.redhat.com/errata/RHSA-2024:9497'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2394'
  - url: 'https://access.redhat.com/errata/RHSA-2024:7000'
  - url: 'https://access.redhat.com/errata/RHSA-2024:6998'
  - url: 'https://access.redhat.com/errata/RHSA-2024:6993'
  - url: 'https://access.redhat.com/errata/RHSA-2024:7001'
  - url: 'https://access.redhat.com/errata/RHSA-2024:9498'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00335
epssPercentile: 0.26727
ingestedAt: '2026-08-05T05:58:02.151Z'
cwe:
  - CWE-20
scores:
  nvd: 8.8
  vendor: 5.5
---

## Overview

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

- `linux_kernel >= 2.6.37, < 5.4.258`
- `linux_kernel >= 5.5, < 5.10.198`
- `linux_kernel >= 5.11, < 5.15.135`
- `linux_kernel >= 5.16, < 6.1.57`
- `linux_kernel >= 6.2, < 6.5.7`
- `linux_kernel = 6.6`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.5.7`

## Vendor advisories

- **RHSA-2024:9497** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.2), Red Hat Enterprise Linux BaseOS EUS (v.9.2), Red Hat CodeReady Linux Builder EUS (v.9.2) · released 2024-11-13 · [advisory](https://access.redhat.com/errata/RHSA-2024:9497)
- **RHSA-2024:2394** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux BaseOS (v. 9), Red Hat Enterprise Linux CRB (v. 9), Red Hat Enterprise Linux NFV (v. 9), Red Hat Enterprise Linux RT (v. 9) · released 2024-04-30 · [advisory](https://access.redhat.com/errata/RHSA-2024:2394)
- **RHSA-2024:7000** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 8), Red Hat Enterprise Linux CRB (v. 8) · released 2024-09-24 · [advisory](https://access.redhat.com/errata/RHSA-2024:7000)
- **RHSA-2024:6998** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS AUS (v.8.6), Red Hat Enterprise Linux BaseOS E4S (v.8.6), Red Hat Enterprise Linux BaseOS TUS (v.8.6) · released 2024-09-24 · [advisory](https://access.redhat.com/errata/RHSA-2024:6998)
- **RHSA-2024:6993** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS EUS (v.8.8), Red Hat CodeReady Linux Builder EUS (v.8.8) · released 2024-09-24 · [advisory](https://access.redhat.com/errata/RHSA-2024:6993)
- **RHSA-2024:7001** · Red Hat · fixed in: Red Hat Enterprise Linux NFV (v. 8), Red Hat Enterprise Linux RT (v. 8) · released 2024-09-24 · [advisory](https://access.redhat.com/errata/RHSA-2024:7001)
- **RHSA-2024:9498** · Red Hat · fixed in: Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2), Red Hat Enterprise Linux Real Time EUS (v.9.2) · released 2024-11-13 · [advisory](https://access.redhat.com/errata/RHSA-2024:9498)
- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-52522.json)
