CVE-2024-26592
published critical CVSS 3.1 · 9.8ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa848c4f15ab6d5d405dbee7de5da71839b2bf35e to < 999daf367b924fdf14e9d83e034ee0f86bc17ec6 · a848c4f15ab6d5d405dbee7de5da71839b2bf35e to < 380965e48e9c32ee4263c023e1d830ea7e462ed1 · a848c4f15ab6d5d405dbee7de5da71839b2bf35e to < 24290ba94cd0136e417283b0dbf8fcdabcf62111 · a848c4f15ab6d5d405dbee7de5da71839b2bf35e to < 69d54650b751532d1e1613a4fb433e591aeef126 · a848c4f15ab6d5d405dbee7de5da71839b2bf35e to < 38d20c62903d669693a1869aa68c4dd5674e2544 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.149 through 5.15.* (unaffected · semver) · 6.1.75 through 6.1.* (unaffected · semver) · 6.6.14 through 6.6.* (unaffected · semver) · 6.7.2 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernel5.15 · a848c4f15ab6 to < 999daf367b92 · a848c4f15ab6 to < 380965e48e9c · a848c4f15ab6 to < 24290ba94cd0 · a848c4f15ab6 to < 69d54650b751 · a848c4f15ab6 to < 38d20c62903d · Other versions: affected | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6766-3 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1061 | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6766-3 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1061 | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6766-3 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1061 | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6766-3 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1063.72~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1063 | Advisory build | 5.15.0-1063.72~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1063 | Advisory build | 5.15.0-1063.72~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1063 | Advisory build | 5.15.0-1063.72~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-azure-fde-5.15 | Advisory build | 5.15.0-1063.72~20.04.1.1 | USN-6766-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1044-gkeop | Advisory build | 5.15.0-1044.51~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1054-ibm | Advisory build | 5.15.0-1054.57~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1059-gcp | Advisory build | 5.15.0-1059.67~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1059-oracle | Advisory build | 5.15.0-1059.65~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-106-generic | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-106-generic-64k | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-106-generic-lpae | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-106-lowlatency | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-106-lowlatency-64k | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1061-aws | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6766-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1063-azure | Advisory build | 5.15.0-1063.72~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1044-gkeop | Advisory build | 5.15.0-1044.51~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-106-generic | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-106-lowlatency | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1061-aws | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6766-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1063-azure | Advisory build | 5.15.0-1063.72~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1059.67~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1059 | Advisory build | 5.15.0-1059.67~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1059 | Advisory build | 5.15.0-1059.67~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-gkeop-5.15 | Advisory build | 5.15.0-1044.51~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-gkeop-5.15-cloud-tools-5.15.0-1044 | Advisory build | 5.15.0-1044.51~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-gkeop-5.15-headers-5.15.0-1044 | Advisory build | 5.15.0-1044.51~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-gkeop-5.15-tools-5.15.0-1044 | Advisory build | 5.15.0-1044.51~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-headers-5.15.0-1044-gkeop | Advisory build | 5.15.0-1044.51~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-headers-5.15.0-1054-ibm | Advisory build | 5.15.0-1054.57~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-headers-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-headers-5.15.0-1059-gcp | Advisory build | 5.15.0-1059.67~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-headers-5.15.0-1059-oracle | Advisory build | 5.15.0-1059.65~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-headers-5.15.0-106-generic | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-headers-5.15.0-106-generic-64k | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-headers-5.15.0-106-generic-lpae | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-headers-5.15.0-106-lowlatency | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-headers-5.15.0-106-lowlatency-64k | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-headers-5.15.0-1061-aws | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6766-3 |
| Ubuntu | focal | linux-headers-5.15.0-1063-azure | Advisory build | 5.15.0-1063.72~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-106 | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-common | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-106 | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-hwe-5.15-source-5.15.0 | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-106 | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-hwe-5.15-tools-common | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-hwe-5.15-tools-host | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1054.57~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1054 | Advisory build | 5.15.0-1054.57~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1054.57~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1054 | Advisory build | 5.15.0-1054.57~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-image-5.15.0-106-generic | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-image-5.15.0-106-generic-lpae | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1044-gkeop | Advisory build | 5.15.0-1044.51~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1054-ibm | Advisory build | 5.15.0-1054.57~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1059-gcp | Advisory build | 5.15.0-1059.67~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1059-oracle | Advisory build | 5.15.0-1059.65~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-106-generic | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-106-generic-64k | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-106-lowlatency | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-106-lowlatency-64k | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1061-aws | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6766-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1063-azure | Advisory build | 5.15.0-1063.72~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1063-azure-fde | Advisory build | 5.15.0-1063.72~20.04.1.1 | USN-6766-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1058 | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1058 | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1058 | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-106 | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-common | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-106 | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-106 | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-common | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-host | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-modules-5.15.0-1044-gkeop | Advisory build | 5.15.0-1044.51~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-modules-5.15.0-1054-ibm | Advisory build | 5.15.0-1054.57~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-modules-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-modules-5.15.0-1059-gcp | Advisory build | 5.15.0-1059.67~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-modules-5.15.0-1059-oracle | Advisory build | 5.15.0-1059.65~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-modules-5.15.0-106-generic | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-modules-5.15.0-106-generic-64k | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-modules-5.15.0-106-generic-lpae | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-2 |
| Ubuntu | focal | linux-modules-5.15.0-106-lowlatency | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-modules-5.15.0-106-lowlatency-64k | Advisory build | 5.15.0-106.116~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-modules-5.15.0-1061-aws | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6766-3 |
| Ubuntu | focal | linux-modules-5.15.0-1063-azure | Advisory build | 5.15.0-1063.72~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1044-gkeop | Advisory build | 5.15.0-1044.51~20.04.1 | USN-6766-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1054-ibm | Advisory build | 5.15.0-1054.57~20.04.1 | USN-6766-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 UAF issue in ksmbd_tcp_new_connection() The race is between the handling of a new TCP connection and its disconnection. It leads to UAF on `struct tcp_transport` in ksmbd_tcp_new_connection() function.
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 listening on TCP port 445; the vulnerable code is `ksmbd_tcp_new_connection()`, invoked directly from `kernel_accept()` on a remote peer's TCP connection. No local access to the target is required. AC:L - The attacker controls both sides of the race — connecting spawns the handler kthread, and immediately closing (FIN, or RST via SO_LINGER{1,0}) drives that kthread down the shortest possible path to `free_transport()`/`kfree(t)` while the acceptor still has to perform its stale store. Attempts are unauthenticated, cost one TCP handshake each, and can be repeated thousands of times per second while flooding the single acceptor kthread to force preemption. PR:N - The path runs at TCP accept time, before SMB2 NEGOTIATE and SESSION_SETUP and before any NTLMSSP/Kerberos credential is processed; no share, account, or guest access is needed. Merely completing a TCP handshake to port 445 reaches the vulnerable code. UI:N - Exploitation requires only that the attacker connect to and disconnect from the ksmbd port; no action by any local user or administrator is involved. S:U - The corrupted memory and the resulting code execution are within the kernel's own security authority — a standard in-kernel use-after-free with no crossing of a VM, IOMMU, or sandbox boundary. C:H - The freed `struct tcp_transport` lives in the general kmalloc-64 cache, and the attacker can reclaim the slot with sprayed objects (including via parallel connections) before the stale write and readback occur; corrupting a pointer field of a reclaimed victim object yields a read primitive over kernel memory, disclosing credentials, keys, and SMB share data. I:H - The bug is a use-after-free *write* — a live `task_struct *` is stored at a fixed offset 16 into a freed general-purpose slab object, overwriting whatever object reclaims that slot. Corrupting a pointer/list field of a sprayed victim object is a classic route to an arbitrary write and control-flow hijack in ring 0. A:H - Even without successful heap grooming, the stale write and subsequent `IS_ERR()` read on freed slab memory corrupt unrelated kernel objects, producing oopses and panics (KASAN reports a slab-use-after-free write). An unauthenticated attacker can retry the connect/disconnect race indefinitely until the machine crashes.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a848c4f15ab6d5d405dbee7de5da71839b2bf35e to < 999daf367b924fdf14e9d83e034ee0f86bc17ec6 (affected · git)a848c4f15ab6d5d405dbee7de5da71839b2bf35e to < 380965e48e9c32ee4263c023e1d830ea7e462ed1 (affected · git)a848c4f15ab6d5d405dbee7de5da71839b2bf35e to < 24290ba94cd0136e417283b0dbf8fcdabcf62111 (affected · git)a848c4f15ab6d5d405dbee7de5da71839b2bf35e to < 69d54650b751532d1e1613a4fb433e591aeef126 (affected · git)a848c4f15ab6d5d405dbee7de5da71839b2bf35e to < 38d20c62903d669693a1869aa68c4dd5674e2544 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.149 through 5.15.* (unaffected · semver)6.1.75 through 6.1.* (unaffected · semver)6.6.14 through 6.6.* (unaffected · semver)6.7.2 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | 5.15 (affected)a848c4f15ab6 to < 999daf367b92 (affected · git)a848c4f15ab6 to < 380965e48e9c (affected · git)a848c4f15ab6 to < 24290ba94cd0 (affected · git)a848c4f15ab6 to < 69d54650b751 (affected · git)a848c4f15ab6 to < 38d20c62903d (affected · git)Default: affected | CISA-ADP · adp |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
5- https://git.kernel.org/stable/c/24290ba94cd0136e417283b0dbf8fcdabcf62111
- https://git.kernel.org/stable/c/380965e48e9c32ee4263c023e1d830ea7e462ed1
- https://git.kernel.org/stable/c/38d20c62903d669693a1869aa68c4dd5674e2544
- https://git.kernel.org/stable/c/69d54650b751532d1e1613a4fb433e591aeef126
- https://git.kernel.org/stable/c/999daf367b924fdf14e9d83e034ee0f86bc17ec6
Provider assertions
3Linux · cna
ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bbcfb8cbd31c2a74e1dd84f545a8f2bb8add773149a0a38240d126e6fdcb29f8
- Ingested
- 23 Sep 2026, 08:20:20 UTC
- Source record
- Official CVE record