{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99175",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.399Z",
        "datePublished": "2026-10-28T10:35:29.760Z",
        "dateUpdated": "2026-10-30T12:42:39.046Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-30T12:42:39.046Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfsnotify: prevent mark additions during connector teardown\n\nfsnotify_destroy_marks() keeps a reference to its current mark while it\ndrops conn->lock to destroy the mark. This stabilizes the forward-walk\ncursor, but does not prevent a new mark from being inserted before it.\nFor example, an inotify watch re-added after IN_IGNORED sorts before the\nold, detached mark for the same group. The walk can miss the replacement\nand then detach the entire connector from the object.\n\nThe replacement is still on its group's marks_list and, for inotify, in\nthe watch IDR. The group mutex no longer protects the connector's object\nfrom disappearing. An unprivileged fdinfo read racing the final detach\ncan consequently call igrab(NULL):\n\n  BUG: KASAN: null-ptr-deref in igrab+0x24/0x100\n  Write of size 4 at addr 0000000000000148\n  Call Trace:\n   igrab+0x24/0x100\n   inotify_show_fdinfo+0x1dc/0x5e0\n   seq_show+0x397/0x690\n\nSet a DESTROYING flag under conn->lock before starting the walk, and\nreject new marks on that connector with -ENOENT. The existing add-mark\nerror paths undo the temporary group-list entry and the backend's watch\nallocation. Do not wait for teardown while holding the group mutex,\nwhich the destroyer needs. Once the old connector is detached, an add\ncan install a fresh connector as before.\n\nThis closes the insertion race for all object types using the common\nconnector teardown, without changing the mark reference or SRCU lifetime\nrules."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/notify/mark.c",
                        "include/linux/fsnotify_backend.h"
                    ],
                    "versions": [
                        {
                            "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                            "lessThan": "f7def717c06aea7004905e4d1568c3691ef9825d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                            "lessThan": "da2f9aa89ef1b1fe7a7c6e1a8ddacd9c975e86aa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                            "lessThan": "587d80966dcce2824f13fd32dab83bf882acf66f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                            "lessThan": "d28a460a2237220d9ccbdd3baac6eaead44e96cb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                            "lessThan": "61133f15773b907bada651a02d9c6d38eae37c48",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                            "lessThan": "952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                            "lessThan": "472589eacdf10b5f9bd10b333957ed5291b2544b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6b3f05d24d355f50f3d9814304650fcab0efb482",
                            "lessThan": "36ebddca56b9d8993d6dc984fdecc748ee1f5e06",
                            "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/notify/mark.c",
                        "include/linux/fsnotify_backend.h"
                    ],
                    "versions": [
                        {
                            "version": "4.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.273",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.224",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.191",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.161",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.115",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.59",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.13",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "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": "4.12",
                                    "versionEndExcluding": "5.10.273"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "5.15.224"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.1.191"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.6.161"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.12.115"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.18.59"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "7.2.13"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/f7def717c06aea7004905e4d1568c3691ef9825d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/da2f9aa89ef1b1fe7a7c6e1a8ddacd9c975e86aa"
                },
                {
                    "url": "https://git.kernel.org/stable/c/587d80966dcce2824f13fd32dab83bf882acf66f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d28a460a2237220d9ccbdd3baac6eaead44e96cb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/61133f15773b907bada651a02d9c6d38eae37c48"
                },
                {
                    "url": "https://git.kernel.org/stable/c/952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/472589eacdf10b5f9bd10b333957ed5291b2544b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/36ebddca56b9d8993d6dc984fdecc748ee1f5e06"
                }
            ],
            "title": "fsnotify: prevent mark additions during connector teardown",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}