CVE-2026-23159
publishedperf: sched: Fix perf crash with new is_user_task() helper
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux34b5aba8511a12fb2e9bd3124835cb4087187dac to < d84a4836dc246b7dc244e46a08ff992956b68db0 · 8d79f96e477c4b8e3fca2efb36b269d8960a2285 to < 5aac392fcd3d981d7997f1a0766829e1afdeac2e · 90942f9fac05702065ff82ed0bade0d08168d4ea to < a28fce0365e1cb9cb8c04c893b9334e5ca9d9f1c · 90942f9fac05702065ff82ed0bade0d08168d4ea to < 76ed27608f7dd235b727ebbb12163438c2fbb617 · 5050083e1a2f3e5e29cee0205c40e5864b52601d · 6.6.116 to < 6.6.123 · 6.12.57 to < 6.12.69 · 6.17.7 to < 6.18 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.6.123 through 6.6.* (unaffected · semver) · 6.12.69 through 6.12.* (unaffected · semver) · 6.18.9 through 6.18.* (unaffected · semver) · 6.19 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-1487 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: perf: sched: Fix perf crash with new is_user_task() helper In order to do a user space stacktrace the current task needs to be a user task that has executed in user space. It use to be possible to test if a task is a user task or not by simply checking the task_struct mm field. If it was non NULL, it was a user task and if not it was a kernel task. But things have changed over time, and some kernel tasks now have their own mm field. An idea was made to instead test PF_KTHREAD and two functions were used to wrap this check in case it became more complex to test if a task was a user task or not[1]. But this was rejected and the C code simply checked the PF_KTHREAD directly. It was later found that not all kernel threads set PF_KTHREAD. The io-uring helpers instead set PF_USER_WORKER and this needed to be added as well. But checking the flags is still not enough. There's a very small window when a task exits that it frees its mm field and it is set back to NULL. If perf were to trigger at this moment, the flags test would say its a user space task but when perf would read the mm field it would crash with at NULL pointer dereference. Now there are flags that can be used to test if a task is exiting, but they are set in areas that perf may still want to profile the user space task (to see where it exited). The only real test is to check both the flags and the mm field. Instead of making this modification in every location, create a new is_user_task() helper function that does all the tests needed to know if it is safe to read the user space memory or not. [1] https://lore.kernel.org/all/[email protected]/
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 | 34b5aba8511a12fb2e9bd3124835cb4087187dac to < d84a4836dc246b7dc244e46a08ff992956b68db0 (affected · git)8d79f96e477c4b8e3fca2efb36b269d8960a2285 to < 5aac392fcd3d981d7997f1a0766829e1afdeac2e (affected · git)90942f9fac05702065ff82ed0bade0d08168d4ea to < a28fce0365e1cb9cb8c04c893b9334e5ca9d9f1c (affected · git)90942f9fac05702065ff82ed0bade0d08168d4ea to < 76ed27608f7dd235b727ebbb12163438c2fbb617 (affected · git)5050083e1a2f3e5e29cee0205c40e5864b52601d (affected · git)6.6.116 to < 6.6.123 (affected · semver)6.12.57 to < 6.12.69 (affected · semver)6.17.7 to < 6.18 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.6.123 through 6.6.* (unaffected · semver)6.12.69 through 6.12.* (unaffected · semver)6.18.9 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
perf: sched: Fix perf crash with new is_user_task() helper
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 77a0a4932311ca2b2bd5562a57dc6540f765d53ff2c2b671022c8ecdcbb565c6
- Ingested
- 23 Sep 2026, 09:05:46 UTC
- Source record
- Official CVE record