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 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]
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.0.9
- CVEs
- CVE-2022-49844
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 06:54 UTC · Revision 1
Source evidence
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]
osv:CVE-2022-49844
Kernel
Fixed versions: 6.0.9
Complete source record
{
"id": "44f8546daf8f76a0032ba69bf00abf2054573f52a542bd5eb1372bc2108fc2fb",
"url": "https://osv.dev/vulnerability/CVE-2022-49844",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "can: dev: fix skb drop check",
"summary": "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]",
"evidence": "osv:CVE-2022-49844",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.0.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2022-49844",
"aliases": [
"CVE-2022-49844"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "a6d190f8c7670068d8c154ef8477eca07b5e3574"
},
{
"fixed": "386c49fe31ee748e053860b3bac7794a933ac9ac"
},
{
"fixed": "ae64438be1923e3c1102d90fd41db7afcfaf54cc"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49844.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49844.json"
}
}
],
"modified": "2026-10-28T02:30:26.895531910Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/386c49fe31ee748e053860b3bac7794a933ac9ac",
"https://git.kernel.org/stable/c/ae64438be1923e3c1102d90fd41db7afcfaf54cc",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49844.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-49844",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49844.json"
}
},
"related_cves": [
{
"value": "CVE-2022-49844",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493176,
"published_at": "2025-05-01T14:09:58.999+00:00"
}