CVE-2024-50284: ksmbd: Fix the missing xa_store error check
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: Fix the missing xastore error check
xastore() can fail, it return xaerr(-EINVAL) if the entry cannot be stored in an XArray, or xaerr(-ENOMEM) if memory allocation failed, so check error for xastore() to fix it.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.64.2-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50284?
CVE-2024-50284 has not been assigned a specific severity rating yet, but it is critical to assess the impacted versions of the Linux kernel.
How do I fix CVE-2024-50284?
To fix CVE-2024-50284, you should upgrade to a patched version of the Linux kernel that addresses the vulnerability.
Which Linux kernel versions are affected by CVE-2024-50284?
CVE-2024-50284 affects Linux kernel versions between 5.15.145 and 5.16, as well as numerous specific versions up to 6.12-rc6.
Is there a workaround for CVE-2024-50284?
Currently, there is no documented workaround for CVE-2024-50284, so upgrading to a secure version is recommended.
What does CVE-2024-50284 involve?
CVE-2024-50284 involves a missing error check during the xa_store operation in the ksmbd component of the Linux kernel.