CVE-2026-23159
Null Pointer Dereference in Linux perf Causing Crash
Publication date: 2026-02-14
Last updated on: 2026-03-18
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | From 6.12.57 (inc) to 6.12.69 (exc) |
| linux | linux_kernel | From 6.17.7 (inc) to 6.18.9 (exc) |
| linux | linux_kernel | From 6.6.116 (inc) to 6.6.123 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves the Linux kernel's perf tool crashing due to an incorrect method of determining whether a task is a user task or a kernel task.
Originally, the kernel checked if a task was a user task by verifying if the task_struct mm field was non-NULL. However, some kernel tasks now have their own mm field, making this check unreliable.
Attempts to fix this by checking task flags like PF_KTHREAD were incomplete because not all kernel threads set PF_KTHREAD; some use PF_USER_WORKER instead.
Additionally, there is a small window when a task exits where its mm field is freed and set to NULL, which can cause perf to crash with a NULL pointer dereference if it tries to read the mm field at that moment.
The fix was to create a new helper function, is_user_task(), that performs all necessary checks on both flags and the mm field to safely determine if it is a user task and avoid crashes.
How can this vulnerability impact me? :
This vulnerability can cause the perf tool in the Linux kernel to crash unexpectedly due to a NULL pointer dereference when profiling tasks.
If you rely on perf for performance monitoring or debugging, this crash could interrupt your profiling activities, potentially leading to loss of diagnostic data or system instability during profiling.
However, this issue does not directly affect the security or integrity of the system beyond causing perf to crash.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know