Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2023-52522
HistoryMar 02, 2024 - 10:15 p.m.

CVE-2023-52522

2024-03-0222:15:48
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
49
cve-2023-52522
linux kernel
net
fix
store tearing
neigh_periodic_work
vulnerability

6.2 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.3%

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 configurations

Vulners
Node
linuxlinux_kernelRange2.6.375.4.258
OR
linuxlinux_kernelRange5.5.05.10.198
OR
linuxlinux_kernelRange5.11.05.15.135
OR
linuxlinux_kernelRange5.16.06.1.57
OR
linuxlinux_kernelRange6.2.06.5.7
OR
linuxlinux_kernelRange6.6.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/core/neighbour.c"
    ],
    "versions": [
      {
        "version": "767e97e1e0db",
        "lessThan": "95eabb075a59",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "767e97e1e0db",
        "lessThan": "2ea52a2fb8e8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "767e97e1e0db",
        "lessThan": "147d89ee4143",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "767e97e1e0db",
        "lessThan": "f82aac816287",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "767e97e1e0db",
        "lessThan": "a75152d23337",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "767e97e1e0db",
        "lessThan": "25563b581ba3",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/core/neighbour.c"
    ],
    "versions": [
      {
        "version": "2.6.37",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.37",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.258",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.198",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.135",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.57",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.5.7",
        "lessThanOrEqual": "6.5.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.2 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.3%