CVE-2024-42078

Source
https://cve.org/CVERecord?id=CVE-2024-42078
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42078.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42078
Downstream
Published
2024-07-29T15:52:40Z
Modified
2026-08-12T03:30:19Z
Summary
nfsd: initialise nfsd_info.mutex early.
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42078.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7b207ccd983350a5dedd132b57c666186dd02a7c
Fixed
7e8b94045bc77ce4f085ddfb9eb04e5760e66169
Fixed
e0011bca603c101f2a3c007bdb77f7006fa78fb1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42078.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.9.8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42078.json"