What’s Vulnerable › Vulnerabilities
CVE-2022-49844: can: dev: fix skb drop check
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-01 · updated 2026-06-17
- Weakness: CWE-125
Description
In the Linux kernel, the following vulnerability has been resolved: can: dev: fix skb drop check In commit a6d190f8c767 ("can: skb: drop tx skb if in listen only mode") the priv->ctrlmode element is read even on virtual CAN interfaces that do not create the struct can_priv at startup. This out-of-bounds read may lead to CAN frame drops for virtual CAN interfaces like vcan and vxcan. This patch mainly reverts the original commit and adds a new helper for CAN interface drivers that provide the required information in struct can_priv. [mkl: patch pch_can, too]
Affected products
- Linux kernel: from 6.0 before 6.0.9; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4 — fixed in 6.0.9
How to fix
Upgrade to a fixed version: Linux kernel 6.0.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/386c49fe31ee748e053860b3bac7794a933ac9ac
- https://git.kernel.org/stable/c/ae64438be1923e3c1102d90fd41db7afcfaf54cc
Get alerted when CVE-2022-49844 or the next vulnerability affects your stack