CVE-2024-50284
JSON

7.5high

ksmbd: Fix the missing xa_store error check

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.54% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 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.12NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-754

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: Se corrige el error xa_store faltante. La comprobación xa_store() puede fallar, devuelve xa_err(-EINVAL) si la entrada no se puede almacenar en un XArray, o xa_err(-ENOMEM) si falla la asignación de memoria, por lo que se debe verificar el error de xa_store() para solucionarlo.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50284 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-50284 changed 2026-08-04Public domain