fs/ntfs3: terminate the cached volume label after UTF-8 conversion (Linux Linux)

CVE-2026-53023
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: terminate the cached volume label after UTF-8 conversion ntfs_fill_super() loads the on-disk volume label with utf16s_to_utf8s() and stores the result in sbi->volume.label. The converted label is later exposed through ntfs3_label_show() using %s, but utf16s_to_utf8s() only returns the number of bytes written and does not add a trailing NUL. If the converted label fills the entire fixed buffer, ntfs3_label_show() can read past the end of sbi->volume.label while looking for a terminator. Terminate the cached label explicitly after a successful conversion and clamp the exact-full case to the last byte of the buffer.

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 82cae269cfa953032fbb8980a7d554d60fb00b17 < 32b0686369e0afbb3549a0d93e2d8517da84cd30 ; affected 82cae269cfa953032fbb8980a7d554d60fb00b17 < bc7a0c34c4ca259cfddf3bc18fc5b3c6411d26ed ; affected 82cae269cfa953032fbb8980a7d554d60fb00b17 < 0b11fcbe80a59acdf58337d80ebb5f72201d73d6 ; affected 82cae269cfa953032fbb8980a7d554d60fb00b17 < 54d564b762389679e2f8fb9eeb20af7e82371e1c ; affected 82cae269cfa953032fbb8980a7d554d60fb00b17 < 6136bbb054f7ab9f51ae99915541633b18bcef90 ; affected 82cae269cfa953032fbb8980a7d554d60fb00b17 < 5cd0707b81cb4589f00aec5c4c1288bd0980d2a4
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.141 ≤ 6.6.* ; unaffected 6.12.91 ≤ 6.12.*

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