Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42078
HistoryJul 29, 2024 - 3:52 p.m.

CVE-2024-42078 nfsd: initialise nfsd_info.mutex early.

2024-07-2915:52:40
Linux
www.cve.org
3
linux kernel
vulnerability
cve-2024-42078
nfsd
initialise
nfsd_info.mutex
netns
oops

EPSS

0

Percentile

9.4%

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

nfsd: initialise nfsd_info.mutex early.

nfsd_info.mutex can be dereferenced by svc_pool_stats_start()
immediately after the new netns is created. Currently this can
trigger an oops.

Move the initialisation earlier before it can possibly be dereferenced.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/nfsd/nfsctl.c",
      "fs/nfsd/nfssvc.c"
    ],
    "versions": [
      {
        "version": "7b207ccd9833",
        "lessThan": "7e8b94045bc7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7b207ccd9833",
        "lessThan": "e0011bca603c",
        "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/nfsd/nfsctl.c",
      "fs/nfsd/nfssvc.c"
    ],
    "versions": [
      {
        "version": "6.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.8",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.8",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]