CVE-2024-26973
JSON

5.5medium

fat: fix uninitialized field in nostale filehandles

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.36% (higher than 22% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: fat: fix uninitialized field in nostale filehandles When fat_encode_fh_nostale() encodes file handle without a parent it stores only first 10 bytes of the file handle. However the length of the file handle must be a multiple of 4 so the file handle is actually 12 bytes long and the last two bytes remain uninitialized. This is not great at we potentially leak uninitialized information with the handle to userspace. Properly initialize the full handle length.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 before 9840d1897e28f8733cc1e38f97e044f987dc0a63, from ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 before f52d7663a10a1266a2d3871a6dd8fd111edc549f, from ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 before a276c595c3a629170b0f052a3724f755d7c6adc6, from ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 before b7fb63e807c6dadf7ecc1d43448c4f1711d7eeee, from ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 before c8cc05de8e6b5612b6e9f92c385c1a064b0db375, from ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 before 03a7e3f2ba3ca25f1da1d3898709a08db14c1abb, from ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 before 74f852654b8b7866f15323685f1e178d3386c688, from ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 before cdd33d54e789d229d6d5007cbf3f53965ca1a5c6 and 2 more
Not affected: before 3.10, from 4.19.312 up to 4.19.*, from 5.4.274 up to 5.4.*, from 5.10.215 up to 5.10.*, from 5.15.154 up to 5.15.*, from 6.1.84 up to 6.1.*
CVE List
linux linux_kernelfrom 3.10 before 4.19.312, from 4.20 before 5.4.274, from 5.5 before 5.10.215, from 5.11 before 5.15.154, from 5.16 before 6.1.84, from 6.2 before 6.6.24, from 6.7 before 6.7.12, from 6.8 before 6.8.3NVD
debian debian_linux10.0NVD

Classification

CWE-908

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: fat: fix uninitialized field in nostale filehandles When fat_encode_fh_nostale() encodes file handle without a parent it stores only first 10 bytes of the file handle. However the length of the file handle must be a multiple of 4 so the file handle is actually 12 bytes long and the last two bytes remain uninitialized. This is not great at we potentially leak uninitialized information with the handle to userspace. Properly initialize the full handle length.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fat: corrige el campo no inicializado en los identificadores de archivos notale Cuando fat_encode_fh_nostale() codifica el identificador de archivo sin un padre, almacena solo los primeros 10 bytes del identificador de archivo. Sin embargo, la longitud del identificador del archivo debe ser múltiplo de 4, por lo que el identificador del archivo tiene en realidad 12 bytes de longitud y los dos últimos bytes permanecen sin inicializar. Esto no es bueno porque potencialmente filtramos información no inicializada con el identificador al espacio de usuario. Inicialice correctamente toda la longitud del mango.

References

https://git.kernel.org/stable/c/9840d1897e28f8733cc1e38f97e044f987dc0a63mailing-list, patch
https://git.kernel.org/stable/c/f52d7663a10a1266a2d3871a6dd8fd111edc549fmailing-list, patch
https://git.kernel.org/stable/c/a276c595c3a629170b0f052a3724f755d7c6adc6mailing-list, patch
https://git.kernel.org/stable/c/b7fb63e807c6dadf7ecc1d43448c4f1711d7eeeemailing-list, patch
https://git.kernel.org/stable/c/c8cc05de8e6b5612b6e9f92c385c1a064b0db375mailing-list, patch
https://git.kernel.org/stable/c/03a7e3f2ba3ca25f1da1d3898709a08db14c1abbmailing-list, patch
https://git.kernel.org/stable/c/74f852654b8b7866f15323685f1e178d3386c688mailing-list, patch
https://git.kernel.org/stable/c/cdd33d54e789d229d6d5007cbf3f53965ca1a5c6mailing-list, patch
https://git.kernel.org/stable/c/fde2497d2bc3a063d8af88b258dbadc86bd7b57cmailing-list, patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlmailing-list
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlmailing-list
https://cert-portal.siemens.com/productcert/html/ssa-398330.html

Sources

SourceRecordLicence
CVE ListCVE-2024-26973 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-26973 changed 2026-10-15Public domain