{"schema":"threatline.record/2","record":{"id":"CVE-2026-99175","aliases":[],"summary":"fsnotify: prevent mark additions during connector teardown","details":"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.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99175","source_modified_at":"2026-10-28T10:35:29.760Z","fetched_at":"2026-10-28T15:55:58.673066Z","product":"Linux","vendor":"Linux","versions":[{"version":"6b3f05d24d355f50f3d9814304650fcab0efb482","lessThan":"952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1","status":"affected","versionType":"git"},{"version":"6b3f05d24d355f50f3d9814304650fcab0efb482","lessThan":"472589eacdf10b5f9bd10b333957ed5291b2544b","status":"affected","versionType":"git"},{"version":"6b3f05d24d355f50f3d9814304650fcab0efb482","lessThan":"36ebddca56b9d8993d6dc984fdecc748ee1f5e06","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99175","source_modified_at":"2026-10-28T10:35:29.760Z","fetched_at":"2026-10-28T15:55:58.673066Z","product":"Linux","vendor":"Linux","versions":[{"version":"4.12","status":"affected"},{"version":"0","lessThan":"4.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"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99175","source_modified_at":"2026-10-28T10:35:29.760Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99175","source_modified_at":"2026-10-28T10:35:29.760Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"472589eacdf10b5f9bd10b333957ed5291b2544b","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99175","source_modified_at":"2026-10-28T10:35:29.760Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"36ebddca56b9d8993d6dc984fdecc748ee1f5e06","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-28T10:35:29.760Z","modified_at":"2026-10-28T10:35:29.760Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99175","fetched_at":"2026-10-28T15:55:58.673066Z","source_modified_at":"2026-10-28T10:35:29.760Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/952501bfc6e5e654ac4a17ec9d90c1ec614bd9f1"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/472589eacdf10b5f9bd10b333957ed5291b2544b"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/36ebddca56b9d8993d6dc984fdecc748ee1f5e06"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-28T10:35:29.760Z","content_hash":"83cc03cfe526c5e98a8dc816285ddb33ba63b37ccf35217e899bd67e1ae04b26"}}
