{"id":"CVE-2024-53066","aliases":["CVE-2024-53066"],"related":[],"kind":"vulnerability","state":"published","title":"nfs: Fix KMSAN warning in decode_getfattr_attrs()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfs: Fix KMSAN warning in decode_getfattr_attrs()\n\nFix the following KMSAN warning:\n\nCPU: 1 UID: 0 PID: 7651 Comm: cp Tainted: G    B\nTainted: [B]=BAD_PAGE\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009)\n=====================================================\n=====================================================\nBUG: KMSAN: uninit-value in decode_getfattr_attrs+0x2d6d/0x2f90\n decode_getfattr_attrs+0x2d6d/0x2f90\n decode_getfattr_generic+0x806/0xb00\n nfs4_xdr_dec_getattr+0x1de/0x240\n rpcauth_unwrap_resp_decode+0xab/0x100\n rpcauth_unwrap_resp+0x95/0xc0\n call_decode+0x4ff/0xb50\n __rpc_execute+0x57b/0x19d0\n rpc_execute+0x368/0x5e0\n rpc_run_task+0xcfe/0xee0\n nfs4_proc_getattr+0x5b5/0x990\n __nfs_revalidate_inode+0x477/0xd00\n nfs_access_get_cached+0x1021/0x1cc0\n nfs_do_access+0x9f/0xae0\n nfs_permission+0x1e4/0x8c0\n inode_permission+0x356/0x6c0\n link_path_walk+0x958/0x1330\n path_lookupat+0xce/0x6b0\n filename_lookup+0x23e/0x770\n vfs_statx+0xe7/0x970\n vfs_fstatat+0x1f2/0x2c0\n __se_sys_newfstatat+0x67/0x880\n __x64_sys_newfstatat+0xbd/0x120\n x64_sys_call+0x1826/0x3cf0\n do_syscall_64+0xd0/0x1b0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nThe KMSAN warning is triggered in decode_getfattr_attrs(), when calling\ndecode_attr_mdsthreshold(). It appears that fattr->mdsthreshold is not\ninitialized.\n\nFix the issue by initializing fattr->mdsthreshold to NULL in\nnfs_fattr_init().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfs: Fix KMSAN warning in decode_getfattr_attrs()\n\nFix the following KMSAN warning:\n\nCPU: 1 UID: 0 PID: 7651 Comm: cp Tainted: G    B\nTainted: [B]=BAD_PAGE\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009)\n=====================================================\n=====================================================\nBUG: KMSAN: uninit-value in decode_getfattr_attrs+0x2d6d/0x2f90\n decode_getfattr_attrs+0x2d6d/0x2f90\n decode_getfattr_generic+0x806/0xb00\n nfs4_xdr_dec_getattr+0x1de/0x240\n rpcauth_unwrap_resp_decode+0xab/0x100\n rpcauth_unwrap_resp+0x95/0xc0\n call_decode+0x4ff/0xb50\n __rpc_execute+0x57b/0x19d0\n rpc_execute+0x368/0x5e0\n rpc_run_task+0xcfe/0xee0\n nfs4_proc_getattr+0x5b5/0x990\n __nfs_revalidate_inode+0x477/0xd00\n nfs_access_get_cached+0x1021/0x1cc0\n nfs_do_access+0x9f/0xae0\n nfs_permission+0x1e4/0x8c0\n inode_permission+0x356/0x6c0\n link_path_walk+0x958/0x1330\n path_lookupat+0xce/0x6b0\n filename_lookup+0x23e/0x770\n vfs_statx+0xe7/0x970\n vfs_fstatat+0x1f2/0x2c0\n __se_sys_newfstatat+0x67/0x880\n __x64_sys_newfstatat+0xbd/0x120\n x64_sys_call+0x1826/0x3cf0\n do_syscall_64+0xd0/0x1b0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nThe KMSAN warning is triggered in decode_getfattr_attrs(), when calling\ndecode_attr_mdsthreshold(). It appears that fattr->mdsthreshold is not\ninitialized.\n\nFix the issue by initializing fattr->mdsthreshold to NULL in\nnfs_fattr_init().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfs: Corrige la advertencia de KMSAN en decode_getfattr_attrs() Corrige la siguiente advertencia de KMSAN: CPU: 1 UID: 0 PID: 7651 Comm: cp Contaminado: GB Contaminado: [B]=BAD_PAGE Nombre del hardware: QEMU Standard PC (Q35 + ICH9, 2009) ====================================================== ============================================================= ERROR: KMSAN: valor no inicializado en decodificar_getfattr_attrs+0x2d6d/0x2f90 decodificar_getfattr_attrs+0x2d6d/0x2f90 decodificar_getfattr_generic+0x806/0xb00 nfs4_xdr_dec_getattr+0x1de/0x240 rpcauth_unwrap_resp_decode+0xab/0x100 rpcauth_unwrap_resp+0x95/0xc0 llamar_decodificar+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 La advertencia de KMSAN se activa en decode_getfattr_attrs(), al llamar a decode_attr_mdsthreshold(). Parece que fattr-&gt;mdsthreshold no está inicializado. Solucione el problema inicializando fattr-&gt;mdsthreshold en NULL en nfs_fattr_init().","source":"nvd"}],"published":"2024-11-19T17:22:35.389Z","modified":"2026-08-05T11:43:26.222Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"type":"git","introduced":"88034c3d88c2c48b215f2cc5eb22e564aa817f9c","fixed":"25ffd294fef81a7f3cd9528adf21560c04d98747","status":"affected"},{"type":"git","introduced":"88034c3d88c2c48b215f2cc5eb22e564aa817f9c","fixed":"bbfcd261cc068fe1cd02a4e871275074a0daa4e2","status":"affected"},{"type":"git","introduced":"88034c3d88c2c48b215f2cc5eb22e564aa817f9c","fixed":"8fc5ea9231af9122d227c9c13f5e578fca48d2e3","status":"affected"},{"type":"git","introduced":"88034c3d88c2c48b215f2cc5eb22e564aa817f9c","fixed":"9b453e8b108a5a93a6e348cf2ba4c9c138314a00","status":"affected"},{"type":"git","introduced":"88034c3d88c2c48b215f2cc5eb22e564aa817f9c","fixed":"f6b2b2b981af8e7d7c62d34143acefa4e1edfe8b","status":"affected"},{"type":"git","introduced":"88034c3d88c2c48b215f2cc5eb22e564aa817f9c","fixed":"f749cb60a01f8391c760a1d6ecd938cadacf9549","status":"affected"},{"type":"git","introduced":"88034c3d88c2c48b215f2cc5eb22e564aa817f9c","fixed":"9be0a21ae52b3b822d0eec4d14e909ab394f8a92","status":"affected"},{"type":"git","introduced":"88034c3d88c2c48b215f2cc5eb22e564aa817f9c","fixed":"dc270d7159699ad6d11decadfce9633f0f71c1db","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"4.19.324","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.286","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.230","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.172","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.117","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.61","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.8","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.5","fixed":"4.19.324"},{"status":"affected","introduced":"4.20","fixed":"5.4.286"},{"status":"affected","introduced":"5.5","fixed":"5.10.230"},{"status":"affected","introduced":"5.11","fixed":"5.15.172"},{"status":"affected","introduced":"5.16","fixed":"6.1.117"},{"status":"affected","introduced":"6.2","fixed":"6.6.61"},{"status":"affected","introduced":"6.7","fixed":"6.11.8"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/25ffd294fef81a7f3cd9528adf21560c04d98747","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bbfcd261cc068fe1cd02a4e871275074a0daa4e2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8fc5ea9231af9122d227c9c13f5e578fca48d2e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b453e8b108a5a93a6e348cf2ba4c9c138314a00","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6b2b2b981af8e7d7c62d34143acefa4e1edfe8b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f749cb60a01f8391c760a1d6ecd938cadacf9549","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9be0a21ae52b3b822d0eec4d14e909ab394f8a92","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc270d7159699ad6d11decadfce9633f0f71c1db","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:12:33.440Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-53066","url":"https://www.cve.org/CVERecord?id=CVE-2024-53066","licence":"CVE Terms of Use","modified":"2026-08-05T11:43:26.222Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-53066","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53066","licence":"Public domain","modified":"2026-08-04T11:21:47.500Z"}],"updatedAt":"2026-11-25T22:58:48.801Z","epss":{"score":0.00665,"percentile":0.53075,"date":"2026-12-01T12:00:22.000Z"}}