Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2026-52944

Gravedad CVSS v3.1:
MEDIA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
24/06/2026
Última modificación:
08/07/2026

Descripción

*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ksmbd: fix FSCTL permission bypass by adding a permission check for FSCTL_SET_SPARSE<br /> <br /> FSCTL_SET_SPARSE in fsctl_set_sparse() modifies the file&amp;#39;s sparse<br /> attribute and saves it through xattr without any permission checks.<br /> <br /> This exposes two issues:<br /> <br /> 1) A client on a read-only share can change the sparse attribute<br /> on files it opened, even though the share is read-only.<br /> Other FSCTL write operations already check<br /> test_tree_conn_flag(work-&gt;tcon, KSMBD_TREE_CONN_FLAG_WRITABLE),<br /> but FSCTL_SET_SPARSE does not.<br /> <br /> 2) Even on writable shares, clients without FILE_WRITE_DATA or<br /> FILE_WRITE_ATTRIBUTES access should not modify the sparse<br /> attribute. Similar handle-level checks exist in other functions<br /> but are missing here.<br /> <br /> Add both share-level writable check and per-handle access check.<br /> Use goto out on error to avoid leaking file references.

Productos y versiones vulnerables

CPE Desde Hasta
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.15 (incluyendo) 6.6.143 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (incluyendo) 6.18.35 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (incluyendo) 7.0.12 (excluyendo)
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*