CVE-2024-50283·Kernel vulnerability
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().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.8
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2024-50283 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.7
Until: 6.11.8
Fixed in: 6.11.8
How to fix this CVE
Update your Linux kernel to version 6.11.8 or later to resolve a use-after-free vulnerability in the ksmbd SMB server implementation. This flaw could allow a local authenticated attacker to cause a denial of service or potentially execute arbitrary code by triggering premature session object deallocation. Apply the kernel update through your distribution's package manager and reboot your system to complete the remediation.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with `uname -r` and compare against 6.11.8 (vulnerable if between 6.7 and 6.11.7)
- Step 2: Verify ksmbd module is loaded with `lsmod | grep ksmbd` to confirm the vulnerable component is active
- Step 3: Search system logs for ksmbd-related errors: `sudo grep -i 'ksmbd\|smb3_preauth' /var/log/kern.log /var/log/syslog` for signs of memory corruption
- Step 4: After patching, confirm kernel version with `uname -r` shows 6.11.8 or later, then verify ksmbd still loads correctly with `lsmod | grep ksmbd`
FAQ
What is CVE-2024-50283?
CVE-2024-50283 is a use-after-free vulnerability in the Linux kernel's ksmbd (SMB server) component where session objects are freed prematurely before being accessed, potentially leading to denial of service or code execution.
Is CVE-2024-50283 being actively exploited?
No, according to CISA, CVE-2024-50283 is not currently listed as actively exploited in the wild, and no public exploit code is available.
What versions of Kernel are affected by CVE-2024-50283?
Linux kernel versions 6.7 through 6.11.7 are vulnerable; kernel 6.11.8 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-50283?
Run `uname -r` to display your kernel version; if it falls between 6.7 and 6.11.7 inclusive, your system is vulnerable. Also verify ksmbd is enabled with `lsmod | grep ksmbd`.
Does Defensia detect CVE-2024-50283?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-50283 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1b6ad475d4ed577d34e0157eb507be00c588bf5c
- https://git.kernel.org/stable/c/b8fc56fbca7482c1e5c0e3351c6ae78982e25ada
- https://git.kernel.org/stable/c/c6cdc08c25a868a08068dfc319fa9fce982b8e7f
- https://git.kernel.org/stable/c/cb645064e0811053c94e86677f2e58ed29359d62
- https://git.kernel.org/stable/c/f7557bbca40d4ca8bb1c6c940ac6c95078bd0827
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-50283. Free for 1 server.
Get started free