CVE-2023-6546: Kernel: gsm multiplexing race condition leads to privilege escalation

Published Dec 21, 2023
·
Updated

A race condition was found in the GSM 0710 tty multiplexor (drivers/tty/ngsm.c) in the Linux kernel. The flaw occurs when two threads execute the GSMIOCSETCONF ioctl on the same tty file descriptor with the gsm line discipline enabled and leads to a use-after-free on a struct gsmdlci while restarting the gsm mux. A local unprivileged user could use this vulnerability to escalate their privileges on the system.

ZDI Security Advisory: https://www.zerodayinitiative.com/advisories/ZDI-CAN-20527

Upstream fix: https://github.com/torvalds/linux/commit/3c4f8333b582487a2d1e02171f1465531cde53e3

Other sources

A race condition was found in the GSM 0710 tty multiplexor in the Linux kernel. This issue occurs when two threads execute the GSMIOCSETCONF ioctl on the same tty file descriptor with the gsm line discipline enabled, and can lead to a use-after-free problem on a struct gsmdlci while restarting the gsm mux. This could allow a local unprivileged user to escalate their privileges on the system.

NVD

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by a race condition in the GSM 0710 tty multiplexor. By sending a specially crafted request, an authenticated attacker could exploit this vulnerability to gain elevated privileges.

IBM

Affected Software

12 affected componentsFixes available
IBM QRadar SIEM<=7.5 - 7.5.0 UP8 IF01
redhat/kernel<6.5
6.5
Linux Linux kernel<6.5
Linux Linux kernel=6.5-rc1
Linux Linux kernel=6.5-rc2
Linux Linux kernel=6.5-rc3
Linux Linux kernel=6.5-rc4
Linux Linux kernel=6.5-rc5
Linux Linux kernel=6.5-rc6
Fedoraproject Fedora=39
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.5
  2. Upgrade

    Upgrade linux kernel (drivers/tty/n_gsm.c) to a version that resolves this vulnerability.

    Patch ZDI-CAN-20527
  3. Upgrade

    Upgrade linux kernel to a version that resolves this vulnerability.

    Patch 3c4f8333b582487a2d1e02171f1465531cde53e3

Event History

Dec 21, 2023
Data Sourced
via Red Hat·10:58 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·08:01 PM
Data Sourced
via MITRE·08:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 9, 2024
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Oct 10, 58526
Event
via NVD·10:58 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-6546?

CVE-2023-6546 has been categorized as a high-severity vulnerability due to its potential to cause a use-after-free condition.

2

How do I fix CVE-2023-6546?

To remediate CVE-2023-6546, ensure that you upgrade to a patched version of the Linux kernel or the affected software that addresses this flaw.

3

Which systems are affected by CVE-2023-6546?

CVE-2023-6546 affects several Linux kernel versions up to 6.5, as well as specific versions of IBM QRadar SIEM and Red Hat Enterprise Linux.

4

What type of vulnerability is CVE-2023-6546?

CVE-2023-6546 is classified as a race condition vulnerability that leads to a use-after-free error in the Linux kernel.

5

Can CVE-2023-6546 be exploited remotely?

Exploitation of CVE-2023-6546 typically requires local access to the system, as it involves interactions between threads on a tty file descriptor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203