{"schema":"threatline.record/2","record":{"id":"CVE-2026-98862","aliases":[],"summary":"audit: fix exe mark UAF in kill_rules()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\naudit: fix exe mark UAF in kill_rules()\n\nkill_rules() removes mixed AUDIT_DIR and AUDIT_EXE rules when an audit\ntree is pruned. It drops entry->rule.exe before removing the rule from\nthe RCU-visible filter lists.\n\nAfter a rule has been installed with AUDIT_ADD_RULE, which requires\nCAP_AUDIT_CONTROL, removing the watched directory can race with another\ntask that is still evaluating the rule. In that case, fsnotify can free\nthe executable mark before the reader reaches audit_mark_compare(),\ncausing a use-after-free.\n\nKASAN reports:\n\n    BUG: KASAN: slab-use-after-free in audit_mark_compare+0x8d/0xa0\n\nUnlink the published rules from the RCU-visible lists and retain them\non tree->rules for cleanup. If any rule has an executable mark, wait for\na single RCU grace period before removing the marks and scheduling the\nentries for freeing. Otherwise, call_rcu() already provides the required\ndeferred freeing without a synchronous wait.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98862","source_modified_at":"2026-10-21T12:57:38.560Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","lessThan":"9aee3caeff4dd4126d84f67607b95cec8719b867","status":"affected","versionType":"git"},{"version":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","lessThan":"304960900991157e6883bdf0b39782b690545ee8","status":"affected","versionType":"git"},{"version":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","lessThan":"88633025f20ba9c32ccdb3efc86eafdf98cb825c","status":"affected","versionType":"git"},{"version":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","lessThan":"f2cc5462b78559c7628a9f8ac9a9592e7783183a","status":"affected","versionType":"git"},{"version":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","lessThan":"aa650d87a498844060eecb1d336f4d46f4d1b0b3","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98862","source_modified_at":"2026-10-21T12:57:38.560Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"4.3","status":"affected"},{"version":"0","lessThan":"4.3","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.113","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.56","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.10","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-98862","source_modified_at":"2026-10-21T12:57:38.560Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"9aee3caeff4dd4126d84f67607b95cec8719b867","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98862","source_modified_at":"2026-10-21T12:57:38.560Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"304960900991157e6883bdf0b39782b690545ee8","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98862","source_modified_at":"2026-10-21T12:57:38.560Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"88633025f20ba9c32ccdb3efc86eafdf98cb825c","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00157,"percentile":0.04453,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:51:23.224Z","modified_at":"2026-10-21T12:57:38.560Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98862","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-21T12:57:38.560Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98862","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/9aee3caeff4dd4126d84f67607b95cec8719b867"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/304960900991157e6883bdf0b39782b690545ee8"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/88633025f20ba9c32ccdb3efc86eafdf98cb825c"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/f2cc5462b78559c7628a9f8ac9a9592e7783183a"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/aa650d87a498844060eecb1d336f4d46f4d1b0b3"}],"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-21T12:57:38.560Z","content_hash":"e52c12285047ae841c3848bec1ce73527435992af67b2ed97d94cdc7cec328b9"}}
