CVE-2025-68263
published critical CVSS 3.1 · 9.8ksmbd: ipc: fix use-after-free in ipc_msg_send_request
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0626e6641f6b467447c81dd7678a69c66f7746cf to < de85fb58f9967ba024bb08e0041613d37b57b4d1 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 708a620b471a14466f1f52c90bf3f65ebdb31460 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 5ac763713a1ef8f9a8bda1dbd81f0318d67baa4e · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 759c8c30cfa8706c518e56f67971b1f0932f4b9b · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 8229c6ca50cea701e25a7ee25f48441b582ec5fa · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 1fab1fa091f5aa97265648b53ea031deedd26235 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 6.1.160 through 6.1.* (unaffected · semver) · 6.6.120 through 6.6.* (unaffected · semver) · 6.12.62 through 6.12.* (unaffected · semver) · 6.17.12 through 6.17.* (unaffected · semver) · 6.18.1 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 |
| Debian | bookworm | linux | Advisory build | 6.1.162-1 | DSA-6127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| Ubuntu | bionic | linux | Advisory build | 4.15.0-254.266 | LSN-0121-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.162-1~deb11u1 | DLA-4476-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermaarch64 | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermppc64le | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longterms390x | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermx86_64 | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermaarch64 | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermppc64le | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longterms390x | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermx86_64 | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.18.2-1.1 | OPENSUSE-SU-2025:15836-1 |
| Ubuntu | bionic | linux-aws | Advisory build | 4.15.0-1195.208 | LSN-0121-1 |
| Ubuntu | bionic | linux-azure-4.15 | Advisory build | 4.15.0-1205.220 | LSN-0121-1 |
| Ubuntu | bionic | linux-gcp-4.15 | Advisory build | 4.15.0-1188.205 | LSN-0121-1 |
| Ubuntu | bionic | linux-hwe-5.4 | Advisory build | 5.4.0-234.254~18.04.1 | LSN-0121-1 |
| Ubuntu | bionic | linux-oracle | Advisory build | 4.15.0-1158.169 | LSN-0121-1 |
| Ubuntu | focal | linux | Advisory build | 5.4.0-234.254 | LSN-0121-1 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1111.118~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1111 | Advisory build | 5.15.0-1111.118~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1111 | Advisory build | 5.15.0-1111.118~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1111 | Advisory build | 5.15.0-1111.118~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1116 | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1116 | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1116 | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-azure-fde-5.15 | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-azure-fde-5.15-cloud-tools-5.15.0-1116 | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-azure-fde-5.15-headers-5.15.0-1116 | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-azure-fde-5.15-tools-5.15.0-1116 | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1063-nvidia-tegra | Advisory build | 5.15.0-1063.63~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1063-nvidia-tegra-rt | Advisory build | 5.15.0-1063.63~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1105-ibm | Advisory build | 5.15.0-1105.109~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1106-intel-iotg | Advisory build | 5.15.0-1106.112~20.04.1 | USN-8547-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1108-oracle | Advisory build | 5.15.0-1108.114~20.04.1 | USN-8493-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1111-aws | Advisory build | 5.15.0-1111.118~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1111-gcp | Advisory build | 5.15.0-1111.121~20.04.1 | USN-8547-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1116-azure | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1116-azure-fde | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-183-lowlatency | Advisory build | 5.15.0-183.193~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-183-lowlatency-64k | Advisory build | 5.15.0-183.193~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-185-generic | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-185-generic-64k | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-185-generic-lpae | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1106-intel-iotg | Advisory build | 5.15.0-1106.112~20.04.1 | USN-8547-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1111-aws | Advisory build | 5.15.0-1111.118~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1116-azure | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1116-azure-fde | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-183-lowlatency | Advisory build | 5.15.0-183.193~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-185-generic | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1111.121~20.04.1 | USN-8547-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1111 | Advisory build | 5.15.0-1111.121~20.04.1 | USN-8547-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1111 | Advisory build | 5.15.0-1111.121~20.04.1 | USN-8547-1 |
| Ubuntu | focal | linux-headers-5.15.0-1063-nvidia-tegra | Advisory build | 5.15.0-1063.63~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-headers-5.15.0-1063-nvidia-tegra-rt | Advisory build | 5.15.0-1063.63~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-headers-5.15.0-1105-ibm | Advisory build | 5.15.0-1105.109~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-headers-5.15.0-1106-intel-iotg | Advisory build | 5.15.0-1106.112~20.04.1 | USN-8547-1 |
| Ubuntu | focal | linux-headers-5.15.0-1108-oracle | Advisory build | 5.15.0-1108.114~20.04.1 | USN-8493-2 |
| Ubuntu | focal | linux-headers-5.15.0-1111-aws | Advisory build | 5.15.0-1111.118~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-headers-5.15.0-1111-gcp | Advisory build | 5.15.0-1111.121~20.04.1 | USN-8547-1 |
| Ubuntu | focal | linux-headers-5.15.0-1116-azure | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-headers-5.15.0-1116-azure-fde | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-headers-5.15.0-183-lowlatency | Advisory build | 5.15.0-183.193~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-headers-5.15.0-183-lowlatency-64k | Advisory build | 5.15.0-183.193~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-headers-5.15.0-185-generic | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-headers-5.15.0-185-generic-64k | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-headers-5.15.0-185-generic-lpae | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-185 | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-185 | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-185 | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1105.109~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1105 | Advisory build | 5.15.0-1105.109~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1105.109~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1105 | Advisory build | 5.15.0-1105.109~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-image-5.15.0-185-generic | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-image-5.15.0-185-generic-lpae | Advisory build | 5.15.0-185.195~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1063-nvidia-tegra | Advisory build | 5.15.0-1063.63~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1063-nvidia-tegra-rt | Advisory build | 5.15.0-1063.63~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1105-ibm | Advisory build | 5.15.0-1105.109~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1106-intel-iotg | Advisory build | 5.15.0-1106.112~20.04.1 | USN-8547-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1108-oracle | Advisory build | 5.15.0-1108.114~20.04.1 | USN-8493-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1111-aws | Advisory build | 5.15.0-1111.118~20.04.1 | USN-8493-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1111-gcp | Advisory build | 5.15.0-1111.121~20.04.1 | USN-8547-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1116-azure | Advisory build | 5.15.0-1116.125~20.04.1 | USN-8493-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: ipc: fix use-after-free in ipc_msg_send_request ipc_msg_send_request() waits for a generic netlink reply using an ipc_msg_table_entry on the stack. The generic netlink handler (handle_generic_event()/handle_response()) fills entry->response under ipc_msg_table_lock, but ipc_msg_send_request() used to validate and free entry->response without holding the same lock. Under high concurrency this allows a race where handle_response() is copying data into entry->response while ipc_msg_send_request() has just freed it, leading to a slab-use-after-free reported by KASAN in handle_generic_event(): BUG: KASAN: slab-use-after-free in handle_generic_event+0x3c4/0x5f0 [ksmbd] Write of size 12 at addr ffff888198ee6e20 by task pool/109349 ... Freed by task: kvfree ipc_msg_send_request [ksmbd] ksmbd_rpc_open -> ksmbd_session_rpc_open [ksmbd] Fix by: - Taking ipc_msg_table_lock in ipc_msg_send_request() while validating entry->response, freeing it when invalid, and removing the entry from ipc_msg_table. - Returning the final entry->response pointer to the caller only after the hash entry is removed under the lock. - Returning NULL in the error path, preserving the original API semantics. This makes all accesses to entry->response consistent with handle_response(), which already updates and fills the response buffer under ipc_msg_table_lock, and closes the race that allowed the UAF.
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: ksmbd IPC message use-after-free. The race in ipc_msg_send_request() is reachable from ksmbd_ipc_login_request() called during SESSION_SETUP before password verification. Two concurrent SESSION_SETUP requests with any username trigger concurrent IPC calls that race. No valid credentials needed, both sides attacker-controlled.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf to < de85fb58f9967ba024bb08e0041613d37b57b4d1 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 708a620b471a14466f1f52c90bf3f65ebdb31460 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 5ac763713a1ef8f9a8bda1dbd81f0318d67baa4e (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 759c8c30cfa8706c518e56f67971b1f0932f4b9b (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 8229c6ca50cea701e25a7ee25f48441b582ec5fa (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 1fab1fa091f5aa97265648b53ea031deedd26235 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)6.1.160 through 6.1.* (unaffected · semver)6.6.120 through 6.6.* (unaffected · semver)6.12.62 through 6.12.* (unaffected · semver)6.17.12 through 6.17.* (unaffected · semver)6.18.1 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/1fab1fa091f5aa97265648b53ea031deedd26235
- https://git.kernel.org/stable/c/5ac763713a1ef8f9a8bda1dbd81f0318d67baa4e
- https://git.kernel.org/stable/c/708a620b471a14466f1f52c90bf3f65ebdb31460
- https://git.kernel.org/stable/c/759c8c30cfa8706c518e56f67971b1f0932f4b9b
- https://git.kernel.org/stable/c/8229c6ca50cea701e25a7ee25f48441b582ec5fa
- https://git.kernel.org/stable/c/de85fb58f9967ba024bb08e0041613d37b57b4d1
Provider assertions
2Linux · cna
ksmbd: ipc: fix use-after-free in ipc_msg_send_request
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c292dee220268a111b2bb1a269a7588b1ab7d9a2ae912767b6cc3f296e646c5f
- Ingested
- 15 Oct 2026, 23:29:36 UTC
- Source record
- Official CVE record