CVE-2023-53994: ionic: remove WARN_ON to prevent panic_on_warn
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ionic: remove WARN_ON to prevent panic_on_warn
Remove unnecessary early code development check and the WARN_ON that it uses. The irq alloc and free paths have long been cleaned up and this check shouldn't have stuck around so long.
The Linux kernel CVE team has assigned CVE-2023-53994 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.4 with commit 77ceb68e29ccd25d923b6af59e74ecaf736cc4b7 and fixed in 5.4.251 with commit 4c7276a6daf7e13a6dd30b0347b3f2c7df4d40bb Issue introduced in 5.4 with commit 77ceb68e29ccd25d923b6af59e74ecaf736cc4b7 and fixed in 5.10.188 with commit f8cc4fd99a325505e15c3da95d6de266efd3d9b5 Issue introduced in 5.4 with commit 77ceb68e29ccd25d923b6af59e74ecaf736cc4b7 and fixed in 5.15.121 with commit 1417dd787a5e55b410a00a28231b0dcb19172457 Issue introduced in 5.4 with commit 77ceb68e29ccd25d923b6af59e74ecaf736cc4b7 and fixed in 6.1.40 with commit dc470466753ad0dd3a8c48aaefa05a992c119b9c Issue introduced in 5.4 with commit 77ceb68e29ccd25d923b6af59e74ecaf736cc4b7 and fixed in 6.4.5 with commit daeaad114cb163ec51bcf14326cb7fe37d368459 Issue introduced in 5.4 with commit 77ceb68e29ccd25d923b6af59e74ecaf736cc4b7 and fixed in 6.5 with commit abfb2a58a5377ebab717d4362d6180f901b6e5c1
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-2023-53994
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_lif.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/4c7276a6daf7e13a6dd30b0347b3f2c7df4d40bb https://git.kernel.org/stable/c/f8cc4fd99a325505e15c3da95d6de266efd3d9b5 https://git.kernel.org/stable/c/1417dd787a5e55b410a00a28231b0dcb19172457 https://git.kernel.org/stable/c/dc470466753ad0dd3a8c48aaefa05a992c119b9c https://git.kernel.org/stable/c/daeaad114cb163ec51bcf14326cb7fe37d368459 https://git.kernel.org/stable/c/abfb2a58a5377ebab717d4362d6180f901b6e5c1