What’s Vulnerable › Vulnerabilities
CVE-2024-49988: ksmbd: add refcnt to ksmbd_conn struct
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-08-04
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: add refcnt to ksmbd_conn struct When sending an oplock break request, opinfo->conn is used, But freed ->conn can be used on multichannel. This patch add a reference count to the ksmbd_conn struct so that it can be freed when it is no longer used.
Affected products
- Linux kernel: before 6.6.55; from 6.7 before 6.10.14; from 6.11 before 6.11.3 — fixed in 6.10.14, 6.11.3, 6.6.55
How to fix
Upgrade to a fixed version: Linux kernel 6.10.14, 6.11.3, 6.6.55. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/18f06bacc197d4ac9b518ad1c69999bc3d83e7aa
- https://git.kernel.org/stable/c/9fd3cde4628bcd3549ab95061f2bab74d2ed4f3b
- https://git.kernel.org/stable/c/e9dac92f4482a382e8c0fe1bc243da5fc3526b0c
- https://git.kernel.org/stable/c/ee426bfb9d09b29987369b897fe9b6485ac2be27
Get alerted when CVE-2024-49988 or the next vulnerability affects your stack