CVE-2025-22116
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/04/2025
Last modified:
02/04/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
idpf: check error for register_netdev() on init<br />
<br />
Current init logic ignores the error code from register_netdev(),<br />
which will cause WARN_ON() on attempt to unregister it, if there was one,<br />
and there is no info for the user that the creation of the netdev failed.<br />
<br />
WARNING: CPU: 89 PID: 6902 at net/core/dev.c:11512 unregister_netdevice_many_notify+0x211/0x1a10<br />
...<br />
[ 3707.563641] unregister_netdev+0x1c/0x30<br />
[ 3707.563656] idpf_vport_dealloc+0x5cf/0xce0 [idpf]<br />
[ 3707.563684] idpf_deinit_task+0xef/0x160 [idpf]<br />
[ 3707.563712] idpf_vc_core_deinit+0x84/0x320 [idpf]<br />
[ 3707.563739] idpf_remove+0xbf/0x780 [idpf]<br />
[ 3707.563769] pci_device_remove+0xab/0x1e0<br />
[ 3707.563786] device_release_driver_internal+0x371/0x530<br />
[ 3707.563803] driver_detach+0xbf/0x180<br />
[ 3707.563816] bus_remove_driver+0x11b/0x2a0<br />
[ 3707.563829] pci_unregister_driver+0x2a/0x250<br />
<br />
Introduce an error check and log the vport number and error code.<br />
On removal make sure to check VPORT_REG_NETDEV flag prior to calling<br />
unregister and free on the netdev.<br />
<br />
Add local variables for idx, vport_config and netdev for readability.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.14.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



