CVE-2024-50284

ksmbd: Fix the missing xa_store error check

MEDIUM
5.5
CVSS Score
Published: November 19, 2024 at 01:30 AM UTC
Updated: August 5, 2026 at 12:05 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.15.1455.15.145 ≤ v < 5.166.1.71 ≤ v < 6.1.1176.3 ≤ v < 6.11.86.3 ≤ v < 6.126.3 ≤ v < 6.6.616.7 ≤ v < 6.11.81f485b54d04a920723984062c912174330a051785.15.14552b41ef2abe274f68e892aee81406f11bd1f3a6.1.716.12 rc16.12 rc26.12 rc36.12 rc46.12 rc56.12 rc6b685757c7b08d5073046fb379be965fd6c06aafc
Vendor states this is fixed in 3abab905b14f4ba756d413f37f1fb02b708eee93 (fixed)
Vendor states this is fixed in 726c1568b9145fa13ee248df184b186c382a7ff8 (fixed)
Vendor states this is fixed in c2a232c4f790f4bcd4d218904c56ac7a39a448f5 (fixed)
Vendor states this is fixed in d8664ce789bd46290c59a00da6897252f92c237d (fixed)
Affected range stops below 5.16, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.1.117 (unaffected)
Vendor states this is fixed in 6.11.8 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)
Vendor states this is fixed in 6.6.61 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3abab905b14f4ba756d413f37f1fb02b708eee93
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/726c1568b9145fa13ee248df184b186c382a7ff8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c2a232c4f790f4bcd4d218904c56ac7a39a448f5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d8664ce789bd46290c59a00da6897252f92c237d
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-754

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card