CVE-2024-53064

idpf: fix idpf_vc_core_init error path

Medium · published November 19, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
9.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00201 · 9.5th percentile
Published
2024-11-19T17:22Z
EPSS history
Timeline
  • 19 NOV 17:22Z
    idpf: fix idpf_vc_core_init error path
    cvelistv5