CriticalFix available
nfsd: ensure that nfsd4_fattr_args.context is zeroed out
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: nfsd: ensure that nfsd4_fattr_args.context is zeroed out If nfsd4_encode_fattr4 ends up doing a "goto out" before we get to checking for the security label, then args.context will be set to uninitialized junk on the stack, which we'll then try to free. Initialize it early.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.10.8
- CVEs
- CVE-2024-46697
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 08:05 UTC · Revision 1
Source evidence
nfsd: ensure that nfsd4_fattr_args.context is zeroed out
core-osv · Original sourcePublished 13 Sept 2024, 05:29 UTC
In the Linux kernel, the following vulnerability has been resolved: nfsd: ensure that nfsd4_fattr_args.context is zeroed out If nfsd4_encode_fattr4 ends up doing a "goto out" before we get to checking for the security label, then args.context will be set to uninitialized junk on the stack, which we'll then try to free. Initialize it early.
osv:CVE-2024-46697
Kernel
Fixed versions: 6.10.8
Complete source record
{
"id": "298a27a444443baef2049cc3ae34a3b24ef5201b2e221bf139c65e971b8d263f",
"url": "https://osv.dev/vulnerability/CVE-2024-46697",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "nfsd: ensure that nfsd4_fattr_args.context is zeroed out",
"summary": "In the Linux kernel, the following vulnerability has been resolved: nfsd: ensure that nfsd4_fattr_args.context is zeroed out If nfsd4_encode_fattr4 ends up doing a \"goto out\" before we get to checking for the security label, then args.context will be set to uninitialized junk on the stack, which we'll then try to free. Initialize it early.",
"evidence": "osv:CVE-2024-46697",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.10.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2024-46697",
"aliases": [
"CVE-2024-46697"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "f59388a579c6a395de8f7372b267d3abecd8d6bf"
},
{
"fixed": "dd65b324174a64558a16ebbf4c3266e5701185d0"
},
{
"fixed": "f58bab6fd4063913bd8321e99874b8239e9ba726"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46697.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.10.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46697.json"
}
}
],
"modified": "2026-10-28T02:30:50.274267832Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/dd65b324174a64558a16ebbf4c3266e5701185d0",
"https://git.kernel.org/stable/c/f58bab6fd4063913bd8321e99874b8239e9ba726",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46697.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-46697",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46697.json"
}
},
"related_cves": [
{
"value": "CVE-2024-46697",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518705,
"published_at": "2024-09-13T05:29:24.787+00:00"
}