CVE-2024-50058
publishedserial: protect uart_port_dtr_rts() in uart_shutdown() too
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxaf224ca2df297440448b9d407d21b50982c6d532 to < 2fe399bb8efd0d325ab1138cf8e3ecf23a39e96d · af224ca2df297440448b9d407d21b50982c6d532 to < 399927f0f875b93f3d5a0336d382ba48b8671eb2 · af224ca2df297440448b9d407d21b50982c6d532 to < d7b5876a6e74cdf8468a478be6b23f2f5464ac7a · af224ca2df297440448b9d407d21b50982c6d532 to < e418d91195d29d5f9c9685ff309b92b04b41dc40 · af224ca2df297440448b9d407d21b50982c6d532 to < 76ed24a34223bb2c6b6162e1d8389ec4e602a290 · af224ca2df297440448b9d407d21b50982c6d532 to < 602babaa84d627923713acaf5f7e9a4369e77473 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.7 (affected) · 0 to < 4.7 (unaffected · semver) · 5.10.229 through 5.10.* (unaffected · semver) · 5.15.170 through 5.15.* (unaffected · semver) · 6.1.115 through 6.1.* (unaffected · semver) · 6.6.57 through 6.6.* (unaffected · semver) · 6.11.4 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-078 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-060 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux | Advisory build | 5.10.234-1 | DLA-4075-1 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.5.0-802.el9_6 | ELSA-2025-6966 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-794 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.5.0-802.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-coreaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-develaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-coreaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | libperfaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rtlaaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rtlax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rvaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rvx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | af224ca2df297440448b9d407d21b50982c6d532 to < 2fe399bb8efd0d325ab1138cf8e3ecf23a39e96d (affected · git)af224ca2df297440448b9d407d21b50982c6d532 to < 399927f0f875b93f3d5a0336d382ba48b8671eb2 (affected · git)af224ca2df297440448b9d407d21b50982c6d532 to < d7b5876a6e74cdf8468a478be6b23f2f5464ac7a (affected · git)af224ca2df297440448b9d407d21b50982c6d532 to < e418d91195d29d5f9c9685ff309b92b04b41dc40 (affected · git)af224ca2df297440448b9d407d21b50982c6d532 to < 76ed24a34223bb2c6b6162e1d8389ec4e602a290 (affected · git)af224ca2df297440448b9d407d21b50982c6d532 to < 602babaa84d627923713acaf5f7e9a4369e77473 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.7 (affected)0 to < 4.7 (unaffected · semver)5.10.229 through 5.10.* (unaffected · semver)5.15.170 through 5.15.* (unaffected · semver)6.1.115 through 6.1.* (unaffected · semver)6.6.57 through 6.6.* (unaffected · semver)6.11.4 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 to < V1.1.1 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
0No weakness assertions.
References
9- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://git.kernel.org/stable/c/2fe399bb8efd0d325ab1138cf8e3ecf23a39e96d
- https://git.kernel.org/stable/c/399927f0f875b93f3d5a0336d382ba48b8671eb2
- https://git.kernel.org/stable/c/602babaa84d627923713acaf5f7e9a4369e77473
- https://git.kernel.org/stable/c/76ed24a34223bb2c6b6162e1d8389ec4e602a290
- https://git.kernel.org/stable/c/d7b5876a6e74cdf8468a478be6b23f2f5464ac7a
- https://git.kernel.org/stable/c/e418d91195d29d5f9c9685ff309b92b04b41dc40
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Provider assertions
4Linux · cna
serial: protect uart_port_dtr_rts() in uart_shutdown() too
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ac1dabd40019770bfb72bd0041ca34fec4a2db76b944e8bd9c62c89587b245b4
- Ingested
- 15 Oct 2026, 13:09:23 UTC
- Source record
- Official CVE record