CVE-2025-40021
kernel: tracing: dynevent: Add a missing lockdown check on dynevent
Overview
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.
Source: OX vulnerability database
Severity
4.4 · LOW
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 96 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kernel | 0:6.6.112.1-2.azl3 |
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +13 | 5.15.0-315.196.5.1.el8uek |
| 9 | bpftool +18 | 5.15.0-315.196.5.1.el9uek |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | bpftool +9 | 5.10.245-1.ph4 |
| 5.0 | bpftool +10 | 6.1.155-1.ph5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 3 releases · 9 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.6 | kernel-livepatch-6-4-0-150600-10-61-rt | 1-150600.1.3.1 | SUSE-SU-2025:4521-1 |
| 15.6 | kernel-livepatch-6-4-0-150600-23-81-default | 1-150600.13.3.3 | SUSE-SU-2025:4422-1 |
| 15.6 | kernel-docs +1 | 6.4.0-150600.23.81.1 | SUSE-SU-2025:4422-1 |
| 15.6 | kernel-devel +2 | 6.4.0-150600.23.81.2 | SUSE-SU-2025:4422-1 |
| 15.6 | cluster-md-kmp-default +13 | 6.4.0-150600.23.81.3 | SUSE-SU-2025:4422-1 |
| 15.6 | kernel-default-base | 6.4.0-150600.23.81.3.150600.12.36.3 | SUSE-SU-2025:4422-1 |
9 more rows
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-default +5 | 6.4.0-38.1 | SUSE-SU-2026:20473-1 |
| 6.0 | kernel-default-base | 6.4.0-38.1.21.15 | SUSE-SU-2026:20473-1 |
| 6.0 | kernel-devel-rt +3 | 6.4.0-39.1 | SUSE-SU-2026:20039-1 |
| 6.1 | kernel-default +6 | 6.4.0-38.1 | SUSE-SU-2026:20496-1 |
| 6.1 | kernel-default-base | 6.4.0-38.1.21.15 | SUSE-SU-2026:20496-1 |
| 6.1 | kernel-devel-rt +4 | 6.4.0-39.1 | SUSE-SU-2026:20059-1 |
2 more rows
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-155-176-282 +1 | 1:1.0-0.amzn2023 |
| 2023 | bpftool +20 | 1:6.1.155-176.282.amzn2023 |
| 2023 | bpftool6-12 +20 | 1:6.12.53-69.119.amzn2023 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 5.10.247-1 |
| 11 | linux-6-1 | 6.1.158-1~deb11u1 |
| 12 | linux | 6.1.158-1 |
| 13 | linux | 6.12.57-1 |
| 14 | linux | 6.16.10-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
openSUSE Leap 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | cluster-md-kmp-64kb +64 | 6.12.0-160000.8.1 | openSUSE-SU-2025:20172-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.8.1.160000.2.5 | openSUSE-SU-2025:20172-1 |
root.io debian 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux +1 | 5.10.247-1 |
| 12 | rootio-linux | 6.1.158-1 |
| 13 | rootio-linux | 6.12.57-1 |
root.io ubuntu 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-170.180 |
| 24.04 | linux +1 | 6.8.0-106.106 |
ubuntu 3 releases · 39 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | linux-nvidia-tegra-5-15 | 5.15.0-1052.52~20.04.2 |
| 20.04-ESM | linux-ibm-5-15 | 5.15.0-1094.97~20.04.1 |
| 20.04-ESM | linux-intel-iotg-5-15 | 5.15.0-1095.101~20.04.1 |
| 20.04-ESM | linux-riscv-5-15 | 5.15.0-1095.99~20.04.1 |
| 20.04-ESM | linux-oracle-5-15 | 5.15.0-1097.103~20.04.1 |
| 20.04-ESM | linux-aws-5-15 | 5.15.0-1100.107~20.04.2 |
45 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-40021
- git.kernel.org https://git.kernel.org/linus/456c32e3c4316654f95f9d49c12cbecfb77d5660 (6.17)
- git.kernel.org https://git.kernel.org/stable/c/07b1f63b5f86765793fab44d3d4c2be681cddafb
- git.kernel.org https://git.kernel.org/stable/c/0d41604d2d53c1abe27fefb54b37a8f6642a4d74
- git.kernel.org https://git.kernel.org/stable/c/3887f3814c0e770e6b73567fe0f83a2c01a6470c
- git.kernel.org https://git.kernel.org/stable/c/456c32e3c4316654f95f9d49c12cbecfb77d5660
- git.kernel.org https://git.kernel.org/stable/c/573b1e39edfcb7b4eecde0f1664455a1f4462eee
- git.kernel.org https://git.kernel.org/stable/c/b47c4e06687a5a7b6c6ef4bd303fcfe4430b26bb
- git.kernel.org https://git.kernel.org/stable/c/f3ac1f4eaba58e57943efa3e8b8d71fa7aab0abf
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-40021.html
Show all 38 references
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-28048.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025102403-CVE-2025-40021-fbe1@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-40021
- ubuntu.com https://ubuntu.com/security/notices/USN-8033-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8033-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8033-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8033-4
- ubuntu.com https://ubuntu.com/security/notices/USN-8033-5
- ubuntu.com https://ubuntu.com/security/notices/USN-8033-6
- ubuntu.com https://ubuntu.com/security/notices/USN-8033-7
- ubuntu.com https://ubuntu.com/security/notices/USN-8033-8
- ubuntu.com https://ubuntu.com/security/notices/USN-8034-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8034-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8095-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8095-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8095-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8095-4
- ubuntu.com https://ubuntu.com/security/notices/USN-8095-5
- ubuntu.com https://ubuntu.com/security/notices/USN-8100-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8125-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8126-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8141-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8163-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8163-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8165-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8243-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8261-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-40021
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.