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 95CA52E7390 for ; Sat, 15 Aug 2026 06:31:20 +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=1786775481; cv=none; b=J2TEzbKqEdedQUjIFrG3IUDVFE+IgsyVEKvcpliiL+/5LD5rK4TqPPnUSsiit1trG9GnFBzic6UEV9g+slYgG7Z6nryQ5BTgfwGtEtGHPuQdOfMK2SwH3mfHcRgaGgUe4Dlz08pNydvnzE0b+lQ9/A4fGo0UPSoyWT8+AUTs4pc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775481; c=relaxed/simple; bh=16V85NPc/kBfJrYxot2TPWDXkdaFh/Wi2vH/MuKOihs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=t/+QvmQNBSuJeap7Nz9eVb7c/8zwPG/9FR2Z7lNahhOlndlMkI5N5xZiWZZ98wJda5A8aNPHzw7835plPk9XiYJ6yZYe0pRrV+rw4v1F84WPO4yjNrXuVYgLk1WRRD0689FpmVwTh3KmK9HywRhivjoOrUe80ChOmJ9TpwysjGE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QodYq78r; 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="QodYq78r" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECE181F000E9; Sat, 15 Aug 2026 06:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775480; bh=KPkObR8MsfLU7udluUVX5uIb3FvzKbFeK1NdaZ1y2Ig=; h=From:To:Cc:Subject:Date:Reply-To; b=QodYq78r0dcK1JWiy5r2ir1MSQzDVszxfqhn392DLDS1dePUrlEoQWErR12f3YwmJ jdJE7/OAROGpbw+Q42mmLkCWGc+IxVANpCFAGtrK1akZiRofVt6NgyD11op+DplQVk up2vsaO/0W7vWTjZ22JsASGND6TnqxPvssvymSrg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72461: apparmor: fix refcount leak when updating the sk_ctx Date: Sat, 15 Aug 2026 15:09:00 +0900 Message-ID: <2026081533-CVE-2026-72461-3dc3@gregkh> X-Mailer: git-send-email 2.55.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=2268; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iIlcEkOQWqC74kE40iIYGSSyWBMp0lNrN6MwPSUNg5Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDD+ldx5fdMlSq/DZkYObtF6kTnZdYLhjs+u3+mnKy hf3p/D/6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJCEUyzLNZyTAnZW16WHf3 7hrBfy+VFG/P+cww3/1B5RsXByUrx/+XeXzeVPl/blqtAAA= 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: apparmor: fix refcount leak when updating the sk_ctx Currently update_sk_ctx() transfers the plabel reference, unfortunately it is also unconditionally put in the caller. Ideally we would make the caller conditionally put the reference based on whether it was transferred but for now just fix the bug by getting a reference. The Linux kernel CVE team has assigned CVE-2026-72461 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 88fec3526e84123997ecebd6bb6778eb4ce779b7 and fixed in 6.18.40 with commit 045dbe89ac31709abd73390d0805d52fece7ef39 Issue introduced in 6.17 with commit 88fec3526e84123997ecebd6bb6778eb4ce779b7 and fixed in 7.1.5 with commit b8642f1478982a97ca2eb59f70f631a9de42ae11 Issue introduced in 6.17 with commit 88fec3526e84123997ecebd6bb6778eb4ce779b7 and fixed in 7.2-rc1 with commit 6d25e7b47616cb2db43351210929c8f19dc305a3 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-72461 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: security/apparmor/af_unix.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/045dbe89ac31709abd73390d0805d52fece7ef39 https://git.kernel.org/stable/c/b8642f1478982a97ca2eb59f70f631a9de42ae11 https://git.kernel.org/stable/c/6d25e7b47616cb2db43351210929c8f19dc305a3