CVE-2026-143108
Description
In the Linux kernel, the following vulnerability has been resolved:
fs/adfs: bound directory entry name length in adfs_fplus_getnext()
adfs_fplus_getnext() reads the per-entry name length bigdirobnamelen straight from the on-disk big directory and passes it to adfs_dir_copyfrom() as the copy length into obj->name[], a fixed ADFS_MAX_NAME_LEN (260) byte buffer. adfs_dir_copyfrom() only bounds the copy against the number of directory buffers, not the size of the destination, so a crafted image with bigdirobnamelen larger than the buffer overflows the stack-allocated object_info::name that adfs_fplus_iterate() passes in.
adfs_object_fixup() may additionally append a four byte ",xyz" filetype suffix, so the accepted length must also leave room for that.
The old-style directory parser (dir_f.c) already clamps names to ADFS_F_NAME_LEN, and adfs_fplus_validate_header() validates the header name fields, but the per-entry name length in the big directory format was never checked. Reject over-long entries, using -EIO as elsewhere in this file for a corrupt big directory.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/86c9518ed8a21ca17c55e25dbd5ade6eb842517bnvd
- git.kernel.org/stable/c/cec2df4927d21c577e932f12d586004957659ef5nvd
- git.kernel.org/stable/c/d069df679adbb74d2f61ea7fd55c38a13ef62322nvd
- git.kernel.org/stable/c/d41c3c8f10b456aa3d75ea3107ce13f8b58f4598nvd
- git.kernel.org/stable/c/ebf5025b0d989f95542fc9da899b7de2fec499f2nvd
- git.kernel.org/stable/c/f8944a8761d291728e318358d13ac6c41078da51nvd
News mentions
0No linked articles in our index yet.