ksmbd: fix use-after-free in ksmbd_tree_connect_put under concurrency
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 33b235a6e6ebe0f05f3586a71e8d281d00f71e2e · < b39a1833cc4a2755b02603eec3a71a85e9dff926| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix use-after-free in ksmbd_tree_connect_put under concurrency
Under high concurrency, A tree-connection object (tcon) is freed on a disconnect path while another path still holds a reference and later executes *_put()/write on it.
From the CVE record · Linux
The Linux kernel's ksmbd component has a use-after-free vulnerability under high concurrency. A disconnect path can free a tree-connection object while another path still holds a reference and later accesses it. The input does not specify whether an attacker needs network access, authentication, or user interaction, or what impact they can achieve.
Engineers running Linux kernels with ksmbd should check whether their kernel is affected; affected versions were not provided.