CVE-2026-99141
publishedtracing: Fix crash in print_graph_function_event()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe29aa918a928408c3e64b0d1025e4eb9f6fc549e to < b1547c6ba93b8863010aa324cd20c441f886f23e · e29aa918a928408c3e64b0d1025e4eb9f6fc549e to < 3cc117514d69067a94d6c7479730dce41e678f50 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 7.2.13 through 7.2.* (unaffected · semver) · 7.3 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 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-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 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 |
| Ubuntu | resolute | linux-gke-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1007-vmware | Advisory build | 7.0.0-1007.7 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1011-gke | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1011-gke-64k | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21 | USN-9190-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21 | USN-9190-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1018-aws | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1018-aws-64k | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1019-ibm | Advisory build | 7.0.0-1019.19 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1019-oem | Advisory build | 7.0.0-1019.19 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1020-azure-fde | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1024-raspi | Advisory build | 7.0.0-1024.24 | USN-9190-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1024-raspi-realtime | Advisory build | 7.0.0-1024.24 | USN-9190-1 |
| Ubuntu | resolute | linux-headers-7.0.0-44 | Advisory build | 7.0.0-44.44 | 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: Fix crash in print_graph_function_event() tracing_set_tracer() assigns the flags of the newly selected tracer with: tr->current_trace_flags = t->flags ? : t->tracer->flags; If the new tracer defines neither static flags nor default flags, like hwlat, irqsoff or wakeup, add_tracer() has no per instance flags copy for it, and both operands are NULL, so tr->current_trace_flags ends up being NULL as well. The ring buffer is not cleared when switching tracers: it is reset inside tracer_init(), after current_trace_flags was already assigned. If the buffer still holds function_graph entries of the previous tracer, printing one of them dereferences the NULL pointer. This was hit by cat trace during an ftrace stress test: BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode RIP: 0010:print_graph_function_event+0xe/0x20 Call Trace: s_show+0x4d/0x110 seq_read_iter+0x2d4/0x490 seq_read+0x130/0x170 vfs_read+0xb5/0x370 ksys_read+0x6d/0xe0 do_syscall_64+0xbc/0x450 The snapshot buffer is not reset at all, so this can be reproduced without a race: echo function_graph > /sys/kernel/tracing/current_tracer echo 1 > /sys/kernel/tracing/snapshot echo hwlat > /sys/kernel/tracing/current_tracer cat /sys/kernel/tracing/snapshot Rather than teaching every user of tr->current_trace_flags about this corner case, make sure it is never NULL: when the newly selected tracer has no flags at all, tracing_set_tracer() falls back to a static empty no_tracer_flags. run_tracer_selftest() can hit the same case, so the same fallback is added there too. The existing users already handle opts == NULL, so these tracers keep behaving as before.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e29aa918a928408c3e64b0d1025e4eb9f6fc549e to < b1547c6ba93b8863010aa324cd20c441f886f23e (affected · git)e29aa918a928408c3e64b0d1025e4eb9f6fc549e to < 3cc117514d69067a94d6c7479730dce41e678f50 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)7.2.13 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
tracing: Fix crash in print_graph_function_event()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d5d42753b95ee2275214fd3b070f5f705984d73a05a641377de74612123a0bcb
- Ingested
- 28 Oct 2026, 10:43:50 UTC
- Source record
- Official CVE record