From mboxrd@z Thu Jan 1 00:00:00 1970 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 BA63430C160 for ; Wed, 24 Jun 2026 16:32:19 +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=1782318740; cv=none; b=Ah0ofXXA6RN5aJWX9IxiVneDzLLNMYMDxBpJxVnIjvZSQEC1K0ME9GNle5yJg8uATm5eCQJRLEsiq3JO1bIPjR/oR7eREh/l7kr7hBX8FbN3zPCGuiaXuJiatsi8tFXblQLovvRpab5ayRgrSRzv2Lu41yGvRNM7xkby69xSpfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318740; c=relaxed/simple; bh=oNjLloQaM4EX+kTRRQfCTgV11B96IL8Lj7HSDAwEcgg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pEmj1hFn8Zee82UOsCvqorcHP2qRZxduwkJplH5Y8wVIH5L6qt8htu10xmIaWmLGpUS1Qol5L3cAaEmKB7HbwPRWDb+VEcf3Q2lZQLspnMFLTzYfwGObFTvcHG25AhFgccTItwc8U987USWvUdByRC9nIS1XW0tX+CgZ1CmSIwM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KlnjQXVX; 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="KlnjQXVX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B746E1F000E9; Wed, 24 Jun 2026 16:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782318739; bh=gK/XvpW+QMpGQrVONEjJRuxpFI4ml3DNsia1DZ+e2Kw=; h=From:To:Cc:Subject:Date:Reply-To; b=KlnjQXVXsV1Kqdk9kxlvmb+aK2RdbCtRruaBFY1yljE866KbZIbyld1/P+kBjfTOq 7mGj+Q1iRyeZRip+qhcQztyMdAq7p8yC/Hpaw6KQPUAoK00XrU9uANZpuHpP2UEzwv 3qcs0x/66/VC9ImB6MZGmiKtEo5Q27CbpXBkz9EM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52962: ceph: fix a buffer leak in __ceph_setxattr() Date: Wed, 24 Jun 2026 17:29:46 +0100 Message-ID: <2026062437-CVE-2026-52962-69b4@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=2682; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZJpRrNNv3Yz8w+AUwCNA+QeCTt/z19J+SxxEAqgZQaA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2rB+/1L4KilLoXLuwYGKCa4t+/t2/pfHb5Pec1rZSm 3R859tlHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARQyOGORxd88x4HBRfljm8 /yT3peWBn9D+PQwL1pw6Vb9KOe4RX1WD3eZ1NztdrZJmAgA= 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: ceph: fix a buffer leak in __ceph_setxattr() The old_blob in __ceph_setxattr() can store ci->i_xattrs.prealloc_blob value during the retry. However, it is never called the ceph_buffer_put() for the old_blob object. This patch fixes the issue of the buffer leak. The Linux kernel CVE team has assigned CVE-2026-52962 to this issue. Affected and fixed versions =========================== Fixed in 5.10.258 with commit 521e5aba857fd267624892c8dd6295f22ce0267e Fixed in 5.15.209 with commit d0cb994605c84a159c1d00d72cdc8583c321ef95 Fixed in 6.1.175 with commit ecf94823c5c6a20790bb76ed2816822b0beb0c22 Fixed in 6.6.141 with commit 4bfdcefdaa6092a06cacd59389c7756b36e6de8c Fixed in 6.12.91 with commit 7d3e8d2d648d5f0df29b4710246680f47695fe94 Fixed in 6.18.33 with commit 3fa13ceefbc5f36131110342743994cb3de80637 Fixed in 7.0.10 with commit bc7abce4460e490dcb579eec770f175b150b685f Fixed in 7.1 with commit 5d3cc36b4e77a27ce7b686b7c59c7072bcb3fa8e 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-52962 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/ceph/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/521e5aba857fd267624892c8dd6295f22ce0267e https://git.kernel.org/stable/c/d0cb994605c84a159c1d00d72cdc8583c321ef95 https://git.kernel.org/stable/c/ecf94823c5c6a20790bb76ed2816822b0beb0c22 https://git.kernel.org/stable/c/4bfdcefdaa6092a06cacd59389c7756b36e6de8c https://git.kernel.org/stable/c/7d3e8d2d648d5f0df29b4710246680f47695fe94 https://git.kernel.org/stable/c/3fa13ceefbc5f36131110342743994cb3de80637 https://git.kernel.org/stable/c/bc7abce4460e490dcb579eec770f175b150b685f https://git.kernel.org/stable/c/5d3cc36b4e77a27ce7b686b7c59c7072bcb3fa8e