serial: sh-sci: Unregister UART on sysfs setup failure
Summary
| CVE | CVE-2026-139637 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:46 UTC |
| Updated | 2026-11-30 14:19:46 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 5d23188a473da0b2fe6849ccf03578eebfead30e ea3964844d40b97d8947d39d52c83acaca8e6967 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5d23188a473da0b2fe6849ccf03578eebfead30e d45fdbc01e0541f4fb28c9644522b98a732e7c4f git |
Not specified |
| CNA |
Linux |
Linux |
affected 5d23188a473da0b2fe6849ccf03578eebfead30e 084c328f680811fe65d013d1b09d7f329e256fa4 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5d23188a473da0b2fe6849ccf03578eebfead30e c5b33c86d86da3ccff8c05e2a28719e3ec933f70 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.11 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.11 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.120 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/d45fdbc01e0541f4fb28c9644522b98a732e7c4f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/c5b33c86d86da3ccff8c05e2a28719e3ec933f70 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/ea3964844d40b97d8947d39d52c83acaca8e6967 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/084c328f680811fe65d013d1b09d7f329e256fa4 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.