CVE-2024-36958

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-36958
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36958.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-36958
Downstream
Published
2024-05-30T15:35:51.033Z
Modified
2025-11-20T04:21:05.181848Z
Summary
NFSD: Fix nfsd4_encode_fattr4() crasher
Details

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

NFSD: Fix nfsd4encodefattr4() crasher

Ensure that args.acl is initialized early. It is used in an unconditional call to kfree() on the way out of nfsd4encodefattr4().

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
83ab8678ad0c6f27594c716cafe59c8bbd5e49ef
Fixed
6a7b07689af6e4e023404bf69b1230f43b2a15bc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
83ab8678ad0c6f27594c716cafe59c8bbd5e49ef
Fixed
18180a4550d08be4eb0387fe83f02f703f92d4e7

Affected versions

v6.*

v6.6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.8.1
v6.8.2
v6.8.3
v6.8.4
v6.8.5
v6.8.6
v6.8.7
v6.8.8
v6.8.9

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "deprecated": false,
        "target": {
            "file": "fs/nfsd/nfs4xdr.c"
        },
        "digest": {
            "line_hashes": [
                "200479140078480582106509489212886441000",
                "288670812275491043131943856441090083114",
                "196269474337715878843200534104773601015",
                "13670291083885054687049788832332549833",
                "168295667473190055587623486272996798860",
                "128154930924742214228183434968968532693",
                "284097333675688237789475712763750280542",
                "113143653986399440195055138382632624370"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@18180a4550d08be4eb0387fe83f02f703f92d4e7",
        "signature_version": "v1",
        "id": "CVE-2024-36958-3bac8bd4"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "target": {
            "file": "fs/nfsd/nfs4xdr.c",
            "function": "nfsd4_encode_fattr4"
        },
        "digest": {
            "length": 3854.0,
            "function_hash": "134211975614409385940992701531986250109"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@18180a4550d08be4eb0387fe83f02f703f92d4e7",
        "signature_version": "v1",
        "id": "CVE-2024-36958-471d6cf4"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "target": {
            "file": "fs/nfsd/nfs4xdr.c",
            "function": "nfsd4_encode_fattr4"
        },
        "digest": {
            "length": 3771.0,
            "function_hash": "198663116629591334042720794039991923603"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6a7b07689af6e4e023404bf69b1230f43b2a15bc",
        "signature_version": "v1",
        "id": "CVE-2024-36958-6ebb9d16"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "target": {
            "file": "fs/nfsd/nfs4xdr.c"
        },
        "digest": {
            "line_hashes": [
                "200479140078480582106509489212886441000",
                "288670812275491043131943856441090083114",
                "196269474337715878843200534104773601015",
                "13670291083885054687049788832332549833",
                "168295667473190055587623486272996798860",
                "128154930924742214228183434968968532693",
                "284097333675688237789475712763750280542",
                "113143653986399440195055138382632624370"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6a7b07689af6e4e023404bf69b1230f43b2a15bc",
        "signature_version": "v1",
        "id": "CVE-2024-36958-96bfb875"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.10