Skip to contentSkip to conversation

CVE-2026-46297: net: libwx: use request_irq for VF misc interrupt

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 8

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net: libwx: use request_irq for VF misc interrupt

Currently, request_threaded_irq() is used with a primary handler but a NULL threaded handler, while also setting the IRQF_ONESHOT flag. This specific combination triggers a WARNING since the commit aef30c8d569c ("genirq: Warn about using IRQF_ONESHOT without a threaded handler").

WARNING: kernel/irq/manage.c:1502 at __setup_irq+0x4fa/0x760

Fix the issue by switching to request_irq(), which is the appropriate interface or a non-threaded interrupt handler, and removing the unnecessary IRQF_ONESHOT flag.

The Linux kernel CVE team has assigned CVE-2026-46297 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.17 with commit eb4898fde1de8cf09f8a6b344dbd87536e0b1170 and fixed in 6.18.30 with commit 1bca036fe3607182c21f05e2b262167edbef086c
	Issue introduced in 6.17 with commit eb4898fde1de8cf09f8a6b344dbd87536e0b1170 and fixed in 7.0.7 with commit a841574c6e573132681aa57f9b43a0a897a423f6
	Issue introduced in 6.17 with commit eb4898fde1de8cf09f8a6b344dbd87536e0b1170 and fixed in 7.1-rc3 with commit 7a33345153eeeda195c55f15be27074e4c3b5109

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-46297

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/wangxun/libwx/wx_vf_common.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/1bca036fe3607182c21f05e2b262167edbef086c
	https://git.kernel.org/stable/c/a841574c6e573132681aa57f9b43a0a897a423f6
	https://git.kernel.org/stable/c/7a33345153eeeda195c55f15be27074e4c3b5109