CVE-2025-38539
tracing: Add down_write(trace_event_sem) when adding trace event
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < e70f5ee4c8824736332351b703c46f9469ed7f6c; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < db45632479ceecb669612ed8dbce927e3c6279fc; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < ca60064ea03f14e06c763de018403cb56ba3207d; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 6bc94f20a4c304997288f9a45278c9d0c06987d3; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 33e20747b47ddc03569b6bc27a2d6894c1428182; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 70fecd519caad0c1741c3379d5348c9000a5b29d; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < b5e8acc14dcb314a9b61ff19dcd9fdd0d88f70df
- Anyone running Linux 2.6.31
Vulnerability facts
- Affected
- Linux >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < e70f5ee4c8824736332351b703c46f9469ed7f6c; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < db45632479ceecb669612ed8dbce927e3c6279fc; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < ca60064ea03f14e06c763de018403cb56ba3207d; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 6bc94f20a4c304997288f9a45278c9d0c06987d3; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 33e20747b47ddc03569b6bc27a2d6894c1428182; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 70fecd519caad0c1741c3379d5348c9000a5b29d; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < b5e8acc14dcb314a9b61ff19dcd9fdd0d88f70df; Linux 2.6.31
- Fixed in
- Linux 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b, Linux 6bc94f20a4c304997288f9a45278c9d0c06987d3, Linux 33e20747b47ddc03569b6bc27a2d6894c1428182, Linux 70fecd519caad0c1741c3379d5348c9000a5b29d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: tracing: Add down_write(trace_event_sem) when adding trace event When a module is loaded, it adds trace events defined by the module. It may also need to modify the modules trace printk formats to replace enum names with their values. If two modules are loaded at the same time, the adding of the event to the ftrace_events list can corrupt the walking of the list in the code that is modifying the printk format strings and crash the kernel. The addition of the event should take the trace_event_sem for write while it adds the new event. Also add a lockdep_assert_held() on that semaphore in __trace_add_event_dirs() as it iterates the list.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < e70f5ee4c8824736332351b703c46f9469ed7f6c; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < db45632479ceecb669612ed8dbce927e3c6279fc; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < ca60064ea03f14e06c763de018403cb56ba3207d; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 6bc94f20a4c304997288f9a45278c9d0c06987d3; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 33e20747b47ddc03569b6bc27a2d6894c1428182; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 70fecd519caad0c1741c3379d5348c9000a5b29d; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < b5e8acc14dcb314a9b61ff19dcd9fdd0d88f70df | — | cvelist |
| Linux | 2.6.31 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38539. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38539.md Affected: Linux >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < e70f5ee4c8824736332351b703c46f9469ed7f6c; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < db45632479ceecb669612ed8dbce927e3c6279fc; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < ca60064ea03f14e06c763de018403cb56ba3207d; >= 110bf2b764eb6026b868d84… Fixed in: Linux 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b, Linux 6bc94f20a4c304997288f9a45278c9d0c06987d3, Linux 33e20747b47ddc03569b6bc27a2d6894c1428182, Linux 70fecd519caad0c1741c3379d5348c9000a5b29d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/e70f5ee4c8824736332351b703c46f9469ed7f6c
- https://git.kernel.org/stable/c/db45632479ceecb669612ed8dbce927e3c6279fc
- https://git.kernel.org/stable/c/ca60064ea03f14e06c763de018403cb56ba3207d
- https://git.kernel.org/stable/c/7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b
- https://git.kernel.org/stable/c/6bc94f20a4c304997288f9a45278c9d0c06987d3
- https://git.kernel.org/stable/c/33e20747b47ddc03569b6bc27a2d6894c1428182
- https://git.kernel.org/stable/c/70fecd519caad0c1741c3379d5348c9000a5b29d
- https://git.kernel.org/stable/c/b5e8acc14dcb314a9b61ff19dcd9fdd0d88f70df
FAQ
Is CVE-2025-38539 being exploited?
There is no confirmed exploitation: CVE-2025-38539 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38539?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38539?
Linux >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < e70f5ee4c8824736332351b703c46f9469ed7f6c; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < db45632479ceecb669612ed8dbce927e3c6279fc; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < ca60064ea03f14e06c763de018403cb56ba3207d; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 6bc94f20a4c304997288f9a45278c9d0c06987d3; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 33e20747b47ddc03569b6bc27a2d6894c1428182; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < 70fecd519caad0c1741c3379d5348c9000a5b29d; >= 110bf2b764eb6026b868d84499263cb24b1bcc8d, < b5e8acc14dcb314a9b61ff19dcd9fdd0d88f70df; Linux 2.6.31.
Is there a fix for CVE-2025-38539?
Yes. Fixed in Linux 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b, Linux 6bc94f20a4c304997288f9a45278c9d0c06987d3, Linux 33e20747b47ddc03569b6bc27a2d6894c1428182, Linux 70fecd519caad0c1741c3379d5348c9000a5b29d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38539?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.