{"dataType":"CVE_RECORD","cveMetadata":{"cveId":"CVE-2023-52880","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-05-21T15:35:00.781Z","datePublished":"2024-05-24T15:33:17.439Z","dateUpdated":"2026-08-05T09:11:49.513Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T09:11:49.513Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc\n\nAny unprivileged user can attach N_GSM0710 ldisc, but it requires\nCAP_NET_ADMIN to create a GSM network anyway.\n\nRequire initial namespace CAP_NET_ADMIN to do that."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation is entirely local: an attacker opens a pty (/dev/ptmx), issues ioctl(TIOCSETD, N_GSM0710) → tiocsetd → tty_set_ldisc → gsmld_open, then drives GSMIOC_SETCONF and frame I/O on that tty. There is no network-facing or adjacent-link path into this code.\nAC:L - Attaching the ldisc and configuring the mux is fully attacker-controlled and deterministic on a self-owned pty, with no race or other condition outside the attacker’s influence.\nPR:L - Before the fix, gsmld_open had no capability check, so any unprivileged local user with a pty could attach N_GSM0710; CAP_NET_ADMIN was only required later for GSMIOC_ENABLE_NET, not for attach/configure.\nUI:N - The attacker performs openpty, TIOCSETD, GSMIOC_SETCONF, and subsequent I/O entirely in their own process; no victim action is required.\nS:U - Impact remains within the host kernel’s security authority as a local privilege-escalation/DoS boundary; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - Unprivileged attach exposes the full n_gsm mux/parser heap paths; throughout this CVE’s lifetime the same entry path enabled serious memory-corruption bugs (e.g. CVE-2024-36016 heap OOB readable via DLCI/tty paths, timer/cleanup UAFs), yielding kernel disclosure primitives.\nI:H - The same exposed attach/configure/cleanup surface enables heap overflow and use-after-free write primitives against adjacent slab objects and gsm_mux control state, supporting arbitrary write and control-flow hijack.\nA:H - Abusing the unprivileged mux attach/teardown and parser paths reliably corrupts kernel state and triggers oops/panic (as seen in related n_gsm KASAN/oops reports), fully denying host availability."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/tty/n_gsm.c"],"versions":[{"version":"e1eaea46bb4020b38a141b84f88565d4603f8dd0","lessThan":"7d303dee473ba3529d75b63491e9963342107bed","status":"affected","versionType":"git"},{"version":"e1eaea46bb4020b38a141b84f88565d4603f8dd0","lessThan":"7a529c9023a197ab3bf09bb95df32a3813f7ba58","status":"affected","versionType":"git"},{"version":"e1eaea46bb4020b38a141b84f88565d4603f8dd0","lessThan":"ada28eb4b9561aab93942f3224a2e41d76fe57fa","status":"affected","versionType":"git"},{"version":"e1eaea46bb4020b38a141b84f88565d4603f8dd0","lessThan":"2d154a54c58f9c8375bfbea9f7e51ba3bfb2e43a","status":"affected","versionType":"git"},{"version":"e1eaea46bb4020b38a141b84f88565d4603f8dd0","lessThan":"2b85977977cbd120591b23c2450e90a5806a7167","status":"affected","versionType":"git"},{"version":"e1eaea46bb4020b38a141b84f88565d4603f8dd0","lessThan":"67c37756898a5a6b2941a13ae7260c89b54e0d88","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/tty/n_gsm.c"],"versions":[{"version":"2.6.35","status":"affected"},{"version":"0","lessThan":"2.6.35","status":"unaffected","versionType":"semver"},{"version":"4.19.312","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.274","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.215","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.155","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.86","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"4.19.312"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"5.4.274"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"5.10.215"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"5.15.155"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.1.86"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.6"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/7d303dee473ba3529d75b63491e9963342107bed"},{"url":"https://git.kernel.org/stable/c/7a529c9023a197ab3bf09bb95df32a3813f7ba58"},{"url":"https://git.kernel.org/stable/c/ada28eb4b9561aab93942f3224a2e41d76fe57fa"},{"url":"https://git.kernel.org/stable/c/2d154a54c58f9c8375bfbea9f7e51ba3bfb2e43a"},{"url":"https://git.kernel.org/stable/c/2b85977977cbd120591b23c2450e90a5806a7167"},{"url":"https://git.kernel.org/stable/c/67c37756898a5a6b2941a13ae7260c89b54e0d88"}],"title":"tty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-52880","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-24T19:10:27.057428Z"}}}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:23:31.686Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T23:18:41.167Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/7d303dee473ba3529d75b63491e9963342107bed","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/7a529c9023a197ab3bf09bb95df32a3813f7ba58","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ada28eb4b9561aab93942f3224a2e41d76fe57fa","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/2d154a54c58f9c8375bfbea9f7e51ba3bfb2e43a","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/2b85977977cbd120591b23c2450e90a5806a7167","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/67c37756898a5a6b2941a13ae7260c89b54e0d88","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred"]}]}]},"dataVersion":"5.2"}