CVE-2024-50284

published 19 Nov 2024 · updated 17 Nov 2026

ksmbd: Fix the missing xa_store error check

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel c2a232c4f790f4bcd4d218904c56ac7a39a448f5, Kernel 5.16, Kernel 6.1.117 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=b685757c7b08d5073046fb379be965fd6c06aafc <c2a232c4f790f4bcd4d218904c56ac7a39a448f5, >=5.15.145 <5.16, >=6.1.71 <6.1.117, >=b685757c7b08d5073046fb379be965fd6c06aafc <3abab905b14f4ba756d413f37f1fb02b708eee93, >=b685757c7b08d5073046fb379be965fd6c06aafc <726c1568b9145fa13ee248df184b186c382a7ff8, =1f485b54d04a920723984062c912174330a05178, =6.3, >=052b41ef2abe274f068e892aee81406f11bd1f3a <d8664ce789bd46290c59a00da6897252f92c237dc2a232c4f790f4bcd4d218904c56ac7a39a448f5, 5.16, 6.1.117, 3abab905b14f4ba756d413f37f1fb02b708eee93, 726c1568b9145fa13ee248df184b186c382a7ff8, d8664ce789bd46290c59a00da6897252f92c237d
linux-kernel: Kernel>=6.1.71 <6.1.117, >=6.3.0 <6.6.61, >=6.7.0 <6.11.8, >=5.15.145 <5.166.1.117, 6.6.61, 6.11.8, 5.16

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50284 severity on Zeptric[![CVE-2024-50284](https://zeptric.io/badge/cve/CVE-2024-50284.svg)](https://zeptric.io/cve/CVE-2024-50284)