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

CVE-2026-74512
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc < 93616c567469510b7bba55b2674e0c4523fd7e64 ; affected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc < 3f82927b399d7a276c0c12b6ff4424b747a0c9a7 ; affected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc < 8ae135a8962be9d4e8a131eb18eb06cdf02a47ce ; affected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc < 45bf3df5b32e5a49953e7ceabc55f7dd85380e46 ; affected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc < 78bde7e9bd36eaae1b8e8cfcd47f12a34f301dbf ; affected 34d99af52ad40bd498ba66970579a5bc1fb1a3bc < cae0dfed5d307b240bff71c3cf206652d1b6f215
Linux · Linuxaffected 4.3 ; unaffected 0 < 4.3 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.151 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD