CVE-2026-74512

audit: fix potential use-after-free in audit_del_rule()

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

audit: fix potential use-after-free in audit_del_rule()

`audit_del_rule()` destroys `e->rule.exe` via `audit_remove_mark_rule()` before unlinking the rule from RCU-visible filter lists and waiting for a grace period. Concurrent readers in `audit_filter()` and `audit_filter_rules()` still dereference `e->rule.exe`, while the fsnotify mark can be freed on an independent lifetime path. This creates a use-after-free window during rule deletion.

Fix this by unlinking the rule from the RCU-visible lists and invoking `synchronize_rcu()` before calling `audit_remove_mark_rule()` (and other rule removal helpers). This ensures that all existing RCU readers have exited the critical section before any underlying resources are destroyed.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 34d99af52ad40bd498ba66970579a5bc1fb1a3bc to before 93616c567469510b7bba55b2674e0c4523fd7e64Affected
  • 34d99af52ad40bd498ba66970579a5bc1fb1a3bc to before 3f82927b399d7a276c0c12b6ff4424b747a0c9a7Affected
  • 34d99af52ad40bd498ba66970579a5bc1fb1a3bc to before 8ae135a8962be9d4e8a131eb18eb06cdf02a47ceAffected
  • 34d99af52ad40bd498ba66970579a5bc1fb1a3bc to before 45bf3df5b32e5a49953e7ceabc55f7dd85380e46Affected
  • 34d99af52ad40bd498ba66970579a5bc1fb1a3bc to before 78bde7e9bd36eaae1b8e8cfcd47f12a34f301dbfAffected
  • 34d99af52ad40bd498ba66970579a5bc1fb1a3bc to before cae0dfed5d307b240bff71c3cf206652d1b6f215Affected
  • 34d99af52ad40bd498ba66970579a5bc1fb1a3bc to before 5b8f46864f06d6dbacb7dcea52bc084dfd122638Affected
  • 34d99af52ad40bd498ba66970579a5bc1fb1a3bc to before 246df90b5f1a8a6e6abbd2f058b029558720adecAffected
LinuxLinux
  • 4.3Affected
  • before 4.3Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.151 through 6.6.*Not affected
  • 6.12.103 through 6.12.*Not affected
  • 6.18.44 through 6.18.*Not affected
  • 7.1.8 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.