CVE-2026-99940
Last modified
CVE-2026-99940 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: gve: fix out-of-bounds read in gve_get_flow_rule_entry() gve_get_flow_rule_entry() checks the requested location against the first and last cached rules, but rules_cache_num can be 0 while rules_cache_synced is true: GVE_FLOW_RULE_QUERY_RULES 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 rules_cache[*cache_num - 1] with *cache_num == 0. The zero-initialised cache does not trip the earlier comparison, *cache_num - 1 wraps to 0xFFFFFFFF in u32, and the read faults about 352 GiB past the cache.
Description
In the Linux kernel, the following vulnerability has been resolved: gve: fix out-of-bounds read in gve_get_flow_rule_entry() gve_get_flow_rule_entry() checks the requested location against the first and last cached rules, but rules_cache_num can be 0 while rules_cache_synced is true: GVE_FLOW_RULE_QUERY_RULES 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 rules_cache[*cache_num - 1] with *cache_num == 0. The zero-initialised cache does not trip the earlier comparison, *cache_num - 1 wraps to 0xFFFFFFFF in u32, and the read faults about 352 GiB past the cache. ETHTOOL_GRXCLSRULE 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: gve_get_flow_rule_entry+0xd4/0x110 [gve] Treat an empty cache as a cache miss and re-query.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 6f3bc487565d30ae9535e338efad213dd74c04ec, < 4f869e480eda62fcdbafd841a49c2e5b04bb2cd3; >= 6f3bc487565d30ae9535e338efad213dd74c04ec, < ca59f6aa7c29c5248ea996d4a5e2fa7964ae74e8; >= 6f3bc487565d30ae9535e338efad213dd74c04ec, < 3b90249fcec9fd3727f2c6ac973410a13bf273d8; >= 6f3bc487565d30ae9535e338efad213dd74c04ec, < 45e0a63f9c86a558afc70d79b6df38f8ec7f502a |
| Linux | Linux | 6.11 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99940?
How severe is CVE-2026-99940?
How do I fix CVE-2026-99940?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99935In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-99936In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99937In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99938In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99939In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9994Use after free in Core in Google Chrome on Windows prior to …8.3
- CVE-2026-99941In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99942In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99943In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99944In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99945In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99946In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99940?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
