CVE-2024-50284 ksmbd: Fix the missing xa_store error check

High 7.5 Published Updated

Missing error check in ksmbd xa_store can lead to null pointer dereference and denial of service in the Linux kernel.

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

CVE-2024-50284 is a high-severity 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: Fix the missing xa_store error check

xa_store() can fail, it return xa_err(-EINVAL) if the entry cannot be stored in an XArray, or xa_err(-ENOMEM) if memory allocation failed, so check error for xa_store() to fix it.

Weakness: CWE-754

Which versions are affected by CVE-2024-50284?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50284?

Apply the vendor's patch.

Is CVE-2024-50284 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-53531, AZL-53715, BELL-CVE-2024-50284, DEBIAN-CVE-2024-50284, GHSA-cf97-gpjm-x8fj, ROOT-OS-UBUNTU-2204-CVE-2024-50284 and 1 more.

Is CVE-2024-50284 in your software?

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

Check your SBOMs for free