fat: fix uninitialized field in nostale filehandles (Linux Linux)

CVE-2024-26973
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 < 9840d1897e28f8733cc1e38f97e044f987dc0a63 ; affected ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 < f52d7663a10a1266a2d3871a6dd8fd111edc549f ; affected ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 < a276c595c3a629170b0f052a3724f755d7c6adc6 ; affected ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 < b7fb63e807c6dadf7ecc1d43448c4f1711d7eeee ; affected ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 < c8cc05de8e6b5612b6e9f92c385c1a064b0db375 ; affected ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 < 03a7e3f2ba3ca25f1da1d3898709a08db14c1abb
Linux · Linuxaffected 3.10 ; unaffected 0 < 3.10 ; unaffected 4.19.312 ≤ 4.19.* ; unaffected 5.4.274 ≤ 5.4.* ; unaffected 5.10.215 ≤ 5.10.* ; unaffected 5.15.154 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD