{"api_version":"1","generated_at":"2026-10-23T00:23:03+00:00","cve":"CVE-2026-98862","urls":{"html":"https://cve.report/CVE-2026-98862","api":"https://cve.report/api/cve/CVE-2026-98862.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98862","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98862"},"summary":{"title":"audit: fix exe mark UAF in kill_rules()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:40","updated_at":"2026-10-21 13:21:50"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/aa650d87a498844060eecb1d336f4d46f4d1b0b3","name":"https://git.kernel.org/stable/c/aa650d87a498844060eecb1d336f4d46f4d1b0b3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f2cc5462b78559c7628a9f8ac9a9592e7783183a","name":"https://git.kernel.org/stable/c/f2cc5462b78559c7628a9f8ac9a9592e7783183a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/304960900991157e6883bdf0b39782b690545ee8","name":"https://git.kernel.org/stable/c/304960900991157e6883bdf0b39782b690545ee8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9aee3caeff4dd4126d84f67607b95cec8719b867","name":"https://git.kernel.org/stable/c/9aee3caeff4dd4126d84f67607b95cec8719b867","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/88633025f20ba9c32ccdb3efc86eafdf98cb825c","name":"https://git.kernel.org/stable/c/88633025f20ba9c32ccdb3efc86eafdf98cb825c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98862","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98862","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc 9aee3caeff4dd4126d84f67607b95cec8719b867 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc 304960900991157e6883bdf0b39782b690545ee8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc 88633025f20ba9c32ccdb3efc86eafdf98cb825c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc f2cc5462b78559c7628a9f8ac9a9592e7783183a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc aa650d87a498844060eecb1d336f4d46f4d1b0b3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.160 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.113 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.56 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.10 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"98862","cve":"CVE-2026-98862","epss":"0.001570000","percentile":"0.044450000","score_date":"2026-10-21","updated_at":"2026-10-22 00:15:10"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/audit_tree.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9aee3caeff4dd4126d84f67607b95cec8719b867","status":"affected","version":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","versionType":"git"},{"lessThan":"304960900991157e6883bdf0b39782b690545ee8","status":"affected","version":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","versionType":"git"},{"lessThan":"88633025f20ba9c32ccdb3efc86eafdf98cb825c","status":"affected","version":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","versionType":"git"},{"lessThan":"f2cc5462b78559c7628a9f8ac9a9592e7783183a","status":"affected","version":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","versionType":"git"},{"lessThan":"aa650d87a498844060eecb1d336f4d46f4d1b0b3","status":"affected","version":"34d99af52ad40bd498ba66970579a5bc1fb1a3bc","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/audit_tree.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.3"},{"lessThan":"4.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.160","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.113","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.56","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.160","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.113","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.56","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.10","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"4.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-10-21T12:57:38.560Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/9aee3caeff4dd4126d84f67607b95cec8719b867"},{"url":"https://git.kernel.org/stable/c/304960900991157e6883bdf0b39782b690545ee8"},{"url":"https://git.kernel.org/stable/c/88633025f20ba9c32ccdb3efc86eafdf98cb825c"},{"url":"https://git.kernel.org/stable/c/f2cc5462b78559c7628a9f8ac9a9592e7783183a"},{"url":"https://git.kernel.org/stable/c/aa650d87a498844060eecb1d336f4d46f4d1b0b3"}],"title":"audit: fix exe mark UAF in kill_rules()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98862","datePublished":"2026-10-18T15:51:23.224Z","dateReserved":"2026-09-25T10:25:14.376Z","dateUpdated":"2026-10-21T12:57:38.560Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:40","lastModifiedDate":"2026-10-21 13:21:50","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98862","Ordinal":"1","Title":"audit: fix exe mark UAF in kill_rules()","CVE":"CVE-2026-98862","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98862","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"audit: fix exe mark UAF in kill_rules()"}]}}}