{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-27407", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-02-25T13:47:42.681Z", "datePublished": "2024-05-17T11:40:32.129Z", "dateUpdated": "2026-08-05T11:29:37.826Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:29:37.826Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Fixed overflow check in mi_enum_attr()" } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The attack payload is a crafted NTFS volume parsed by the in-kernel ntfs3 driver at mount/inode-load time and exercised via ordinary read/write syscalls on the mounted volume; this is a local block-device or loop-mounted-image operation with no network protocol handler in the path.\nAC:L - The attacker fully controls the on-disk bytes and simply sets a resident attribute's res.data_size to a value near 0xFFFFFFFF so that t16 + data_size wraps the u32 addition; the check is bypassed deterministically on every parse, with no race, timing, or memory-layout dependency.\nPR:N - The attacker needs no account or privilege on the target — the entire payload is the crafted filesystem image (USB stick, disk image, or media handed to an automounter such as udisks2 on desktops, kiosks, Android and automotive head units), matching how other ntfs3 image-parsing flaws in this subsystem are scored.\nUI:R - Someone on the target must mount the malicious volume, or insert the media into a system running an automounter; ntfs3 is FS_REQUIRES_DEV without FS_USERNS_MOUNT, so it cannot be mounted from an unprivileged user namespace.\nS:U - The out-of-bounds accesses occur in kernel memory within the same security authority as the mounting kernel; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - attr_data_read_resident() memcpy's a full page from mrec + data_off + vbo, with vbo chosen by the attacker anywhere in [0, ~4 GiB) past a 1 KiB kmalloc'd MFT record, delivering that kernel heap and direct-map content into a page the attacker reads — a controlled-offset arbitrary kernel memory read, not a bounded leak.\nI:H - On a read-write mount, attr_data_write_resident() performs memcpy(data + vbo, kaddr, use), writing a page of fully attacker-controlled bytes at an attacker-chosen offset up to ~4 GiB beyond the 1 KiB slab object — a write-what-where primitive suitable for cred/page-table corruption and control-flow hijack.\nA:H - Reading or writing gigabytes past a 1 KiB slab object reliably touches unmapped or guarded memory, producing an immediate oops/panic (or a KASAN slab-out-of-bounds BUG), and the ~4 GiB kvmalloc plus memcpy in ntfs_load_attr_list() crashes the mounting task outright." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "fs/ntfs3/record.c" ], "versions": [ { "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e", "lessThan": "e99faa97359654b6e4e769246c72cf50a57e05b2", "status": "affected", "versionType": "git" }, { "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e", "lessThan": "8c77398c72618101d66480b94b34fe9087ee3d08", "status": "affected", "versionType": "git" }, { "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e", "lessThan": "1c0a95d99b1b2b5d842e5abc7ef7eed1193b60d7", "status": "affected", "versionType": "git" }, { "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e", "lessThan": "652cfeb43d6b9aba5c7c4902bed7a7340df131fb", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "fs/ntfs3/record.c" ], "versions": [ { "version": "5.15", "status": "affected" }, { "version": "0", "lessThan": "5.15", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.120", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.19", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.7.7", "lessThanOrEqual": "6.7.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.8", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.15", "versionEndExcluding": "6.1.120" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.15", "versionEndExcluding": "6.6.19" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.15", "versionEndExcluding": "6.7.7" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.15", "versionEndExcluding": "6.8" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/e99faa97359654b6e4e769246c72cf50a57e05b2" }, { "url": "https://git.kernel.org/stable/c/8c77398c72618101d66480b94b34fe9087ee3d08" }, { "url": "https://git.kernel.org/stable/c/1c0a95d99b1b2b5d842e5abc7ef7eed1193b60d7" }, { "url": "https://git.kernel.org/stable/c/652cfeb43d6b9aba5c7c4902bed7a7340df131fb" } ], "title": "fs/ntfs3: Fixed overflow check in mi_enum_attr()", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "problemTypes": [ { "descriptions": [ { "type": "CWE", "cweId": "CWE-120", "lang": "en", "description": "CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')" } ] } ], "affected": [ { "vendor": "linux", "product": "linux_kernel", "cpes": [ "cpe:2.3:a:linux:linux_kernel:-:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "versions": [ { "version": "1da177e4c3f4", "status": "affected" } ] }, { "vendor": "linux", "product": "linux_kernel", "cpes": [ "cpe:2.3:a:linux:linux_kernel:-:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "versions": [ { "version": "6.6.19", "status": "unaffected" } ] }, { "vendor": "linux", "product": "linux_kernel", "cpes": [ "cpe:2.3:a:linux:linux_kernel:-:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "versions": [ { "version": "6.7.7", "status": "unaffected" } ] }, { "vendor": "linux", "product": "linux_kernel", "cpes": [ "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "versions": [ { "version": "6.8", "status": "unaffected" } ] } ], "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 8.4, "attackVector": "LOCAL", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH" } }, { "other": { "type": "ssvc", "content": { "timestamp": "2024-05-17T15:31:07.732182Z", "id": "CVE-2024-27407", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-01-28T16:37:08.605Z" } }, { "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/8c77398c72618101d66480b94b34fe9087ee3d08", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/1c0a95d99b1b2b5d842e5abc7ef7eed1193b60d7", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/652cfeb43d6b9aba5c7c4902bed7a7340df131fb", "tags": [ "x_transferred" ] }, { "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T20:37:04.117Z" } } ] } }