cbcvebase.
CVE-2026-23159
published 2026-02-14

CVE-2026-23159: 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…

PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.11%
1.7th percentile
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]/

Affected

46 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.18.9-1 (forky)linux 6.18.9-1 (forky)
linuxlinux
linuxlinux
linuxlinux>= 34b5aba8511a12fb2e9bd3124835cb4087187dac < d84a4836dc246b7dc244e46a08ff992956b68db0d84a4836dc246b7dc244e46a08ff992956b68db0
linuxlinux>= 6.12.57 < 6.12.696.12.69
linuxlinux>= 6.17.7 < 6.186.18
linuxlinux>= 6.6.116 < 6.6.1236.6.123
linuxlinux>= 8d79f96e477c4b8e3fca2efb36b269d8960a2285 < 5aac392fcd3d981d7997f1a0766829e1afdeac2e5aac392fcd3d981d7997f1a0766829e1afdeac2e
linuxlinux>= 90942f9fac05702065ff82ed0bade0d08168d4ea < a28fce0365e1cb9cb8c04c893b9334e5ca9d9f1ca28fce0365e1cb9cb8c04c893b9334e5ca9d9f1c
linuxlinux>= 90942f9fac05702065ff82ed0bade0d08168d4ea < 76ed27608f7dd235b727ebbb12163438c2fbb61776ed27608f7dd235b727ebbb12163438c2fbb617
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.12.69-16.12.69-1
linuxlinux_kernel>= 0 < 6.18.9-16.18.9-1
linuxlinux_kernel>= 6.12.57 < 6.12.696.12.69
linuxlinux_kernel>= 6.17.7 < 6.18.96.18.9
linuxlinux_kernel>= 6.6.116 < 6.6.1236.6.123
ubuntulinux
ubuntulinux-aws
ubuntulinux-aws-fips
ubuntulinux-azure
ubuntulinux-azure-6.17
ubuntulinux-azure-6.8
ubuntulinux-azure-fde-6.17
ubuntulinux-azure-fips
ubuntulinux-fips

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_ubuntu7.8HIGH
vendor_debian5.5LOW
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.