CVE-2026-99238
published high CVSS 3.1 · 7.8tracing: Hold trace_types_lock when updating modules in persistent instances
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43 to < 57408eac99b0d8a005796346d317d31f0ca4e07a · 5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43 to < dab2bd4d67ad5eaa95019a9511f8d379401b5021 · 5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43 to < 244c442f54601a24c86ad90572bf36fc3df41c5e · 5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43 to < 66877a312ae3c2c3d849e82e882f642ffd4ec3e2 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.18.60 through 6.18.* (unaffected · semver) · 7.2.14 through 7.2.* (unaffected · semver) · 7.3.1 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3538 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.3-1.1 | OPENSUSE-SU-2026:12497-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-headers-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-headers-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-headers-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-headers-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-44 | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-44 | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-44 | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-image-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-lib-rust-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-modules-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-modules-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-modules-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-modules-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-modules-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-tools-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-tools-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-tools-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-tools-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-azure-fde | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-azure-fde-cloud-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-azure-fde-headers-7.0.0-1020 | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-azure-fde-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1007-vmware | Advisory build | 7.0.0-1007.7 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1011-gke | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1011-gke-64k | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1018-aws | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1018-aws-64k | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1019-ibm | Advisory build | 7.0.0-1019.19 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1019-oem | Advisory build | 7.0.0-1019.19 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1020-azure-fde | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1024-raspi | Advisory build | 7.0.0-1024.24 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1024-raspi-realtime | Advisory build | 7.0.0-1024.24 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-44-generic | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-44-realtime | Advisory build | 7.0.0-44.44.1 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-44-realtime-64k | Advisory build | 7.0.0-44.44.1 | USN-9190-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1007-vmware | Advisory build | 7.0.0-1007.7 | USN-9166-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1018-aws | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1018-aws-64k | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1020-azure-fde | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-44 | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-44-generic | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-44-realtime | Advisory build | 7.0.0-44.44.1 | USN-9190-1 |
| Ubuntu | resolute | linux-cloud-tools-common | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-gcp | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-gcp-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-gcp-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-gke | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-gke-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
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: Hold trace_types_lock when updating modules in persistent instances trace_module_record() walks ftrace_trace_arrays from the module notifier without trace_types_lock. A concurrent rmdir of an instance removes it from the list and frees it under that lock, so a module load or unload can walk into a freed trace_array.
Related advisories
Vendor advisories explicitly linked to this CVE.
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 - trace_module_record() is reached only from trace_module_notify() on MODULE_STATE_COMING/GOING via load_module()->prepare_coming_module() or delete_module(), i.e. local finit_module/init_module/delete_module or __sock_create()'s request_module("net-pf-%d"). The concurrent free is rmdir(2) on tracefs instances (tracefs_syscall_rmdir()->instance_rmdir()). No protocol message carries the list pointer. AC:L - The attacker mkdir()s an instance, then concurrently rmdir()s it so __remove_instance() list_del()+kfree()s the trace_array while another thread loads or unloads a module and trace_module_record() walks ftrace_trace_arrays unlocked. They drive both sides and can retry; a boot/persistent instance is unnecessary because the walk visits every trace_array before checking TRACE_ARRAY_FL_BOOT. PR:L - instance_mkdir()/instance_rmdir() (via tracefs_syscall_rmdir) check only VFS DAC on the 0750 instances directory and LOCKDOWN_TRACEFS, not capable(). tracefs_parse_param() uid=/gid= makes a non-root owner of that directory. The COMING notifier also runs after __sock_create()'s request_module("net-pf-%d"), which is not gated by CAP_SYS_MODULE. UI:N - The attacker mkdir/rmdir their own /sys/kernel/tracing/instances/<name> and starts the module load or unload (socket() autoload, finit_module, or delete_module) on their own threads. No other user must mount media, open a file, or confirm the action. S:U - __remove_instance() kfree()s a host-kernel struct trace_array that trace_module_record() still walks on ftrace_trace_arrays. The resulting heap corruption stays in the tracing subsystem on that host and does not cross a VM, IOMMU, or guest/host boundary. C:H - After __remove_instance() kfree()s the kzalloc'd trace_array, trace_module_record() still reads tr->flags and list_for_each_entry follows tr->list.next. Reclaiming that object lets the attacker control those fields and the later tr->scratch/tr->module_delta pointers, which is a use-after-free kernel read. I:H - If the reclaimed object's flags include TRACE_ARRAY_FL_BOOT, save_mod() writes mod->name and mod_addr through attacker-controlled tr->scratch; if TRACE_ARRAY_FL_LAST_BOOT is set, make_mod_delta() writes tr->module_delta->delta[]. That use-after-free write is a kernel heap and control-flow primitive. A:H - list_for_each_entry on the kfree'd trace_array in trace_module_record(), or save_mod()/make_mod_delta() dereferencing stale tr->scratch, oopses or panics the kernel. The attacker can repeat the rmdir-versus-module-notifier race until that crash hits.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43 to < 57408eac99b0d8a005796346d317d31f0ca4e07a (affected · git)5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43 to < dab2bd4d67ad5eaa95019a9511f8d379401b5021 (affected · git)5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43 to < 244c442f54601a24c86ad90572bf36fc3df41c5e (affected · git)5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43 to < 66877a312ae3c2c3d849e82e882f642ffd4ec3e2 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.18.60 through 6.18.* (unaffected · semver)7.2.14 through 7.2.* (unaffected · semver)7.3.1 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
tracing: Hold trace_types_lock when updating modules in persistent instances
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0808d4b9d66facfbc8a4da22c31d2af71e04acaeed013b36b0646ca915c9e40f
- Ingested
- 03 Nov 2026, 19:22:39 UTC
- Source record
- Official CVE record