Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38539

published high CVSS 3.1 · 7.8

tracing: Add down_write(trace_event_sem) when adding trace event

Published
16 Aug 2025, 11:12:31 UTC
Updated
15 Oct 2026, 21:52:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux110bf2b764eb6026b868d84499263cb24b1bcc8d to < e70f5ee4c8824736332351b703c46f9469ed7f6c · 110bf2b764eb6026b868d84499263cb24b1bcc8d to < db45632479ceecb669612ed8dbce927e3c6279fc · 110bf2b764eb6026b868d84499263cb24b1bcc8d to < ca60064ea03f14e06c763de018403cb56ba3207d · 110bf2b764eb6026b868d84499263cb24b1bcc8d to < 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b · 110bf2b764eb6026b868d84499263cb24b1bcc8d to < 6bc94f20a4c304997288f9a45278c9d0c06987d3 · 110bf2b764eb6026b868d84499263cb24b1bcc8d to < 33e20747b47ddc03569b6bc27a2d6894c1428182 · 110bf2b764eb6026b868d84499263cb24b1bcc8d to < 70fecd519caad0c1741c3379d5348c9000a5b29d · 110bf2b764eb6026b868d84499263cb24b1bcc8d to < b5e8acc14dcb314a9b61ff19dcd9fdd0d88f70df · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.31 (affected) · 0 to < 2.6.31 (unaffected · semver) · 5.4.297 through 5.4.* (unaffected · semver) · 5.10.241 through 5.10.* (unaffected · semver) · 5.15.190 through 5.15.* (unaffected · semver) · 6.1.147 through 6.1.* (unaffected · semver) · 6.6.100 through 6.6.* (unaffected · semver) · 6.12.40 through 6.12.* (unaffected · semver) · 6.15.8 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-104 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-089 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-109 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.244-1 DLA-4327-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-1144 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1145 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

69

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The race is driven entirely through local operations — module load (init_module/finit_module or attacker-triggered autoload via socket()) and tracefs dynamic-event registration. No network or adjacent-network input reaches kernel/trace/trace_events.c. AC:L - The attacker controls both sides of the race, initiating the list-walking module load and the list-adding module load concurrently, and `trace_event_eval_update()` calls `cond_resched()` on every iteration over a list of thousands of events, making the preemption window very wide and the race practically winnable. Per race-condition guidance, attacker-created races are Low. PR:L - Both sides of the race are reachable by an unprivileged local user via kernel module autoloading (e.g. concurrent `socket(AF_RXRPC,…)` loading rxrpc, whose TRACE_DEFINE_ENUM maps drive the unlocked walk, and `socket(AF_INET,SOCK_STREAM,IPPROTO_SCTP)` loading sctp, whose trace events drive the unlocked list_add), and containers granted CAP_SYS_MODULE can trigger it repeatably. No authentication beyond an ordinary local account is required. UI:N - The attacker triggers both concurrent module loads themselves; no victim action, mount, or file open by another user is needed. S:U - The corruption and its consequences are confined to kernel memory within the same security authority; no hypervisor, IOMMU, or sandbox boundary is crossed. C:H - Following a torn list pointer, the walker dereferences an arbitrary `struct trace_event_call`, reading `call->print_fmt` and traversing `call->class->fields` from wild addresses, and the resulting strings are persisted into `field->type`/`print_fmt` which are readable through `/sys/kernel/tracing/events/*/format`, giving kernel memory disclosure. I:H - `eval_replace()` performs in-place `snprintf`/`memmove` writes through the wild `call->print_fmt` pointer and `update_event_fields()` stores `field->type = str`, yielding out-of-bounds writes; additionally `call->module` is assigned after the unlocked list_add, so a racing walker can attach strings to a stale module pointer that a later unload frees, producing a use-after-free suitable for control-flow hijacking. A:H - The commit states outright that the unsynchronized list_add "can corrupt the walking of the list ... and crash the kernel"; the reported failure is a kernel oops/panic, and dereferencing a stale next pointer reliably faults.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 110bf2b764eb6026b868d84499263cb24b1bcc8d to < e70f5ee4c8824736332351b703c46f9469ed7f6c (affected · git)110bf2b764eb6026b868d84499263cb24b1bcc8d to < db45632479ceecb669612ed8dbce927e3c6279fc (affected · git)110bf2b764eb6026b868d84499263cb24b1bcc8d to < ca60064ea03f14e06c763de018403cb56ba3207d (affected · git)110bf2b764eb6026b868d84499263cb24b1bcc8d to < 7803b28c9aa8d8bd4e19ebcf5f0db9612b0f333b (affected · git)110bf2b764eb6026b868d84499263cb24b1bcc8d to < 6bc94f20a4c304997288f9a45278c9d0c06987d3 (affected · git)110bf2b764eb6026b868d84499263cb24b1bcc8d to < 33e20747b47ddc03569b6bc27a2d6894c1428182 (affected · git)110bf2b764eb6026b868d84499263cb24b1bcc8d to < 70fecd519caad0c1741c3379d5348c9000a5b29d (affected · git)110bf2b764eb6026b868d84499263cb24b1bcc8d to < b5e8acc14dcb314a9b61ff19dcd9fdd0d88f70df (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.31 (affected)0 to < 2.6.31 (unaffected · semver)5.4.297 through 5.4.* (unaffected · semver)5.10.241 through 5.10.* (unaffected · semver)5.15.190 through 5.15.* (unaffected · semver)6.1.147 through 6.1.* (unaffected · semver)6.6.100 through 6.6.* (unaffected · semver)6.12.40 through 6.12.* (unaffected · semver)6.15.8 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

10

Provider assertions

3

Linux · cna

tracing: Add down_write(trace_event_sem) when adding trace event

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
268bb39457aee6f19ab96a98d6773981a4695c5d39b41c42ba662853b4ace3f4
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected