{"id":"CVE-2026-143108","state":"PUBLISHED","title":"fs/adfs: bound directory entry name length in adfs_fplus_getnext()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/adfs: bound directory entry name length in adfs_fplus_getnext()\n\nadfs_fplus_getnext() reads the per-entry name length bigdirobnamelen\nstraight from the on-disk big directory and passes it to\nadfs_dir_copyfrom() as the copy length into obj->name[], a fixed\nADFS_MAX_NAME_LEN (260) byte buffer.  adfs_dir_copyfrom() only bounds\nthe copy against the number of directory buffers, not the size of the\ndestination, so a crafted image with bigdirobnamelen larger than the\nbuffer overflows the stack-allocated object_info::name that\nadfs_fplus_iterate() passes in.\n\nadfs_object_fixup() may additionally append a four byte \",xyz\" filetype\nsuffix, so the accepted length must also leave room for that.\n\nThe old-style directory parser (dir_f.c) already clamps names to\nADFS_F_NAME_LEN, and adfs_fplus_validate_header() validates the header\nname fields, but the per-entry name length in the big directory format\nwas never checked.  Reject over-long entries, using -EIO as elsewhere\nin this file for a corrupt big directory.","publishedAt":"2026-12-03T09:19:24.401Z","updatedAt":"2026-12-03T09:19:24.401Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"d069df679adbb74d2f61ea7fd55c38a13ef62322","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"cec2df4927d21c577e932f12d586004957659ef5","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"86c9518ed8a21ca17c55e25dbd5ade6eb842517b","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"d41c3c8f10b456aa3d75ea3107ce13f8b58f4598","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"f8944a8761d291728e318358d13ac6c41078da51","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"ebf5025b0d989f95542fc9da899b7de2fec499f2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/adfs/dir_fplus.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.12","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/adfs/dir_fplus.c"]}],"references":["https://git.kernel.org/stable/c/d069df679adbb74d2f61ea7fd55c38a13ef62322","https://git.kernel.org/stable/c/cec2df4927d21c577e932f12d586004957659ef5","https://git.kernel.org/stable/c/86c9518ed8a21ca17c55e25dbd5ade6eb842517b","https://git.kernel.org/stable/c/d41c3c8f10b456aa3d75ea3107ce13f8b58f4598","https://git.kernel.org/stable/c/f8944a8761d291728e318358d13ac6c41078da51","https://git.kernel.org/stable/c/ebf5025b0d989f95542fc9da899b7de2fec499f2"],"weaknesses":[],"ingestedAt":"2026-12-03T09:28:04.553Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143108.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143108","state":"PUBLISHED","datePublished":"2026-12-03T09:19:24.401Z","dateUpdated":"2026-12-03T09:19:24.401Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.349Z"},"containers":{"cna":{"title":"fs/adfs: bound directory entry name length in adfs_fplus_getnext()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/adfs: bound directory entry name length in adfs_fplus_getnext()\n\nadfs_fplus_getnext() reads the per-entry name length bigdirobnamelen\nstraight from the on-disk big directory and passes it to\nadfs_dir_copyfrom() as the copy length into obj->name[], a fixed\nADFS_MAX_NAME_LEN (260) byte buffer.  adfs_dir_copyfrom() only bounds\nthe copy against the number of directory buffers, not the size of the\ndestination, so a crafted image with bigdirobnamelen larger than the\nbuffer overflows the stack-allocated object_info::name that\nadfs_fplus_iterate() passes in.\n\nadfs_object_fixup() may additionally append a four byte \",xyz\" filetype\nsuffix, so the accepted length must also leave room for that.\n\nThe old-style directory parser (dir_f.c) already clamps names to\nADFS_F_NAME_LEN, and adfs_fplus_validate_header() validates the header\nname fields, but the per-entry name length in the big directory format\nwas never checked.  Reject over-long entries, using -EIO as elsewhere\nin this file for a corrupt big directory."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"d069df679adbb74d2f61ea7fd55c38a13ef62322","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"cec2df4927d21c577e932f12d586004957659ef5","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"86c9518ed8a21ca17c55e25dbd5ade6eb842517b","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"d41c3c8f10b456aa3d75ea3107ce13f8b58f4598","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"f8944a8761d291728e318358d13ac6c41078da51","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"ebf5025b0d989f95542fc9da899b7de2fec499f2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/adfs/dir_fplus.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.12","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/adfs/dir_fplus.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d069df679adbb74d2f61ea7fd55c38a13ef62322"},{"url":"https://git.kernel.org/stable/c/cec2df4927d21c577e932f12d586004957659ef5"},{"url":"https://git.kernel.org/stable/c/86c9518ed8a21ca17c55e25dbd5ade6eb842517b"},{"url":"https://git.kernel.org/stable/c/d41c3c8f10b456aa3d75ea3107ce13f8b58f4598"},{"url":"https://git.kernel.org/stable/c/f8944a8761d291728e318358d13ac6c41078da51"},{"url":"https://git.kernel.org/stable/c/ebf5025b0d989f95542fc9da899b7de2fec499f2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:19:24.401Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}