Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-39971

published high CVSS 3.1 · 8.8

i40e: fix idx validation in config queues msg

Published
15 Oct 2025, 07:55:54 UTC
Updated
05 Aug 2026, 12:06:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < a6ff2af78343eceb0f77ab1a2fe802183bc21648 · c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < f5f91d164af22e7147130ef8bebbdb28d8ecc6e2 · c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < 1fa0aadade34481c567cdf4a897c0d4e4d548bd1 · c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < 8b9c7719b0987b1c6c5fc910599f3618a558dbde · c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < 2cc26dac0518d2fa9b67ec813ee60e183480f98a · c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < bfcc1dff429d4b99ba03e40ddacc68ea4be2b32b · c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < 5c1f96123113e0bdc6d8dc2b0830184c93da9f65 · c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < f1ad24c5abe1eaef69158bac1405a74b3c365115 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.17 (affected) · 0 to < 4.17 (unaffected · semver) · 5.4.300 through 5.4.* (unaffected · semver) · 5.10.245 through 5.10.* (unaffected · semver) · 5.15.194 through 5.15.* (unaffected · semver) · 6.1.155 through 6.1.* (unaffected · semver) · 6.6.109 through 6.6.* (unaffected · semver) · 6.12.50 through 6.12.* (unaffected · semver) · 6.16.10 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-109 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-113 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.16.1.el10_1 ALSA-2025:22395
Debian bookworm linux Advisory build 6.1.158-1 DSA-6053-1
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.16.1.el10_1 ALSA-2025:22395
AlmaLinux 8 bpftool Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 perf Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
Debian bullseye linux Advisory build 5.10.247-1 DLA-4404-1
Debian bullseye linux-6.1 Advisory build 6.1.158-1~deb11u1 DLA-4379-1
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-uki-virtx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-uki-virt-addonsx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 libperfaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 libperfx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 perfaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 perfx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 python3-perfaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 python3-perfx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 rtlaaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 rtlax86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 rvaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 rvx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 7 bpftoolx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernelx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernel-abi-whitelistsx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernel-debugx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernel-debug-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernel-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernel-docx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernel-headersx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernel-toolsx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernel-tools-libsx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernel-tools-libs-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 perfx86_64 Advisory build 0:3.10.0-1160.119.1.0.18.el7 ELSA-2026-1581

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: i40e: fix idx validation in config queues msg Ensure idx is within range of active/initialized TCs when iterating over vf->ch[idx] in i40e_vc_config_queues_msg().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

79

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scenarios
en: AV:L - The malicious input arrives as a `VIRTCHNL_OP_CONFIG_VSI_QUEUES` message on the SR-IOV VF→PF admin-queue mailbox, a PCIe transport, not a network protocol. The attacker needs local control of an assigned VF (guest VM or VF-owning container), so this is local reachability rather than network or adjacent. AC:L - The attacker fully controls every input — `num_tc` and per-TC `count` via ENABLE_CHANNELS, then `num_queue_pairs` and the qpair array via CONFIG_VSI_QUEUES — so shrinking `num_tc` to leave stale `ch[]` entries and then walking `idx` into them is deterministic on the first attempt with no memory grooming or race. The only precondition, spoofchk disabled, is inherent to any ADq-enabled SR-IOV deployment and is a standard runtime configuration. PR:L - The attacker only needs to drive the VF's admin queue — kernel/root inside the assigned guest, or possession of the VFIO device — which is a low-privileged position relative to the host PF driver under attack. No privileges of any kind on the host are required. UI:N - The malicious VF sends the virtchnl message sequence entirely on its own initiative. No host administrator or other user action is needed at any stage. S:C - The attacking VF sits in a guest VM (or VF-assigned container) while the stale-index read and the resulting hardware queue-context programming occur in the host PF driver's security authority. The corrupted resources — HMC LAN Tx/Rx contexts and QTX_CTL bindings of VSIs belonging to the PF or to other VFs — are outside the attacker's scope, crossing the guest/host and inter-tenant SR-IOV boundary. C:H - Using a stale `ch[idx].vsi_id`, the VF resolves and reprograms the Rx queue context of a VSI it does not own, setting `rx_ctx.base` from its own `dma_ring_addr` so another VSI's received traffic is DMA'd into attacker-designated memory — interception of host and cross-guest traffic. On pre-5.2 kernels the same defect additionally reads past the end of `vf->ch[]` into adjacent `struct i40e_vf` state. I:H - `i40e_config_vsi_rx_queue()` performs no ownership check and `i40e_config_vsi_tx_queue()` validates only the VF-supplied `info->vsi_id`, so the stale ID lets the VF clear and rewrite the LAN HMC Tx/Rx contexts of a foreign VSI's queues and issue a `QTX_CTL` write rebinding that PF queue to itself. This is attacker-controlled modification of host- and peer-owned hardware state. A:H - Clearing and rewriting queue contexts belonging to the PF's main VSI or another guest's VSI stalls or wedges those queues, and out-of-range `pf_queue_id` values (`I40E_QUEUE_END_OF_LIST`) drive HMC operations that trigger adapter error paths, PF/VF reset storms and loss of host networking. The VF can repeat the sequence at will, and a downed host PF takes every guest on the adapter with it.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < a6ff2af78343eceb0f77ab1a2fe802183bc21648 (affected · git)c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < f5f91d164af22e7147130ef8bebbdb28d8ecc6e2 (affected · git)c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < 1fa0aadade34481c567cdf4a897c0d4e4d548bd1 (affected · git)c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < 8b9c7719b0987b1c6c5fc910599f3618a558dbde (affected · git)c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < 2cc26dac0518d2fa9b67ec813ee60e183480f98a (affected · git)c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < bfcc1dff429d4b99ba03e40ddacc68ea4be2b32b (affected · git)c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < 5c1f96123113e0bdc6d8dc2b0830184c93da9f65 (affected · git)c27eac48160de72dee33d42b5a33cc7b8a2eb1f5 to < f1ad24c5abe1eaef69158bac1405a74b3c365115 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.17 (affected)0 to < 4.17 (unaffected · semver)5.4.300 through 5.4.* (unaffected · semver)5.10.245 through 5.10.* (unaffected · semver)5.15.194 through 5.15.* (unaffected · semver)6.1.155 through 6.1.* (unaffected · semver)6.6.109 through 6.6.* (unaffected · semver)6.12.50 through 6.12.* (unaffected · semver)6.16.10 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

2

Linux · cna

i40e: fix idx validation in config queues msg

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
5d6993d56d2b1fd35d8f995de5e2429e6f4b96a485d5056d11c04a4ca2248797
Ingested
23 Sep 2026, 08:47:25 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected