AZL-118121: CVE-2026-143108 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
fs/adfs: bound directory entry name length in adfsfplusgetnext()
adfsfplusgetnext() reads the per-entry name length bigdirobnamelen straight from the on-disk big directory and passes it to adfsdircopyfrom() as the copy length into obj->name[], a fixed ADFSMAXNAMELEN (260) byte buffer. adfsdircopyfrom() 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 objectinfo::name that adfsfplusiterate() passes in.
adfsobjectfixup() may additionally append a four byte ",xyz" filetype suffix, so the accepted length must also leave room for that.
The old-style directory parser (dirf.c) already clamps names to ADFSFNAMELEN, and adfsfplusvalidateheader() 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.
Affected Software
Event History
Frequently Asked Questions
What input is required to trigger the overflow?
The vulnerable path processes an ADFS big-directory entry whose on-disk bigdirobnamelen value exceeds the space available in the fixed 260-byte name buffer, including room needed for a possible four-byte filetype suffix. This requires a crafted or corrupt ADFS filesystem image containing an over-long per-entry name.
Which directory format is implicated?
The issue is in the ADFS big-directory parser, specifically the fplus path. The old-style directory parser already clamps name lengths, and header-field validation does not cover the vulnerable per-entry length.