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 54DAE3161A8 for ; Wed, 24 Dec 2025 10:37:02 +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=1766572622; cv=none; b=g0KEyz+K2Btv1U2w7QoKOW3mmZq/Kf2psMIgPnkq2VFIsiG5ZjCt+t185QGqYMme1H4j18U9MnsGse14o20ZygUsWtPcVbBXTl8PhyWyB3Dx80f3oT+/SoCXdgQ/yrzoKSGU3WsWxeUngWtDIByk/J7yQ/0dn+t2QkCeC5+1Sso= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766572622; c=relaxed/simple; bh=17/Fxi3oezOOawalf3pWJJ0tHjMo84t8pE1scvJtM3M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=APHCS+m+bBxL1TNFZgZmdyjbmmfJFgMgrH5n2oJlX4yvvcZkeJVbyDhEMOmenzwTGYL38Uauw2OzuifL0feS15dThamZwi7sYBc7ri1z4vnUTqXG6oMeBDfRLL1qubelWr3MwDmlZ7efr8830WyWQoMkjqPMA2WPi+mgpBUiJZc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=X9jqTGDM; 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="X9jqTGDM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBE8AC4CEFB; Wed, 24 Dec 2025 10:37:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766572622; bh=17/Fxi3oezOOawalf3pWJJ0tHjMo84t8pE1scvJtM3M=; h=From:To:Cc:Subject:Date:Reply-To:From; b=X9jqTGDMrGZYPUVXaWTb9Jr3/ykhf9jGvc7/phT6ptz5TLW6DPWnagy+iZKpcuiNw hzxa+LDpmzAztDTpDG6zaZy1ekRtDHONGPlBvtz4nsgJBRr1/rbSCr6PXbea0uoEVh J97o4eGJR6h3VyI4fUfgZjxogB8ZyugiZlhKiOfM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68733: smack: fix bug: unprivileged task can create labels Date: Wed, 24 Dec 2025 11:35:35 +0100 Message-ID: <2025122407-CVE-2025-68733-a65e@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=2609; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=u+x6H3BopPb/A49RjGTlkidT/TlzTmGhT1s8T9nMTkk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneB2+nzHkrYynW6TpL4NnHVMbbiqxm+h7H3wi9LVP8e IP9mElNRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEwYlhwdpJPxOeuZbeXzfN XI111Ybz0fMZXjMsWD5R/ceJR3OeNv5cu75Jv+voh4Y93wA= 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: smack: fix bug: unprivileged task can create labels If an unprivileged task is allowed to relabel itself (/smack/relabel-self is not empty), it can freely create new labels by writing their names into own /proc/PID/attr/smack/current This occurs because do_setattr() imports the provided label in advance, before checking "relabel-self" list. This change ensures that the "relabel-self" list is checked before importing the label. The Linux kernel CVE team has assigned CVE-2025-68733 to this issue. Affected and fixed versions =========================== Issue introduced in 4.4 with commit 38416e53936ecf896948fdeffc36b76979117952 and fixed in 6.12.63 with commit ac9fce2efabad37c338aac86fbe100f77a080e59 Issue introduced in 4.4 with commit 38416e53936ecf896948fdeffc36b76979117952 and fixed in 6.17.13 with commit 64aa81250171b6bb6803e97ea7a5d73bfa061f6e Issue introduced in 4.4 with commit 38416e53936ecf896948fdeffc36b76979117952 and fixed in 6.18.2 with commit 60e8d49989410a7ade60f5dadfcd979c117d05c0 Issue introduced in 4.4 with commit 38416e53936ecf896948fdeffc36b76979117952 and fixed in 6.19-rc1 with commit c147e13ea7fe9f118f8c9ba5e96cbd644b00d6b3 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-68733 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/smack/smack_lsm.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/ac9fce2efabad37c338aac86fbe100f77a080e59 https://git.kernel.org/stable/c/64aa81250171b6bb6803e97ea7a5d73bfa061f6e https://git.kernel.org/stable/c/60e8d49989410a7ade60f5dadfcd979c117d05c0 https://git.kernel.org/stable/c/c147e13ea7fe9f118f8c9ba5e96cbd644b00d6b3