CVE-2026-143108: fs/adfs: bound directory entry name length in adfs_fplus_getnext()

Published Dec 3, 2026
·
Updated

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

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Linux kernel ADFS big-directory parser, make adfs_fplus_getnext() reject over-long entry names before copying them into obj->name[], leaving room for the four-byte filetype suffix, and return -EIO.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Frequently Asked Questions

1

Who is exposed to this issue?

Systems that process a crafted ADFS “big directory” filesystem image are exposed. The vulnerable path is the ADFS F+ directory parser, not the old-style ADFS directory parser.

2

What does an attacker need to exploit it?

An attacker needs to provide or cause the system to read a malicious ADFS big-directory image containing a directory entry whose on-disk name-length field exceeds the destination buffer capacity. The overlong value is used as a copy length into a fixed 260-byte stack buffer.

3

Are normal ADFS directory names affected?

The issue concerns unchecked per-entry name lengths in the big-directory format. Header name fields are already validated, and the old-style directory parser already clamps name lengths.

4

How can the issue be mitigated before updating?

Avoid mounting, browsing, or otherwise processing untrusted ADFS filesystem images, particularly images using the big-directory format. Treat malformed ADFS media as untrusted until the kernel includes the change that rejects overlong entries with an I/O error.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203