Files
vuln-cve/data/2022/49xxx/CVE-2022-49950.json
T

201 lines
10 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-49950",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-06-18T10:57:27.382Z",
"datePublished": "2025-06-18T11:00:13.985Z",
"dateUpdated": "2026-08-05T08:56:51.450Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:56:51.450Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: fix memory corruption on open\n\nThe probe session-duplication overflow check incremented the session\ncount also when there were no more available sessions so that memory\nbeyond the fixed-size slab-allocated session array could be corrupted in\nfastrpc_session_alloc() on open()."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - Triggered by opening the local miscdevice `/dev/fastrpc-*`, which calls fastrpc_device_open → fastrpc_session_alloc; not reachable via network packets or adjacent-link protocols.\nAC:L - Once sesscount is inflated past FASTRPC_MAX_SESSIONS (realistic on Qualcomm platforms such as SC8280XP with 14 CDSP context banks, or DTs using qcom,nsessions duplication), opening the device reliably drives the out-of-bounds session array walk with no attacker-uncontrollable race.\nPR:L - fastrpc_device_open has no capability check; on the primary deployments (Android/Qualcomm devices) non-root processes in the fastrpc/system groups can open the node and hit the vulnerable path.\nUI:N - Exploitation requires only that the attacker open the fastrpc device node; no separate victim action is needed.\nS:U - Corruption is confined to kernel memory in the same host OS authority (local privilege escalation), with no VM/IOMMU boundary crossed.\nC:H - Out-of-bounds reads of adjacent channel_ctx fields (lock/idr/list pointers) and heap corruption from an OOB write can be leveraged for arbitrary kernel memory disclosure.\nI:H - Out-of-bounds write into the spinlock, idr, and users list immediately following the session array enables classic kernel heap/list corruption primitives for arbitrary write and control-flow hijacking.\nA:H - Corrupting the channel spinlock, idr, or list_head reliably causes kernel oops/panic or hangs when those structures are subsequently used."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/misc/fastrpc.c"
],
"versions": [
{
"version": "f6f9279f2bf0e37e2f1fb119d8832b8568536a04",
"lessThan": "f8632b8bb53ebc005d8f24a68a0c1f9678c0e908",
"status": "affected",
"versionType": "git"
},
{
"version": "f6f9279f2bf0e37e2f1fb119d8832b8568536a04",
"lessThan": "5cf2a57c7a01a0d7bdecf875a63682f542891b1b",
"status": "affected",
"versionType": "git"
},
{
"version": "f6f9279f2bf0e37e2f1fb119d8832b8568536a04",
"lessThan": "cf20c3533efc89578ace94fa20a9e63446223c72",
"status": "affected",
"versionType": "git"
},
{
"version": "f6f9279f2bf0e37e2f1fb119d8832b8568536a04",
"lessThan": "e0578e603065f120a8759b75e0d6c216c7078a39",
"status": "affected",
"versionType": "git"
},
{
"version": "f6f9279f2bf0e37e2f1fb119d8832b8568536a04",
"lessThan": "d245f43aab2b61195d8ebb64cef7b5a08c590ab4",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/misc/fastrpc.c"
],
"versions": [
{
"version": "5.1",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.1",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.213",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.142",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.66",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.19.8",
"lessThanOrEqual": "5.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.0",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.1",
"versionEndExcluding": "5.4.213"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.1",
"versionEndExcluding": "5.10.142"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.1",
"versionEndExcluding": "5.15.66"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.1",
"versionEndExcluding": "5.19.8"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.1",
"versionEndExcluding": "6.0"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/f8632b8bb53ebc005d8f24a68a0c1f9678c0e908"
},
{
"url": "https://git.kernel.org/stable/c/5cf2a57c7a01a0d7bdecf875a63682f542891b1b"
},
{
"url": "https://git.kernel.org/stable/c/cf20c3533efc89578ace94fa20a9e63446223c72"
},
{
"url": "https://git.kernel.org/stable/c/e0578e603065f120a8759b75e0d6c216c7078a39"
},
{
"url": "https://git.kernel.org/stable/c/d245f43aab2b61195d8ebb64cef7b5a08c590ab4"
}
],
"title": "misc: fastrpc: fix memory corruption on open",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}