{"id":"CVE-2026-97982","state":"PUBLISHED","title":"net: ethernet: cortina: Fix budget accounting","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: cortina: Fix budget accounting\n\nThe gmac_rx() function returns the remaining NAPI budget, but its\ncaller treats the return value as the number of packets received. An\nidle poll therefore reports a full budget and remains scheduled.\n\nReturn the number of received packets instead. Preserve the existing\nfree queue refill accounting by adding that count directly; continuing\nto subtract it from the budget would invert the refill behavior.","publishedAt":"2026-09-25T10:23:18.304Z","updatedAt":"2026-10-19T09:11:49.378Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"d3deb54d9507c2d7f05efd896142095eef5b7d85","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"e6e5732b90d0fc25fd3d9961ff61e660297d7608","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"aa339ac334d4e51f43af9d2901e6faf11ffd981e","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"4ca84049c6428c665ef7c903a32a99ed0f1e01e9","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"631c47e2e1154f2741c555b91df1b8cb99294c6a","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"0ef8eaef5806c84db2334111d6f299c246a592bc","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"94e06e12a376710587cfeea481b65e7c49747003","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"a0de06d0da78a3db53de65dfd7452cc6d111f703","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/cortina/gemini.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"5.10.271","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.222","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/cortina/gemini.c"]}],"references":["https://git.kernel.org/stable/c/d3deb54d9507c2d7f05efd896142095eef5b7d85","https://git.kernel.org/stable/c/e6e5732b90d0fc25fd3d9961ff61e660297d7608","https://git.kernel.org/stable/c/aa339ac334d4e51f43af9d2901e6faf11ffd981e","https://git.kernel.org/stable/c/4ca84049c6428c665ef7c903a32a99ed0f1e01e9","https://git.kernel.org/stable/c/631c47e2e1154f2741c555b91df1b8cb99294c6a","https://git.kernel.org/stable/c/0ef8eaef5806c84db2334111d6f299c246a592bc","https://git.kernel.org/stable/c/94e06e12a376710587cfeea481b65e7c49747003","https://git.kernel.org/stable/c/a0de06d0da78a3db53de65dfd7452cc6d111f703"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97982.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97982","state":"PUBLISHED","datePublished":"2026-09-25T10:23:18.304Z","dateUpdated":"2026-10-19T09:11:49.378Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:18:58.208Z"},"containers":{"cna":{"title":"net: ethernet: cortina: Fix budget accounting","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: cortina: Fix budget accounting\n\nThe gmac_rx() function returns the remaining NAPI budget, but its\ncaller treats the return value as the number of packets received. An\nidle poll therefore reports a full budget and remains scheduled.\n\nReturn the number of received packets instead. Preserve the existing\nfree queue refill accounting by adding that count directly; continuing\nto subtract it from the budget would invert the refill behavior."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"d3deb54d9507c2d7f05efd896142095eef5b7d85","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"e6e5732b90d0fc25fd3d9961ff61e660297d7608","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"aa339ac334d4e51f43af9d2901e6faf11ffd981e","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"4ca84049c6428c665ef7c903a32a99ed0f1e01e9","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"631c47e2e1154f2741c555b91df1b8cb99294c6a","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"0ef8eaef5806c84db2334111d6f299c246a592bc","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"94e06e12a376710587cfeea481b65e7c49747003","versionType":"git"},{"version":"4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88","status":"affected","lessThan":"a0de06d0da78a3db53de65dfd7452cc6d111f703","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/cortina/gemini.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"5.10.271","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.222","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/cortina/gemini.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d3deb54d9507c2d7f05efd896142095eef5b7d85"},{"url":"https://git.kernel.org/stable/c/e6e5732b90d0fc25fd3d9961ff61e660297d7608"},{"url":"https://git.kernel.org/stable/c/aa339ac334d4e51f43af9d2901e6faf11ffd981e"},{"url":"https://git.kernel.org/stable/c/4ca84049c6428c665ef7c903a32a99ed0f1e01e9"},{"url":"https://git.kernel.org/stable/c/631c47e2e1154f2741c555b91df1b8cb99294c6a"},{"url":"https://git.kernel.org/stable/c/0ef8eaef5806c84db2334111d6f299c246a592bc"},{"url":"https://git.kernel.org/stable/c/94e06e12a376710587cfeea481b65e7c49747003"},{"url":"https://git.kernel.org/stable/c/a0de06d0da78a3db53de65dfd7452cc6d111f703"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:11:49.378Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"5.10.271"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"5.15.222"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.1.189"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}