Menu

Star on GitHub · 3.4k

CVE-2021-4454

7.5 · HIGH

In the Linux kernel, the following vulnerability has been resolved: can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate The conclusion "j1939_session_deactivate() should be called wit…

Published Mar 27, 2025EPSS 0.59%

Overview

CVE-2021-4454 is a high-severity vulnerability. It was published on March 27, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate

The conclusion "j1939_session_deactivate() should be called with a

session ref-count of at least 2" is incorrect. In some concurrent

scenarios, j1939_session_deactivate can be called with the session

ref-count less than 2. But there is not any problem because it

will check the session active state before session putting in

j1939_session_deactivate_locked().

Here is the concurrent scenario of the problem reported by syzbot

and my reproduction log.

cpu0 cpu1

j1939_xtp_rx_eoma

j1939_xtp_rx_abort_one

j1939_session_get_by_addr [kref == 2]

j1939_session_get_by_addr [kref == 3]

j1939_session_deactivate [kref == 2]

j1939_session_put [kref == 1]

j1939_session_completed

j1939_session_deactivate

WARN_ON_ONCE(kref < 2)

===================================

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-4454?

CVE-2021-4454 is a high-severity vulnerability. It was published on March 27, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2021-4454?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-4454?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-4454?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-4454 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2021

View all
LiveWatch live →