Linux
fanotify: fix false positive on permission events
In the Linux kernel, the following vulnerability has been resolved: fanotify: fix false positive on permission events fsnotify_get_mark_safe() may return false for a mark on an unrelated group, which results in bypassing the permission check. Fix by skipping over detached marks that are not in the current group.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= abc77577a669f424c5d0c185b9994f2621c52aa4, < a24765332e129c1916d5a6615418b75599b8fcdc
- >= abc77577a669f424c5d0c185b9994f2621c52aa4, < 4a7611ad653785fcdea5ff5f4441e2b7d05b7f11
- >= abc77577a669f424c5d0c185b9994f2621c52aa4, < 04bb66be92f48ed13c3faf1139d892df228789bc
- >= abc77577a669f424c5d0c185b9994f2621c52aa4, < 895ebbedf88318607c24acc0f591c74b165e1d0a
- >= abc77577a669f424c5d0c185b9994f2621c52aa4, < f130790f1acc8399f32652846c875a251efd040f
- >= abc77577a669f424c5d0c185b9994f2621c52aa4, < 7baa02b0ae9d17ec5f08836d8ea88ce1927d0678
- >= abc77577a669f424c5d0c185b9994f2621c52aa4, < b7b24b28c8cd55844cab908f4f39dded638d5538
- >= abc77577a669f424c5d0c185b9994f2621c52aa4, < 7746e3bd4cc19b5092e00d32d676e329bfcb6900
Fixed in a24765332e129c1916d5a6615418b75599b8fcdc, 4a7611ad653785fcdea5ff5f4441e2b7d05b7f11, 04bb66be92f48ed13c3faf1139d892df228789bc, 895ebbedf88318607c24acc0f591c74b165e1d0a, f130790f1acc8399f32652846c875a251efd040f, 7baa02b0ae9d17ec5f08836d8ea88ce1927d0678, b7b24b28c8cd55844cab908f4f39dded638d5538, 7746e3bd4cc19b5092e00d32d676e329bfcb6900
- 4.12
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7, 7.1
Mitigation
Upgrade Linux to a24765332e129c1916d5a6615418b75599b8fcdc or 4a7611ad653785fcdea5ff5f4441e2b7d05b7f11 or 04bb66be92f48ed13c3faf1139d892df228789bc or 895ebbedf88318607c24acc0f591c74b165e1d0a or f130790f1acc8399f32652846c875a251efd040f or 7baa02b0ae9d17ec5f08836d8ea88ce1927d0678 or b7b24b28c8cd55844cab908f4f39dded638d5538 or 7746e3bd4cc19b5092e00d32d676e329bfcb6900 or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.140 or 6.12.88 or 6.18.30 or 7.0.7 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.