{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99940","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.448Z","datePublished":"2026-11-30T13:18:28.408Z","dateUpdated":"2026-11-30T13:18:28.408Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:18:28.408Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ngve: fix out-of-bounds read in gve_get_flow_rule_entry()\n\ngve_get_flow_rule_entry() checks the requested location against the\nfirst and last cached rules, but rules_cache_num can be 0 while\nrules_cache_synced is true: GVE_FLOW_RULE_QUERY_RULES returns the rules\nfrom the requested location onwards, so a request past the last\ninstalled rule - or any request when no rules are installed - returns\nzero rules, which the driver accepts and marks as synced.\n\nThe next query evaluates rules_cache[*cache_num - 1] with\n*cache_num == 0. The zero-initialised cache does not trip the earlier\ncomparison, *cache_num - 1 wraps to 0xFFFFFFFF in u32, and the read\nfaults about 352 GiB past the cache. ETHTOOL_GRXCLSRULE needs no\ncapability, so an unprivileged user can trigger it:\n\n    BUG: unable to handle page fault for address: ff240996c4c64fa8\n    #PF: supervisor read access in kernel mode\n    RIP: gve_get_flow_rule_entry+0xd4/0x110 [gve]\n\nTreat an empty cache as a cache miss and re-query."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/google/gve/gve_flow_rule.c"],"versions":[{"version":"6f3bc487565d30ae9535e338efad213dd74c04ec","lessThan":"4f869e480eda62fcdbafd841a49c2e5b04bb2cd3","status":"affected","versionType":"git"},{"version":"6f3bc487565d30ae9535e338efad213dd74c04ec","lessThan":"ca59f6aa7c29c5248ea996d4a5e2fa7964ae74e8","status":"affected","versionType":"git"},{"version":"6f3bc487565d30ae9535e338efad213dd74c04ec","lessThan":"3b90249fcec9fd3727f2c6ac973410a13bf273d8","status":"affected","versionType":"git"},{"version":"6f3bc487565d30ae9535e338efad213dd74c04ec","lessThan":"45e0a63f9c86a558afc70d79b6df38f8ec7f502a","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/google/gve/gve_flow_rule.c"],"versions":[{"version":"6.11","status":"affected"},{"version":"0","lessThan":"6.11","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/4f869e480eda62fcdbafd841a49c2e5b04bb2cd3"},{"url":"https://git.kernel.org/stable/c/ca59f6aa7c29c5248ea996d4a5e2fa7964ae74e8"},{"url":"https://git.kernel.org/stable/c/3b90249fcec9fd3727f2c6ac973410a13bf273d8"},{"url":"https://git.kernel.org/stable/c/45e0a63f9c86a558afc70d79b6df38f8ec7f502a"}],"title":"gve: fix out-of-bounds read in gve_get_flow_rule_entry()","x_generator":{"engine":"bippy-1.2.0"}}}}