CVE-2026-23143
publishedvirtio_net: Fix misalignment bug in struct virtnet_info
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4c47aff10f6f0a2506dc2126c17ccd4c42bfa211 to < d1e9614a142eff34c93e94a15a71ad0e806799c4 · ed3100e90d0d120a045a551b85eb43cf2527e885 to < ae48108c2310f1dd700e0dbb655c2f1d92ed00fc · ed3100e90d0d120a045a551b85eb43cf2527e885 to < 4156c3745f06bc197094b9ee97a9584e69ed00bf · 6.12.91 to < 6.12.114 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.12.114 through 6.12.* (unaffected · semver) · 6.18.7 through 6.18.* (unaffected · semver) · 6.19 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 | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.115-2~deb12u1 | DLA-4904-1 |
| Ubuntu | noble | linux-azure-6.17 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Debian | trixie | linux | Advisory build | 6.12.115-2 | DSA-6602-1 |
| Ubuntu | noble | linux-azure-6.17-cloud-tools-6.17.0-1021 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
Show 81 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-6.17-headers-6.17.0-1021 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-azure-6.17-tools-6.17.0-1021 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-gcp-6.17 | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-gcp-6.17-headers-6.17.0-1021 | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-gcp-6.17-tools-6.17.0-1021 | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-headers-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-headers-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-headers-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-headers-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-headers-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-modules-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-evdi-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-nvidia-6.17 | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-nvidia-6.17-headers-6.17.0-1031 | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-nvidia-6.17-tools-6.17.0-1031 | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-oem-6.17 | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-oem-6.17-headers-6.17.0-1030 | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-oem-6.17-tools-6.17.0-1030 | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-oracle-6.17 | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-oracle-6.17-headers-6.17.0-1019 | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-oracle-6.17-tools-6.17.0-1019 | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-realtime-6.17 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-realtime-6.17-cloud-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-realtime-6.17-headers-6.17.0-1018 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-realtime-6.17-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-tools-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-tools-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-tools-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-tools-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-tools-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: virtio_net: Fix misalignment bug in struct virtnet_info Use the new TRAILING_OVERLAP() helper to fix a misalignment bug along with the following warning: drivers/net/virtio_net.c:429:46: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] This helper creates a union between a flexible-array member (FAM) and a set of members that would otherwise follow it (in this case `u8 rss_hash_key_data[VIRTIO_NET_RSS_MAX_KEY_SIZE];`). This overlays the trailing members (rss_hash_key_data) onto the FAM (hash_key_data) while keeping the FAM and the start of MEMBERS aligned. The static_assert() ensures this alignment remains. Notice that due to tail padding in flexible `struct virtio_net_rss_config_trailer`, `rss_trailer.hash_key_data` (at offset 83 in struct virtnet_info) and `rss_hash_key_data` (at offset 84 in struct virtnet_info) are misaligned by one byte. See below: struct virtio_net_rss_config_trailer { __le16 max_tx_vq; /* 0 2 */ __u8 hash_key_length; /* 2 1 */ __u8 hash_key_data[]; /* 3 0 */ /* size: 4, cachelines: 1, members: 3 */ /* padding: 1 */ /* last cacheline: 4 bytes */ }; struct virtnet_info { ... struct virtio_net_rss_config_trailer rss_trailer; /* 80 4 */ /* XXX last struct has 1 byte of padding */ u8 rss_hash_key_data[40]; /* 84 40 */ ... /* size: 832, cachelines: 13, members: 48 */ /* sum members: 801, holes: 8, sum holes: 31 */ /* paddings: 2, sum paddings: 5 */ }; After changes, those members are correctly aligned at offset 795: struct virtnet_info { ... union { struct virtio_net_rss_config_trailer rss_trailer; /* 792 4 */ struct { unsigned char __offset_to_hash_key_data[3]; /* 792 3 */ u8 rss_hash_key_data[40]; /* 795 40 */ }; /* 792 43 */ }; /* 792 44 */ ... /* size: 840, cachelines: 14, members: 47 */ /* sum members: 801, holes: 8, sum holes: 35 */ /* padding: 4 */ /* paddings: 1, sum paddings: 4 */ /* last cacheline: 8 bytes */ }; As a result, the RSS key passed to the device is shifted by 1 byte: the last byte is cut off, and instead a (possibly uninitialized) byte is added at the beginning. As a last note `struct virtio_net_rss_config_hdr *rss_hdr;` is also moved to the end, since it seems those three members should stick around together. :)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4c47aff10f6f0a2506dc2126c17ccd4c42bfa211 to < d1e9614a142eff34c93e94a15a71ad0e806799c4 (affected · git)ed3100e90d0d120a045a551b85eb43cf2527e885 to < ae48108c2310f1dd700e0dbb655c2f1d92ed00fc (affected · git)ed3100e90d0d120a045a551b85eb43cf2527e885 to < 4156c3745f06bc197094b9ee97a9584e69ed00bf (affected · git)6.12.91 to < 6.12.114 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.12.114 through 6.12.* (unaffected · semver)6.18.7 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
virtio_net: Fix misalignment bug in struct virtnet_info
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0eb95d770933d16e4cd2546d7c346e2ad9bf53cb173158fccd675fa1153476ec
- Ingested
- 21 Oct 2026, 12:48:59 UTC
- Source record
- Official CVE record