Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.0CVE-2026-139637

serial: sh-sci: Unregister UART on sysfs setup failure

Published 30/11/2026 · Updated 01/12/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: serial: sh-sci: Unregister UART on sysfs setup failure sci_probe_single() registers the UART port before sci_probe() creates the RX FIFO tuning attributes. If either device_create_file() call fails, probe returns an error without removing the port from the serial core. Device-managed resources are then released while the port remains registered. Unregister the UART port before returning either sysfs creation error. If the second attribute fails, remove the first attribute before unregistering the port. Keep the existing probe failure policy and leave the successful initialization path unchanged. This issue was identified during our ongoing static-analysis research while reviewing kernel code.

Affected products and versions

Linux Linux5d23188a473da0b2fe6849ccf03578eebfead30e – < ea3964844d40b97d8947d39d52c83acaca8e6967 · 5d23188a473da0b2fe6849ccf03578eebfead30e – < d45fdbc01e0541f4fb28c9644522b98a732e7c4f · 5d23188a473da0b2fe6849ccf03578eebfead30e – < 084c328f680811fe65d013d1b09d7f329e256fa4 · 5d23188a473da0b2fe6849ccf03578eebfead30e – < c5b33c86d86da3ccff8c05e2a28719e3ec933f70Fixed in: ea3964844d40b97d8947d39d52c83acaca8e6967 · d45fdbc01e0541f4fb28c9644522b98a732e7c4f · 084c328f680811fe65d013d1b09d7f329e256fa4 · c5b33c86d86da3ccff8c05e2a28719e3ec933f70
Linux Linux4.11Fixed in: 6.12.120 · 6.18.65 · 7.3.6 · 7.4-rc1

CVSS vector, explained

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
High
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.