CVE-2026-90130: vdpa_sim: fix cleanup after worker creation failure

Published Sep 17, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

vdpasim: fix cleanup after worker creation failure

vdpasimcreate() leaves vdpasim->worker as an ERRPTR when kthreadrunworker() fails. The error path then drops the device reference, which releases the partially initialized simulator.

vdpasimfree() unconditionally passes the worker pointer to kthreaddestroyworker(), so the ERRPTR 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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:06 PM
Data Sourced
via MITRE·04:06 PM
Description

Frequently Asked Questions

1

What condition is required to trigger the fault?

Creation of a vDPA simulator must reach a failure of kthread_run_worker(). The vulnerable cleanup path then treats the returned error pointer as a valid worker and passes it to kthread_destroy_worker().

2

What is the likely impact if the vulnerable path is reached?

Dereferencing the error pointer during cleanup can trigger a general protection fault. The issue occurs while releasing a partially initialized simulator device after worker creation fails.

3

How does the fix change cleanup behavior?

The fix preserves the worker-creation error, clears the worker pointer, and destroys the worker only if initialization succeeded. It also guards virtqueue and IOTLB cleanup so release can safely handle partially initialized objects.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203