CVE-2026-23472: serial: core: fix infinite loop in handle_tx() for PORT_UNKNOWN
Vulnerability summary
CVE-2026-23472 is a medium (CVSS 5.5) Loop with Unreachable Exit Condition vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.8% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 5Timeline
- 03-04-2026PublishedVulnerability first disclosed.
- 05-11-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: serial: core: fix infinite loop in handle_tx() for PORT_UNKNOWN uart_write_room() and uart_write() behave inconsistently when xmit_buf is NULL (which happens for PORT_UNKNOWN ports that were never properly initialized): - uart_write_room() returns kfifo_avail() which can be > 0 - uart_write() checks xmit_buf and returns 0 if NULL This inconsistency causes an infinite loop in drivers that rely on tty_write_room() to determine if they can write: while (tty_write_room(tty) > 0) { written = tty->ops->write(...); // written is always 0, loop never exits } For example, caif_serial's handle_tx() enters an infinite loop when used with PORT_UNKNOWN serial ports, causing system hangs. Fix by making uart_write_room() also check xmit_buf and return 0 if it's NULL, consistent with uart_write(). Reproducer: https://gist.github.com/mrpre/d9a694cc0e19828ee3bc3b37983fde13
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.12% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu159 products
- linuxAll versions (No fix recorded) | < 6.8.0-151.151
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1070.76
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
- linux-aws-6.12All versions (No fix recorded)
- linux-azure-6.12All versions (No fix recorded)
- linux-gcp-6.12All versions (No fix recorded)
- linux-qemu-6.12All versions (No fix recorded)
- linux-vmware-6.12All versions (No fix recorded)
Debian2 products
- linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.115-2 | < 6.19.10-1
- linux-6.12< 6.12.115-2~deb12u1
Linux2 products
- linux≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 91c2a5d201daf66fa3f42b8a383bb89174bde2c8 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c9e845014723d552944cec4e146ec7b841cda34d | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d45cfa70bf0159afb31cb03d2d16ec5a5053460c | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < efe85a557186b7fe915572ae93a8f3f78bfd9a22 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bc70f2b36cf474d5cc8ecbcaf57f3e326fdec67c | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 455ce986fa356ff43a43c0d363ba95fa152f21d5 | 2.6.12
- linux_kernel≥ 2.6.12.1, < 6.18.20 | ≥ 6.19, < 6.19.10 | 2.6.12 | 2.6.12:rc2 | 2.6.12:rc3 | 2.6.12:rc4 | 2.6.12:rc5 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3 | 7.0:rc4
4 vendors · 168 products