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

published high CVSS 3.1 · 7.8

can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv

Published
22 May 2024, 06:23:21 UTC
Updated
05 Aug 2026, 08:47:56 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux9d71dd0c70099914fcd063135da3c580865e924c to < a0e47d2833b4f65e6c799f28c6b636d36b8b936d · 9d71dd0c70099914fcd063135da3c580865e924c to < 864e77771a24c877aaf53aee019f78619cbcd668 · 9d71dd0c70099914fcd063135da3c580865e924c to < 6e8811707e2df0c6ba920f0cad3a3bca7b42132f · 9d71dd0c70099914fcd063135da3c580865e924c to < d9d52a3ebd284882f5562c88e55991add5d01586 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.4 (affected) · 0 to < 5.4 (unaffected · semver) · 5.4.156 through 5.4.* (unaffected · semver) · 5.10.76 through 5.10.* (unaffected · semver) · 5.14.15 through 5.14.* (unaffected · semver) · 5.15 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 evaluationALAS2KERNEL-5.10-2024-049 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-099 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 9 bpftool Advisory build 7.3.0-427.28.1.el9_4 ALSA-2024:4928
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.3.0-427.28.1.el9_4 ELSA-2024-4928
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.0.0-284.75.1.el9_2 RHSA-2024:4823
AlmaLinux 9 kernel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 libperf Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 perf Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 rtla Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 rv Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.3.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 rvx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv It will trigger UAF for rx_kref of j1939_priv as following. cpu0 cpu1 j1939_sk_bind(socket0, ndev0, ...) j1939_netdev_start j1939_sk_bind(socket1, ndev0, ...) j1939_netdev_start j1939_priv_set j1939_priv_get_by_ndev_locked j1939_jsk_add ..... j1939_netdev_stop kref_put_lock(&priv->rx_kref, ...) kref_get(&priv->rx_kref, ...) REFCOUNT_WARN("addition on 0;...") ==================================================== refcount_t: addition on 0; use-after-free. WARNING: CPU: 1 PID: 20874 at lib/refcount.c:25 refcount_warn_saturate+0x169/0x1e0 RIP: 0010:refcount_warn_saturate+0x169/0x1e0 Call Trace: j1939_netdev_start+0x68b/0x920 j1939_sk_bind+0x426/0xeb0 ? security_socket_bind+0x83/0xb0 The rx_kref's kref_get() and kref_put() should use j1939_netdev_lock to protect.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

24

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached only through local syscalls (socket/bind/close) into j1939_sk_bind → j1939_netdev_start/stop; it is not triggered by receiving CAN/J1939 frames from the wire. AC:L - The race is fully attacker-controlled by opening multiple J1939 sockets and concurrently binding/closing them on the same CAN interface, as demonstrated by the syzbot threaded reproducers. PR:L - Creating and binding CAN_J1939 sockets requires no capabilities; an unprivileged user can reach the path on an existing UP CAN device or by creating vcan in a user/net namespace with namespaced CAP_NET_ADMIN. UI:N - Exploitation requires no victim action beyond the attacker’s own socket operations. S:U - This is a standard in-kernel memory-safety flaw affecting the host kernel authority, with no VM/IOMMU/sandbox boundary crossing. C:H - The vulnerability is a use-after-free on j1939_priv refcounting; UAF enables reclaim/spray of the freed object and arbitrary kernel memory disclosure. I:H - Use-after-free of j1939_priv state enables heap manipulation and write primitives sufficient for control-flow hijacking or arbitrary kernel writes. A:H - The UAF reliably produces refcount warnings and kernel oops/crash conditions even without full exploitation, denying availability.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 9d71dd0c70099914fcd063135da3c580865e924c to < a0e47d2833b4f65e6c799f28c6b636d36b8b936d (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < 864e77771a24c877aaf53aee019f78619cbcd668 (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < 6e8811707e2df0c6ba920f0cad3a3bca7b42132f (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < d9d52a3ebd284882f5562c88e55991add5d01586 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.4 (affected)0 to < 5.4 (unaffected · semver)5.4.156 through 5.4.* (unaffected · semver)5.10.76 through 5.10.* (unaffected · semver)5.14.15 through 5.14.* (unaffected · semver)5.15 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

3

Linux · cna

can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

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