Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Linux Linux — ksmbd: fix use-after-free in SMB request handling
AV AC PR UI S C I A CVSS EPSS %ile KEV
L H L N U H H H 7.0 .0045 37.8 —
AFFECTED
Product Versions Fixed
Linux 18f06bacc197d4ac9b518ad1c69999bc3d83e7aa – —
Linux 6.12 – 6.6.64
TIMELINE
Nov 19 Reserved by Linux
Dec 27 Published (CNA: Linux)
Aug 4 RESCORED — CVE-2024-53186 (Linux). CVSS 9.8 → 7 (NVD).
Description
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix use-after-free in SMB request handling
A race condition exists between SMB request handling in
`ksmbd_conn_handler_loop()` and the freeing of `ksmbd_conn` in the
workqueue handler `handle_ksmbd_work()`. This leads to a UAF.
- KASAN: slab-use-after-free Read in handle_ksmbd_work
- KASAN: slab-use-after-free in rtlock_slowlock_locked
This race condition arises as follows:
- `ksmbd_conn_handler_loop()` waits for `conn->r_count` to reach zero:
`wait_event(conn->r_count_q, atomic_read(&conn->r_count) == 0);`
- Meanwhile, `handle_ksmbd_work()` decrements `conn->r_count` using
`atomic_dec_return(&conn->r_count)`, and if it reaches zero, calls
`ksmbd_conn_free()`, which frees `conn`.
- However, after `handle_ksmbd_work()` decrements `conn->r_count`,
it may still access `conn->r_count_q` in the following line:
`waitqueue_active(&conn->r_count_q)` or `wake_up(&conn->r_count_q)`
This results in a UAF, as `conn` has already been freed.
The discovery of this UAF can be referenced in the following PR for
syzkaller's support for SMB requests.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| November 19, 2024 | Reserved | Reserved by Linux |
| December 27, 2024 | Published | Published (CNA: Linux) |
| August 4, 2026 | RESCORED | RESCORED — CVE-2024-53186 (Linux). CVSS 9.8 → 7 (NVD). |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | 18f06bacc197d4ac9b518ad1c69999bc3d83e7aa | — |
| Linux | Linux | — | 6.12 | 6.6.64 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2024-53186 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.