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

published critical CVSS 3.1 · 9.8

can: j1939: fix Use-after-Free, hold skb ref while in use

Published
21 May 2024, 14:19:35 UTC
Updated
05 Aug 2026, 08:46:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux9d71dd0c70099914fcd063135da3c580865e924c to < 22cba878abf646cd3a02ee7c8c2cef7afe66a256 · 9d71dd0c70099914fcd063135da3c580865e924c to < 509ab6bfdd0c76daebbad0f0af07da712116de22 · 9d71dd0c70099914fcd063135da3c580865e924c to < 1071065eeb33d32b7d98c2ce7591881ae7381705 · 9d71dd0c70099914fcd063135da3c580865e924c to < 2030043e616cab40f510299f09b636285e0a3678 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.4 (affected) · 0 to < 5.4 (unaffected · semver) · 5.4.128 through 5.4.* (unaffected · semver) · 5.10.46 through 5.10.* (unaffected · semver) · 5.12.13 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
linux — linux_kernel9d71dd0c7009 to < 22cba878abf6 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernel9d71dd0c7009 to < 509ab6bfdd0c · 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_kernel9d71dd0c7009 to < 1071065eeb33 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernel9d71dd0c7009 to < 2030043e616c · Other versions: unknown Affected Not stated CISA-ADP
Show 6 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
linux — linux_kernel5.4.128 to < 5.5 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel 5.10.46 to < 5.11 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel5.12.13 to < 5.13 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel5.13 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel0 to < 5.4 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel5.4 · Other versions: unknown Affected Not stated CISA-ADP

Description

In the Linux kernel, the following vulnerability has been resolved: can: j1939: fix Use-after-Free, hold skb ref while in use This patch fixes a Use-after-Free found by the syzbot. The problem is that a skb is taken from the per-session skb queue, without incrementing the ref count. This leads to a Use-after-Free if the skb is taken concurrently from the session queue due to a CTS.

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
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The UAF is reached via can_rcv → j1939_can_recv → j1939_tp_recv when processing peer TP.CM_CTS/DAT frames; an unauthenticated J1939/CAN peer drives the race, consistent with other packet-triggered j1939 scores (e.g. CVE-2024-56645). AC:L - The attacker controls CTS injection timing against an active TP session and can retry indefinitely; when both sides of the race are attacker-driven (local sockets/vcan or crafted bus traffic), success does not depend on conditions outside attacker influence. PR:N - J1939 receive processing has no authentication; a bus peer needs no credentials on the target, and the same path is also reachable from an unprivileged AF_CAN/CAN_J1939 socket with no capability checks on create/bind/send. UI:N - Frames are handled in softirq with no victim action required beyond a bound J1939 socket, which is the normal steady state on systems using this stack. S:U - The corrupted sk_buff and resulting privilege impact remain within the kernel's security authority; this is not a VM escape, IOMMU bypass, or sandbox boundary crossing. C:H - Use-after-free of the session skb enables heap grooming and arbitrary read of freed object contents (including via continued use of the dangling skb pointer in TX/RX data paths). I:H - The same UAF yields a reclaimable freed sk_buff that can be sprayed for arbitrary write and control-flow hijacking primitives in the kernel heap. A:H - Dereferencing the freed skb causes kernel oops/panic, and an unauthenticated peer can trigger the race repeatedly to deny service.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.4 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 9d71dd0c70099914fcd063135da3c580865e924c to < 22cba878abf646cd3a02ee7c8c2cef7afe66a256 (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < 509ab6bfdd0c76daebbad0f0af07da712116de22 (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < 1071065eeb33d32b7d98c2ce7591881ae7381705 (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < 2030043e616cab40f510299f09b636285e0a3678 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.4 (affected)0 to < 5.4 (unaffected · semver)5.4.128 through 5.4.* (unaffected · semver)5.10.46 through 5.10.* (unaffected · semver)5.12.13 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
linux linux_kernel 9d71dd0c7009 to < 22cba878abf6 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 9d71dd0c7009 to < 509ab6bfdd0c (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 9d71dd0c7009 to < 1071065eeb33 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 9d71dd0c7009 to < 2030043e616c (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.4.128 to < 5.5 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.10.46 to < 5.11 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.12.13 to < 5.13 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.13 (unaffected)Default: unknown CISA-ADP · adp
linux linux_kernel 0 to < 5.4 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.4 (affected)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

4

Provider assertions

3

Linux · cna

can: j1939: fix Use-after-Free, hold skb ref while in use

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
c74bfba0401e1f488b1a788bc277264134ea35c7978bd78742615439a5630c52
Ingested
23 Sep 2026, 07:57:04 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