CVE-2026-99940: gve: fix out-of-bounds read in gve_get_flow_rule_entry()

Published Nov 30, 2026
·
Updated

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

gve: fix out-of-bounds read in gvegetflowruleentry()

gvegetflowruleentry() checks the requested location against the first and last cached rules, but rulescachenum can be 0 while rulescachesynced is true: GVEFLOWRULEQUERYRULES returns the rules from the requested location onwards, so a request past the last installed rule - or any request when no rules are installed - returns zero rules, which the driver accepts and marks as synced.

The next query evaluates rulescache[cachenum - 1] with cachenum == 0. The zero-initialised cache does not trip the earlier comparison, cachenum - 1 wraps to 0xFFFFFFFF in u32, and the read faults about 352 GiB past the cache. ETHTOOLGRXCLSRULE needs no capability, so an unprivileged user can trigger it:

BUG: unable to handle page fault for address: ff240996c4c64fa8 #PF: supervisor read access in kernel mode RIP: gvegetflowruleentry+0xd4/0x110 [gve]

Treat an empty cache as a cache miss and re-query.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the gve driver, treat an empty rules cache as a cache miss and re-query from the requested location.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:18 PM
Data Sourced
via MITRE·01:18 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203