# CVE-2026-23386: gve: fix incorrect buffer cleanup in gve\_tx\_clean\_pending\_packets for QPL

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **Published:** 2026-03-25T10:28:04.118Z
- **Modified:** 2026-11-05T22:18:22.377Z

## Who should check

- Anyone running Linux \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< 71511dae56a75ce161aa746741e5c498feaea393; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< c171f90f58974c784db25e0606051541cb71b7f0; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< 07e0c80e17ef781799e7cd5c41a7bf44f1bf6a5f; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< 3744ebd8ffaa542ae8110fb449adcac0202f4cc8; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< fb868db5f4bccd7a78219313ab2917429f715cea
- Anyone running Linux 6.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

gve: fix incorrect buffer cleanup in gve\_tx\_clean\_pending\_packets for QPL

In DQ-QPL mode, gve\_tx\_clean\_pending\_packets() incorrectly uses the RDA
buffer cleanup path. It iterates num\_bufs times and attempts to unmap
entries in the dma array.

This leads to two issues:
1. The dma array shares storage with tx\_qpl\_buf\_ids (union).
 Interpreting buffer IDs as DMA addresses results in attempting to
 unmap incorrect memory locations.
2. num\_bufs in QPL mode (counting 2K chunks) can significantly exceed
 the size of the dma array, causing out-of-bounds access warnings
(trace below is how we noticed this issue).

UBSAN: array-index-out-of-bounds in
drivers/net/ethernet/drivers/net/ethernet/google/gve/gve\_tx\_dqo.c:178:5 index 18 is out of
range for type 'dma\_addr\_t\[18\]' (aka 'unsigned long long\[18\]')
Workqueue: gve gve\_service\_task \[gve\]
Call Trace:
\<TASK\>
dump\_stack\_lvl+0x33/0xa0
\_\_ubsan\_handle\_out\_of\_bounds+0xdc/0x110
gve\_tx\_stop\_ring\_dqo+0x182/0x200 \[gve\]
gve\_close+0x1be/0x450 \[gve\]
gve\_reset+0x99/0x120 \[gve\]
gve\_service\_task+0x61/0x100 \[gve\]
process\_scheduled\_works+0x1e9/0x380

Fix this by properly checking for QPL mode and delegating to
gve\_free\_tx\_qpl\_bufs() to reclaim the buffers.

## Affected and fixed versions

- Linux: \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< 71511dae56a75ce161aa746741e5c498feaea393; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< c171f90f58974c784db25e0606051541cb71b7f0; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< 07e0c80e17ef781799e7cd5c41a7bf44f1bf6a5f; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< 3744ebd8ffaa542ae8110fb449adcac0202f4cc8; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< fb868db5f4bccd7a78219313ab2917429f715cea (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23386. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23386.md
Affected: Linux >= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, < 71511dae56a75ce161aa746741e5c498feaea393; >= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, < c171f90f58974c784db25e0606051541cb71b7f0; >= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, < 07e0c80e17ef781799e7cd5c41a7bf44f1bf6a5f; >= a6fb8d5a8b6925f1e635818…
Fixed in: Linux 71511dae56a75ce161aa746741e5c498feaea393, Linux 07e0c80e17ef781799e7cd5c41a7bf44f1bf6a5f, Linux 3744ebd8ffaa542ae8110fb449adcac0202f4cc8

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.
```

## FAQ

### Is CVE-2026-23386 being exploited?

There is no confirmed exploitation: CVE-2026-23386 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23386?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23386?

Linux \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< 71511dae56a75ce161aa746741e5c498feaea393; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< c171f90f58974c784db25e0606051541cb71b7f0; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< 07e0c80e17ef781799e7cd5c41a7bf44f1bf6a5f; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< 3744ebd8ffaa542ae8110fb449adcac0202f4cc8; \>= a6fb8d5a8b6925f1e635818d3dd2d89531d4a058, \< fb868db5f4bccd7a78219313ab2917429f715cea; Linux 6.6.

### Is there a fix for CVE-2026-23386?

Yes. Fixed in Linux 71511dae56a75ce161aa746741e5c498feaea393, Linux 07e0c80e17ef781799e7cd5c41a7bf44f1bf6a5f, Linux 3744ebd8ffaa542ae8110fb449adcac0202f4cc8. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-23386?

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.

## References

- patch: <https://git.kernel.org/stable/c/71511dae56a75ce161aa746741e5c498feaea393>
- patch: <https://git.kernel.org/stable/c/c171f90f58974c784db25e0606051541cb71b7f0>
- patch: <https://git.kernel.org/stable/c/07e0c80e17ef781799e7cd5c41a7bf44f1bf6a5f>
- patch: <https://git.kernel.org/stable/c/3744ebd8ffaa542ae8110fb449adcac0202f4cc8>
- patch: <https://git.kernel.org/stable/c/fb868db5f4bccd7a78219313ab2917429f715cea>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23386>

HTML: <https://flawdb.com/CVE-2026-23386> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23386>
