[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024122914-CVE-2024-56714-0de2@gregkh>
Date: Sun, 29 Dec 2024 09:48:18 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-56714: ionic: no double destroy workqueue
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2024-56714 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit 9e25450da7006cd6f425248a5b38dad4adb3c981 and fixed in 6.12.7 with commit 13355dd37e22edbcb99c599f783233188740a650
Issue introduced in 6.11 with commit 9e25450da7006cd6f425248a5b38dad4adb3c981 and fixed in 6.13-rc4 with commit 746e6ae2e202b062b9deee7bd86d94937997ecd7
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2024-56714
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/pensando/ionic/ionic_dev.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/13355dd37e22edbcb99c599f783233188740a650
https://git.kernel.org/stable/c/746e6ae2e202b062b9deee7bd86d94937997ecd7
Powered by blists - more mailing lists