# CVE-2024-50285: ksmbd: check outstanding simultaneous SMB operations

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2024-11-19T01:30:28.603Z
- Modified: 2026-10-30T13:17:40.933Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before d2e2830c19824c221b6f5e17bf272438cc0e601c; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 1f993777275cbd8f74765c4f9d9285cb907c9be5; from 0626e6641f6b467447c81dd7678a69c66f7746cf before e257ac6fe138623cf59fca8898abdf659dbc8356; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 0a77d947f599b1f39065015bec99390d0c0022ee; 5.15 (not affected: before 5.15; from 6.1.191 up to 6.1.*; from 6.6.61 up to 6.6.*; from 6.11.8 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 6.6.61; from 6.7 before 6.11.8; 6.12

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d2e2830c19824c221b6f5e17bf272438cc0e601c>
- <https://git.kernel.org/stable/c/1f993777275cbd8f74765c4f9d9285cb907c9be5> (patch)
- <https://git.kernel.org/stable/c/e257ac6fe138623cf59fca8898abdf659dbc8356> (patch)
- <https://git.kernel.org/stable/c/0a77d947f599b1f39065015bec99390d0c0022ee> (patch)

## Sources

- CVE List: [CVE-2024-50285](https://www.cve.org/CVERecord?id=CVE-2024-50285), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2024-50285](https://nvd.nist.gov/vuln/detail/CVE-2024-50285), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2024-50285 · Whole record: https://cve.day/CVE-2024-50285.json · Rebuilt by cve.day 2026-11-25T22:58:48.414Z
