CVE-2026-139566
ice: rebuild ring stats arrays instead of reallocating them in place
Mitigation
- Upgrade Linux to 7.3.6 or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f7b37855ac4e12bab04224b67645282bce55550; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 66444f06a9fe96ac49f5c168d06aaebbfa109c9e; < 7.3.6
- Anyone running Linux all versions
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f7b37855ac4e12bab04224b67645282bce55550; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 66444f06a9fe96ac49f5c168d06aaebbfa109c9e; < 7.3.6; Linux all versions
- Fixed in
- Linux 2f7b37855ac4e12bab04224b67645282bce55550, Linux 66444f06a9fe96ac49f5c168d06aaebbfa109c9e, Linux 7.3.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ice: rebuild ring stats arrays instead of reallocating them in place ice_vsi_realloc_stat_arrays() resized the ring stats arrays in place with krealloc_array(), sizing them from vsi->req_txq/req_rxq. That is not what ice_vsi_set_num_qs() computes later in ice_vsi_cfg_def(), so after a rebuild the arrays could end up shorter than vsi->alloc_txq / vsi->alloc_rxq, and ice_vsi_alloc_ring_stats() then walked past their end. The VF case shows the divergence. ice_sriov_set_msix_vec_count() writes vsi->req_txq and then calls ice_vsi_rebuild(), so the old resizer sized from req_txq, while ice_vsi_get_num_qs() reads vf->num_req_qs ?: vf->num_vf_qs and ignores req_txq entirely. Once a guest has raised vf->num_req_qs through VIRTCHNL_OP_REQUEST_QUEUES the two disagree and the arrays come out shorter than the alloc_txq/alloc_rxq the rebuild installs. The reset that such a request triggers is a different path, ice_vf_reconfig_vsi(), which does not use this resizer at all; that one is handled by the next patch. Replace it with ice_vsi_resize_stat_arrays(), which allocates a fresh struct ice_vsi_stats instead, sized with ice_vsi_get_num_qs() and the queues ice_vsi_decfg() is about to return to the PF pool, which is exactly what ice_vsi_set_num_qs() will compute once they are back there, barring a concurrent change of the PF pool; the next patch stops relying on that. Copy the surviving entry pointers over and install the new structure, all before ice_vsi_decfg() runs. The entries that did not fit are freed by ice_vsi_free_unused_stat_arrays(); the old container itself then goes through __ice_vsi_free_stats() with @free_entries set to false, since the entries it still points at now belong to the new structure. Allocating up front also means a failure no longer leaves a half-updated ice_vsi_stats behind, with the Tx array already swapped and its surplus Tx entries already freed, but the Rx allocation failed. Put the allocate-install-free-surplus sequence in ice_vsi_install_stat_arrays(), next to ice_vsi_new_stat_arrays(), so that only the sizing decision is left in the resizer.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-139566. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139566.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f7b37855ac4e12bab04224b67645282bce55550; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 66444f06a9fe96ac49f5c168d06aaebbfa109c9e; < 7.3.6; Linux all versions Fixed in: Linux 2f7b37855ac4e12bab04224b67645282bce55550, Linux 66444f06a9fe96ac49f5c168d06aaebbfa109c9e, Linux 7.3.6 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-139566 being exploited?
There is no confirmed exploitation: CVE-2026-139566 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139566?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-139566?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f7b37855ac4e12bab04224b67645282bce55550; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 66444f06a9fe96ac49f5c168d06aaebbfa109c9e; < 7.3.6; Linux all versions.
Is there a fix for CVE-2026-139566?
Yes. Fixed in Linux 2f7b37855ac4e12bab04224b67645282bce55550, Linux 66444f06a9fe96ac49f5c168d06aaebbfa109c9e, Linux 7.3.6. Upgrade Linux to 7.3.6 or later.
How do I check if I'm affected by CVE-2026-139566?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |