CVE-2022-49844: can: dev: fix skb drop check
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 canpriv 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 canpriv.
[mkl: patch pchcan, too]
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.0.10-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch a6d190f8c767
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49844?
CVE-2022-49844 has been assigned a severity level based on its impact on system stability and potential for exploitation.
How do I fix CVE-2022-49844?
To mitigate CVE-2022-49844, update your Linux kernel to the latest patched version as recommended by your distribution.
Which versions are affected by CVE-2022-49844?
CVE-2022-49844 affects the Linux kernel versions 6.0 through 6.0.9 and the 6.1 release candidates up to 6.1-rc4.
What type of vulnerability is CVE-2022-49844?
CVE-2022-49844 is a vulnerability within the Linux kernel related to CAN networking functionality.
Is CVE-2022-49844 specific to certain Linux distributions?
CVE-2022-49844 can impact any Linux distribution using the affected kernel versions, not just specific distributions.