CVE-2026-90130
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: vdpa_sim: fix cleanup after worker creation failure vdpasim_create() leaves vdpasim->worker as an ERR_PTR when kthread_run_worker() fails. The error path then drops the device reference, which releases the partially initialized simulator. vdpasim_free() unconditionally passes the worker pointer to kthread_destroy_worker(), so the ERR_PTR is dereferenced and can trigger a general protection fault. Store the worker error, clear the pointer, and only clean up the worker when it was successfully initialized. Also make the release path tolerate partially initialized objects by guarding virtqueue and IOTLB cleanup, since the same release path can be reached from other initialization failures. I found this bug myself, though the patch was written with AI assistance.
View original CVE JSON
{
"id": "CVE-2026-90130",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-17T17:17:05.493",
"lastModified": "2026-10-19T09:19:02.703",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvdpa_sim: fix cleanup after worker creation failure\n\nvdpasim_create() leaves vdpasim->worker as an ERR_PTR when\nkthread_run_worker() fails. The error path then drops the device\nreference, which releases the partially initialized simulator.\n\nvdpasim_free() unconditionally passes the worker pointer to\nkthread_destroy_worker(), so the ERR_PTR is dereferenced and can trigger\na general protection fault.\n\nStore the worker error, clear the pointer, and only clean up the worker\nwhen it was successfully initialized. Also make the release path tolerate\npartially initialized objects by guarding virtqueue and IOTLB cleanup,\nsince the same release path can be reached from other initialization\nfailures.\n\nI found this bug myself, though the patch was written with AI assistance."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/vdpa/vdpa_sim/vdpa_sim.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "76acfa7bc54f1e3b9dde396e0a3534493419fd6f",
"lessThan": "feafa109f031ed111f7f968e447c13985db498e0",
"versionType": "git",
"status": "affected"
},
{
"version": "76acfa7bc54f1e3b9dde396e0a3534493419fd6f",
"lessThan": "05ddc94afb69e36df59e88cfa9e5c7bf9d10cfd0",
"versionType": "git",
"status": "affected"
},
{
"version": "76acfa7bc54f1e3b9dde396e0a3534493419fd6f",
"lessThan": "68b726b3a01fb02a68843781b17d05ef3d759987",
"versionType": "git",
"status": "affected"
},
{
"version": "76acfa7bc54f1e3b9dde396e0a3534493419fd6f",
"lessThan": "ca6f3fa599cb764518df595368b743f856fdb516",
"versionType": "git",
"status": "affected"
},
{
"version": "76acfa7bc54f1e3b9dde396e0a3534493419fd6f",
"lessThan": "bd670e5dfd2b01fd9692f61fa1456434c54026a4",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/vdpa/vdpa_sim/vdpa_sim.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6.4",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.4",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.157",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.110",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.52",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.6",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/05ddc94afb69e36df59e88cfa9e5c7bf9d10cfd0",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/68b726b3a01fb02a68843781b17d05ef3d759987",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/bd670e5dfd2b01fd9692f61fa1456434c54026a4",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ca6f3fa599cb764518df595368b743f856fdb516",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/feafa109f031ed111f7f968e447c13985db498e0",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}