{"id":"CVE-2024-50248","state":"PUBLISHED","title":"ntfs3: Add bounds checking to mi_enum_attr()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs3: Add bounds checking to mi_enum_attr()\n\nAdded bounds checking to make sure that every attr don't stray beyond\nvalid memory region.","publishedAt":"2024-11-09T10:14:56.965Z","updatedAt":"2026-08-05T11:42:45.435Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4534a70b7056fd4b9a1c6db5a4ce3c98546b291e","status":"affected","lessThan":"386613a44b858304a88529ade2ccc1e079a5fc56","versionType":"git"},{"version":"4534a70b7056fd4b9a1c6db5a4ce3c98546b291e","status":"affected","lessThan":"22cdf3be7d34f61a91b9e2966fec3a29f3871398","versionType":"git"},{"version":"4534a70b7056fd4b9a1c6db5a4ce3c98546b291e","status":"affected","lessThan":"809f9b419c75f8042c58434d2bfe849140643e9d","versionType":"git"},{"version":"4534a70b7056fd4b9a1c6db5a4ce3c98546b291e","status":"affected","lessThan":"556bdf27c2dd5c74a9caacbe524b943a6cd42d99","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/record.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.1.120","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.60","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.7","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/record.c"]}],"references":["https://git.kernel.org/stable/c/386613a44b858304a88529ade2ccc1e079a5fc56","https://git.kernel.org/stable/c/22cdf3be7d34f61a91b9e2966fec3a29f3871398","https://git.kernel.org/stable/c/809f9b419c75f8042c58434d2bfe849140643e9d","https://git.kernel.org/stable/c/556bdf27c2dd5c74a9caacbe524b943a6cd42d99","https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/50xxx/CVE-2024-50248.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50248","state":"PUBLISHED","datePublished":"2024-11-09T10:14:56.965Z","dateUpdated":"2026-08-05T11:42:45.435Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T19:36:19.978Z"},"containers":{"cna":{"title":"ntfs3: Add bounds checking to mi_enum_attr()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs3: Add bounds checking to mi_enum_attr()\n\nAdded bounds checking to make sure that every attr don't stray beyond\nvalid memory region."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4534a70b7056fd4b9a1c6db5a4ce3c98546b291e","status":"affected","lessThan":"386613a44b858304a88529ade2ccc1e079a5fc56","versionType":"git"},{"version":"4534a70b7056fd4b9a1c6db5a4ce3c98546b291e","status":"affected","lessThan":"22cdf3be7d34f61a91b9e2966fec3a29f3871398","versionType":"git"},{"version":"4534a70b7056fd4b9a1c6db5a4ce3c98546b291e","status":"affected","lessThan":"809f9b419c75f8042c58434d2bfe849140643e9d","versionType":"git"},{"version":"4534a70b7056fd4b9a1c6db5a4ce3c98546b291e","status":"affected","lessThan":"556bdf27c2dd5c74a9caacbe524b943a6cd42d99","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/record.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.1.120","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.60","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.7","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/record.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/386613a44b858304a88529ade2ccc1e079a5fc56"},{"url":"https://git.kernel.org/stable/c/22cdf3be7d34f61a91b9e2966fec3a29f3871398"},{"url":"https://git.kernel.org/stable/c/809f9b419c75f8042c58434d2bfe849140643e9d"},{"url":"https://git.kernel.org/stable/c/556bdf27c2dd5c74a9caacbe524b943a6cd42d99"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerability is triggered by parsing attacker-crafted MFT records from an NTFS volume, which requires the image to be mounted on the local system (loop device, USB stick, or automounted removable media). There is no network-facing path into `mi_enum_attr()`.\nAC:L - The attacker fully controls every field involved (`rec->attr_off`, `rec->used`, `rec->total`, `attr->size`) and the overread is deterministic on the first attribute enumeration — no race, timing window, or uncontrolled memory-layout condition is involved.\nPR:L - An unprivileged local user can get an arbitrary NTFS image mounted on common desktop/kiosk configurations via udisks2/systemd automount of removable media, or via `user`-option/loop mounts; no root in the initial namespace is needed for the realistic scenario.\nUI:N - In the highest-impact scenario the attacker supplies and mounts the malicious volume themselves (inserting media that is auto-mounted, or loop-mounting their own image), so no action by a separate victim is required.\nS:U - The out-of-bounds access stays within the kernel's own memory and security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - `attr->size` is dereferenced at an attacker-influenced offset beyond the `kmalloc()`ed MFT record buffer, reading adjacent kernel heap contents; the commit's own framing is that attributes could \"stray beyond valid memory region\", so the read is not reliably bounded.\nI:N - The defect is purely a read of `attr->size`; the surviving `off + asize > used` boundary test still constrains any attribute handed back to callers, so no out-of-bounds write or control-flow corruption primitive arises.\nA:H - The out-of-bounds dereference can hit an unmapped page or trip KASAN/hardened-allocator checks, producing a kernel oops or panic and denying service to the whole system."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:42:45.435Z"},"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.60"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.11.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:44:37.543Z"}}]}}}