From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796290041; b=WR3kbw9oVhszJSpI2BDY2x0PvOUj8t3Th8+QiEIur9Dt1iEjzbyjwGIDm1JKhpwq28gf pzT6z12lG1Fjr0KS2V3Ry5U1m/usj4tOOnJRwfYgSooqUafEWZKDNgsB0x4ZZGgkW/VrO BB5aIdd5tv0/2f8pcQ3teS3XjN1Lz/6AQPc1uzloFuWRrf7U0ZGN0lSsP0uuYY4idoBEh ejszz+xwZxUgmwuAaxqABQtoJNIrl1LwuzgIwSWT8dH4bJz7M9EfwAmx6nafQySZfbtIh I9SgmJ4xhmtGJGW+Xbz1UKML+lTpZBFgOqW7ul6uhJAlHzJqof3ayLqrozSFYO5O+Dg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796290041; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=ILWi665ox36wlc2R+oUXPn6ALfiDW6F4dRxB+TKvopM=; b=vASqs9dUOkZkdrMKo8uf47s9ZPaxJvedgdvqIy1Wjj3DlPClUFIAnct3qPy/nKsbkqU9 BYZhcfLy6/c/RkQO7bCAHdh9uYTiYCKl6t7S2JJNghNEnZ7hDueww8d5ugU/WbZLfiLTO raY/J8bYvpcLmY4E066RgeJGQnzv40TOxjDxAP+lml+kd2yrDKgWts32OzMhg1KKQFBjf lA4rIq8Y383ylrje+Ky4MCZW8nEjl/m5CwyK520WjH8KpsYWbRg5PySG4YtKyrN17YIcV x0gs7XvjA5uMCbxokWBwFUtLWw+QxB7Opo7CK6OZlg6oO7BbSKs467v9LexM599u+VQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b="YhEtC3c/"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E67A8606A322 for ; Thu, 3 Dec 2026 09:27:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=YhEtC3c/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 331A31F000C1; Thu, 3 Dec 2026 09:27:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796290040; bh=ILWi665ox36wlc2R+oUXPn6ALfiDW6F4dRxB+TKvopM=; h=From:To:Cc:Subject:Date:Reply-To; b=YhEtC3c/VazjTtX5b+HlQemJM71E3kADpXNDmAKc1dPSm058tCKO3yYFc0HVZVFdt xg9AJ3ul/gCAXLjsI6lp1dEY3RE64axCXheKuJCegTmNBn44Xvfg0OSvxuSmZR5YrX eEA1M7qHJQKn7OgkrSRizvhFlKivdTmzMs8OM0j0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-143108: fs/adfs: bound directory entry name length in adfs_fplus_getnext() Date: Thu, 3 Dec 2026 10:19:04 +0100 Message-ID: <2026120357-CVE-2026-143108-aa60@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3666; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zIO3389XtAYv9Uu14Mmkb4rwVVgvftL0kcFvzCFHljc=; b=owGbwMvMwCRo6H6F97bub03G02pJDNmCxp3dV9VntB/in3fh5omf9oeaGArOf9p6Xtp8VwPHr ZlLftqrdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEXNczLJgWrbfJ6nxUto/i r6C+g093VBnFszLMD2B8tSWVIUckP+Ui65fJG7/ML2D1BgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-143108 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.276 with commit d069df679adbb74d2f61ea7fd55c38a13ef62322 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.227 with commit cec2df4927d21c577e932f12d586004957659ef5 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.120 with commit 86c9518ed8a21ca17c55e25dbd5ade6eb842517b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.66 with commit d41c3c8f10b456aa3d75ea3107ce13f8b58f4598 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.3.7 with commit f8944a8761d291728e318358d13ac6c41078da51 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.4-rc3 with commit ebf5025b0d989f95542fc9da899b7de2fec499f2 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-143108 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/adfs/dir_fplus.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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