CVE-2025-40021

published 24 Oct 2025 · updated 11 May 2026

tracing: dynevent: Add a missing lockdown check on dynevent

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 07b1f63b5f86765793fab44d3d4c2be681cddafb, Kernel 0d41604d2d53c1abe27fefb54b37a8f6642a4d74, Kernel 3887f3814c0e770e6b73567fe0f83a2c01a6470c and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.4, >=17911ff38aa58d3c95c07589dbf5d3564c4cf3c5 <07b1f63b5f86765793fab44d3d4c2be681cddafb, >=17911ff38aa58d3c95c07589dbf5d3564c4cf3c5 <0d41604d2d53c1abe27fefb54b37a8f6642a4d74, >=17911ff38aa58d3c95c07589dbf5d3564c4cf3c5 <3887f3814c0e770e6b73567fe0f83a2c01a6470c, >=17911ff38aa58d3c95c07589dbf5d3564c4cf3c5 <456c32e3c4316654f95f9d49c12cbecfb77d5660, >=17911ff38aa58d3c95c07589dbf5d3564c4cf3c5 <573b1e39edfcb7b4eecde0f1664455a1f4462eee, >=17911ff38aa58d3c95c07589dbf5d3564c4cf3c5 <b47c4e06687a5a7b6c6ef4bd303fcfe4430b26bb, >=17911ff38aa58d3c95c07589dbf5d3564c4cf3c5 <f3ac1f4eaba58e57943efa3e8b8d71fa7aab0abf07b1f63b5f86765793fab44d3d4c2be681cddafb, 0d41604d2d53c1abe27fefb54b37a8f6642a4d74, 3887f3814c0e770e6b73567fe0f83a2c01a6470c, 456c32e3c4316654f95f9d49c12cbecfb77d5660, 573b1e39edfcb7b4eecde0f1664455a1f4462eee, b47c4e06687a5a7b6c6ef4bd303fcfe4430b26bb, f3ac1f4eaba58e57943efa3e8b8d71fa7aab0abf

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40021 severity on Zeptric[![CVE-2025-40021](https://zeptric.io/badge/cve/CVE-2025-40021.svg)](https://zeptric.io/cve/CVE-2025-40021)