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

High 7.5 Published Updated

A remote attacker can cause a denial of service in the Linux kernel's ksmbd server by sending simultaneous SMB operations that exhaust memory.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-50285?

CVE-2024-50285 is a high-severity denial of service vulnerability in Linux kernel, published on 19 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-770

Which versions are affected by CVE-2024-50285?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50285?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-50285 being exploited?

There is no known exploitation of CVE-2024-50285 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-53570, AZL-53753, BELL-CVE-2024-50285, DEBIAN-CVE-2024-50285, GHSA-w4qv-rrv4-jm4w, ROOT-OS-DEBIAN-12-CVE-2024-50285 and 2 more.

Is CVE-2024-50285 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free