Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-47527

published

serial: core: fix transmit-buffer reset and memleak

Published
24 May 2024, 15:09:38 UTC
Updated
11 May 2026, 13:56:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux761ed4a94582ab291aa24dcbea4e01e8936488c8 to < 011f6c92b5bf6e1fbfdedc8b5232f64c1c493206 · 761ed4a94582ab291aa24dcbea4e01e8936488c8 to < e74d9663fd57640fc3394abb5c76fa95b9cc2f2e · 761ed4a94582ab291aa24dcbea4e01e8936488c8 to < 1179b168fa3f3a6aae3bd140000455a0e58457db · 761ed4a94582ab291aa24dcbea4e01e8936488c8 to < c5da8aa441053958594f94254592bb41264bdfbf · 761ed4a94582ab291aa24dcbea4e01e8936488c8 to < e1722acf4f0d4d67b60f57e08ce16f8b66cd4b8f · 761ed4a94582ab291aa24dcbea4e01e8936488c8 to < 64e491c1634b73d3bddc081d08620bdc92ab2c12 · 761ed4a94582ab291aa24dcbea4e01e8936488c8 to < 00de977f9e0aa9760d9a79d1e41ff780f74e3424 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.9 (affected) · 0 to < 4.9 (unaffected · semver) · 4.9.292 through 4.9.* (unaffected · semver) · 4.14.257 through 4.14.* (unaffected · semver) · 4.19.220 through 4.19.* (unaffected · semver) · 5.4.164 through 5.4.* (unaffected · semver) · 5.10.84 through 5.10.* (unaffected · semver) · 5.15.7 through 5.15.* (unaffected · semver) · 5.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2-2022-1749 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-009 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-021 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
AlmaLinux 8 kernel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000

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: core: fix transmit-buffer reset and memleak Commit 761ed4a94582 ("tty: serial_core: convert uart_close to use tty_port_close") converted serial core to use tty_port_close() but failed to notice that the transmit buffer still needs to be freed on final close. Not freeing the transmit buffer means that the buffer is no longer cleared on next open so that any ioctl() waiting for the buffer to drain might wait indefinitely (e.g. on termios changes) or that stale data can end up being transmitted in case tx is restarted. Furthermore, the buffer of any port that has been opened would leak on driver unbind. Note that the port lock is held when clearing the buffer pointer due to the ldisc race worked around by commit a5ba1d95e46e ("uart: fix race between uart_put_char() and uart_shutdown()"). Also note that the tty-port shutdown() callback is not called for console ports so it is not strictly necessary to free the buffer page after releasing the lock (cf. d72402145ace ("tty/serial: do not free trasnmit buffer page under port lock")).

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

11

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.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 761ed4a94582ab291aa24dcbea4e01e8936488c8 to < 011f6c92b5bf6e1fbfdedc8b5232f64c1c493206 (affected · git)761ed4a94582ab291aa24dcbea4e01e8936488c8 to < e74d9663fd57640fc3394abb5c76fa95b9cc2f2e (affected · git)761ed4a94582ab291aa24dcbea4e01e8936488c8 to < 1179b168fa3f3a6aae3bd140000455a0e58457db (affected · git)761ed4a94582ab291aa24dcbea4e01e8936488c8 to < c5da8aa441053958594f94254592bb41264bdfbf (affected · git)761ed4a94582ab291aa24dcbea4e01e8936488c8 to < e1722acf4f0d4d67b60f57e08ce16f8b66cd4b8f (affected · git)761ed4a94582ab291aa24dcbea4e01e8936488c8 to < 64e491c1634b73d3bddc081d08620bdc92ab2c12 (affected · git)761ed4a94582ab291aa24dcbea4e01e8936488c8 to < 00de977f9e0aa9760d9a79d1e41ff780f74e3424 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.9 (affected)0 to < 4.9 (unaffected · semver)4.9.292 through 4.9.* (unaffected · semver)4.14.257 through 4.14.* (unaffected · semver)4.19.220 through 4.19.* (unaffected · semver)5.4.164 through 5.4.* (unaffected · semver)5.10.84 through 5.10.* (unaffected · semver)5.15.7 through 5.15.* (unaffected · semver)5.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

3

Linux · cna

serial: core: fix transmit-buffer reset and memleak

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
bb832423d34341603a9bc219a5d14c3c496cd3c0c5350907ff51ef6d675b2b64
Ingested
23 Sep 2026, 07:57:11 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected