What’s Vulnerable › Vulnerabilities
CVE-2024-50285: ksmbd: check outstanding simultaneous SMB operations
- 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-11-19 · updated 2026-10-30
- Weakness: CWE-770
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: check outstanding simultaneous SMB operations If Client send simultaneous SMB operations to ksmbd, It exhausts too much memory through the "ksmbd_work_cache”. It will cause OOM issue. ksmbd has a credit mechanism but it can't handle this problem. This patch add the check if it exceeds max credits to prevent this problem by assuming that one smb request consumes at least one credit.
Affected products
- Linux kernel: before 6.6.61; from 6.7 before 6.11.8; 6.12-rc1, 6.12-rc2, 6.12-rc3, 6.12-rc4, 6.12-rc5, 6.12-rc6 — fixed in 6.6.61, 6.11.8
- Linux: 5.15 — fixed in 6.12
How to fix
Upgrade to a fixed version: Linux kernel 6.6.61, 6.11.8; Linux 6.12. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0a77d947f599b1f39065015bec99390d0c0022ee
- https://git.kernel.org/stable/c/1f993777275cbd8f74765c4f9d9285cb907c9be5
- https://git.kernel.org/stable/c/d2e2830c19824c221b6f5e17bf272438cc0e601c
- https://git.kernel.org/stable/c/e257ac6fe138623cf59fca8898abdf659dbc8356
Get alerted when CVE-2024-50285 or the next vulnerability affects your stack