CVE-2020-36789: can: dev: can_get_echo_skb(): prevent call to kfree_skb() in hard IRQ context
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.19% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 2283f79b22684d2812e5c76fc2280aae00390365, 248b71ce92d4f3a574b2537f9838f48e892618f4, 3a922a85701939624484e7f2fd07d32beed00d25.
Low priority for now. Upgrade to Linux Linux 2283f79b22684d2812e5c76fc2280aae00390365, 248b71ce92d4f3a574b2537f9838f48e892618f4, 3a922a85701939624484e7f2fd07d32beed00d25 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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/57a3ffb6-3309-3ad5-5a34-e93c3fe3614d@cetitec.com
- Published
- Apr 17, 2025
- Updated
- Jun 16, 2026
- EPSS
- 0.1% · 9th percentile
- CWE
- CWE-476
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.31affected
- 39549eef3587f1c1e8c65c88a2400d10fd30ea17 and later · before 248b71ce92d4f3a574b2537f9838f48e892618f4affected · git
- 39549eef3587f1c1e8c65c88a2400d10fd30ea17 and later · before 451187b20431924d13fcfecc500d7cd2d9951bacaffected · git
- 39549eef3587f1c1e8c65c88a2400d10fd30ea17 and later · before 3a922a85701939624484e7f2fd07d32beed00d25affected · git
- 39549eef3587f1c1e8c65c88a2400d10fd30ea17 and later · before 7e4cf2ec0ca236c3e5f904239cec6efe1f3baf22affected · git
- 39549eef3587f1c1e8c65c88a2400d10fd30ea17 and later · before ab46748bf98864f9c3f5559060bf8caf9df2b41eaffected · git
- 39549eef3587f1c1e8c65c88a2400d10fd30ea17 and later · before 87530b557affe01c764de32dbeb58cdf47234574affected · git
- 39549eef3587f1c1e8c65c88a2400d10fd30ea17 and later · before 2283f79b22684d2812e5c76fc2280aae00390365affected · git
- before 2.6.31not affected · semver
- 4.4.244 and later · up to and including 4.4.*not affected · semver
Affected versions · NVD (7)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel2.6.31 and later · before 4.4.244
- linux linux kernel4.5 and later · before 4.9.244
- linux linux kernel4.10 and later · before 4.14.207
- linux linux kernel4.15 and later · before 4.19.158
- linux linux kernel4.20 and later · before 5.4.78
- linux linux kernel5.5 and later · before 5.9.9
- linux linux kernel5.10
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 5.9.9-1 | 5.9.9-1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-64kb | before 5.3.18-150300.59.204.1 | 5.3.18-150300.59.204.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-default-base | before 5.3.18-150300.59.204.1.150300.18.122.1 | 5.3.18-150300.59.204.1.150300.18.122.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-docs | before 5.3.18-150300.59.204.1 | 5.3.18-150300.59.204.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-obs-build | before 5.3.18-150300.59.204.1 | 5.3.18-150300.59.204.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-preempt | before 5.3.18-150300.59.204.1 | 5.3.18-150300.59.204.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-source | before 5.3.18-150300.59.204.1 | 5.3.18-150300.59.204.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-syms | before 5.3.18-150300.59.204.1 | 5.3.18-150300.59.204.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kernel-default | before 4.12.14-122.258.1 | 4.12.14-122.258.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_68 | before 1-8.3.1 | 1-8.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-default | before 5.3.18-150300.59.204.1 | 5.3.18-150300.59.204.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_57 | before 1-150300.7.3.1 | 1-150300.7.3.1 |
| SUSE:Linux Enterprise Micro 5.1 | kernel-rt | before 5.3.18-150300.208.1 | 5.3.18-150300.208.1 |
| SUSE:Linux Enterprise Micro 5.1 | kernel-source-rt | before 5.3.18-150300.208.1 | 5.3.18-150300.208.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | kernel-source | before 4.12.14-122.258.1 | 4.12.14-122.258.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | kernel-syms | before 4.12.14-122.258.1 | 4.12.14-122.258.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | kernel-zfcpdump | before 5.3.18-150300.59.204.1 | 5.3.18-150300.59.204.1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2025-23138Apr 16, 2025 · watch_queue: fix pipe accounting mismatch22Monitor
- ← EarlierCVE-2025-2073Apr 16, 2025 · Out-of-Bounds Read in netfilter/ipset in Linux Kernel ChromeOS [6.1, 5.15, 5.10, 5.4, 4.19] allows a local attacker with low privileges to…35Monitor
- Later →CVE-2021-47668Apr 17, 2025 · can: dev: can_restart: fix use after free bug35Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 2283f79b22684d2812e5c76fc2280aae00390365 | Vendor (CNA) |
| Linux Linux | 248b71ce92d4f3a574b2537f9838f48e892618f4 | Vendor (CNA) |
| Linux Linux | 3a922a85701939624484e7f2fd07d32beed00d25 | Vendor (CNA) |
| Linux Linux | 451187b20431924d13fcfecc500d7cd2d9951bac | Vendor (CNA) |
| Linux Linux | 7e4cf2ec0ca236c3e5f904239cec6efe1f3baf22 | Vendor (CNA) |
| Linux Linux | 87530b557affe01c764de32dbeb58cdf47234574 | Vendor (CNA) |
| Linux Linux | ab46748bf98864f9c3f5559060bf8caf9df2b41e | Vendor (CNA) |
| debian:linux | 5.9.9-1 · Debian:12 | Package registry (OSV) |
| suse:kernel-64kb | 5.3.18-150300.59.204.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-default | 4.12.14-122.258.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Package registry (OSV) |
| suse:kernel-default-base | 5.3.18-150300.59.204.1.150300.18.122.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-docs | 5.3.18-150300.59.204.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP3_Update_57 | 1-150300.7.3.1 · SUSE:Linux Enterprise Live Patching 15 SP3 | Package registry (OSV) |
| suse:kernel-obs-build | 5.3.18-150300.59.204.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-preempt | 5.3.18-150300.59.204.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-rt | 5.3.18-150300.208.1 · SUSE:Linux Enterprise Micro 5.1 | Package registry (OSV) |
| suse:kernel-source | 4.12.14-122.258.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Package registry (OSV) |
| suse:kernel-syms | 4.12.14-122.258.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Package registry (OSV) |
| suse:kernel-zfcpdump | 5.3.18-150300.59.204.1 · SUSE:Linux Enterprise Server 15 SP3-LTSS | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP5_Update_68 | 1-8.3.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- git.kernel.org/stable/c/248b71ce92d4f3a574b2537f9838f48e892618f4
- git.kernel.org/stable/c/3a922a85701939624484e7f2fd07d32beed00d25
- git.kernel.org/stable/c/451187b20431924d13fcfecc500d7cd2d9951bac
- git.kernel.org/stable/c/7e4cf2ec0ca236c3e5f904239cec6efe1f3baf22
- git.kernel.org/stable/c/87530b557affe01c764de32dbeb58cdf47234574
- git.kernel.org/stable/c/ab46748bf98864f9c3f5559060bf8caf9df2b41e
Vendor advisories and official records. Exploit/PoC links are deliberately left out.