cve.bz

CVE-2023-6546 Race Condition within a Thread

7.0 highEPSS 0.7%Fix available

High (7.0). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
A race condition was found in the GSM 0710 tty multiplexor in the Linux kernel. This issue occurs when two threads execute the GSMIOC_SETCONF 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 gsm_dlci while restarting the gsm mux. This could allow a local unprivileged user to escalate their privileges on the system.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-366 Race Condition within a Thread
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:4.18.0-513.24.1.rt7.326.el8_9
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:4.18.0-513.24.1.el8_9
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 0:4.18.0-193.136.1.el8_2
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:4.18.0-305.134.1.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service: fixed in 0:4.18.0-305.134.1.rt7.210.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service: fixed in 0:4.18.0-305.134.1.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions: fixed in 0:4.18.0-305.134.1.el8_4
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support: fixed in 0:4.18.0-372.93.1.el8_6
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux: fixed package versions per release
  • Patch: https://bugzilla.redhat.com/show_bug.cgi?id=2255498
  • Patch: https://github.com/torvalds/linux/commit/3c4f8333b582487a2d1e02171f1465531cde53e3

Ask an AI about this CVE

Show the promptExplain CVE-2023-6546 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-6546?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-6546?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-6546 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 80:4.18.0-513.24.1.rt7.326.el8_9
Red Hat Enterprise Linux 80:4.18.0-513.24.1.el8_9
Red Hat Enterprise Linux 8.2 Advanced Update Support0:4.18.0-193.136.1.el8_2
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:4.18.0-305.134.1.el8_4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service0:4.18.0-305.134.1.rt7.210.el8_4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service0:4.18.0-305.134.1.el8_4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:4.18.0-305.134.1.el8_4
Red Hat Enterprise Linux 8.6 Extended Update Support0:4.18.0-372.93.1.el8_6
Red Hat Enterprise Linux 8.8 Extended Update Support0:4.18.0-477.55.1.el8_8
Red Hat Enterprise Linux 90:5.14.0-427.13.1.el9_4
Red Hat Enterprise Linux 9.0 Extended Update Support0:5.14.0-70.93.2.el9_0
Red Hat Enterprise Linux 9.0 Extended Update Support0:5.14.0-70.93.1.rt21.165.el9_0
Red Hat Enterprise Linux 9.2 Extended Update Support0:5.14.0-284.55.1.el9_2
Red Hat Enterprise Linux 9.2 Extended Update Support0:5.14.0-284.55.1.rt14.340.el9_2
Red Hat Virtualization 4 for Red Hat Enterprise Linux 80:4.18.0-372.93.1.el8_6
Red Hat RHOL-5.7-RHEL-8v5.7.13-16
Red Hat RHOL-5.7-RHEL-8v5.7.13-7
Red Hat RHOL-5.7-RHEL-8v6.8.1-408
Red Hat RHOL-5.7-RHEL-8v5.7.13-19
Red Hat RHOL-5.7-RHEL-8v1.0.0-480
Red Hat RHOL-5.7-RHEL-8v5.7.13-9
Red Hat RHOL-5.7-RHEL-8v0.4.0-248
Red Hat RHOL-5.7-RHEL-8v1.14.6-215
Red Hat RHOL-5.7-RHEL-8v6.8.1-431
Red Hat RHOL-5.7-RHEL-8v1.1.0-228
Red Hat RHOL-5.7-RHEL-8v5.8.1-471
Red Hat RHOL-5.7-RHEL-8v2.9.6-15
Red Hat RHOL-5.7-RHEL-8v5.7.13-3
Red Hat RHOL-5.7-RHEL-8v5.7.13-27
Red Hat RHOL-5.7-RHEL-8v5.7.13-12
Red Hat RHOL-5.7-RHEL-8v0.1.0-527
Red Hat RHOL-5.7-RHEL-8v0.1.0-225
Red Hat RHOL-5.7-RHEL-8v0.28.1-57

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.52-1DEBIAN-CVE-2023-6546
Debian13, 14linux6.4.13-1DEBIAN-CVE-2023-6546
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-6546
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2023-6546
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1051.56~20.04.1UBUNTU-CVE-2023-6546
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1053.61~20.04.1UBUNTU-CVE-2023-6546
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1048.56~20.04.1UBUNTU-CVE-2023-6546
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2023-6546
Ubuntu20.04:LTSlinux-gkeop-5.155.15.0-1034.40~20.04.1UBUNTU-CVE-2023-6546
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-91.101~20.04.1UBUNTU-CVE-2023-6546
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1044.47~20.04.1UBUNTU-CVE-2023-6546
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1046.52~20.04.1UBUNTU-CVE-2023-6546
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1020.20~20.04.1UBUNTU-CVE-2023-6546
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1049.55~20.04.1UBUNTU-CVE-2023-6546
23 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-513_11_1, kpatch-patch-4_18_0-513_11_1-debuginfo, kpatch-patch-4_18_0-513_11_1-debugsource0:1-2.el8_9RHSA-2024:1612
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-513_5_1, kpatch-patch-4_18_0-513_5_1-debuginfo, kpatch-patch-4_18_0-513_5_1-debugsource0:1-4.el8_9RHSA-2024:1612
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-513_9_1, kpatch-patch-4_18_0-513_9_1-debuginfo, kpatch-patch-4_18_0-513_9_1-debugsource0:1-3.el8_9RHSA-2024:1612
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.24.1.el8_9RHSA-2024:1607
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.24.1.el8_9RHSA-2024:1607
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-513.24.1.rt7.326.el8_9RHSA-2024:1614
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-513.24.1.rt7.326.el8_9RHSA-2024:1614
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 26 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.3.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.3.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 43 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 14 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
43 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.103.1SUSE-SU-2024:0156-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.44.1SUSE-SU-2024:0160-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.103.1SUSE-SU-2024:0156-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 6 morekernel-default-base5.14.21-150400.24.103.1.150400.24.48.1SUSE-SU-2024:0156-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_4314-2.1SUSE-SU-2024:1686-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_4710-2.1SUSE-SU-2024:1712-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_517-2.1SUSE-SU-2024:1692-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_534-2.1SUSE-SU-2024:1713-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_5410-8.10.1SUSE-SU-2024:4226-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_5411-8.10.1SUSE-SU-2025:0103-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_543-8.10.1SUSE-SU-2024:1694-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_544-8.10.1SUSE-SU-2024:2130-1
123 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.44.1SUSE-SU-2024:0160-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.29.1SUSE-SU-2024:0141-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.44.1.150500.6.19.2SUSE-SU-2024:0160-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.30.1SUSE-SU-2024:0115-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.103.1SUSE-SU-2024:0156-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.103.1.150400.24.48.1SUSE-SU-2024:0156-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-rt5.14.21-150400.15.65.1SUSE-SU-2024:0129-1
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-513.24.1.el8_9ALSA-2024:1607
AlmaLinux9bpftool7.3.0-427.13.1.el9_4ALSA-2024:2394
AlmaLinux9rv, perf, rtla and 58 more5.14.0-427.13.1.el9_4ALSA-2024:2394
Rocky Linux8kernel0:4.18.0-513.24.1.el8_9RLSA-2024:1607
Rocky Linux8kernel0:4.18.0-513.24.1.el8_9.cloud.0.1RXSA-2024:1607
Rocky Linux8kernel-rt0:4.18.0-513.24.1.rt7.326.el8_9RLSA-2024:1614
Azure Linux2kernel5.15.148.1-1AZL-32284

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is critical because it can be exploited to escalate privileges, directly threatening system security. Despite requiring local access and having a high attack complexity, the potential to severely impact confidentiality, integrity, and availability justifies its "Important" rating.

Red Hat's mitigation

This flaw can be mitigated by preventing the affected `n_gsm` kernel module from being loaded. For instructions on how to blacklist a kernel module, please see https://access.redhat.com/solutions/41278.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.24.1.rt7.326.el8_9Fixed 2024-04-02RHSA-2024:1614
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.24.1.el8_9Fixed 2024-04-02RHSA-2024:1607
Red Hat Enterprise Linux 8kpatch-patchFixed 2024-04-02RHSA-2024:1612
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.136.1.el8_2Fixed 2024-07-16RHSA-2024:4577
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.134.1.el8_4Fixed 2024-07-23RHSA-2024:4731
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt-0:4.18.0-305.134.1.rt7.210.el8_4Fixed 2024-07-23RHSA-2024:4729
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-0:4.18.0-305.134.1.el8_4Fixed 2024-07-23RHSA-2024:4731
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel-0:4.18.0-305.134.1.el8_4Fixed 2024-07-23RHSA-2024:4731
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskpatch-patchFixed 2024-08-01RHSA-2024:4970
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.93.1.el8_6Fixed 2024-02-21RHSA-2024:0930
Red Hat Enterprise Linux 8.6 Extended Update Supportkpatch-patchFixed 2024-02-22RHSA-2024:0937
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.55.1.el8_8Fixed 2024-04-30RHSA-2024:2621
Red Hat Enterprise Linux 8.8 Extended Update Supportkpatch-patchFixed 2024-05-06RHSA-2024:2697
Red Hat Enterprise Linux 9kernel-0:5.14.0-427.13.1.el9_4Fixed 2024-04-30RHSA-2024:2394
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.93.2.el9_0Fixed 2024-03-12RHSA-2024:1250
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.93.1.rt21.165.el9_0Fixed 2024-03-13RHSA-2024:1306
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected
23 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-6546.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON