CVE-2026-139637: serial: sh-sci: Unregister UART on sysfs setup failure

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

sciprobesingle() registers the UART port before sciprobe() creates the RX FIFO tuning attributes. If either devicecreatefile() 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 Software

8 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.11.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  5. Compensating control

    In sci_probe(), if either device_create_file() call fails, remove the first sysfs attribute if the second creation failed, unregister the UART port, and then return the error.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:36 PM
Data Sourced
via MITRE·01:36 PM
Description
Data Sourced
via OSV·01:36 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

When can this issue be triggered?

It is triggered only when creation of one of the RX FIFO tuning sysfs attributes fails during sh-sci UART probe. The UART port has already been registered at that point, so the failure path can leave it registered after device-managed resources are released.

2

What is the practical impact of the flawed failure path?

A failed probe can leave a UART port registered with the serial core even though resources associated with the device have been released. The provided information does not specify a remote attack vector, privilege requirement, or exploitation outcome.

3

What should be done if the affected code cannot be updated immediately?

The provided fix changes the probe error handling to unregister the UART port when sysfs attribute creation fails, and to remove the first attribute if creation of the second fails. No workaround or configuration-based mitigation is provided.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203