CVE-2026-23427
published critical CVSS 3.1 · 9.8ksmbd: fix use-after-free in durable v2 replay of active file handles
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8df4bcdb0a4232192b2445256c39b787d58ef14d to < b0158d9d6f4ec5941e49a0b812735db2844f9975 · c8efcc786146a951091588e5fa7e3c754850cb3c to < 568a25fd7bcdfb2790f7d42aa2a440dca4435c96 · c8efcc786146a951091588e5fa7e3c754850cb3c to < a5828c14a9e3d5eeed0bcc0a58f0f3fbca0cdcb2 · c8efcc786146a951091588e5fa7e3c754850cb3c to < 9b0792c3eacf01e67f356d6ef9707b0ae5022419 · c8efcc786146a951091588e5fa7e3c754850cb3c to < b425e4d0eb321a1116ddbf39636333181675d8f4 · 6.6.32 to < 6.6.130 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.6.130 through 6.6.* (unaffected · semver) · 6.12.78 through 6.12.* (unaffected · semver) · 6.18.20 through 6.18.* (unaffected · semver) · 6.19.10 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 |
| Debian | trixie | linux | Advisory build | 6.12.85-1 | DSA-6238-1 |
| 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 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in durable v2 replay of active file handles parse_durable_handle_context() unconditionally assigns dh_info->fp->conn to the current connection when handling a DURABLE_REQ_V2 context with SMB2_FLAGS_REPLAY_OPERATION. ksmbd_lookup_fd_cguid() does not filter by fp->conn, so it returns file handles that are already actively connected. The unconditional overwrite replaces fp->conn, and when the overwriting connection is subsequently freed, __ksmbd_close_fd() dereferences the stale fp->conn via spin_lock(&fp->conn->llist_lock), causing a use-after-free. KASAN report: [ 7.349357] ================================================================== [ 7.349607] BUG: KASAN: slab-use-after-free in _raw_spin_lock+0x75/0xe0 [ 7.349811] Write of size 4 at addr ffff8881056ac18c by task kworker/1:2/108 [ 7.350010] [ 7.350064] CPU: 1 UID: 0 PID: 108 Comm: kworker/1:2 Not tainted 7.0.0-rc3+ #58 PREEMPTLAZY [ 7.350068] Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 7.350070] Workqueue: ksmbd-io handle_ksmbd_work [ 7.350083] Call Trace: [ 7.350087] <TASK> [ 7.350087] dump_stack_lvl+0x64/0x80 [ 7.350094] print_report+0xce/0x660 [ 7.350100] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 7.350101] ? __pfx___mod_timer+0x10/0x10 [ 7.350106] ? _raw_spin_lock+0x75/0xe0 [ 7.350108] kasan_report+0xce/0x100 [ 7.350109] ? _raw_spin_lock+0x75/0xe0 [ 7.350114] kasan_check_range+0x105/0x1b0 [ 7.350116] _raw_spin_lock+0x75/0xe0 [ 7.350118] ? __pfx__raw_spin_lock+0x10/0x10 [ 7.350119] ? __call_rcu_common.constprop.0+0x25e/0x780 [ 7.350125] ? close_id_del_oplock+0x2cc/0x4e0 [ 7.350128] __ksmbd_close_fd+0x27f/0xaf0 [ 7.350131] ksmbd_close_fd+0x135/0x1b0 [ 7.350133] smb2_close+0xb19/0x15b0 [ 7.350142] ? __pfx_smb2_close+0x10/0x10 [ 7.350143] ? xas_load+0x18/0x270 [ 7.350146] ? _raw_spin_lock+0x84/0xe0 [ 7.350148] ? __pfx__raw_spin_lock+0x10/0x10 [ 7.350150] ? _raw_spin_unlock+0xe/0x30 [ 7.350151] ? ksmbd_smb2_check_message+0xeb2/0x24c0 [ 7.350153] ? ksmbd_tree_conn_lookup+0xcd/0xf0 [ 7.350154] handle_ksmbd_work+0x40f/0x1080 [ 7.350156] process_one_work+0x5fa/0xef0 [ 7.350162] ? assign_work+0x122/0x3e0 [ 7.350163] worker_thread+0x54b/0xf70 [ 7.350165] ? __pfx_worker_thread+0x10/0x10 [ 7.350166] kthread+0x346/0x470 [ 7.350170] ? recalc_sigpending+0x19b/0x230 [ 7.350176] ? __pfx_kthread+0x10/0x10 [ 7.350178] ret_from_fork+0x4fb/0x6c0 [ 7.350183] ? __pfx_ret_from_fork+0x10/0x10 [ 7.350185] ? __switch_to+0x36c/0xbe0 [ 7.350188] ? __pfx_kthread+0x10/0x10 [ 7.350190] ret_from_fork_asm+0x1a/0x30 [ 7.350197] </TASK> [ 7.350197] [ 7.355160] Allocated by task 123: [ 7.355261] kasan_save_stack+0x33/0x60 [ 7.355373] kasan_save_track+0x14/0x30 [ 7.355484] __kasan_kmalloc+0x8f/0xa0 [ 7.355593] ksmbd_conn_alloc+0x44/0x6d0 [ 7.355711] ksmbd_kthread_fn+0x243/0xd70 [ 7.355839] kthread+0x346/0x470 [ 7.355942] ret_from_fork+0x4fb/0x6c0 [ 7.356051] ret_from_fork_asm+0x1a/0x30 [ 7.356164] [ 7.356214] Freed by task 134: [ 7.356305] kasan_save_stack+0x33/0x60 [ 7.356416] kasan_save_track+0x14/0x30 [ 7.356527] kasan_save_free_info+0x3b/0x60 [ 7.356646] __kasan_slab_free+0x43/0x70 [ 7.356761] kfree+0x1ca/0x430 [ 7.356862] ksmbd_tcp_disconnect+0x59/0xe0 [ 7.356993] ksmbd_conn_handler_loop+0x77e/0xd40 [ 7.357138] kthread+0x346/0x470 [ 7.357240] ret_from_fork+0x4fb/0x6c0 [ 7.357350] ret_from_fork_asm+0x1a/0x30 [ 7.357463] [ 7.357513] The buggy address belongs to the object at ffff8881056ac000 [ 7.357513] which belongs to the cache kmalloc-1k of size 1024 [ 7.357857] The buggy address is located 396 bytes inside of [ 7.357857] freed 1024-byte region ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
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 - ksmbd is the in-kernel SMB server and the vulnerable `SMB2_CREATE` durable-handle replay path is reachable by SMB packets over the network, typically TCP/445. The attacker can drive the needed SMB negotiate/session/tree/create/lock/close requests remotely. AC:L - The trigger is a deterministic sequence using attacker-chosen ClientGUID/CreateGuid values and attacker-controlled connections, not a race dependent on outside timing. Durable handles must be enabled, but that is the vulnerable configuration rather than an exploitation complexity condition. PR:N - `SMB2_CREATE` normally requires a valid SMB session and tree connection, but ksmbd supports guest/anonymous shares, where a remote attacker can obtain those without prior credentials. Under the required higher-severity rule, that reasonable deployment makes privileges required None. UI:N - No victim user action is needed; the attacker sends SMB requests directly to the ksmbd service. The same attacker can create the original handle, replay it on another connection, disconnect that connection, and later trigger close handling. S:U - The vulnerable component and impacted resources are the same kernel/system security authority. This is not a VM escape, IOMMU bypass, or other cross-scope boundary violation. C:H - This is a use-after-free of a `ksmbd_conn` pointer reachable from a file handle, and UAF memory corruption can plausibly be shaped into kernel memory disclosure. Following the stated kernel guidance, use-after-free warrants High confidentiality impact. I:H - The stale `fp->conn` is later dereferenced and written through during lock-list cleanup, producing kernel heap memory corruption. Following the stated kernel guidance, a use-after-free is treated as potentially enabling arbitrary write/control-flow impact. A:H - The commit includes a KASAN slab-use-after-free report in `_raw_spin_lock()` during `__ksmbd_close_fd()`, which is a kernel crash/oops condition. A remote attacker can trigger this repeatedly against a reachable ksmbd service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8df4bcdb0a4232192b2445256c39b787d58ef14d to < b0158d9d6f4ec5941e49a0b812735db2844f9975 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < 568a25fd7bcdfb2790f7d42aa2a440dca4435c96 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < a5828c14a9e3d5eeed0bcc0a58f0f3fbca0cdcb2 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < 9b0792c3eacf01e67f356d6ef9707b0ae5022419 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < b425e4d0eb321a1116ddbf39636333181675d8f4 (affected · git)6.6.32 to < 6.6.130 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.9 (affected)0 to < 6.9 (unaffected · semver)6.6.130 through 6.6.* (unaffected · semver)6.12.78 through 6.12.* (unaffected · semver)6.18.20 through 6.18.* (unaffected · semver)6.19.10 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/568a25fd7bcdfb2790f7d42aa2a440dca4435c96
- https://git.kernel.org/stable/c/9b0792c3eacf01e67f356d6ef9707b0ae5022419
- https://git.kernel.org/stable/c/a5828c14a9e3d5eeed0bcc0a58f0f3fbca0cdcb2
- https://git.kernel.org/stable/c/b0158d9d6f4ec5941e49a0b812735db2844f9975
- https://git.kernel.org/stable/c/b425e4d0eb321a1116ddbf39636333181675d8f4
Provider assertions
1Linux · cna
ksmbd: fix use-after-free in durable v2 replay of active file handles
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- df570f02fbbf490b3b8cadd28056f01b97d457538b1f25b3ade6317537d3fb59
- Ingested
- 23 Sep 2026, 09:06:03 UTC
- Source record
- Official CVE record