{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-50248",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-10-21T19:36:19.978Z",
        "datePublished": "2024-11-09T10:14:56.965Z",
        "dateUpdated": "2026-08-05T11:42:45.435Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:42:45.435Z"
            },
            "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."
                }
            ],
            "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."
                        }
                    ]
                }
            ],
            "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": "386613a44b858304a88529ade2ccc1e079a5fc56",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
                            "lessThan": "22cdf3be7d34f61a91b9e2966fec3a29f3871398",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
                            "lessThan": "809f9b419c75f8042c58434d2bfe849140643e9d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
                            "lessThan": "556bdf27c2dd5c74a9caacbe524b943a6cd42d99",
                            "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.60",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11.7",
                            "lessThanOrEqual": "6.11.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12",
                            "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.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"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
                }
            ],
            "title": "ntfs3: Add bounds checking to mi_enum_attr()",
            "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": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-03T20:44:37.543Z"
                }
            }
        ]
    }
}