CVE-2022-49844
published high CVSS 3.1 · 7.1can: dev: fix skb drop check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa6d190f8c7670068d8c154ef8477eca07b5e3574 to < 386c49fe31ee748e053860b3bac7794a933ac9ac · a6d190f8c7670068d8c154ef8477eca07b5e3574 to < ae64438be1923e3c1102d90fd41db7afcfaf54cc · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.0.9 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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]
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:L - The bug is triggered by transmitting on virtual CAN interfaces (vcan/vxcan) via AF_CAN or packet sockets, which requires local system access rather than remote network or adjacent CAN-bus reachability. AC:L - An attacker who can send on a vcan/vxcan interface reliably hits the bad `priv->ctrlmode` read on every TX; no race or uncontrolled external condition is required. PR:L - An unprivileged user can create vcan in a user namespace (CAP_NET_ADMIN via userns) or send on an existing vcan with AF_CAN, which needs no elevated capability beyond a basic local account. UI:N - Exploitation requires only attacker-controlled socket sends on the virtual CAN device; no victim action is needed. S:U - Impact remains within the local kernel/host authority; this is not a VM escape, IOMMU bypass, or other cross-boundary breakout. C:H - The defect is a CWE-125 out-of-bounds/wrong-object read of kernel memory via a miscast `can_priv`; per kernel OOB-read guidance this is scored High when severity is uncertain. I:N - The bad access is read-only and only influences whether an skb is dropped; it provides no write primitive or control-flow hijack. A:H - When the misread bits look like CAN_CTRLMODE_LISTENONLY, TX frames on vcan/vxcan are dropped, enabling a complete DoS of that interface’s transmit path.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a6d190f8c7670068d8c154ef8477eca07b5e3574 to < 386c49fe31ee748e053860b3bac7794a933ac9ac (affected · git)a6d190f8c7670068d8c154ef8477eca07b5e3574 to < ae64438be1923e3c1102d90fd41db7afcfaf54cc (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.0 (affected)0 to < 6.0 (unaffected · semver)6.0.9 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
2Provider assertions
2Linux · cna
can: dev: fix skb drop check
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bbac37b1688df2a571cecdb6b788fcbdc12525a8c2a5a5cda35beb89d895b06a
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record