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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-11-19T01:30:27.273Z
- Modified: 2026-08-05T11:43:03.668Z
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 052b41ef2abe274f068e892aee81406f11bd1f3a before d8664ce789bd46290c59a00da6897252f92c237d; from b685757c7b08d5073046fb379be965fd6c06aafc before 726c1568b9145fa13ee248df184b186c382a7ff8; from b685757c7b08d5073046fb379be965fd6c06aafc before c2a232c4f790f4bcd4d218904c56ac7a39a448f5; from b685757c7b08d5073046fb379be965fd6c06aafc before 3abab905b14f4ba756d413f37f1fb02b708eee93; 1f485b54d04a920723984062c912174330a05178; from 6.1.71 before 6.1.117; from 5.15.145 before 5.16; 6.3 (not affected: before 6.3; from 6.1.117 up to 6.1.*; from 6.6.61 up to 6.6.*; from 6.11.8 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 5.15.145 before 5.16; from 6.1.71 before 6.1.117; from 6.3 before 6.6.61; from 6.7 before 6.11.8; 6.12

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d8664ce789bd46290c59a00da6897252f92c237d> (patch)
- <https://git.kernel.org/stable/c/726c1568b9145fa13ee248df184b186c382a7ff8> (patch)
- <https://git.kernel.org/stable/c/c2a232c4f790f4bcd4d218904c56ac7a39a448f5> (patch)
- <https://git.kernel.org/stable/c/3abab905b14f4ba756d413f37f1fb02b708eee93> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-50284](https://www.cve.org/CVERecord?id=CVE-2024-50284), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-50284](https://nvd.nist.gov/vuln/detail/CVE-2024-50284), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-50284 · Whole record: https://cve.day/CVE-2024-50284.json · Rebuilt by cve.day 2026-11-25T22:58:48.414Z
