CVE-2024-26952
JSON

8.3high

ksmbd: fix potencial out-of-bounds when buffer offset is invalid

Severity
8.3high CVSS:3.1 by Linux
Exploit likelihood
0.73% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potencial out-of-bounds when buffer offset is invalid I found potencial out-of-bounds when buffer offset fields of a few requests is invalid. This patch set the minimum value of buffer offset field to ->Buffer offset to validate buffer length.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf before 480469f145e5abf83361e608734e421b7d99693d, from 0626e6641f6b467447c81dd7678a69c66f7746cf before ad6480c9a5d884e2704adc51d69895d93339176c, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 39bdc4197acf2ed13269167ccf093ee28cfa2a4e, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 2dcda336b6e80b72d58d30d40f2fad9724e5fe63, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 0c5541b4c980626fa3cab16ba1a451757778bbb5, from 0626e6641f6b467447c81dd7678a69c66f7746cf before c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da, 5.15
Not affected: before 5.15, from 5.15.181 up to 5.15.*, from 6.1.119 up to 6.1.*, from 6.6.32 up to 6.6.*, from 6.7.12 up to 6.7.*, from 6.8.3 up to 6.8.*
CVE List
linux linux_kernelfrom 1da177e4c3f4 before 2dcda336b6e8, from 5.15 before 5.15.181, from 5.16 before 6.1.119, from 6.2 before 6.6.32, from 6.7 before 6.7.12, from 6.8 before 6.8.3CVE List, NVD

All scores

Linux8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
CISA-ADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-120CWE-125

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

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potencial out-of-bounds when buffer offset is invalid I found potencial out-of-bounds when buffer offset fields of a few requests is invalid. This patch set the minimum value of buffer offset field to ->Buffer offset to validate buffer length.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ksmbd: corrige posibles límites cuando el desplazamiento del búfer no es válido. Encontré posibles límites cuando los campos de desplazamiento del búfer de algunas solicitudes no son válidos. Este parche establece el valor mínimo del campo de compensación del búfer en ->Desplazamiento del búfer para validar la longitud del búfer.

References

Sources

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