AZL-117265: CVE-2026-139637 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the sh-sci probe sysfs-setup error paths, remove the first RX FIFO tuning attribute if creation of the second fails, then unregister the UART port before returning either sysfs creation error.
Event History
Frequently Asked Questions
Does this affect systems where the serial driver initializes successfully?
The successful initialization path is unchanged. The issue is limited to probe failures while creating the RX FIFO tuning sysfs attributes after the UART port has already been registered.
What state can be left behind when the failure occurs?
The UART port can remain registered with the serial core after device-managed resources have been released. If creation of the second attribute fails, the first attribute also needs removal before the UART is unregistered.