Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

nfs: Fix KMSAN warning in decode_getfattr_attrs()

CVSS 3.1 9.8 CRITICALCheck source for fixed versionsKEV status unknown

cve-program · CVE-2024-53066

Published

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

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-53066

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/nfs/inode.c"
                    ],
                    "versions": [
                        {
                            "version": "88034c3d88c2c48b215f2cc5eb22e564aa817f9c",
                            "lessThan": "25ffd294fef81a7f3cd9528adf21560c04d98747",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "88034c3d88c2c48b215f2cc5eb22e564aa817f9c",
                            "lessThan": "bbfcd261cc068fe1cd02a4e871275074a0daa4e2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "88034c3d88c2c48b215f2cc5eb22e564aa817f9c",
                            "lessThan": "8fc5ea9231af9122d227c9c13f5e578fca48d2e3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "88034c3d88c2c48b215f2cc5eb22e564aa817f9c",
                            "lessThan": "9b453e8b108a5a93a6e348cf2ba4c9c138314a00",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "88034c3d88c2c48b215f2cc5eb22e564aa817f9c",
                            "lessThan": "f6b2b2b981af8e7d7c62d34143acefa4e1edfe8b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "88034c3d88c2c48b215f2cc5eb22e564aa817f9c",
                            "lessThan": "f749cb60a01f8391c760a1d6ecd938cadacf9549",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "88034c3d88c2c48b215f2cc5eb22e564aa817f9c",
                            "lessThan": "9be0a21ae52b3b822d0eec4d14e909ab394f8a92",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "88034c3d88c2c48b215f2cc5eb22e564aa817f9c",
                            "lessThan": "dc270d7159699ad6d11decadfce9633f0f71c1db",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/nfs/inode.c"
                    ],
                    "versions": [
                        {
                            "version": "3.5",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.5",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.324",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.286",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.230",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.172",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.117",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.61",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11.8",
                            "lessThanOrEqual": "6.11.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 00:59 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current