CVE-2025-21883 json
ice: Fix deinitializing VF in error path
published 2025-03-27 19 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-8478
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
ice: Fix deinitializing VF in error path
If ice_ena_vfs() fails after calling ice_create_vf_entries(), it frees all VFs without removing them from snapshot PF-VF mailbox list, leading to list corruption.
Reproducer: devlink dev eswitch set $PF1_PCI mode switchdev ip l s $PF1 up ip l s $PF1 promisc on sleep 1 echo 1 > /sys/class/net/$PF1/device/sriov_numvfs sleep 1 echo 1 > /sys/class/net/$PF1/device/sriov_numvfs
Trace (minimized): list_add corruption. next->prev should be prev (ffff8882e241c6f0), but was 0000000000000000. (next=ffff888455da1330). kernel BUG at lib/list_debug.c:29! RIP: 0010:__list_add_valid_or_report+0xa6/0x100 ice_mbx_init_vf_info+0xa7/0x180 [ice] ice_initialize_vf_entry+0x1fa/0x250 [ice] ice_sriov_configure+0x8d7/0x1520 [ice] ? __percpu_ref_switch_mode+0x1b1/0x5d0 ? __pfx_ice_sriov_configure+0x10/0x10 [ice]
Sometimes a KASAN report can be seen instead with a similar stack trace: BUG: KASAN: use-after-free in __list_add_valid_or_report+0xf1/0x100
VFs are added to this list in ice_mbx_init_vf_info(), but only removed in ice_free_vfs(). Move the removing to ice_free_vf_entries(), which is also being called in other places where VFs are being removed (including ice_free_vfs() itself).
Patch / fix
- Linux Linux 6.6.81, 6.12.18, 6.13.6, 6.14
- linux Debian 14, Debian 13 6.12.19-1
debian advisories DEBIAN-CVE-2025-21883
- linux Ubuntu 24.04 LTS 6.8.0-84.84
- linux-aws Ubuntu 24.04 LTS 6.8.0-1039.41
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1040.42
- linux-gke Ubuntu 24.04 LTS 6.8.0-1036.40
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1037.37
- linux-azure Ubuntu 24.04 LTS 6.8.0-1038.44
- linux-gkeop Ubuntu 24.04 LTS 6.8.0-1023.25
- linux-raspi Ubuntu 24.04 LTS 6.8.0-1039.43
ubuntu advisories UBUNTU-CVE-2025-21883
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 10.0 6.12.0-55.19.1.el10_0
- rv RHEL 10.0 6.12.0-55.19.1.el10_0
- perf RHEL 10.0 6.12.0-55.19.1.el10_0
- rtla RHEL 10.0 6.12.0-55.19.1.el10_0
- libperf RHEL 10.0 6.12.0-55.19.1.el10_0
- kernel-rt RHEL 10.0 6.12.0-55.19.1.el10_0
- kernel-64k RHEL 10.0 6.12.0-55.19.1.el10_0
- kernel-core RHEL 10.0 6.12.0-55.19.1.el10_0
red hat advisories RHSA-2025:9896RHSA-2025:9302
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.3.1
- kernel-syms-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.3.1
- kernel-source-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.3.1
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.3.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.3.1
- kernel-source SLE Module for Development Tools 15 SP7, SLE Module for Basesystem 15 SP7 6.4.0-150700.53.3.1
- kernel-default SLE Workstation Extension 15 SP7, SLE Module for Legacy 15 SP7, SLE Module for Basesystem 15 SP7 +2 more 6.4.0-150700.53.3.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP7 6.4.0-150700.53.3.1
suse advisories SUSE-SU-2025:01967-1SUSE-SU-2025:01951-1SUSE-SU-2025:01919-1SUSE-SU-2025:20192-1SUSE-SU-2025:20270-1SUSE-SU-2025:20190-1
- kernel-abi-stablelists AlmaLinux 10 6.12.0-55.19.1.el10_0
- kernel AlmaLinux 9 5.14.0-570.23.1.el9_6
- rv AlmaLinux 9 5.14.0-570.23.1.el9_6
- perf AlmaLinux 9 5.14.0-570.23.1.el9_6
- rtla AlmaLinux 9 5.14.0-570.23.1.el9_6
- libperf AlmaLinux 9 5.14.0-570.23.1.el9_6
- kernel-rt AlmaLinux 9 5.14.0-570.23.1.el9_6
- kernel-64k AlmaLinux 9 5.14.0-570.23.1.el9_6
almalinux advisories ALSA-2025:9896ALSA-2025:9302
- kernel Rocky Linux 9 5.14.0-570.23.1.el9_6
rocky linux advisories RLSA-2025:9302
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-21883 updated cvss 6.7
kernel: ice: Fix deinitializing VF in error path
-
Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-570.23.1.el9_6, perf 5.14.0-570.23.1.el9_6, rtla 5.14.0-570.23.1.el9_6, python3-perf 5.14.0-570.23.1.el9_6, kernel-devel-matched 5.14.0-570.23.1.el9_6, kernel-64k-devel-matched 5.14.0-570.23.1.el9_6, +7 morefixed: vendor fix “To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:9302
-
Red Hat Enterprise Linux AppStream (v. 10) rv 6.12.0-55.19.1.el10_0, perf 6.12.0-55.19.1.el10_0, rtla 6.12.0-55.19.1.el10_0, python3-perf 6.12.0-55.19.1.el10_0, kernel-devel-matched 6.12.0-55.19.1.el10_0, kernel-64k-devel-matched 6.12.0-55.19.1.el10_0, +7 morefixed: vendor fix “To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:9896
-
Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-570.23.1.el9_6, kernel-64k 5.14.0-570.23.1.el9_6, kernel-core 5.14.0-570.23.1.el9_6, kernel-tools 5.14.0-570.23.1.el9_6, kernel-modules 5.14.0-570.23.1.el9_6, kernel-64k-core 5.14.0-570.23.1.el9_6, +27 morefixed: vendor fix “To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:9302
-
Red Hat Enterprise Linux BaseOS (v. 10) kernel 6.12.0-55.19.1.el10_0, kernel-64k 6.12.0-55.19.1.el10_0, kernel-core 6.12.0-55.19.1.el10_0, kernel-tools 6.12.0-55.19.1.el10_0, kernel-modules 6.12.0-55.19.1.el10_0, kernel-64k-core 6.12.0-55.19.1.el10_0, +27 morefixed: vendor fix “To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:9896
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) libperf 5.14.0-570.23.1.el9_6, kernel-debuginfo-common-s390x 5.14.0-570.23.1.el9_6, kernel-debuginfo-common-x86_64 5.14.0-570.23.1.el9_6, kernel-debuginfo-common-aarch64 5.14.0-570.23.1.el9_6, kernel-debuginfo-common-ppc64le 5.14.0-570.23.1.el9_6fixed: vendor fix “To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:9302
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) libperf 6.12.0-55.19.1.el10_0, kernel-debuginfo-common-s390x 6.12.0-55.19.1.el10_0, kernel-debuginfo-common-x86_64 6.12.0-55.19.1.el10_0, kernel-debuginfo-common-aarch64 6.12.0-55.19.1.el10_0, kernel-debuginfo-common-ppc64le 6.12.0-55.19.1.el10_0fixed: vendor fix “To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:9896
-
Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-570.23.1.el9_6, kernel-rt-64k 5.14.0-570.23.1.el9_6, kernel-rt-core 5.14.0-570.23.1.el9_6, kernel-rt-modules 5.14.0-570.23.1.el9_6, kernel-rt-64k-core 5.14.0-570.23.1.el9_6, kernel-rt-debug-core 5.14.0-570.23.1.el9_6, +14 morefixed: vendor fix “To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:9302
-
Red Hat Enterprise Linux Real Time (v. 10) kernel-rt 6.12.0-55.19.1.el10_0, kernel-rt-64k 6.12.0-55.19.1.el10_0, kernel-rt-core 6.12.0-55.19.1.el10_0, kernel-rt-modules 6.12.0-55.19.1.el10_0, kernel-rt-64k-core 6.12.0-55.19.1.el10_0, kernel-rt-debug-core 6.12.0-55.19.1.el10_0, +14 morefixed: vendor fix “To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:9896
show 3 moreshow fewer
-
Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-570.23.1.el9_6, kernel-rt-kvm 5.14.0-570.23.1.el9_6, kernel-rt-core 5.14.0-570.23.1.el9_6, kernel-rt-modules 5.14.0-570.23.1.el9_6, kernel-rt-debug-kvm 5.14.0-570.23.1.el9_6, kernel-rt-debug-core 5.14.0-570.23.1.el9_6, +6 morefixed: vendor fix “To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:9302
-
Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt 6.12.0-55.19.1.el10_0, kernel-rt-kvm 6.12.0-55.19.1.el10_0, kernel-rt-core 6.12.0-55.19.1.el10_0, kernel-rt-modules 6.12.0-55.19.1.el10_0, kernel-rt-debug-kvm 6.12.0-55.19.1.el10_0, kernel-rt-debug-core 6.12.0-55.19.1.el10_0, +6 morefixed: vendor fix “To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:9896
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
Sources
- CVE List CVE-2025-21883
- NVD CVE-2025-21883
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.