Linux Kernel up to 5.9.8 net/core/skbuff.c can_get_echo_skb reference count

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.6$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux Kernel up to 5.9.8 and classified as critical. Affected is the function can_get_echo_skb of the file net/core/skbuff.c. The manipulation results in reference count. This vulnerability was named CVE-2020-36789. There is no available exploit. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical has been found in Linux Kernel up to 5.9.8. Affected is the function can_get_echo_skb of the file net/core/skbuff.c. The manipulation with an unknown input leads to a reference count vulnerability. CWE is classifying the issue as CWE-911. The product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count. This is going to have an impact on availability. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: can: dev: can_get_echo_skb(): prevent call to kfree_skb() in hard IRQ context If a driver calls can_get_echo_skb() during a hardware IRQ (which is often, but not always, the case), the 'WARN_ON(in_irq)' in net/core/skbuff.c#skb_release_head_state() might be triggered, under network congestion circumstances, together with the potential risk of a NULL pointer dereference. The root cause of this issue is the call to kfree_skb() instead of dev_kfree_skb_irq() in net/core/dev.c#enqueue_to_backlog(). This patch prevents the skb to be freed within the call to netif_rx() by incrementing its reference count with skb_get(). The skb is finally freed by one of the in-irq-context safe functions: dev_consume_skb_any() or dev_kfree_skb_any(). The "any" version is used because some drivers might call can_get_echo_skb() in a normal context. The reason for this issue to occur is that initially, in the core network stack, loopback skb were not supposed to be received in hardware IRQ context. The CAN stack is an exeption. This bug was previously reported back in 2017 in [1] but the proposed patch never got accepted. While [1] directly modifies net/core/dev.c, we try to propose here a smoother modification local to CAN network stack (the assumption behind is that only CAN devices are affected by this issue). [1] http://lore.kernel.org/r/[email protected]

The advisory is shared for download at git.kernel.org. This vulnerability is traded as CVE-2020-36789 since 02/26/2024. The exploitability is told to be difficult. There are known technical details, but no exploit is available.

Upgrading to version 4.4.244, 4.9.244, 4.14.207, 4.19.158, 5.4.78 or 5.9.9 eliminates this vulnerability. Applying the patch 248b71ce92d4f3a574b2537f9838f48e892618f4/451187b20431924d13fcfecc500d7cd2d9951bac/3a922a85701939624484e7f2fd07d32beed00d25/7e4cf2ec0ca236c3e5f904239cec6efe1f3baf22/ab46748bf98864f9c3f5559060bf8caf9df2b41e/87530b557affe01c764de32dbeb58cdf47234574/2283f79b22684d2812e5c76fc2280aae00390365 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2025-0861). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Debian Linux
  • Google Cloud Platform
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • RESF Rocky Linux
  • Open Source Linux Kernel
  • SolarWinds Security Event Manager
  • Dell Secure Connect Gateway

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.8
VulDB Meta Temp Score: 4.6

VulDB Base Score: 4.8
VulDB Temp Score: 4.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Reference count
CWE: CWE-911 / CWE-664
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 4.4.244/4.9.244/4.14.207/4.19.158/5.4.78/5.9.9
Patch: 248b71ce92d4f3a574b2537f9838f48e892618f4/451187b20431924d13fcfecc500d7cd2d9951bac/3a922a85701939624484e7f2fd07d32beed00d25/7e4cf2ec0ca236c3e5f904239cec6efe1f3baf22/ab46748bf98864f9c3f5559060bf8caf9df2b41e/87530b557affe01c764de32dbeb58cdf47234574/2283f79b22684d2812e5c76fc2280aae00390365

Timelineinfo

02/26/2024 🔍
04/17/2025 +415 days 🔍
04/17/2025 +0 days 🔍
02/16/2026 +305 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2020-36789 (🔍)
GCVE (CVE): GCVE-0-2020-36789
GCVE (VulDB): GCVE-100-305568
CERT Bund: WID-SEC-2025-0861 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 04/17/2025 21:40
Updated: 02/16/2026 14:40
Changes: 04/17/2025 21:40 (59), 08/20/2025 10:30 (7), 09/10/2025 07:56 (1), 11/15/2025 15:10 (1), 02/16/2026 14:40 (1)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!