CVE-2024-46697

nfsd: ensure that nfsd4_fattr_args.context is zeroed out

State
Published
Severity
9.8 Critical
Published
Sep 13, 2024
Updated
Aug 5, 2026
Reserved
Sep 11, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f59388a579c6a395de8f7372b267d3abecd8d6bf to before dd65b324174a64558a16ebbf4c3266e5701185d0Affected
  • f59388a579c6a395de8f7372b267d3abecd8d6bf to before f58bab6fd4063913bd8321e99874b8239e9ba726Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.10.8 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.