Bug 2334796 (CVE-2024-56714) - CVE-2024-56714 kernel: ionic: no double destroy workqueue
Summary: CVE-2024-56714 kernel: ionic: no double destroy workqueue
Keywords:
Status: NEW
Alias: CVE-2024-56714
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-29 09:01 UTC by OSIDB Bzimport
Modified: 2025-03-04 07:50 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-29 09:01:38 UTC
In the Linux kernel, the following vulnerability has been resolved:

ionic: no double destroy workqueue

There are some FW error handling paths that can cause us to
try to destroy the workqueue more than once, so let's be sure
we're checking for that.

The case where this popped up was in an AER event where the
handlers got called in such a way that ionic_reset_prepare()
and thus ionic_dev_teardown() got called twice in a row.
The second time through the workqueue was already destroyed,
and destroy_workqueue() choked on the bad wq pointer.

We didn't hit this in AER handler testing before because at
that time we weren't using a private workqueue.  Later we
replaced the use of the system workqueue with our own private
workqueue but hadn't rerun the AER handler testing since then.

Comment 1 Avinash Hanwate 2024-12-29 10:10:01 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122914-CVE-2024-56714-0de2@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.