Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AE8727F759 for ; Tue, 13 Jan 2026 15:32:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318325; cv=none; b=niNMEw6bAP2bwLNMsV50TiE4aZVn99SDgRz4Ko/DkXnUsxx/JlfJsCfeX0vKW9too91sGbLpjFk02N3vz5Os+XV//PXtZLUi0Zg2yXIdfcxfNQTi3bRBbxy7ELp80FOzN7p9gmaOFdVfrA5kKEcjuz5k1yliLKFdJTUy7mRgVfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318325; c=relaxed/simple; bh=VIeQhI/toNl8W6LzxFSBcOUcu3hgHgdxFyTUGs1m4zs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kbW9JmZOqubz7aY9M1nQQq4mDjn7fyENong/QkUagvly6/WxWpsH7uYfgIW2PkCO2ndyyxJrAQ/PC55IivtgP1JJN/hgsk+lD4LIaUC+48dHt8R4A8BFtKKtnpASA/1JT9KhqbFCAitl9epWcRx4pgI9YJ5ne7D6uKJgaz86i/M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Bao0DGV+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Bao0DGV+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1DF0FC116C6; Tue, 13 Jan 2026 15:32:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318325; bh=VIeQhI/toNl8W6LzxFSBcOUcu3hgHgdxFyTUGs1m4zs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Bao0DGV+c4zzMPd6BFZvg4c6Vjah/abkL8fVrC3JHxiF+I+sOddH1LRKAxgGb12hG 3jlrRTrZ4oH+zOzep1AbFlchjfW6mcw4MzZBkPrvo8WrStFzxSNC+OqPBWmWLbemq+ wZEQbeXU0NOABV7rJ7k5g5pKQgCtUIN3M7NyPk68= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68820: ext4: xattr: fix null pointer deref in ext4_raw_inode() Date: Tue, 13 Jan 2026 16:29:46 +0100 Message-ID: <2026011315-CVE-2025-68820-7a4f@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3205; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HtBGQX1Cjf7Gt6Z8Wcugq4EKx5gJJ21Hqkx77Rwe2pY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpKaf/skSLrDasYD3727Wyrl3nkt8JFR8tBccMpfv9K qVXIss7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgF4CKyDAt6JxWVlzxPLI7KOP++ 5Xlcve7tIBaG+RGaSSumyQky1QU4mks5zi919FMXAAA= 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: ext4: xattr: fix null pointer deref in ext4_raw_inode() If ext4_get_inode_loc() fails (e.g. if it returns -EFSCORRUPTED), iloc.bh will remain set to NULL. Since ext4_xattr_inode_dec_ref_all() lacks error checking, this will lead to a null pointer dereference in ext4_raw_inode(), called right after ext4_get_inode_loc(). Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2025-68820 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.135 with commit cf9291a3449b04688b81e32621e88de8f4314b54 and fixed in 6.1.160 with commit 190ad0f22ba49f1101182b80e3af50ca2ddfe72f Issue introduced in 6.6.88 with commit 362a90cecd36e8a5c415966d0b75b04a0270e4dd and fixed in 6.6.120 with commit b5d942922182e82724b7152cb998f540132885ec Issue introduced in 6.12.24 with commit eb59cc31b6ea076021d14b04e7faab1636b87d0e and fixed in 6.12.64 with commit 5b154e901fda2e98570b8f426a481f5740097dc2 Issue introduced in 6.15 with commit c8e008b60492cf6fd31ef127aea6d02fd3d314cd and fixed in 6.18.3 with commit ce5f54c065a4a7cbb92787f4f140917112350142 Issue introduced in 6.15 with commit c8e008b60492cf6fd31ef127aea6d02fd3d314cd and fixed in 6.19-rc1 with commit b97cb7d6a051aa6ebd57906df0e26e9e36c26d14 Issue introduced in 5.4.293 with commit 6aff941cb0f7d0c897c3698ad2e30672709135e3 Issue introduced in 5.10.237 with commit 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3 Issue introduced in 5.15.181 with commit f737418b6de31c962c7192777ee4018906975383 Issue introduced in 6.13.12 with commit 3bc6317033f365ce578eb6039445fb66162722fd Issue introduced in 6.14.3 with commit 836e625b03a666cf93ff5be328c8cb30336db872 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-2025-68820 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/ext4/xattr.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/190ad0f22ba49f1101182b80e3af50ca2ddfe72f https://git.kernel.org/stable/c/b5d942922182e82724b7152cb998f540132885ec https://git.kernel.org/stable/c/5b154e901fda2e98570b8f426a481f5740097dc2 https://git.kernel.org/stable/c/ce5f54c065a4a7cbb92787f4f140917112350142 https://git.kernel.org/stable/c/b97cb7d6a051aa6ebd57906df0e26e9e36c26d14