{"id":"CVE-2026-46188","state":"PUBLISHED","title":"octeon_ep_vf: add NULL check for napi_build_skb()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteon_ep_vf: add NULL check for napi_build_skb()\n\nnapi_build_skb() can return NULL on allocation failure. In\n__octep_vf_oq_process_rx(), the result is used directly without a NULL\ncheck in both the single-buffer and multi-fragment paths, leading to a\nNULL pointer dereference.\n\nAdd NULL checks after both napi_build_skb() calls, properly advancing\ndescriptors and consuming remaining fragments on failure.","publishedAt":"2026-05-28T09:36:42.251Z","updatedAt":"2026-06-14T18:01:19.185Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1","status":"affected","lessThan":"60246cdd4c515ea7d920cddf48932efcb990773e","versionType":"git"},{"version":"1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1","status":"affected","lessThan":"b0f4711b426a06fb4c4be85c36b9f5588d5140d3","versionType":"git"},{"version":"1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1","status":"affected","lessThan":"6fef6640bbf360e254cc0174365ed30ce3a07572","versionType":"git"},{"version":"1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1","status":"affected","lessThan":"dd66b42854705e4e4ee7f14d260f86c578bed3e3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.88","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.30","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.7","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","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/marvell/octeon_ep_vf/octep_vf_rx.c"]}],"references":["https://git.kernel.org/stable/c/60246cdd4c515ea7d920cddf48932efcb990773e","https://git.kernel.org/stable/c/b0f4711b426a06fb4c4be85c36b9f5588d5140d3","https://git.kernel.org/stable/c/6fef6640bbf360e254cc0174365ed30ce3a07572","https://git.kernel.org/stable/c/dd66b42854705e4e4ee7f14d260f86c578bed3e3"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46188.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46188","state":"PUBLISHED","datePublished":"2026-05-28T09:36:42.251Z","dateUpdated":"2026-06-14T18:01:19.185Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-13T15:03:33.104Z"},"containers":{"cna":{"title":"octeon_ep_vf: add NULL check for napi_build_skb()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteon_ep_vf: add NULL check for napi_build_skb()\n\nnapi_build_skb() can return NULL on allocation failure. In\n__octep_vf_oq_process_rx(), the result is used directly without a NULL\ncheck in both the single-buffer and multi-fragment paths, leading to a\nNULL pointer dereference.\n\nAdd NULL checks after both napi_build_skb() calls, properly advancing\ndescriptors and consuming remaining fragments on failure."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1","status":"affected","lessThan":"60246cdd4c515ea7d920cddf48932efcb990773e","versionType":"git"},{"version":"1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1","status":"affected","lessThan":"b0f4711b426a06fb4c4be85c36b9f5588d5140d3","versionType":"git"},{"version":"1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1","status":"affected","lessThan":"6fef6640bbf360e254cc0174365ed30ce3a07572","versionType":"git"},{"version":"1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1","status":"affected","lessThan":"dd66b42854705e4e4ee7f14d260f86c578bed3e3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.88","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.30","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.7","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","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/marvell/octeon_ep_vf/octep_vf_rx.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/60246cdd4c515ea7d920cddf48932efcb990773e"},{"url":"https://git.kernel.org/stable/c/b0f4711b426a06fb4c4be85c36b9f5588d5140d3"},{"url":"https://git.kernel.org/stable/c/6fef6640bbf360e254cc0174365ed30ce3a07572"},{"url":"https://git.kernel.org/stable/c/dd66b42854705e4e4ee7f14d260f86c578bed3e3"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-14T18:01:19.185Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.88"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.18.30"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.0.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}