Lucene search

K
cveLinuxCVE-2022-48816
HistoryJul 16, 2024 - 12:15 p.m.

CVE-2022-48816

2024-07-1612:15:05
Linux
web.nvd.nist.gov
31
linux kernel
sunrpc
vulnerability

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

9.3%

In the Linux kernel, the following vulnerability has been resolved:

SUNRPC: lock against ->sock changing during sysfs read

->sock can be set to NULL asynchronously unless ->recv_mutex is held.
So it is important to hold that mutex. Otherwise a sysfs read can
trigger an oops.
Commit 17f09d3f619a (“SUNRPC: Check if the xprt is connected before
handling sysfs reads”) appears to attempt to fix this problem, but it
only narrows the race window.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.145.16.10
OR
linuxlinux_kernelRange5.17.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:a: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/sunrpc/sysfs.c",
      "net/sunrpc/xprtsock.c"
    ],
    "versions": [
      {
        "version": "a8482488a7d6",
        "lessThan": "9482ab4540f5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a8482488a7d6",
        "lessThan": "b49ea673e119",
        "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/sunrpc/sysfs.c",
      "net/sunrpc/xprtsock.c"
    ],
    "versions": [
      {
        "version": "5.14",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.14",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.10",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

9.3%