First published: Mon Oct 21 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: serial: protect uart_port_dtr_rts() in uart_shutdown() too Commit af224ca2df29 (serial: core: Prevent unsafe uart port access, part 3) added few uport == NULL checks. It added one to uart_shutdown(), so the commit assumes, uport can be NULL in there. But right after that protection, there is an unprotected "uart_port_dtr_rts(uport, false);" call. That is invoked only if HUPCL is set, so I assume that is the reason why we do not see lots of these reports. Or it cannot be NULL at this point at all for some reason :P. Until the above is investigated, stay on the safe side and move this dereference to the if too. I got this inconsistency from Coverity under CID 1585130. Thanks.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | <6.6.57 | |
Linux Kernel | >=6.7<6.11.4 | |
debian/linux | <=5.10.223-1<=5.10.226-1 | 6.1.123-1 6.1.128-1 6.12.12-1 6.12.15-1 |
debian/linux-6.1 | 6.1.119-1~deb11u1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-50058 has been classified as a moderate severity vulnerability in the Linux kernel.
CVE-2024-50058 affects Linux kernel versions earlier than 6.6.57 and those between 6.7 and 6.11.4.
To mitigate CVE-2024-50058, upgrade to Linux kernel versions 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.15-1, or use the exact remedy version as specified in the affected distribution.
Yes, CVE-2024-50058 addresses issues related to unsafe access to uart ports in the kernel.
The vulnerability was resolved by commit af224ca2df29, which added checks to prevent unsafe uart port access.