Received: from n169-114.mail.139.com (n169-114.mail.139.com [120.232.169.114]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E07AD2DF707 for ; Thu, 13 Nov 2025 09:58:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=120.232.169.114 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763027940; cv=none; b=M7eWGWNxmfPXuCd4PpYQKOJexTC+DBP2pXuL5F/UDVv2NtK6Q4zQM9E9YEUx2cL+iZ2k1r2lDk/K9uLBLXEC1m0K1W6wILZUNMctcxxTAUGrXceVS1viOS6XbwT0z5ZZV8KcmPaIuWvSw4xSVaXoglS71WgWDYdTPQjyetD2doU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763027940; c=relaxed/simple; bh=2muTn9cewC/+BcZ7tPhF0/rkiZSGN7J07GDdbFpLQ7I=; h=From:To:Subject:Date:Message-Id; b=HSchoEEW66CGQ88TiQPF0CuOQomuC52GcWtuICmMWLw5+Z10sMdkVQ4yPlwk74HB1P4tcdu2i1C3vE6T46LiBQHbXxqL/A5dRCI7GBnNkoycJupvplzD+M+uTqeY1ywo6gJU2hrLRCsI8l4CMgSezWthVeubGR5NZU7oARZBpZ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=139.com; spf=pass smtp.mailfrom=139.com; dkim=pass (1024-bit key) header.d=139.com header.i=@139.com header.b=Sr/RhrsC; arc=none smtp.client-ip=120.232.169.114 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=139.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=139.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=139.com header.i=@139.com header.b="Sr/RhrsC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=139.com; s=dkim; l=0; h=from:subject:message-id:to; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=Sr/RhrsCbAxJpeNQpjSuS0av4Q0TCech3VtFnfrRe6ae3zejTOhx6YPZOjAb1Ed4u5DZj4kqSpg3U pF9LyJzfPIxkmBljU8QybVscevxPNGeTez9kL/7u4H1V5OdDqVx6kBjaXRcid0UxdcMrk7ySWRWeGy uk3DcshyWUlAHAGk= X-RM-TagInfo: emlType=0 X-RM-SPAM: X-RM-SPAM-FLAG:00000000 Received:from NTT-kernel-dev (unknown[117.129.7.61]) by rmsmtp-lg-appmail-39-12053 (RichMail) with SMTP id 2f156915ab1e329-30548; Thu, 13 Nov 2025 17:55:44 +0800 (CST) X-RM-TRANSID:2f156915ab1e329-30548 From: Rajani Kantha <681739313@139.com> To: yebin10@huawei.com, jack@suse.cz, tytso@mit.edu, stable@vger.kernel.org Subject: [PATCH 6.12.y 0/2] Backport 2 commits to 6.12.y to fix Date: Thu, 13 Nov 2025 17:55:35 +0800 Message-Id: <20251113095537.1831-1-681739313@139.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Backport commit:5701875f9609 ("ext4: fix out-of-bound read in ext4_xattr_inode_dec_ref_all()" to linux 6.12 branch. The fix depends on commit:69f3a3039b0d ("ext4: introduce ITAIL helper") In order to make a clean backport on stable kernel, backport 2 commits. Ye Bin (2): ext4: introduce ITAIL helper ext4: fix out-of-bound read in ext4_xattr_inode_dec_ref_all() fs/ext4/inode.c | 5 +++++ fs/ext4/xattr.c | 32 ++++---------------------------- fs/ext4/xattr.h | 10 ++++++++++ 3 files changed, 19 insertions(+), 28 deletions(-) -- 2.17.1