Description
In the Linux kernel, the following vulnerability has been resolved:
kprobes: Protect kprobe_blacklist with RCU
__within_kprobe_blacklist() traverses kprobe_blacklist without holding kprobe_mutex. When a module is unloaded, kprobe_remove_area_blacklist() removes blacklist entries and immediately frees them with kfree(). A concurrent call to within_kprobe_blacklist() can therefore dereference freed memory.
Furthermore, within_kprobe_blacklist() can be called in atomic or non-preemptible contexts where the sleeping kprobe_mutex cannot be taken.
Protect kprobe_blacklist with RCU. Use guard(rcu)() and list_for_each_entry_rcu() for traversal, list_add_tail_rcu() for insertions, list_del_rcu() for deletions, and kfree_rcu() to reclaim entries safely after a grace period.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAffected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 376e242429bf8539ef39a080ac113c8799840b13, < 3fb8386682ef4d0858c38bf0d8d8a47ba171fa23; >= 376e242429bf8539ef39a080ac113c8799840b13, < 5d97a13defc648c64d138145ace429b6a3d08943; >= 376e242429bf8539ef39a080ac113c8799840b13, < 8f406205003f741225f620f0e357ca0de71d45e3; >= 376e242429bf8539ef39a080ac113c8799840b13, < 630ed8734a02b992e8a97538179c2ece42c5210f; >= 376e242429bf8539ef39a080ac113c8799840b13, < 518d9b5568bb06f86e4434f7a30faa9612ea91ad; >= 376e242429bf8539ef39a080ac113c8799840b13, < 5da247e4d1e8661d4d6f997101d59967e8994e32; >= 376e242429bf8539ef39a080ac113c8799840b13, < 6e62cf983a2bd547e6bbd3f935539233e5f97f8f; >= 376e242429bf8539ef39a080ac113c8799840b13, < 0c4256196b3a105307e2235fbfd85e768bbcdd0f |
| Linux | Linux | 3.16 |
References
- https://git.kernel.org/stable/c/0c4256196b3a105307e2235fbfd85e768bbcdd0f
- https://git.kernel.org/stable/c/3fb8386682ef4d0858c38bf0d8d8a47ba171fa23
- https://git.kernel.org/stable/c/518d9b5568bb06f86e4434f7a30faa9612ea91ad
- https://git.kernel.org/stable/c/5d97a13defc648c64d138145ace429b6a3d08943
- https://git.kernel.org/stable/c/5da247e4d1e8661d4d6f997101d59967e8994e32
- https://git.kernel.org/stable/c/630ed8734a02b992e8a97538179c2ece42c5210f
- https://git.kernel.org/stable/c/6e62cf983a2bd547e6bbd3f935539233e5f97f8f
- https://git.kernel.org/stable/c/8f406205003f741225f620f0e357ca0de71d45e3
Timeline
- Published
- Sep 16, 2026
- Last modified
- Oct 30, 2026
- NVD status
- Received