What’s Vulnerable › Vulnerabilities
CVE-2025-40021: tracing: dynevent: Add a missing lockdown check on dynevent
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-24 · updated 2026-10-19
Description
In the Linux kernel, the following vulnerability has been resolved: tracing: dynevent: Add a missing lockdown check on dynevent Since dynamic_events interface on tracefs is compatible with kprobe_events and uprobe_events, it should also check the lockdown status and reject if it is set.
Affected products
- Linux kernel: 5.4 — fixed in 6.17
How to fix
Upgrade to a fixed version: Linux kernel 6.17. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/07b1f63b5f86765793fab44d3d4c2be681cddafb
- https://git.kernel.org/stable/c/0d41604d2d53c1abe27fefb54b37a8f6642a4d74
- https://git.kernel.org/stable/c/3887f3814c0e770e6b73567fe0f83a2c01a6470c
- https://git.kernel.org/stable/c/456c32e3c4316654f95f9d49c12cbecfb77d5660
- https://git.kernel.org/stable/c/573b1e39edfcb7b4eecde0f1664455a1f4462eee
- https://git.kernel.org/stable/c/b47c4e06687a5a7b6c6ef4bd303fcfe4430b26bb
- https://git.kernel.org/stable/c/f3ac1f4eaba58e57943efa3e8b8d71fa7aab0abf
Get alerted when CVE-2025-40021 or the next vulnerability affects your stack