# CVE-2023-54198: linux: In the Linux kernel, the following vulnerability has been resolved:  tty: fix out-of-bounds access in tty_driver_look...

CVE-2023-54198 is fixed in 77 products on 1 platform, first by ALAS2023-2023-138, released March 20, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-54198
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 20, 2023

## Description

In the Linux kernel, the following vulnerability has been resolved:  tty: fix out-of-bounds access in tty_driver_lookup_tty()  When specifying an invalid console= device like console=tty3270, tty_driver_lookup_tty() returns the tty struct without checking whether index is a valid number.  To reproduce:  qemu-system-x86_64 -enable-kvm -nographic -serial mon:stdio \ -kernel ../linux-build-x86/arch/x86/boot/bzImage \ -append "console=ttyS0 console=tty3270"  This crashes with:  [    0.770599] BUG: kernel NULL pointer dereference, address: 00000000000000ef [    0.771265] #PF: supervisor read access in kernel mode [    0.771773] #PF: error_code(0x0000) - not-present page [    0.772609] Oops: 0000 [#1] PREEMPT SMP PTI [    0.774878] RIP: 0010:tty_open+0x268/0x6f0 [    0.784013]  chrdev_open+0xbd/0x230 [    0.784444]  ? cdev_device_add+0x80/0x80 [    0.784920]  do_dentry_open+0x1e0/0x410 [    0.785389]  path_openat+0xca9/0x1050 [    0.785813]  do_filp_open+0xaa/0x150 [    0.786240]  file_open_name+0x133/0x1b0 [    0.786746]  filp_open+0x27/0x50 [    0.787244]  console_on_rootfs+0x14/0x4d [    0.787800]  kernel_init_freeable+0x1e4/0x20d [    0.788383]  ? rest_init+0xc0/0xc0 [    0.788881]  kernel_init+0x11/0x120 [    0.789356]  ret_from_fork+0x22/0x30

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool RHEL 9 | 0:7.4.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | bpftool amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | bpftool-debuginfo amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-64k RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-debug RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-debug-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-debug-devel RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-debug-devel-matched RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-debug-modules RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-debug-modules-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-debug-modules-extra RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-devel RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-devel-matched RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-modules RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-modules-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-64k-modules-extra RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-abi-stablelists RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-debug RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-debug-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-debug-devel RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-debug-devel-matched RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-debug-modules RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-debug-modules-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-debug-modules-extra RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-debug-uki-virt RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-debuginfo amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-debuginfo-common-aarch64 amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-debuginfo-common-x86_64 amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-devel RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-devel amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-devel-matched RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-doc RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-headers amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-libbpf amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-libbpf-devel amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-libbpf-static amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-livepatch-6.1.19-30.43 amzn 2023 | 1.0-0.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-modules RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-modules-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-modules-extra RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-debug RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-debug-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-debug-devel RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-debug-kvm RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-debug-modules RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-debug-modules-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-debug-modules-extra RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-devel RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-kvm RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-modules RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-modules-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-rt-modules-extra RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-tools RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-tools amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-tools-debuginfo amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-tools-devel amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | kernel-tools-libs RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-tools-libs-devel RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-uki-virt RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-uki-virt-addons RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-zfcpdump RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-zfcpdump-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-zfcpdump-devel RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-zfcpdump-devel-matched RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-zfcpdump-modules RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-zfcpdump-modules-core RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | kernel-zfcpdump-modules-extra RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | libperf RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | linux Debian 12.15 (bookworm) | 6.1.20-1 | [DEBIAN-CVE-2023-54198](https://patchblox.com/security/data/fix/linux/debian-cve-2023-54198.md) | Dec 30, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.1.20-1 | [DEBIAN-CVE-2023-54198](https://patchblox.com/security/data/fix/linux/debian-cve-2023-54198.md) | Dec 30, 2025 |
| Linux | linux Debian 14 | 6.1.20-1 | [DEBIAN-CVE-2023-54198](https://patchblox.com/security/data/fix/linux/debian-cve-2023-54198.md) | Dec 30, 2025 |
| Linux | perf RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | perf amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | perf-debuginfo amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | python3-perf RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | python3-perf amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | python3-perf-debuginfo amzn 2023 | 6.1.19-30.43.amzn2023 | [ALAS2023-2023-138](https://patchblox.com/security/data/fix/linux/alas2023-2023-138.md) | Mar 20, 2023 |
| Linux | rtla RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |
| Linux | rv RHEL 9 | 0:5.14.0-503.11.1.el9_5 | [RHSA-2024:9315](https://patchblox.com/security/data/fix/linux/rhsa-2024-9315.md) | Nov 12, 2024 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
