CVE-2022-49844 can: dev: fix skb drop check

High 7.1 Published Updated

An out-of-bounds read in the Linux kernel CAN subsystem causes frame drops on virtual interfaces, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-49844?

CVE-2022-49844 is a high-severity vulnerability in Linux kernel, published on 1 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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]

Weakness: CWE-125

Which versions are affected by CVE-2022-49844?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49844?

Apply the vendor's patch.

Is CVE-2022-49844 being exploited?

There is no known exploitation of CVE-2022-49844 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49844, GHSA-jjg4-p57c-87j3, UBUNTU-CVE-2022-49844.

Is CVE-2022-49844 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free