CVE-2024-56626
JSON

8.8high

ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write

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

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write An offset from client could be a negative value, It could allows to write data outside the bounds of the allocated buffer. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf before 1aea5c9470be2c7129704fb1b9562b1e3e0576f8, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 8cd7490fc0f268883e86e840cda5311257af69ca, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 164d3597d26d9acff5d5b8bc3208bdcca942dd6a, from 0626e6641f6b467447c81dd7678a69c66f7746cf before c5797f195c67132d061d29c57a7c6d30530686f0, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 313dab082289e460391c82d855430ec8a28ddf81, 5.15
Not affected: before 5.15, from 5.15.176 up to 5.15.*, from 6.1.120 up to 6.1.*, from 6.6.66 up to 6.6.*, from 6.12.5 up to 6.12.*, from 6.13 up to *
CVE List
linux linux_kernelfrom 5.15 before 5.15.176, from 5.16 before 6.1.120, from 6.2 before 6.6.66, from 6.7 before 6.12.5, 6.13NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/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-787

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 Out-of-Bounds Write in ksmbd_vfs_stream_write An offset from client could be a negative value, It could allows to write data outside the bounds of the allocated buffer. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: se corrige la escritura fuera de los límites en ksmbd_vfs_stream_write. Un desplazamiento del cliente podría ser un valor negativo, lo que podría permitir escribir datos fuera de los límites del búfer asignado. Tenga en cuenta que este problema se produce al configurar 'vfs objects = streams_xattr parameter' en ksmbd.conf.

References

Sources

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