From: Jakub Kicinski Date: Mon, 13 Apr 2026 22:40:52 +0000 (-0700) Subject: Merge branch 'octeon_ep_vf-fix-napi_build_skb-null-dereference' X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2258d1dffaf77bad190ac1cdd0a98db513c15232;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'octeon_ep_vf-fix-napi_build_skb-null-dereference' David Carlier says: ==================== octeon_ep_vf: fix napi_build_skb() NULL dereference napi_build_skb() can return NULL on allocation failure. In __octep_vf_oq_process_rx(), the result is used directly without a NULL check in both the single-buffer and multi-fragment paths, leading to a NULL pointer dereference. Patch 1 introduces a helper to deduplicate the ring index advance pattern, patch 2 adds the actual NULL checks. ==================== Link: https://patch.msgid.link/20260409184009.930359-1-devnexen@gmail.com Signed-off-by: Jakub Kicinski --- 2258d1dffaf77bad190ac1cdd0a98db513c15232