{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143124",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.351Z",
        "datePublished": "2026-12-03T09:19:34.726Z",
        "dateUpdated": "2026-12-03T09:19:34.726Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:19:34.726Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: open the index allocation before reading or writing an index block\n\nntfs_ib_write() and ntfs_ib_read() use icx->ia_ni without checking it.\nntfs_ir_reparent() only opens the index allocation through\nntfs_ia_add() when the root is a small index. For a root that is already\nmarked as a large index it calls ntfs_ib_write() directly.\n\nThe lookup does not open the index allocation either when it ends in the\nroot. If the last entry of the root has no child node, ia_ni is still\nNULL when the root has to be moved into an index block, and the write\ndereferences it:\n\n  Oops: general protection fault, KASAN: null-ptr-deref in range\n        [0x0000000000000128-0x000000000000012f]\n  RIP: 0010:ntfs_inode_attr_pwrite+0x52/0x1600\n   ntfs_ir_make_space\n   ntfs_ie_add\n   ntfs_index_add_filename\n   __ntfs_link\n   ntfs_link\n   vfs_link\n\nA single byte of an image from mkntfs is enough. In a directory that has\none empty index block, clear INDEX_ENTRY_NODE (flags 3 -> 2) of the last\nentry of the $INDEX_ROOT and link() a file into the directory.\n\nCommit 9365c4a1357e (\"ntfs: fix NULL dereference on index allocation open failure\")\ncovers the case where ntfs_ia_open() fails in the lookup. Here it was\nnever tried. Open the index allocation on demand in both\nhelpers and fail with -EIO if that does not work.\n\nntfs_ia_open() also succeeds for a directory that has no\n$INDEX_ALLOCATION attribute. The inode it returns is then an empty resident\nstub that does not describe an index allocation, so reject that case too."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ntfs/index.c"
                    ],
                    "versions": [
                        {
                            "version": "0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0",
                            "lessThan": "786519919170e10f54b3e8b0fca3c60b88fc4f4d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0",
                            "lessThan": "bada7bbb11aaa6feba8904cf38ff833453f5b5d9",
                            "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/ntfs/index.c"
                    ],
                    "versions": [
                        {
                            "version": "7.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "7.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "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": "7.1",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.1",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/786519919170e10f54b3e8b0fca3c60b88fc4f4d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bada7bbb11aaa6feba8904cf38ff833453f5b5d9"
                }
            ],
            "title": "ntfs: open the index allocation before reading or writing an index block",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}