Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-43402

published critical CVSS 3.1 · 9.8

kthread: consolidate kthread exit paths to prevent use-after-free

Published
08 May 2026, 14:21:43 UTC
Updated
19 Oct 2026, 19:16:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4d13f4304fa43471bfea101658a11feec7b28ac0 to < 4729c7b00a347fd37d0cbc265b85f2884c3e06b6 · 4d13f4304fa43471bfea101658a11feec7b28ac0 to < 5a591d7a5e48d30100943940a30a6ab41b15c672 · 4d13f4304fa43471bfea101658a11feec7b28ac0 to < 28aaa9c39945b7925a1cc1d513c8f21ed38f5e4f · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.19 through 6.18.* (unaffected · semver) · 6.19.9 through 6.19.* (unaffected · semver) · 7.0 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-1596 Fixed Not stated Amazon Linux assessment
Ubuntu noble linux-aws-6.17 Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-aws-6.17-cloud-tools-6.17.0-1019 Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-aws-6.17-headers-6.17.0-1019 Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-aws-6.17-tools-6.17.0-1019 Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-azure-6.17 Advisory build 6.17.0-1021.21~24.04.1 USN-8604-1
Ubuntu noble linux-azure-6.17-cloud-tools-6.17.0-1021 Advisory build 6.17.0-1021.21~24.04.1 USN-8604-1
Ubuntu noble linux-azure-6.17-headers-6.17.0-1021 Advisory build 6.17.0-1021.21~24.04.1 USN-8604-1
Ubuntu noble linux-azure-6.17-tools-6.17.0-1021 Advisory build 6.17.0-1021.21~24.04.1 USN-8604-1
Ubuntu noble linux-buildinfo-6.17.0-1017-realtime Advisory build 6.17.0-1017.19~24.04.1 USN-8490-2
Ubuntu noble linux-buildinfo-6.17.0-1018-oracle Advisory build 6.17.0-1018.18~24.04.1 USN-8490-1
Ubuntu noble linux-buildinfo-6.17.0-1018-oracle-64k Advisory build 6.17.0-1018.18~24.04.1 USN-8490-1
Ubuntu noble linux-buildinfo-6.17.0-1019-aws Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-buildinfo-6.17.0-1019-aws-64k Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-buildinfo-6.17.0-1020-gcp Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-buildinfo-6.17.0-1020-gcp-64k Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-buildinfo-6.17.0-1021-azure Advisory build 6.17.0-1021.21~24.04.1 USN-8604-1
Ubuntu noble linux-buildinfo-6.17.0-1026-nvidia Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-buildinfo-6.17.0-1026-nvidia-64k Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-buildinfo-6.17.0-1028-oem Advisory build 6.17.0-1028.28 USN-8491-1
Ubuntu noble linux-buildinfo-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-buildinfo-6.17.0-40-generic-64k Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-cloud-tools-6.17.0-1017-realtime Advisory build 6.17.0-1017.19~24.04.1 USN-8490-2
Ubuntu noble linux-cloud-tools-6.17.0-1019-aws Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-cloud-tools-6.17.0-1019-aws-64k Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-cloud-tools-6.17.0-1021-azure Advisory build 6.17.0-1021.21~24.04.1 USN-8604-1
Ubuntu noble linux-cloud-tools-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-gcp-6.17 Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-gcp-6.17-headers-6.17.0-1020 Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-gcp-6.17-tools-6.17.0-1020 Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-headers-6.17.0-1017-realtime Advisory build 6.17.0-1017.19~24.04.1 USN-8490-2
Ubuntu noble linux-headers-6.17.0-1018-oracle Advisory build 6.17.0-1018.18~24.04.1 USN-8490-1
Ubuntu noble linux-headers-6.17.0-1018-oracle-64k Advisory build 6.17.0-1018.18~24.04.1 USN-8490-1
Ubuntu noble linux-headers-6.17.0-1019-aws Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-headers-6.17.0-1019-aws-64k Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-headers-6.17.0-1020-gcp Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-headers-6.17.0-1020-gcp-64k Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-headers-6.17.0-1021-azure Advisory build 6.17.0-1021.21~24.04.1 USN-8604-1
Ubuntu noble linux-headers-6.17.0-1026-nvidia Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-headers-6.17.0-1026-nvidia-64k Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-headers-6.17.0-1028-oem Advisory build 6.17.0-1028.28 USN-8491-1
Ubuntu noble linux-headers-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-headers-6.17.0-40-generic-64k Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-hwe-6.17 Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-hwe-6.17-cloud-tools-6.17.0-40 Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-hwe-6.17-headers-6.17.0-40 Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-hwe-6.17-tools-6.17.0-40 Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-image-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-image-unsigned-6.17.0-1017-realtime Advisory build 6.17.0-1017.19~24.04.1 USN-8490-2
Ubuntu noble linux-image-unsigned-6.17.0-1018-oracle Advisory build 6.17.0-1018.18~24.04.1 USN-8490-1
Ubuntu noble linux-image-unsigned-6.17.0-1018-oracle-64k Advisory build 6.17.0-1018.18~24.04.1 USN-8490-1
Ubuntu noble linux-image-unsigned-6.17.0-1019-aws Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-image-unsigned-6.17.0-1019-aws-64k Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-image-unsigned-6.17.0-1020-gcp Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-image-unsigned-6.17.0-1020-gcp-64k Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-image-unsigned-6.17.0-1021-azure Advisory build 6.17.0-1021.21~24.04.1 USN-8604-1
Ubuntu noble linux-image-unsigned-6.17.0-1026-nvidia Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-image-unsigned-6.17.0-1026-nvidia-64k Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-image-unsigned-6.17.0-1028-oem Advisory build 6.17.0-1028.28 USN-8491-1
Ubuntu noble linux-image-unsigned-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-image-unsigned-6.17.0-40-generic-64k Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-lib-rust-6.17.0-1020-gcp Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-lib-rust-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-modules-6.17.0-1017-realtime Advisory build 6.17.0-1017.19~24.04.1 USN-8490-2
Ubuntu noble linux-modules-6.17.0-1018-oracle Advisory build 6.17.0-1018.18~24.04.1 USN-8490-1
Ubuntu noble linux-modules-6.17.0-1018-oracle-64k Advisory build 6.17.0-1018.18~24.04.1 USN-8490-1
Ubuntu noble linux-modules-6.17.0-1019-aws Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-modules-6.17.0-1019-aws-64k Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-modules-6.17.0-1020-gcp Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-modules-6.17.0-1020-gcp-64k Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-modules-6.17.0-1021-azure Advisory build 6.17.0-1021.21~24.04.1 USN-8604-1
Ubuntu noble linux-modules-6.17.0-1026-nvidia Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-modules-6.17.0-1026-nvidia-64k Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-modules-6.17.0-1028-oem Advisory build 6.17.0-1028.28 USN-8491-1
Ubuntu noble linux-modules-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-modules-6.17.0-40-generic-64k Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-modules-evdi-6.17.0-1028-oem Advisory build 6.17.0-1028.28 USN-8491-1
Ubuntu noble linux-modules-extra-6.17.0-1017-realtime Advisory build 6.17.0-1017.19~24.04.1 USN-8490-2
Ubuntu noble linux-modules-extra-6.17.0-1018-oracle Advisory build 6.17.0-1018.18~24.04.1 USN-8490-1
Ubuntu noble linux-modules-extra-6.17.0-1018-oracle-64k Advisory build 6.17.0-1018.18~24.04.1 USN-8490-1
Ubuntu noble linux-modules-extra-6.17.0-1019-aws Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-modules-extra-6.17.0-1019-aws-64k Advisory build 6.17.0-1019.19~24.04.1 USN-8490-1
Ubuntu noble linux-modules-extra-6.17.0-1020-gcp Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-modules-extra-6.17.0-1020-gcp-64k Advisory build 6.17.0-1020.22~24.04.1 USN-8490-1
Ubuntu noble linux-modules-extra-6.17.0-1021-azure Advisory build 6.17.0-1021.21~24.04.1 USN-8604-1
Ubuntu noble linux-modules-extra-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-modules-ipu6-6.17.0-1028-oem Advisory build 6.17.0-1028.28 USN-8491-1
Ubuntu noble linux-modules-ipu6-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-modules-ipu7-6.17.0-1028-oem Advisory build 6.17.0-1028.28 USN-8491-1
Ubuntu noble linux-modules-ipu7-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-modules-iwlwifi-6.17.0-1017-realtime Advisory build 6.17.0-1017.19~24.04.1 USN-8490-2
Ubuntu noble linux-modules-iwlwifi-6.17.0-1028-oem Advisory build 6.17.0-1028.28 USN-8491-1
Ubuntu noble linux-modules-iwlwifi-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-modules-nvidia-fs-6.17.0-1026-nvidia Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-modules-nvidia-fs-6.17.0-1026-nvidia-64k Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-modules-usbio-6.17.0-1028-oem Advisory build 6.17.0-1028.28 USN-8491-1
Ubuntu noble linux-modules-usbio-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-modules-vision-6.17.0-1028-oem Advisory build 6.17.0-1028.28 USN-8491-1
Ubuntu noble linux-modules-vision-6.17.0-40-generic Advisory build 6.17.0-40.40~24.04.1 USN-8545-1
Ubuntu noble linux-nvidia-6.17 Advisory build 6.17.0-1026.26 USN-8508-1
Ubuntu noble linux-nvidia-6.17-headers-6.17.0-1026 Advisory build 6.17.0-1026.26 USN-8508-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: kthread: consolidate kthread exit paths to prevent use-after-free Guillaume reported crashes via corrupted RCU callback function pointers during KUnit testing. The crash was traced back to the pidfs rhashtable conversion which replaced the 24-byte rb_node with an 8-byte rhash_head in struct pid, shrinking it from 160 to 144 bytes. struct kthread (without CONFIG_BLK_CGROUP) is also 144 bytes. With CONFIG_SLAB_MERGE_DEFAULT and SLAB_HWCACHE_ALIGN both round up to 192 bytes and share the same slab cache. struct pid.rcu.func and struct kthread.affinity_node both sit at offset 0x78. When a kthread exits via make_task_dead() it bypasses kthread_exit() and misses the affinity_node cleanup. free_kthread_struct() frees the memory while the node is still linked into the global kthread_affinity_list. A subsequent list_del() by another kthread writes through dangling list pointers into the freed and reused memory, corrupting the pid's rcu.func pointer. Instead of patching free_kthread_struct() to handle the missed cleanup, consolidate all kthread exit paths. Turn kthread_exit() into a macro that calls do_exit() and add kthread_do_exit() which is called from do_exit() for any task with PF_KTHREAD set. This guarantees that kthread-specific cleanup always happens regardless of the exit path - make_task_dead(), direct do_exit(), or kthread_exit(). Replace __to_kthread() with a new tsk_is_kthread() accessor in the public header. Export do_exit() since module code using the kthread_exit() macro now needs it directly.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - In the most severe reasonable deployment, network-facing in-kernel services such as ksmbd create kthreads and process unauthenticated remote traffic in those kthreads. The vulnerable kthread lifecycle and exit cleanup can therefore be reached from a remote network path. AC:L - The bug is a deterministic cleanup omission once an affected kthread exits through a bypass path such as make_task_dead/do_exit, and the resulting dangling list entry can be exercised by normal kthread churn. There is no attacker-uncontrolled race required for the UAF mechanism itself. PR:N - For network-facing kthread users such as ksmbd connection handlers, an unauthenticated remote peer can drive pre-authentication packet handling and connection-thread creation. No local account or kernel capability is required in that scenario. UI:N - Exploitation does not require a victim user to open a file, mount a filesystem, or perform another interactive action. The attacker can send traffic or otherwise drive the reachable service path directly. S:U - The corruption occurs within the Linux kernel and impacts kernel-managed memory and control flow. It does not inherently cross a separate security authority such as a VM-to-host or IOMMU boundary. C:H - This is a use-after-free of a freed struct kthread left linked into a global list, with later list operations writing into reused slab memory such as struct pid. Kernel UAF memory corruption is treated as capable of yielding high confidentiality impact through read/info-disclosure primitives. I:H - The stale list entry causes writes through dangling list pointers into a reused object, including corruption of sensitive fields such as an RCU callback pointer. Such kernel UAF corruption is defensibly exploitable for arbitrary write or control-flow hijack. A:H - The observed failure mode is corrupted RCU callback function pointers and kernel crashes. Even without full exploitation, repeated triggering can oops or panic the kernel, causing high availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4d13f4304fa43471bfea101658a11feec7b28ac0 to < 4729c7b00a347fd37d0cbc265b85f2884c3e06b6 (affected · git)4d13f4304fa43471bfea101658a11feec7b28ac0 to < 5a591d7a5e48d30100943940a30a6ab41b15c672 (affected · git)4d13f4304fa43471bfea101658a11feec7b28ac0 to < 28aaa9c39945b7925a1cc1d513c8f21ed38f5e4f (affected · git)Default: unaffected Linux · cna
Linux Linux 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.19 through 6.18.* (unaffected · semver)6.19.9 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

3

Provider assertions

2

Linux · cna

kthread: consolidate kthread exit paths to prevent use-after-free

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
4532e53da544f7df270ff03ac97576cc65f82fb8c89fd1c3ebd830e482cb0502
Ingested
19 Oct 2026, 19:18:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected