# CVE-2024-50283: ksmbd: fix slab-use-after-free in smb3_preauth_hash_rsp

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-11-19T01:30:25.968Z
- Modified: 2026-08-05T11:43:02.613Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix slab-use-after-free in smb3_preauth_hash_rsp

ksmbd_user_session_put should be called under smb3_preauth_hash_rsp().
It will avoid freeing session before calling smb3_preauth_hash_rsp().

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before cb645064e0811053c94e86677f2e58ed29359d62; from 0626e6641f6b467447c81dd7678a69c66f7746cf before f7557bbca40d4ca8bb1c6c940ac6c95078bd0827; from 0626e6641f6b467447c81dd7678a69c66f7746cf before c6cdc08c25a868a08068dfc319fa9fce982b8e7f; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 1b6ad475d4ed577d34e0157eb507be00c588bf5c; from 0626e6641f6b467447c81dd7678a69c66f7746cf before b8fc56fbca7482c1e5c0e3351c6ae78982e25ada; 5.15 (not affected: before 5.15; from 5.15.174 up to 5.15.*; from 6.1.117 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.1.117; from 6.2 before 6.6.61; from 6.7 before 6.11.8; 6.12

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/cb645064e0811053c94e86677f2e58ed29359d62>
- <https://git.kernel.org/stable/c/f7557bbca40d4ca8bb1c6c940ac6c95078bd0827> (patch)
- <https://git.kernel.org/stable/c/c6cdc08c25a868a08068dfc319fa9fce982b8e7f> (patch)
- <https://git.kernel.org/stable/c/1b6ad475d4ed577d34e0157eb507be00c588bf5c> (patch)
- <https://git.kernel.org/stable/c/b8fc56fbca7482c1e5c0e3351c6ae78982e25ada> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

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