CVE-2024-46697 Details
Description
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.
A vulnerability in the Linux kernel's Network File System (NFS) server implementation can lead to improper handling of attribute encoding, specifically in the NFS version 4 file attribute encoding function. The issue arises because the function may exit prematurely without properly initializing the context attribute, leaving it filled with uninitialized data. This uninitialized data can then be incorrectly processed, potentially leading to memory management issues. The vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that resolves this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 29, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/dd65b324174a64558a16ebbf4c3266e5701185d0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f58bab6fd4063913bd8321e99874b8239e9ba726 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-665 | Improper Initialization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.7, < 6.10.8 6.11 rc1 6.11 rc2 6.11 rc3 6.11 rc4 6.11 rc5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 19, 2024 | Initial Analysis | [email protected] |
| Sep 13, 2024 | New CVE Received | kernel.org |