CVE-2021-47459
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47459 is a use-after-free vulnerability in the Linux kernel's CAN (Controller Area Network) J1939 protocol implementation. The vulnerability was discovered in the j1939_netdev_start() function where improper synchronization of rx_kref could lead to a use-after-free condition. This issue affects Linux kernel versions from 5.4 through 5.15-rc6 (NVD).

Technical details

The vulnerability occurs due to a race condition in the j1939_netdev_start() function where rx_kref's kref_get() and kref_put() operations are not properly protected by j1939_netdev_lock. This can lead to a use-after-free condition when multiple CPU cores simultaneously attempt to bind sockets to the same network device. The issue manifests when one CPU executes j1939_netdev_stop while another CPU attempts to access the reference counter, resulting in a REFCOUNT_WARN warning indicating addition on a zero reference count (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) (NVD).

Impact

The vulnerability could potentially lead to system crashes or memory corruption in systems utilizing the CAN J1939 protocol implementation. When exploited, it could result in denial of service conditions or potentially allow attackers to execute arbitrary code with kernel privileges (Red Hat).

Exploitability

The vulnerability requires local access and low privileges to exploit. It can be triggered through specific sequences of socket operations in the CAN J1939 subsystem. The issue has been confirmed to be exploitable through a proof-of-concept that demonstrates the race condition (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that properly protects rx_kref operations with j1939_netdev_lock. Users are advised to update their kernel to a version that includes the fix. The patch modifies the j1939_netdev_start() function to ensure proper synchronization of reference counting operations (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management