CVE-2023-52880
published high CVSS 3.1 · 7.8tty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe1eaea46bb4020b38a141b84f88565d4603f8dd0 to < 7d303dee473ba3529d75b63491e9963342107bed · e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < 7a529c9023a197ab3bf09bb95df32a3813f7ba58 · e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < ada28eb4b9561aab93942f3224a2e41d76fe57fa · e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < 2d154a54c58f9c8375bfbea9f7e51ba3bfb2e43a · e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < 2b85977977cbd120591b23c2450e90a5806a7167 · e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < 67c37756898a5a6b2941a13ae7260c89b54e0d88 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.35 (affected) · 0 to < 2.6.35 (unaffected · semver) · 4.19.312 through 4.19.* (unaffected · semver) · 5.4.274 through 5.4.* (unaffected · semver) · 5.10.215 through 5.10.* (unaffected · semver) · 5.15.155 through 5.15.* (unaffected · semver) · 6.1.86 through 6.1.* (unaffected · semver) · 6.6 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.33.1.el9_4 | ALSA-2024:5928 |
| Debian | buster | linux | Advisory build | 4.19.316-1 | DLA-3840-1 |
| Oracle Linux | 6 | kernel-uekx86_64 | Advisory build | 0:4.1.12-124.88.3.el6uek | ELSA-2024-12570 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.216-1~deb10u1 | DLA-3842-1 |
| Oracle Linux | 6 | kernel-uek-debugx86_64 | Advisory build | 0:4.1.12-124.88.3.el6uek | ELSA-2024-12570 |
| Oracle Linux | 6 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.1.12-124.88.3.el6uek | ELSA-2024-12570 |
| Oracle Linux | 6 | kernel-uek-develx86_64 | Advisory build | 0:4.1.12-124.88.3.el6uek | ELSA-2024-12570 |
| Oracle Linux | 6 | kernel-uek-docx86_64 | Advisory build | 0:4.1.12-124.88.3.el6uek | ELSA-2024-12570 |
| Oracle Linux | 6 | kernel-uek-firmwarex86_64 | Advisory build | 0:4.1.12-124.88.3.el6uek | ELSA-2024-12570 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.1.12-124.88.3.el7uek | ELSA-2024-12571 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.1.12-124.88.3.el7uek | ELSA-2024-12571 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.1.12-124.88.3.el7uek | ELSA-2024-12571 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.1.12-124.88.3.el7uek | ELSA-2024-12571 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.1.12-124.88.3.el7uek | ELSA-2024-12571 |
| Oracle Linux | 7 | kernel-uek-firmwarex86_64 | Advisory build | 0:4.1.12-124.88.3.el7uek | ELSA-2024-12571 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.3.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.3.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: 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. AC: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. PR: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. UI:N - The attacker performs openpty, TIOCSETD, GSMIOC_SETCONF, and subsequent I/O entirely in their own process; no victim action is required. S: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. C: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. I: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. A: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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < 7d303dee473ba3529d75b63491e9963342107bed (affected · git)e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < 7a529c9023a197ab3bf09bb95df32a3813f7ba58 (affected · git)e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < ada28eb4b9561aab93942f3224a2e41d76fe57fa (affected · git)e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < 2d154a54c58f9c8375bfbea9f7e51ba3bfb2e43a (affected · git)e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < 2b85977977cbd120591b23c2450e90a5806a7167 (affected · git)e1eaea46bb4020b38a141b84f88565d4603f8dd0 to < 67c37756898a5a6b2941a13ae7260c89b54e0d88 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.35 (affected)0 to < 2.6.35 (unaffected · semver)4.19.312 through 4.19.* (unaffected · semver)5.4.274 through 5.4.* (unaffected · semver)5.10.215 through 5.10.* (unaffected · semver)5.15.155 through 5.15.* (unaffected · semver)6.1.86 through 6.1.* (unaffected · semver)6.6 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/2b85977977cbd120591b23c2450e90a5806a7167
- https://git.kernel.org/stable/c/2d154a54c58f9c8375bfbea9f7e51ba3bfb2e43a
- https://git.kernel.org/stable/c/67c37756898a5a6b2941a13ae7260c89b54e0d88
- https://git.kernel.org/stable/c/7a529c9023a197ab3bf09bb95df32a3813f7ba58
- https://git.kernel.org/stable/c/7d303dee473ba3529d75b63491e9963342107bed
- https://git.kernel.org/stable/c/ada28eb4b9561aab93942f3224a2e41d76fe57fa
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Provider assertions
3Linux · cna
tty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 23fb6cbc78b1d5ca9d30706315e4f811569eb6fcfe84c41d7f483a592e45d493
- Ingested
- 23 Sep 2026, 08:14:44 UTC
- Source record
- Official CVE record