{"id":"CVE-2021-47141","state":"PUBLISHED","title":"gve: Add NULL pointer checks when freeing irqs.","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ngve: Add NULL pointer checks when freeing irqs.\n\nWhen freeing notification blocks, we index priv->msix_vectors.\nIf we failed to allocate priv->msix_vectors (see abort_with_msix_vectors)\nthis could lead to a NULL pointer dereference if the driver is unloaded.","publishedAt":"2024-03-25T09:07:39.737Z","updatedAt":"2026-05-11T13:48:50.740Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"893ce44df56580fb878ca5af9c4a5fd87567da50","status":"affected","lessThan":"821149ee88c206fa37e79c1868cc270518484876","versionType":"git"},{"version":"893ce44df56580fb878ca5af9c4a5fd87567da50","status":"affected","lessThan":"da21a35c00ff1a1794d4f166d3b3fa8db4d0f6fb","versionType":"git"},{"version":"893ce44df56580fb878ca5af9c4a5fd87567da50","status":"affected","lessThan":"5278c75266c5094d3c0958793bf12fc90300e580","versionType":"git"},{"version":"893ce44df56580fb878ca5af9c4a5fd87567da50","status":"affected","lessThan":"5218e919c8d06279884aa0baf76778a6817d5b93","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/google/gve/gve_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.4.124","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.42","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.9","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","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/google/gve/gve_main.c"]}],"references":["https://git.kernel.org/stable/c/821149ee88c206fa37e79c1868cc270518484876","https://git.kernel.org/stable/c/da21a35c00ff1a1794d4f166d3b3fa8db4d0f6fb","https://git.kernel.org/stable/c/5278c75266c5094d3c0958793bf12fc90300e580","https://git.kernel.org/stable/c/5218e919c8d06279884aa0baf76778a6817d5b93"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:19.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/47xxx/CVE-2021-47141.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47141","state":"PUBLISHED","datePublished":"2024-03-25T09:07:39.737Z","dateUpdated":"2026-05-11T13:48:50.740Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-03-04T18:12:48.842Z"},"containers":{"cna":{"title":"gve: Add NULL pointer checks when freeing irqs.","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ngve: Add NULL pointer checks when freeing irqs.\n\nWhen freeing notification blocks, we index priv->msix_vectors.\nIf we failed to allocate priv->msix_vectors (see abort_with_msix_vectors)\nthis could lead to a NULL pointer dereference if the driver is unloaded."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"893ce44df56580fb878ca5af9c4a5fd87567da50","status":"affected","lessThan":"821149ee88c206fa37e79c1868cc270518484876","versionType":"git"},{"version":"893ce44df56580fb878ca5af9c4a5fd87567da50","status":"affected","lessThan":"da21a35c00ff1a1794d4f166d3b3fa8db4d0f6fb","versionType":"git"},{"version":"893ce44df56580fb878ca5af9c4a5fd87567da50","status":"affected","lessThan":"5278c75266c5094d3c0958793bf12fc90300e580","versionType":"git"},{"version":"893ce44df56580fb878ca5af9c4a5fd87567da50","status":"affected","lessThan":"5218e919c8d06279884aa0baf76778a6817d5b93","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/google/gve/gve_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.4.124","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.42","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.9","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","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/google/gve/gve_main.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/821149ee88c206fa37e79c1868cc270518484876"},{"url":"https://git.kernel.org/stable/c/da21a35c00ff1a1794d4f166d3b3fa8db4d0f6fb"},{"url":"https://git.kernel.org/stable/c/5278c75266c5094d3c0958793bf12fc90300e580"},{"url":"https://git.kernel.org/stable/c/5218e919c8d06279884aa0baf76778a6817d5b93"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T13:48:50.740Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.4.124"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.10.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.12.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-47141","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-03-25T18:19:57.763630Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:13:31.440Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/821149ee88c206fa37e79c1868cc270518484876","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/da21a35c00ff1a1794d4f166d3b3fa8db4d0f6fb","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/5278c75266c5094d3c0958793bf12fc90300e580","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/5218e919c8d06279884aa0baf76778a6817d5b93","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:24:39.872Z"}}]}}}