CVE-2022-49844

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
01/05/2025
Last modified:
01/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> can: dev: fix skb drop check<br /> <br /> In commit a6d190f8c767 ("can: skb: drop tx skb if in listen only<br /> mode") the priv-&gt;ctrlmode element is read even on virtual CAN<br /> interfaces that do not create the struct can_priv at startup. This<br /> out-of-bounds read may lead to CAN frame drops for virtual CAN<br /> interfaces like vcan and vxcan.<br /> <br /> This patch mainly reverts the original commit and adds a new helper<br /> for CAN interface drivers that provide the required information in<br /> struct can_priv.<br /> <br /> [mkl: patch pch_can, too]

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.0 (including) 6.0.9 (excluding)
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:*:*:*:*:*:*