# CVE-2025-38262: tty: serial: uartlite: register uart driver in init

CVE-2025-38262 is fixed in 66 products on 1 platform, first by DEBIAN-CVE-2025-38262, released July 9, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-38262
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0019
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 9, 2025
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-38262

## Description

In the Linux kernel, the following vulnerability has been resolved:  tty: serial: uartlite: register uart driver in init  When two instances of uart devices are probing, a concurrency race can occur. If one thread calls uart_register_driver function, which first allocates and assigns memory to 'uart_state' member of uart_driver structure, the other instance can bypass uart driver registration and call ulite_assign. This calls uart_add_one_port, which expects the uart driver to be fully initialized. This leads to a kernel panic due to a null pointer dereference:  [    8.143581] BUG: kernel NULL pointer dereference, address: 00000000000002b8 [    8.156982] #PF: supervisor write access in kernel mode [    8.156984] #PF: error_code(0x0002) - not-present page [    8.156986] PGD 0 P4D 0 ... [    8.180668] RIP: 0010:mutex_lock+0x19/0x30 [    8.188624] Call Trace: [    8.188629]  ? __die_body.cold+0x1a/0x1f [    8.195260]  ? page_fault_oops+0x15c/0x290 [    8.209183]  ? __irq_resolve_mapping+0x47/0x80 [    8.209187]  ? exc_page_fault+0x64/0x140 [    8.209190]  ? asm_exc_page_fault+0x22/0x30 [    8.209196]  ? mutex_lock+0x19/0x30 [    8.223116]  uart_add_one_port+0x60/0x440 [    8.223122]  ? proc_tty_register_driver+0x43/0x50 [    8.223126]  ? tty_register_driver+0x1ca/0x1e0 [    8.246250]  ulite_probe+0x357/0x4b0 [uartlite]  To prevent it, move uart driver registration in to init function. This will ensure that uart_driver is always registered when probe function is called.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | bpftool-debuginfo amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | bpftool6.12 amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | bpftool6.12-debuginfo amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | dtb-aarch64 opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-64kb opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-64kb sles 16.0 | 6.12.0-160000.26.1 | [SUSE-SU-2026:20599-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20599-1.md) | Feb 27, 2026 |
| Linux | kernel-azure opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-azure sles 16.0 | 6.12.0-160000.26.1 | [SUSE-SU-2026:20599-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20599-1.md) | Feb 27, 2026 |
| Linux | kernel-debuginfo amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-debuginfo-common-aarch64 amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-debuginfo-common-x86_64 amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-default opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-default sles 16.0 | 6.12.0-160000.26.1 | [SUSE-SU-2026:20599-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20599-1.md) | Feb 27, 2026 |
| Linux | kernel-default-base opensuse-leap 16.0 | 6.12.0-160000.26.1.160000.2.7 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-default-base sles 16.0 | 6.12.0-160000.26.1.160000.2.7 | [SUSE-SU-2026:20599-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20599-1.md) | Feb 27, 2026 |
| Linux | kernel-devel amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-docs opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-docs sles 16.0 | 6.12.0-160000.26.1 | [SUSE-SU-2026:20599-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20599-1.md) | Feb 27, 2026 |
| Linux | kernel-headers amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-kvmsmall opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-kvmsmall sles 16.0 | 6.12.0-160000.26.1 | [SUSE-SU-2026:20599-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20599-1.md) | Feb 27, 2026 |
| Linux | kernel-libbpf amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-libbpf-debuginfo amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-libbpf-devel amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-libbpf-static amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-livepatch-6.1.144-170.251 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-livepatch-6.12.37-61.105 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel-modules-extra amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-modules-extra-common amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-obs-build opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-obs-qa opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-obs-qa sles 16.0 | 6.12.0-160000.26.1 | [SUSE-SU-2026:20599-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20599-1.md) | Feb 27, 2026 |
| Linux | kernel-rt opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-source opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-source sles 16.0 | 6.12.0-160000.26.1 | [SUSE-SU-2026:20599-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20599-1.md) | Feb 27, 2026 |
| Linux | kernel-syms opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-syms sles 16.0 | 6.12.0-160000.26.1 | [SUSE-SU-2026:20599-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20599-1.md) | Feb 27, 2026 |
| Linux | kernel-tools amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-tools-debuginfo amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-tools-devel amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | kernel-uek ol 8 | 0:5.4.17-2136.348.3.el7uek | [ELSA-2025-20663](https://patchblox.com/security/data/fix/linux/elsa-2025-20663.md) | Oct 11, 2025 |
| Linux | kernel-uek-container ol 8 | 0:5.4.17-2136.348.3.el7uek | [ELSA-2025-20663](https://patchblox.com/security/data/fix/linux/elsa-2025-20663.md) | Oct 11, 2025 |
| Linux | kernel-uek-container-debug ol 8 | 0:5.4.17-2136.348.3.el7uek | [ELSA-2025-20663](https://patchblox.com/security/data/fix/linux/elsa-2025-20663.md) | Oct 11, 2025 |
| Linux | kernel-uek-debug ol 8 | 0:5.4.17-2136.348.3.el7uek | [ELSA-2025-20663](https://patchblox.com/security/data/fix/linux/elsa-2025-20663.md) | Oct 11, 2025 |
| Linux | kernel-uek-debug-devel ol 8 | 0:5.4.17-2136.348.3.el7uek | [ELSA-2025-20663](https://patchblox.com/security/data/fix/linux/elsa-2025-20663.md) | Oct 11, 2025 |
| Linux | kernel-uek-devel ol 8 | 0:5.4.17-2136.348.3.el7uek | [ELSA-2025-20663](https://patchblox.com/security/data/fix/linux/elsa-2025-20663.md) | Oct 11, 2025 |
| Linux | kernel-uek-doc ol 8 | 0:5.4.17-2136.348.3.el7uek | [ELSA-2025-20663](https://patchblox.com/security/data/fix/linux/elsa-2025-20663.md) | Oct 11, 2025 |
| Linux | kernel-uek-tools ol 8 | 0:5.4.17-2136.348.3.el7uek | [ELSA-2025-20663](https://patchblox.com/security/data/fix/linux/elsa-2025-20663.md) | Oct 11, 2025 |
| Linux | kernel-zfcpdump opensuse-leap 16.0 | 6.12.0-160000.26.1 | [OPENSUSE-SU-2026:20287-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20287-1.md) | Feb 27, 2026 |
| Linux | kernel-zfcpdump sles 16.0 | 6.12.0-160000.26.1 | [SUSE-SU-2026:20599-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20599-1.md) | Feb 27, 2026 |
| Linux | kernel6.12 amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-debuginfo amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-debuginfo-common-aarch64 amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-debuginfo-common-x86_64 amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-devel amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-headers amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-libbpf amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-libbpf-debuginfo amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-libbpf-devel amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-libbpf-static amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-modules-extra amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-modules-extra-common amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-tools amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-tools-debuginfo amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | kernel6.12-tools-devel amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | linux Debian 12.15 (bookworm) | 6.1.147-1 | [DEBIAN-CVE-2025-38262](https://patchblox.com/security/data/fix/linux/debian-cve-2025-38262.md) | Jul 9, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.12.37-1 | [DEBIAN-CVE-2025-38262](https://patchblox.com/security/data/fix/linux/debian-cve-2025-38262.md) | Jul 9, 2025 |
| Linux | linux Debian 14 | 6.12.37-1 | [DEBIAN-CVE-2025-38262](https://patchblox.com/security/data/fix/linux/debian-cve-2025-38262.md) | Jul 9, 2025 |
| Linux | perf amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | perf-debuginfo amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | perf6.12 amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | perf6.12-debuginfo amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | python3-perf amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | python3-perf-debuginfo amzn 2023 | 1:6.1.144-170.251.amzn2023 | [ALAS2023-2025-1111](https://patchblox.com/security/data/fix/linux/alas2023-2025-1111.md) | Jul 21, 2025 |
| Linux | python3-perf6.12 amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |
| Linux | python3-perf6.12-debuginfo amzn 2023 | 1:6.12.37-61.105.amzn2023 | [ALAS2023-2025-1130](https://patchblox.com/security/data/fix/linux/alas2023-2025-1130.md) | Jul 29, 2025 |

---

Data as of 2026-11-08T06:59:42Z 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.
