Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 669E1407CDB for ; Wed, 27 May 2026 13:04:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887088; cv=none; b=Pr5Yqx0D+Pi2uAcnV+HipEBqiZLI8eKUWZgeg3gA5YoNgZBBXfPV4qsPZsotS90n7cfFgvg8TFkfCt/A1kAJ+d5/GQYaXd03Z4cwekRdzAUrBmLnVM6mFxY6FX0GdL12P2CgS7J8zDsqfzYisrMpVWoKHCd1O730Thq6o3Y7ExQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887088; c=relaxed/simple; bh=bAFcQY/T2HlylL217lPvvlbRbdZpgq4HfDGPV4VjRUY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NwUe9hjR64m83OZPoMYCxZaybkCkFTGa+iH5CzRF0p/G6hYR/oAcW3sD+HGvEpkU5RsYV/ncp0c4+YPg+awF+msYSpX8B7h6k0pDcu4dnOPxs57ux/tEknNdhMx6cPq9+oNyGduKpx2kVTPahKVkQ6pFqyiKY2vP0o4Di26gIvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Zfka5bxA; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Zfka5bxA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9AD7E1F000E9; Wed, 27 May 2026 13:04:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887087; bh=mbwRtZuFbSglNV/uoJ7xin4DahwgYt5bBanYD/wEGt8=; h=From:To:Cc:Subject:Date:Reply-To; b=Zfka5bxAU7nWM9tY3f37+bCbj+UAgKRV7K+t/gvNvbhfF7gSr1pizgaqRnBPWVnqS 1i6DwWC3+jSCNuSXPWuXElod7NvGBJsf5ffuqm5BaVWGZuhnmoC+Ua9uPP9rc3R6Lf uDuM9+Rqbd2rN9bOK9hxuGuX/6dBxFI4F8n9VG3E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46046: ext4: fix missing brelse() in ext4_xattr_inode_dec_ref_all() Date: Wed, 27 May 2026 14:59:37 +0200 Message-ID: <2026052752-CVE-2026-46046-045e@gregkh> X-Mailer: git-send-email 2.54.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=3180; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KjmIaux/yUgGnVk2UqsJ8upKLsy5Sr2eVtmW13QfAf0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir3ounfJ/vc1ltqT0D66LjfwGZza17Hy7qlbixQX2H /N/y8463hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATObWMYZ6V9HmXLfIfdprH XRG5YcQ21SrjVynDfDeFBxcOyZot/Fzc9Mnr3C+3ixOvXQYA 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: fix missing brelse() in ext4_xattr_inode_dec_ref_all() The commit c8e008b60492 ("ext4: ignore xattrs past end") introduced a refcount leak in when block_csum is false. ext4_xattr_inode_dec_ref_all() calls ext4_get_inode_loc() to get iloc.bh, but never releases it with brelse(). The Linux kernel CVE team has assigned CVE-2026-46046 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.88 with commit 362a90cecd36e8a5c415966d0b75b04a0270e4dd and fixed in 6.6.140 with commit 1bc1107a3a403a6d440673ed6666f7b07ef868a8 Issue introduced in 6.12.24 with commit eb59cc31b6ea076021d14b04e7faab1636b87d0e and fixed in 6.12.86 with commit 097227f1ffe1a85bc3c359f81c71e3d40e06e920 Issue introduced in 6.15 with commit c8e008b60492cf6fd31ef127aea6d02fd3d314cd and fixed in 6.18.27 with commit 1e6b0a69bf2c9c819255c7566e4355536d81d9cf Issue introduced in 6.15 with commit c8e008b60492cf6fd31ef127aea6d02fd3d314cd and fixed in 7.0.4 with commit f072906688933bf47fabbaf63560be03357c8298 Issue introduced in 6.15 with commit c8e008b60492cf6fd31ef127aea6d02fd3d314cd and fixed in 7.1-rc1 with commit 77d059519382bd66283e6a4e83ee186e87e7708f 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.1.135 with commit cf9291a3449b04688b81e32621e88de8f4314b54 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-2026-46046 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/1bc1107a3a403a6d440673ed6666f7b07ef868a8 https://git.kernel.org/stable/c/097227f1ffe1a85bc3c359f81c71e3d40e06e920 https://git.kernel.org/stable/c/1e6b0a69bf2c9c819255c7566e4355536d81d9cf https://git.kernel.org/stable/c/f072906688933bf47fabbaf63560be03357c8298 https://git.kernel.org/stable/c/77d059519382bd66283e6a4e83ee186e87e7708f