crypto: ccp - Fix possible deadlock in SEV init failure path
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix possible deadlock in SEV init failure path __sev_platform_init_handle_init_ex_path() calls rmp_mark_pages_firmware() with locked=false while the parent function of init_ex_path already acquired the sev_cmd_mutex. In the case of an RMPUPDATE failure for any page after the first, the cleanup path would invoke reclaim pages which would result in a deadlock in sev_do_cmd. Pass locked=true to honor the lock status of the parent function.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.111, 6.18.53, 7.2.6
- CVEs
- CVE-2026-98871
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:01 UTC · Revision 1
Source evidence
crypto: ccp - Fix possible deadlock in SEV init failure path
core-osv · Original sourcePublished 23 Oct 2026, 11:37 UTC
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix possible deadlock in SEV init failure path __sev_platform_init_handle_init_ex_path() calls rmp_mark_pages_firmware() with locked=false while the parent function of init_ex_path already acquired the sev_cmd_mutex. In the case of an RMPUPDATE failure for any page after the first, the cleanup path would invoke reclaim pages which would result in a deadlock in sev_do_cmd. Pass locked=true to honor the lock status of the parent function.
osv:CVE-2026-98871
Kernel
Fixed versions: 6.12.111, 6.18.53, 7.2.6
Complete source record
{
"id": "d445d2a12ac883446ff1b1f266e2617ac27be118a3879569d6b3a77a8f33c2b8",
"url": "https://osv.dev/vulnerability/CVE-2026-98871",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "crypto: ccp - Fix possible deadlock in SEV init failure path",
"summary": "In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix possible deadlock in SEV init failure path __sev_platform_init_handle_init_ex_path() calls rmp_mark_pages_firmware() with locked=false while the parent function of init_ex_path already acquired the sev_cmd_mutex. In the case of an RMPUPDATE failure for any page after the first, the cleanup path would invoke reclaim pages which would result in a deadlock in sev_do_cmd. Pass locked=true to honor the lock status of the parent function.",
"evidence": "osv:CVE-2026-98871",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.111",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.53",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98871",
"aliases": [
"CVE-2026-98871"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7364a6fbca45f826952ea932699fb2171d06ee73"
},
{
"fixed": "8e7e06ee7c2938ee3fa31a61cc5289a45c8c13f1"
},
{
"fixed": "ffd3a3df92be697eb78118a146c6a5d5e6c1f724"
},
{
"fixed": "364f3841bc22c72b6e2cb72a1e3c91c9c8fc1ef4"
},
{
"fixed": "b0e7ec0dab242c5e480121ba12400d0513e37ca2"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98871.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.0"
},
{
"fixed": "6.12.111"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.53"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98871.json"
}
}
],
"modified": "2026-10-28T02:30:26.942913567Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/364f3841bc22c72b6e2cb72a1e3c91c9c8fc1ef4",
"https://git.kernel.org/stable/c/8e7e06ee7c2938ee3fa31a61cc5289a45c8c13f1",
"https://git.kernel.org/stable/c/b0e7ec0dab242c5e480121ba12400d0513e37ca2",
"https://git.kernel.org/stable/c/ffd3a3df92be697eb78118a146c6a5d5e6c1f724",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98871.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98871",
"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/2026/98xxx/CVE-2026-98871.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98871",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 493576,
"published_at": "2026-10-23T11:37:09.369+00:00"
}