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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-11-19 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-53066, DEBIAN-CVE-2024-53066
- Record: https://cvemate.com/vulnerability/CVE-2024-53066 · JSON: https://cvemate.com/vulnerability/CVE-2024-53066/json

## Description

```text
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().
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.665%, percentile 53.195%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 138)

- debian linux (Debian): \< 6.1.119-1 \| \< 6.11.9-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-268.302 \| \< 4.15.0-237.249 \| \< 5.4.0-208.228 \| \< 5.15.0-133.144 \| \< 6.8.0-58.60
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1143.149 \| \< 4.4.0-1181.196 \| \< 4.15.0-1180.193 \| \< 5.4.0-1140.150 \| \< 5.15.0-1078.85 \| \< 6.8.0-1027.29
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1080.87~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1027.29~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2118.124 \| All versions (No fix recorded) \| \< 5.4.0-1140.151+fips1 \| \< 5.15.0-1078.85+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1180.193~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1188.203~14.04.1 \| \< 4.15.0-1188.203~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1145.152 \| \< 5.15.0-1081.90 \| \< 6.8.0-1027.32
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1188.203
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 60)

- <https://git.kernel.org/stable/c/25ffd294fef81a7f3cd9528adf21560c04d98747>
- <https://git.kernel.org/stable/c/bbfcd261cc068fe1cd02a4e871275074a0daa4e2>
- <https://git.kernel.org/stable/c/8fc5ea9231af9122d227c9c13f5e578fca48d2e3>
- <https://git.kernel.org/stable/c/9b453e8b108a5a93a6e348cf2ba4c9c138314a00>
- <https://git.kernel.org/stable/c/f6b2b2b981af8e7d7c62d34143acefa4e1edfe8b>
- <https://git.kernel.org/stable/c/f749cb60a01f8391c760a1d6ecd938cadacf9549>
- <https://git.kernel.org/stable/c/9be0a21ae52b3b822d0eec4d14e909ab394f8a92>
- <https://git.kernel.org/stable/c/dc270d7159699ad6d11decadfce9633f0f71c1db>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-53066>
- <https://www.cve.org/CVERecord?id=CVE-2024-53066>
- <https://git.kernel.org/linus/dc270d7159699ad6d11decadfce9633f0f71c1db>
- <https://ubuntu.com/security/notices/USN-7276-1>
- <https://ubuntu.com/security/notices/USN-7277-1>
- <https://ubuntu.com/security/notices/USN-7288-1>
- <https://ubuntu.com/security/notices/USN-7289-1>
- <https://ubuntu.com/security/notices/USN-7291-1>
- <https://ubuntu.com/security/notices/USN-7288-2>
- <https://ubuntu.com/security/notices/USN-7289-2>

---

Data as of 2026-12-05T06:50:04.699Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
