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

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:35.387Z
- Modified: 2026-12-01T06:17:47.100Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5d23188a473da0b2fe6849ccf03578eebfead30e before ea3964844d40b97d8947d39d52c83acaca8e6967; from 5d23188a473da0b2fe6849ccf03578eebfead30e before d45fdbc01e0541f4fb28c9644522b98a732e7c4f; from 5d23188a473da0b2fe6849ccf03578eebfead30e before 084c328f680811fe65d013d1b09d7f329e256fa4; from 5d23188a473da0b2fe6849ccf03578eebfead30e before c5b33c86d86da3ccff8c05e2a28719e3ec933f70; 4.11 (not affected: before 4.11; from 6.12.120 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/ea3964844d40b97d8947d39d52c83acaca8e6967>
- <https://git.kernel.org/stable/c/d45fdbc01e0541f4fb28c9644522b98a732e7c4f>
- <https://git.kernel.org/stable/c/084c328f680811fe65d013d1b09d7f329e256fa4>
- <https://git.kernel.org/stable/c/c5b33c86d86da3ccff8c05e2a28719e3ec933f70>

## Sources

- CVE List: [CVE-2026-139637](https://www.cve.org/CVERecord?id=CVE-2026-139637), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139637](https://nvd.nist.gov/vuln/detail/CVE-2026-139637), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139637 · Whole record: https://cve.day/CVE-2026-139637.json · Rebuilt by cve.day 2026-12-01T06:32:27.871Z
