# CVE-2024-53066: nfs: Fix KMSAN warning in decode\_getfattr\_attrs()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.01% (percentile 62, 2026-11-28)
- **CWE:** CWE-908
- **Published:** 2024-11-19T17:22:35.389Z
- **Modified:** 2026-08-05T11:43:26.222Z

## Who should check

- Anyone running Linux \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 25ffd294fef81a7f3cd9528adf21560c04d98747; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< bbfcd261cc068fe1cd02a4e871275074a0daa4e2; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 8fc5ea9231af9122d227c9c13f5e578fca48d2e3; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 9b453e8b108a5a93a6e348cf2ba4c9c138314a00; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< f6b2b2b981af8e7d7c62d34143acefa4e1edfe8b; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< f749cb60a01f8391c760a1d6ecd938cadacf9549; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 9be0a21ae52b3b822d0eec4d14e909ab394f8a92; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< dc270d7159699ad6d11decadfce9633f0f71c1db
- Anyone running Linux 3.5

## Description

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

nfs: Fix KMSAN warning in decode\_getfattr\_attrs()

Fix the following KMSAN warning:

CPU: 1 UID: 0 PID: 7651 Comm: cp Tainted: G    B
Tainted: \[B\]=BAD\_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009)
=====================================================
=====================================================
BUG: KMSAN: uninit-value in decode\_getfattr\_attrs+0x2d6d/0x2f90
 decode\_getfattr\_attrs+0x2d6d/0x2f90
 decode\_getfattr\_generic+0x806/0xb00
 nfs4\_xdr\_dec\_getattr+0x1de/0x240
 rpcauth\_unwrap\_resp\_decode+0xab/0x100
 rpcauth\_unwrap\_resp+0x95/0xc0
 call\_decode+0x4ff/0xb50
 \_\_rpc\_execute+0x57b/0x19d0
 rpc\_execute+0x368/0x5e0
 rpc\_run\_task+0xcfe/0xee0
 nfs4\_proc\_getattr+0x5b5/0x990
 \_\_nfs\_revalidate\_inode+0x477/0xd00
 nfs\_access\_get\_cached+0x1021/0x1cc0
 nfs\_do\_access+0x9f/0xae0
 nfs\_permission+0x1e4/0x8c0
 inode\_permission+0x356/0x6c0
 link\_path\_walk+0x958/0x1330
 path\_lookupat+0xce/0x6b0
 filename\_lookup+0x23e/0x770
 vfs\_statx+0xe7/0x970
 vfs\_fstatat+0x1f2/0x2c0
 \_\_se\_sys\_newfstatat+0x67/0x880
 \_\_x64\_sys\_newfstatat+0xbd/0x120
 x64\_sys\_call+0x1826/0x3cf0
 do\_syscall\_64+0xd0/0x1b0
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

The KMSAN warning is triggered in decode\_getfattr\_attrs(), when calling
decode\_attr\_mdsthreshold(). It appears that fattr-\>mdsthreshold is not
initialized.

Fix the issue by initializing fattr-\>mdsthreshold to NULL in
nfs\_fattr\_init().

## Affected and fixed versions

- Linux: \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 25ffd294fef81a7f3cd9528adf21560c04d98747; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< bbfcd261cc068fe1cd02a4e871275074a0daa4e2; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 8fc5ea9231af9122d227c9c13f5e578fca48d2e3; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 9b453e8b108a5a93a6e348cf2ba4c9c138314a00; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< f6b2b2b981af8e7d7c62d34143acefa4e1edfe8b; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< f749cb60a01f8391c760a1d6ecd938cadacf9549; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 9be0a21ae52b3b822d0eec4d14e909ab394f8a92; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< dc270d7159699ad6d11decadfce9633f0f71c1db (cvelist)
- Linux: 3.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53066. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53066.md
Affected: Linux >= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, < 25ffd294fef81a7f3cd9528adf21560c04d98747; >= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, < bbfcd261cc068fe1cd02a4e871275074a0daa4e2; >= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, < 8fc5ea9231af9122d227c9c13f5e578fca48d2e3; >= 88034c3d88c2c48b215f2cc…
Fixed in: Linux 25ffd294fef81a7f3cd9528adf21560c04d98747, Linux 8fc5ea9231af9122d227c9c13f5e578fca48d2e3, Linux 9b453e8b108a5a93a6e348cf2ba4c9c138314a00, Linux 9be0a21ae52b3b822d0eec4d14e909ab394f8a92

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-53066 being exploited?

There is no confirmed exploitation: CVE-2024-53066 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.01% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-53066?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-53066?

Linux \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 25ffd294fef81a7f3cd9528adf21560c04d98747; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< bbfcd261cc068fe1cd02a4e871275074a0daa4e2; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 8fc5ea9231af9122d227c9c13f5e578fca48d2e3; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 9b453e8b108a5a93a6e348cf2ba4c9c138314a00; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< f6b2b2b981af8e7d7c62d34143acefa4e1edfe8b; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< f749cb60a01f8391c760a1d6ecd938cadacf9549; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< 9be0a21ae52b3b822d0eec4d14e909ab394f8a92; \>= 88034c3d88c2c48b215f2cc5eb22e564aa817f9c, \< dc270d7159699ad6d11decadfce9633f0f71c1db; Linux 3.5.

### Is there a fix for CVE-2024-53066?

Yes. Fixed in Linux 25ffd294fef81a7f3cd9528adf21560c04d98747, Linux 8fc5ea9231af9122d227c9c13f5e578fca48d2e3, Linux 9b453e8b108a5a93a6e348cf2ba4c9c138314a00, Linux 9be0a21ae52b3b822d0eec4d14e909ab394f8a92. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-53066?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/25ffd294fef81a7f3cd9528adf21560c04d98747>
- patch: <https://git.kernel.org/stable/c/bbfcd261cc068fe1cd02a4e871275074a0daa4e2>
- patch: <https://git.kernel.org/stable/c/8fc5ea9231af9122d227c9c13f5e578fca48d2e3>
- patch: <https://git.kernel.org/stable/c/9b453e8b108a5a93a6e348cf2ba4c9c138314a00>
- patch: <https://git.kernel.org/stable/c/f6b2b2b981af8e7d7c62d34143acefa4e1edfe8b>
- patch: <https://git.kernel.org/stable/c/f749cb60a01f8391c760a1d6ecd938cadacf9549>
- patch: <https://git.kernel.org/stable/c/9be0a21ae52b3b822d0eec4d14e909ab394f8a92>
- patch: <https://git.kernel.org/stable/c/dc270d7159699ad6d11decadfce9633f0f71c1db>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53066>

HTML: <https://flawdb.com/CVE-2024-53066> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53066>
