All reports
Medium

kernel: can: dev: fix skb drop check

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49844

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-24

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]

A flaw was found in the Linux kernel's Controller Area Network (CAN) subsystem. A local user can trigger a Denial of Service (DoS) by transmitting traffic across virtual CAN interfaces. Because the kernel performs an out-of-bounds memory read when checking transmission settings on interfaces that do not initialize private driver structures, legitimate network frames are mistakenly discarded.