Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: idpf: fix idpf_vc_core_init error path In an event where the platform running the device control plane is rebooted, reset is detected on the driver. It releases all the resources and waits for the reset to complete. Once the reset is done, it tries to build the resources back. At this time if the device control plane is not yet started, then the driver timeouts on the virtchnl message and retries to establish the mailbox again. In the retry flow, mailbox is deinitialized but the mailbox workqueue is still alive and polling for the mailbox message. This results in accessing the released control queue leading to null-ptr-deref. Fix it by unrolling the work queue cancellation and mailbox deinitialization in the reverse order which they got initialized.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4930fbf419a72d7477426fd883bfc37e20a61a6e before 683fcd90ba22507ebeb1921a26dfe77efff8c266; affected 4930fbf419a72d7477426fd883bfc37e20a61a6e before 9b58031ff96b84a38d7b73b23c7ecfb2e0557f43 |
| Linux / Linux | affected 6.7; unaffected 0 before 6.7; unaffected 6.11.8 through 6.11.*; unaffected 6.12 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/683fcd90ba22507ebeb1921a26dfe77efff8c266
- https://git.kernel.org/stable/c/9b58031ff96b84a38d7b73b23c7ecfb2e0557f43
ADP enrichment
No English description supplied.
No references supplied.