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-47519

published high CVSS 3.1 · 7.5

can: m_can: m_can_read_fifo: fix memory leak in error branch

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

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe39381770ec9ca3c51d8b9bd9cc6e01d78ea974a to < 75a422165477dd12d2d20aa7c9ee7c9a281c9908 · e39381770ec9ca3c51d8b9bd9cc6e01d78ea974a to < 31cb32a590d62b18f69a9a6d433f4e69c74fdd56 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.8 through 5.15.* (unaffected · semver) · 5.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
linux — linux_kernele39381770ec9 to < 75a422165477 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernele39381770ec9 to < 31cb32a590d6 · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
linux — linux_kernel0 to < 5.15 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel5.15.8 to < 5.16 · Other versions: unknown Unaffected Not stated CISA-ADP
Show 2 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
linux — linux_kernel5.16 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel5.15 · Other versions: unknown Affected Not stated CISA-ADP

Description

In the Linux kernel, the following vulnerability has been resolved: can: m_can: m_can_read_fifo: fix memory leak in error branch In m_can_read_fifo(), if the second call to m_can_fifo_read() fails, the function jump to the out_fail label and returns without calling m_can_receive_skb(). This means that the skb previously allocated by alloc_can_skb() is not freed. In other terms, this is a memory leak. This patch adds a goto label to destroy the skb if an error occurs. Issue was found with GCC -fanalyzer, please follow the link below for details.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e39381770ec9ca3c51d8b9bd9cc6e01d78ea974a to < 75a422165477dd12d2d20aa7c9ee7c9a281c9908 (affected · git)e39381770ec9ca3c51d8b9bd9cc6e01d78ea974a to < 31cb32a590d62b18f69a9a6d433f4e69c74fdd56 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.8 through 5.15.* (unaffected · semver)5.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
linux linux_kernel e39381770ec9 to < 75a422165477 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel e39381770ec9 to < 31cb32a590d6 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 0 to < 5.15 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.15.8 to < 5.16 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.16 (unaffected)Default: unknown CISA-ADP · adp
linux linux_kernel 5.15 (affected)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime (CISA-ADP · adp)

References

2

Provider assertions

3

Linux · cna

can: m_can: m_can_read_fifo: fix memory leak in error branch

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
70d77a410d55a031723e95c07dbe8f15d346640018ae45b6199853025dbfa53d
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