From mboxrd@z Thu Jan 1 00:00:00 1970 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 51C2C12E1D5 for ; Fri, 24 May 2024 15:33:26 +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=1716564806; cv=none; b=nyU1CsoG83XaGjaXwmyI8xdpj1u3hIdGc2NH5c28qPREUFp8BQrJ2ouDZwg1yWbqM4rs0T7bTlwiBZDkIcK35810IwM9Z90rXpmsnA7R/NQ304ZBOyAwgXS2RfOCfbVaLMosIPmiJVvUox6mjYc07/NDQgUsPXqWcbU66J/aVm4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716564806; c=relaxed/simple; bh=88KKj3FXIvHcR4BbrFvOb254SkdmCrs6SF6xo83Gd0A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z0jEjOAegMlumAxEcAJWa+DKG0OJTiuscetYcX3UCjZqWtgojgKX5jraeaEBfuiEK8qq2B6J7tX/9jeqYC/WIZPetLrto6TcE4J1YpgAzzBO395O6wicdY61RsLxh504yYum4siTMibdivkRtSqU/MK4jYRaByKPa0TUBUbjAFk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sHYoIv6u; 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="sHYoIv6u" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80D8BC2BBFC; Fri, 24 May 2024 15:33:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716564805; bh=88KKj3FXIvHcR4BbrFvOb254SkdmCrs6SF6xo83Gd0A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=sHYoIv6ujPtgqzA6I1ud919E3JQHyJbi64wyArdgBeg7lI65Td1AjmpLSl0UAjxlN E4qp9GLqdxlACJpAzfQIwzXipZ+I6bgbkqlE7CH/b558B+Gqb2JtHD5fEmJVNbfsVd C+qOJJD8AqtD9mVAyyTJdaPky9JjVhvnrMTPXJ/0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52880: tty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc Date: Fri, 24 May 2024 17:33:23 +0200 Message-ID: <2024052422-CVE-2023-52880-d2ff@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2187; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=88KKj3FXIvHcR4BbrFvOb254SkdmCrs6SF6xo83Gd0A=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkBm524nst9+3ygbfPuXqb/WQpt03mYPDetnqg2b+2m+ UHHeoK0O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiarMYZrNzPj6z3OO9482f jMJycz+/P3yS8RbDHI5T589U/v7TwrI5+oORt+vxMpXWNgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc Any unprivileged user can attach N_GSM0710 ldisc, but it requires CAP_NET_ADMIN to create a GSM network anyway. Require initial namespace CAP_NET_ADMIN to do that. The Linux kernel CVE team has assigned CVE-2023-52880 to this issue. Affected and fixed versions =========================== Fixed in 4.19.312 with commit 7d303dee473b Fixed in 5.4.274 with commit 7a529c9023a1 Fixed in 5.10.215 with commit ada28eb4b956 Fixed in 5.15.155 with commit 2d154a54c58f Fixed in 6.1.86 with commit 2b85977977cb Fixed in 6.6 with commit 67c37756898a 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-2023-52880 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: drivers/tty/n_gsm.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/7d303dee473ba3529d75b63491e9963342107bed https://git.kernel.org/stable/c/7a529c9023a197ab3bf09bb95df32a3813f7ba58 https://git.kernel.org/stable/c/ada28eb4b9561aab93942f3224a2e41d76fe57fa https://git.kernel.org/stable/c/2d154a54c58f9c8375bfbea9f7e51ba3bfb2e43a https://git.kernel.org/stable/c/2b85977977cbd120591b23c2450e90a5806a7167 https://git.kernel.org/stable/c/67c37756898a5a6b2941a13ae7260c89b54e0d88