CVE-2023-6546

Summary

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.

Affected Software

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

Weaknesses

  • CWE-366: Race Condition within a Thread

Workarounds

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.

ADP Enrichment

CVE Program Container

Additional References

References