Lucene search

K
cvelistLinuxCVELIST:CVE-2024-43826
HistoryAug 17, 2024 - 9:21 a.m.

CVE-2024-43826 nfs: pass explicit offset/count to trace events

2024-08-1709:21:45
Linux
www.cve.org
3
linux kernel
nfs
trace events
kernel crashes

EPSS

0

Percentile

9.5%

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

nfs: pass explicit offset/count to trace events

nfs_folio_length is unsafe to use without having the folio locked and a
check for a NULL ->f_mapping that protects against truncations and can
lead to kernel crashes. E.g. when running xfstests generic/065 with
all nfs trace points enabled.

Follow the model of the XFS trace points and pass in an explΡ–cit offset
and length. This has the additional benefit that these values can
be more accurate as some of the users touch partial folio ranges.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/nfs/file.c",
      "fs/nfs/nfstrace.h",
      "fs/nfs/read.c",
      "fs/nfs/write.c"
    ],
    "versions": [
      {
        "version": "eb5654b3b89d",
        "lessThan": "387e6e9d1102",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "eb5654b3b89d",
        "lessThan": "fada32ed6dbc",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/nfs/file.c",
      "fs/nfs/nfstrace.h",
      "fs/nfs/read.c",
      "fs/nfs/write.c"
    ],
    "versions": [
      {
        "version": "6.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.3",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.3",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.5%