CVE-2024-26811 ksmbd: validate payload size in ipc response

Critical 9.8 Published Updated

A local attacker with malicious ksmbd-tools can trigger memory corruption in the Linux kernel ksmbd server via invalid IPC responses.

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-26811?

CVE-2024-26811 is a critical memory corruption vulnerability in Linux kernel, published on 8 Apr 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: validate payload size in ipc response

If installing malicious ksmbd-tools, ksmbd.mountd can return invalid ipc response to ksmbd kernel server. ksmbd should validate payload size of ipc response from ksmbd.mountd to avoid memory overrun or slab-out-of-bounds. This patch validate 3 ipc response that has payload.

Weakness: CWE-787

Which versions are affected by CVE-2024-26811?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-26811?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-26811 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-59255, AZL-59267, BELL-CVE-2024-26811, DEBIAN-CVE-2024-26811, GHSA-cq2v-6q97-jv69, UBUNTU-CVE-2024-26811.

Is CVE-2024-26811 in your software?

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

Check your SBOMs for free