CVE-2026-31506: net: bcmasp: fix double free of WoL irq
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: bcmasp: fix double free of WoL irq
We do not need to free wol_irq since it was instantiated with devm_request_irq(). So devres will free for us.
The Linux kernel CVE team has assigned CVE-2026-31506 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6 with commit a2f0751206b03374f6d02f89c18a60f1bb238fea and fixed in 6.12.80 with commit 121a6ad9cd42ba3bfc57deae93e3326515c2afe1 Issue introduced in 6.6 with commit a2f0751206b03374f6d02f89c18a60f1bb238fea and fixed in 6.18.21 with commit 9e5f5c07cc7d66522f8c9676c28605eba5d4a20e Issue introduced in 6.6 with commit a2f0751206b03374f6d02f89c18a60f1bb238fea and fixed in 6.19.11 with commit 8a30509ce6a29bdf18e0802383c524a7b2357ec0 Issue introduced in 6.6 with commit a2f0751206b03374f6d02f89c18a60f1bb238fea and fixed in 7.0 with commit cbfa5be2bf64511d49b854a0f9fd6d0b5118621f
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-2026-31506
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/broadcom/asp2/bcmasp.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/121a6ad9cd42ba3bfc57deae93e3326515c2afe1 https://git.kernel.org/stable/c/9e5f5c07cc7d66522f8c9676c28605eba5d4a20e https://git.kernel.org/stable/c/8a30509ce6a29bdf18e0802383c524a7b2357ec0 https://git.kernel.org/stable/c/cbfa5be2bf64511d49b854a0f9fd6d0b5118621f