{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-50211",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-10-21T19:36:19.970Z",
        "datePublished": "2024-11-08T06:10:08.444Z",
        "dateUpdated": "2026-08-05T11:42:32.555Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:42:32.555Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nudf: refactor inode_bmap() to handle error\n\nRefactor inode_bmap() to handle error since udf_next_aext() can return\nerror now. On situations like ftruncate, udf_extend_file() can now\ndetect errors and bail out early without resorting to checking for\nparticular offsets and assuming internal behavior of these functions."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - Exploitation requires local access to mount a crafted UDF filesystem image (loop device, USB stick, or optical disc) and then issue an ftruncate()/truncate() syscall against a file on it. There is no remote or network-facing path into fs/udf.\nAC:L - The attacker fully controls the on-disk UDF metadata (indirect extent chains, lengthAllocDescs, extent locations pointing past device capacity) that forces udf_next_aext() into its error paths, and syzbot produced a deterministic C reproducer; no race and no uncontrollable memory-layout precondition is involved.\nPR:L - On mainstream Linux desktops an active unprivileged user can loop-setup and mount a crafted UDF image via udisks2/polkit (allow_active by default) or have removable UDF media automounted, and only ordinary write access to a file is needed to call ftruncate(); no real root in the initial namespace is required in that deployment.\nUI:N - The attacker performs both steps — supplying/mounting the image and issuing the ftruncate() — with no action by any other user in the unprivileged-loop-mount scenario.\nS:U - The out-of-bounds read and write occur in kernel slab memory within the same security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The confirmed KASAN slab-out-of-bounds read pulls adjacent kernel heap contents into extent.extLength/extLocation, which are then written into the file's allocation descriptors on the attacker-readable image and used as block addresses, disclosing kernel memory and arbitrary device blocks.\nI:H - The same corrupted extent_position flows into udf_write_aext()/__udf_add_aext(), which write an 8–16 byte allocation descriptor through an unchecked ptr = i_data + epos->offset - alloc_offset + lenEAttr, giving an out-of-bounds slab write with attacker-influenced offset and data — a heap corruption primitive suitable for control-flow hijacking.\nA:H - The out-of-bounds access reliably produces a KASAN/oops kernel crash, and the corrupted i_lenExtents plus huge computed new_elen drive udf_do_extend_file() into unbounded extent creation, so an unprivileged local user can panic or hang the system."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/udf/directory.c",
                        "fs/udf/inode.c",
                        "fs/udf/partition.c",
                        "fs/udf/truncate.c",
                        "fs/udf/udfdecl.h"
                    ],
                    "versions": [
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "493447dd8336607fce426f7879e581095f6c606e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "b22d9a5698abf04341f8fbc30141e0673863c3a6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "c226964ec786f3797ed389a16392ce4357697d24",
                            "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/udf/directory.c",
                        "fs/udf/inode.c",
                        "fs/udf/partition.c",
                        "fs/udf/truncate.c",
                        "fs/udf/udfdecl.h"
                    ],
                    "versions": [
                        {
                            "version": "2.6.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.59",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11.6",
                            "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": "2.6.12",
                                    "versionEndExcluding": "6.6.59"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.12",
                                    "versionEndExcluding": "6.11.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.12",
                                    "versionEndExcluding": "6.12"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/493447dd8336607fce426f7879e581095f6c606e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b22d9a5698abf04341f8fbc30141e0673863c3a6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c226964ec786f3797ed389a16392ce4357697d24"
                }
            ],
            "title": "udf: refactor inode_bmap() to handle error",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 3.3,
                            "attackVector": "LOCAL",
                            "baseSeverity": "LOW",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "LOW",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-50211",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2025-10-01T20:17:19.011673Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "description": "CWE-noinfo Not enough information"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T20:27:05.842Z"
                }
            }
        ]
    }
}