VYPR
High severity7.1NVD Advisory· Published May 1, 2025· Updated Jun 17, 2026

CVE-2022-49844

CVE-2022-49844

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

8
  • Linux/Kernel7 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 6 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.0,<6.0.9
    • cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*
    • (no CPE)
    • (no CPE)range: 6.0
  • osv-coords
    Range: >= 6.0.0, < 6.0.9

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.