gve: Fix stats report corruption on queue count change
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.250, Kernel 5.15.200, Kernel 6.1.163 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: gve: Fix stats report corruption on queue count change The driver and the NIC share a region in memory for stats reporting. The NIC calculates its offset into this region based on the total size of the stats region and the size of the NIC's stats. When the number of queues is changed, the driver's stats region is resized. If the queue count is increased, the NIC can write past the end of the allocated stats region, causing memory corruption. If the queue count is decreased, there is a gap between the driver and NIC stats, leading to incorrect stats reporting. This change fixes the issue by allocating stats region with maximum size, and the offset calculation for NIC stats is changed to match with the calculation of the NIC.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.10 <5.10.250, >=5.11 <5.15.200, >=5.16 <6.1.163, >=6.13 <6.18.10, >=6.2 <6.6.124, >=6.7 <6.12.70, =6.19, >=24aeb56f2d38edf1b324bdb4f8bc6faf9f0f540c <7b9ebcce0296e104a0d82a6b09d68564806158ff, >=24aeb56f2d38edf1b324bdb4f8bc6faf9f0f540c <837c662f47dac43efa1aef2dd433c6b4b4c073af, >=24aeb56f2d38edf1b324bdb4f8bc6faf9f0f540c <9d93332397405b62a3300b22d04ac65d990b91ff, >=24aeb56f2d38edf1b324bdb4f8bc6faf9f0f540c <9fa0a755db3e1945fe00f73fe27d85ef6c8818b7, >=24aeb56f2d38edf1b324bdb4f8bc6faf9f0f540c <df54838ab61826ecc1a562ffa5e280c3ab7289a7, >=24aeb56f2d38edf1b324bdb4f8bc6faf9f0f540c <f432f7613c220db32c2c6942420daf7b3f2e7d7e, =5.10, >=24aeb56f2d38edf1b324bdb4f8bc6faf9f0f540c <11f8311f69e4c361717371b4901ff92daeb76e9c | 5.10.250, 5.15.200, 6.1.163, 6.18.10, 6.6.124, 6.12.70, 7b9ebcce0296e104a0d82a6b09d68564806158ff, 837c662f47dac43efa1aef2dd433c6b4b4c073af, 9d93332397405b62a3300b22d04ac65d990b91ff, 9fa0a755db3e1945fe00f73fe27d85ef6c8818b7, df54838ab61826ecc1a562ffa5e280c3ab7289a7, f432f7613c220db32c2c6942420daf7b3f2e7d7e, 11f8311f69e4c361717371b4901ff92daeb76e9c |
| linux-kernel: Kernel | >=5.10.0 <5.10.250, >=5.11.0 <5.15.200, >=5.16.0 <6.1.163, >=6.13.0 <6.18.10, >=6.2.0 <6.6.124, >=6.7.0 <6.12.70 | 5.10.250, 5.15.200, 6.1.163, 6.18.10, 6.6.124, 6.12.70 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket