Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=212.227.15.15 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796403743; b=rboQPMZ7MbNW2T56BjVpiJTScpvHoXv+LnpanVzxfFccWAkNixLgWF4TVMwG1eKUEOXa S69CSYPyYJPcrUIqULfqRfP41lBXls9afdnqr8WTAC27lv1yoy9r6KB3AbdgY+lNukVii BbgG0r+o+oo2gNYsn5iTXVDD6CyHK2G61zyClWH1C463eJsrZkf9szCqGNgJXyegUAIAP acFu0WWHElEVAnhmTRTnhkBAJyLdfqexFao1h+DkWkqv9WuVHR+Ge5PuWyUNDLVnyzuto K5C0rRLHpBNb+oynqMGQLVlPcBGGkq/0VqSpCRrdF0QwyqBISz0+AjKNY9A71XyL2pA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796403743; h=DMARC-Filter:DKIM2-Signature:Message-Instance:DKIM-Signature: X-UI-Sender-Class:Received:Content-Type:Message-ID:Date:MIME-Version: User-Agent:Subject:To:References:From:Content-Language:Autocrypt: In-Reply-To:X-Provags-ID:X-Spam-Flag:UI-OutboundReport; bh=tR+3mFbJONh1e9WAvPaouu++L53eesSGPKlH3nUkw8I=; b=ElrTZZZaimrPH76dqBOM76TILgyIuCOcnseiudIRclfo1x0lMNC/4ck8qhKI7tKGSCsK k+oR0tvwscQv0nFk3gy9ZM2Z1OhZTKd8YUvAIvu9Sr5Ls59biwInjE/rPPluP+RfYJkoo h1dBUXJSuqicKGdO+mqA+pZh3Sm3esdhk4F3pZH0PAzJvNdPmvmbkBDtiDPWpAmCS9qoD RFM2WXvtsklfPro1bwwze/SSyYpr3Nb2ItyiuZ4HYM1KzGsNMwff5MWvz8qjaGodpmUeG IKsKm0ulPu502ZAFI4ci1DqVot46ABi9KRCdW34CvpzcdigKCmw2kK0WXAAz03acUfQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmx.com; spf=pass smtp.mailfrom=gmx.com; dkim=pass header.d=gmx.com header.i=pcolladosoto@gmx.com header.a=rsa-sha256 header.s=s31663417 header.b=HoGWAzrO; arc=none smtp.remote-ip=212.227.15.15 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68851606A32C for ; Fri, 4 Dec 2026 17:02:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 68851606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.com header.i=pcolladosoto@gmx.com header.a=rsa-sha256 header.s=s31663417 header.b=HoGWAzrO DKIM2-Signature: i=1; m=1; t=1796403740; mf=PHBjb2xsYWRvc290b0BnbXguY29tPg==; rt=PHhkcC1uZXdiaWVzQHZnZXIua2VybmVsLm9yZz4=; d=gmx.com; s=s31663417:rsa-sha256:jtrQmgtBxBYYIHD21v5MoLzhY87J JgUXbEV4pJN16KDsHw1ELc730x19k5Tuh2Hd8qZ7lqCx2Rb9Iut1YaqtNYxOr+XcqXvfNwuN3xo lq7+g2wSdUA97bMD1UNvjf5JvO28xEZwsmwGRh97s331vU5u5Voi58odRpkSF/3UH4hc2cdxblo KRMT7o+wwI1M5LOqId9+F6gKIBlOur9PKU9KuihFqkogB/ZzrK4k6KnlA0S2pVjwTDnu/UYa71G ep54oFLn5nsmV6k5fUqIzGrVhi++8PQqF6LPOmEgtOjmlujZQu3bfuB/PIGFXygRLoHqNHgfoD2 wDFTw79IbDLVtw==; Message-Instance: m=1; h=sha256: znkmKirOF03Z8kgdHvd2QFDTkLJndMLK2Dm4qgaImUE=: h/3x0AvW5y+h8uT+5WQtEZnnHc89q2krh6JKcvOMfYg=, sha512: I2s1knQdoHJp35HMZzQ5LdCaZtcHMvn+ijlXs8K+cfdbhzVP09b3do3JtgTI++kt9SOhEVel4mqhNKHgsug0uQ==: Gk7k2BK8es3DHahSuNNpVyGbnGk+n5XBNCsnhRTa7groxRVPEOS6KKD/ffpL7bOXA1sUbKHkctwNpyPGt/oNYg==; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.com; s=s31663417; t=1796403740; x=1797008540; i=pcolladosoto@gmx.com; bh=tR+3mFbJONh1e9WAvPaouu++L53eesSGPKlH3nUkw8I=; h=X-UI-Sender-Class:Content-Type:Message-ID:Date:MIME-Version: Subject:To:References:From:In-Reply-To:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=HoGWAzrOOvrWE5RLIWIKmaKhpRHePu+Zn3UNrM+fuAqyyxm5aAgpiPqbW595L8cM 11QopBXEYrEuIGXoKCE7y0hK//Y+tWcuy+DObtx9YaL+dXwtqFtckarQfl33T1sUH 9kecUXQ7ySeYtKegQe7l847vWPv9Gvpv5KsUwR6ozE2c4aJj0DukN+Aj8UV5Dttj5 DUeBQt2p98AeEloS8DJeVZL9vUGlpJu+cPAo9YRx4GJoPvrhoHsRwV7Py9wFWPfBA qIvtTeLuwuwvmT0tGq3dky9WAEmpj/UQ2HtUsmLNTKOBqjmoPQZUohnsASWzePZJg ZFXtX7K5fCCqHKuycQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from client.hidden.invalid by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MWRRZ-1xxKxL0gaR-00Niri for ; Fri, 04 Dec 2026 18:02:20 +0100 Content-Type: multipart/mixed; boundary="------------AamYiofyE1v5NvjAzgz06AIE" Message-ID: <3211a111-5ed7-4ae5-ba39-eb69be1ba94e@gmx.com> Date: Fri, 4 Dec 2026 18:02:19 +0100 X-Mailing-List: xdp-newbies@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Digest of xdp-newbies@vger.kernel.org issue 63 (205) To: xdp-newbies@vger.kernel.org References: <20261128000006.2AB21606A326@smtp.subspace.kernel.org> From: Pablo Collado Soto Content-Language: en-GB, es-ES Autocrypt: addr=pcolladosoto@gmx.com; keydata= xjMEYNBjVRYJKwYBBAHaRw8BAQdAVNDK3ltXdpLE5sPmWQW7Jbjo7yHEtotnvXUoX4sqfpHN OFBhYmxvIENvbGxhZG8gU290byAoR01YIE1haWwgS2V5KSA8cGNvbGxhZG9zb3RvQGdteC5j b20+wpQEExYKADwWIQRfBX4S479kBtAztvVMirCe/8e4mwUCYNBjVQIbAwULCQgHAgMiAgEG FQoJCAsCBBYCAwECHgcCF4AACgkQTIqwnv/HuJt/WQD+KrkckcrRCR0R5uVD5oK1y+JE9nLb 9Ops3c/Xvt4Q/LEA/2lHQ63vxnefrmiqOWnKwOq2Ilt0/usOwHvfWHMR6SMBzjgEYNBjVRIK KwYBBAGXVQEFAQEHQCQrueUdDChvsg6hqpdxmP7r6tntWKboZcBifFIS9cBNAwEIB8J4BBgW CgAgFiEEXwV+EuO/ZAbQM7b1TIqwnv/HuJsFAmDQY1UCGwwACgkQTIqwnv/HuJurCAD/Ymt9 0EPPejXMv/r+W5hAudAvKD7Quqb/2uzNgbrc7jQBAPaqBU+c0+xpPw40xZWmFM39DfQPGpZ2 YRcIkfNIL/sA In-Reply-To: <20261128000006.2AB21606A326@smtp.subspace.kernel.org> X-Provags-ID: V03:K1:MOrsj347uiVnunIjvd/wYUy2silIjj1rxIbuX6/PeuKgZCjbseg jEdv+xa26YmiJECj8UO4TrDS3Tv+O4rNY2bsHRAQLTOxFUDxtW46oo3XrmHTPtob4vlOptZ +MF7I4YGNuiFva2ez7hyTwtULcq05J8bl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932Lr61Rg/HA qqDGSS0QQGbqiJg2HGjW+1fO6N+LtMtV1w5Xp89QLXsOishy4AETGik6cO1r1xxXwtdNY9JvJ y5qlCJrsmfJmW3oZrsM0BBxUWzgtFmiGBVIzw== This is a multi-part message in MIME format. --------------AamYiofyE1v5NvjAzgz06AIE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Allfox Wy, First off, all the following has been done with clang(1) (and LLVM) 22.1.8 on a 5.14.0 kernel (i.e. AlmaLinux 9.9) so YMMV. I'm attaching the Makefil= e and source files I used to check all this in case you want to reproduce it on your machine. Loading was done with bpftoool(8) 7.5.0 which uses libbpf= 1.5.0 under the hood. Anyway, compiling and loading original.bpf.c with $ make original.bpf.o $ bpftool prog load original.bpf.o /sys/fs/bpf/xdp/original does indeed cause the verification error you mention 19: (71) r3 =3D *(u8 *)(r1 +0) invalid access to packet, off=3D13 size=3D1, R1(id=3D1,off=3D13,r=3D0) R1 offset is outside of the packet If we look at the actual eBPF instructions [0] with llvm-objdump(1) $ llvm-objdump -S original.bpf.o the interesting bit is ; if (tot_len < sizeof(*iph) || tot_len > 1500) 11: bc 34 00 00 00 00 00 00 w4 =3D w3 12: 04 04 00 00 23 fa ff ff w4 +=3D -0x5dd 13: 54 04 00 00 ff ff 00 00 w4 &=3D 0xffff 14: a6 04 0a 00 37 fa 00 00 if w4 < 0xfa37 goto +0xa 15: bc 33 00 00 00 00 00 00 w3 =3D w3 ; __u8 *last_byte =3D (__u8 *)iph + tot_len - 1; 16: 0f 31 00 00 00 00 00 00 r1 +=3D r3 17: 07 01 00 00 ff ff ff ff r1 +=3D -0x1 ; if ((void *)last_byte >=3D data_end) 18: 3d 21 06 00 00 00 00 00 if r1 >=3D r2 goto +0x6 ; bpf_printk("last IP byte: 0x%02x (%u)\n", *last_byte, *last_byte); 19: 71 13 00 00 00 00 00 00 w3 =3D *(u8 *)(r1 + 0x0) As we're compiling with optimisations enabled (ie.e. with the clang(1) -O2= flag) the check if (tot_len < sizeof(*iph) || tot_len > 1500) return XDP_PASS; is being 'condensed' into a check against 0xfa37. On the verifier output w= e find ; if (tot_len < sizeof(*iph) || tot_len > 1500) @ original.bpf.c:25 11: (bc) w4 =3D w3 ; R3_w=3Dscalar() R4_w=3Dscalar(s= min=3D0,smax=3Dumax=3D0xffffffff,var_off=3D(0x0; 0xffffffff)) 12: (04) w4 +=3D -1501 ; R4_w=3Dscalar(smin=3D0,smax=3Du= max=3D0xffffffff,var_off=3D(0x0; 0xffffffff)) 13: (54) w4 &=3D 65535 ; R4_w=3Dscalar(smin=3Dsmin32=3D0= ,smax=3Dumax=3Dsmax32=3Dumax32=3D0xffff,var_off=3D(0x0; 0xffff)) 14: (a6) if w4 < 0xfa37 goto pc+10 ; R4_w=3Dscalar(smin=3Dumin=3Dsmin3= 2=3Dumin32=3D0xfa37,smax=3Dumax=3Dsmax32=3Dumax32=3D0xffff,var_off=3D(0xf8= 00; 0x7ff)) 15: (bc) w3 =3D w3 ; R3_w=3Dscalar(smin=3D0,smax=3Du= max=3D0xffffffff,var_off=3D(0x0; 0xffffffff)) After reading [1] to get a feel for what we're seeing we can conclude the = verifier imposes no limits on the maximum value of R3 so it assumes R3 is any 32-bi= t number. This implies that adding this number could cause an overflow causing the p= ointer stored in R1 to point at something outside the [ctx->data, ctx->data_end] range. = This explains why later on we see ; if ((void *)last_byte >=3D data_end) @ original.bpf.c:29 18: (3d) if r1 >=3D r2 goto pc+6 ; R1=3Dpkt(id=3D1,off=3D13,r=3D0,= smin=3D0,smax=3Dumax=3D0xffffffff,var_off=3D(0x0; 0xffffffff)) R2=3Dpkt_en= d() The verifier doesn't consider **any** range valid (i.e. r=3D0). It seems t= he problem has nothing to do with the endianness swap operation which in the verifier we = see as 10: (dc) r3 =3D be16 r3 ; R3_w=3Dscalar() The fact that the check on R4 doesn't apply to R3's bounds is what's throw= ing the verifier off. Applying your fix (i.e. the 0x0fff mask) doesn't solve the issue for my se= tup either. With that the verifier says ; __u32 tot_len =3D bpf_ntohs(iph->tot_len); @ mask-fix.bpf.c:24 9: (69) r3 =3D *(u16 *)(r1 +2) ; R1=3Dpkt(off=3D14,r=3D34) R3_w= =3Dscalar(smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32=3D0xffff,var_off= =3D(0x0; 0xffff)) ; tot_len &=3D 0x0fff; @ mask-fix.bpf.c:25 10: (54) w3 &=3D 65295 ; R3_w=3Dscalar(smin=3Dsmin32=3D0= ,smax=3Dumax=3Dsmax32=3Dumax32=3D0xff0f,var_off=3D(0x0; 0xff0f)) 11: (dc) r3 =3D be16 r3 ; R3_w=3Dscalar() ; if (tot_len < sizeof(*iph) || tot_len > 1500) @ mask-fix.bpf.c:26 12: (bc) w4 =3D w3 ; R3_w=3Dscalar() R4_w=3Dscalar(s= min=3D0,smax=3Dumax=3D0xffffffff,var_off=3D(0x0; 0xffffffff)) 13: (04) w4 +=3D -1501 ; R4_w=3Dscalar(smin=3D0,smax=3Du= max=3D0xffffffff,var_off=3D(0x0; 0xffffffff)) 14: (a6) if w4 < 0xfffffa37 goto pc+10 ; R4_w=3Dscalar(smin=3Dumin= =3Dumin32=3D0xfffffa37,smax=3Dumax=3D0xffffffff,smin32=3D-1481,smax32=3D-1= ,var_off=3D(0xfffff800; 0x7ff)) 15: (bc) w3 =3D w3 ; R3_w=3Dscalar(smin=3D0,smax=3Du= max=3D0xffffffff,var_off=3D(0x0; 0xffffffff)) but the problem remains at instruction #15 where R3 is unbounded. You coul= d try to compile the eBPF program without any optimisations, thus avoiding the combination = of the checks $ clang -g -target bpf -c original.bpf.c -o original-no-opt.bpf.o loading such a program quickly fails however: several rules the verifier e= xpects to be followed aren't adhered to which are explained on [1]. The first error I s= ee is 2: (b7) r2 =3D 4 ; R2_w=3D4 3: (79) r2 =3D *(u64 *)(r2 +0) R2 invalid mem access 'scalar' The problem is we're trying to dereference an address based off-of an scal= ar. The proposed mask is, at least on my machine, being ignored by optimisations. As LLVM knows the maximum v= alue on R3 will be 1500 as per our check and given 1500 can be represented with ceil(log_2(1500)) =3D 11 bits= any mask larger than 0x03FF is simply discarded by the compiler as it adds nothing. It's this optimisation that = LLVM can make what's causing the verifier failures. Given the length field in an IPv4 header is 16 bits mas= king with anything other than 0xFFFF risks loosing information. You do impose that the length is less th= an 1500, so you could mask with 0x07FF, but that's simply going to be ignored by LLVM and it won't show up= in the final binary. Anyway, we have established the problem is we cannot place any bounds on R= 3's value and so the verifier doesn't validate any range of addresses for us to access, = triggering the issue on the first access. The convoluted check only happens because y= ou're checking both `tot_len < sizeof(*iph) || tot_len > 1500`, if we only check the latt= er (as seen on fixed.bpf.c) we instead get the following instructions ; if (tot_len > 1500) 11: 26 03 0a 00 dc 05 00 00 if w3 > 0x5dc goto +0xa which the verifier now picks up correctly. You can get the trace with $ bpftool prog load -d fixed.bpf.o /sys/fs/bpf/xdp/fixed which shows ; __u32 tot_len =3D bpf_ntohs(iph->tot_len); @ idea.bpf.c:24 9: (69) r3 =3D *(u16 *)(r1 +2) ; R1=3Dpkt(off=3D14,r=3D34) R3_w= =3Dscalar(smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32=3D0xffff,var_off= =3D(0x0; 0xffff)) 10: (dc) r3 =3D be16 r3 ; R3_w=3Dscalar() ; if (tot_len > 1500) @ idea.bpf.c:25 11: (26) if w3 > 0x5dc goto pc+10 ; R3_w=3Dscalar(smax=3D0x7fffffff00= 0005dc,umax=3D0xffffffff000005dc,smin32=3D0,smax32=3Dumax32=3D1500,var_off= =3D(0x0; 0xffffffff000007ff)) Note how the value of R3 is bounded here! It'll be 1500 at most. ; __u8 *last_byte =3D (__u8 *)iph + tot_len - 1; @ idea.bpf.c:28 12: (bc) w3 =3D w3 ; R3_w=3Dscalar(smin=3Dsmin32=3D0= ,smax=3Dumax=3Dsmax32=3Dumax32=3D1500,var_off=3D(0x0; 0x7ff)) 13: (0f) r1 +=3D r3 ; R1_w=3Dpkt(id=3D1,off=3D14,r=3D= 0,smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32=3D1500,var_off=3D(0x0; 0= x7ff)) R3_w=3Dscalar(smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32=3D1500= ,var_off=3D(0x0; 0x7ff)) As R3 is bounded here, so is R1 at 1500. 14: (07) r1 +=3D -1 ; R1_w=3Dpkt(id=3D1,off=3D13,r=3D= 0,smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32=3D1500,var_off=3D(0x0; 0= x7ff)) ; if ((void *)last_byte >=3D data_end) @ idea.bpf.c:29 15: (3d) if r1 >=3D r2 goto pc+6 ; R1_w=3Dpkt(id=3D1,off=3D13,r=3D= 14,smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32=3D1500,var_off=3D(0x0; = 0x7ff)) R2=3Dpkt_end() And the last key of the puzzle is here, where the allowed access range g= oes from r=3D0 to r=3D14; we can now access the [R0, R0 + 14] range! ; bpf_printk("last IP byte: 0x%02x (%u)\n", *last_byte, *last_byte); @ id= ea.bpf.c:32 16: (71) r3 =3D *(u8 *)(r1 +0) ; R1_w=3Dpkt(id=3D1,off=3D13,r=3D= 14,smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32=3D1500,var_off=3D(0x0; = 0x7ff)) R3_w=3Dscalar(smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32=3D255,= var_off=3D(0x0; 0xff)) The call to bpf_printk now succeeds! The verifier output for my 5.14 kernel is a bit cryptic when it comes to t= he `off` and `r` fields for direct packet accesses. Trying to load the same program on a 7.1.12 kernel= with bpftool 7.6.0 (libbpf 1.6) shows ; if (tot_len > 1500) @ idea.bpf.c:25 11: (26) if w3 > 0x5dc goto pc+10 ; R3=3Dscalar(smin=3Dsmin32=3D0,sma= x=3Dumax=3Dsmax32=3Dumax32=3D1500,var_off=3D(0x0; 0x7ff)) R3 becomes bound in pretty much the same way. ; __u8 *last_byte =3D (__u8 *)iph + tot_len - 1; @ idea.bpf.c:28 12: (bc) w3 =3D w3 ; R3=3Dscalar(id=3D1,smin=3Dsmin3= 2=3D0,smax=3Dumax=3Dsmax32=3Dumax32=3D1500,var_off=3D(0x0; 0x7ff)) 13: (0f) r1 +=3D r3 ; R1=3Dpkt(id=3D2,r=3D0,smin=3Dum= in=3Dsmin32=3Dumin32=3D14,smax=3Dumax=3Dsmax32=3Dumax32=3D1514,var_off=3D(= 0x0; 0x7ff)) R3=3Dscalar(id=3D1,smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32= =3D1500,var_off=3D(0x0; 0x7ff)) But... this trace is much easier to read! R1 is bounded but not at 1500:= it was 14 already! So... it's real actual maximum value was 1514 as is correctly shown here. I do not = know if this in an issue in the verifier itself or in the way it prints information. I suppose it's the latter as= the `off` field is gone. I'm sure someone else will know :P 14: (07) r1 +=3D -1 ; R1=3Dpkt(id=3D2,r=3D0,smin=3Dum= in=3Dsmin32=3Dumin32=3D13,smax=3Dumax=3Dsmax32=3Dumax32=3D1513,var_off=3D(= 0x0; 0x7ff)) The maximum theoretical value is decremented too, but no range has been = validated yet (i.e. r=3D0 still). ; if ((void *)last_byte >=3D data_end) @ idea.bpf.c:29 15: (3d) if r1 >=3D r2 goto pc+6 ; R1=3Dpkt(id=3D2,r=3D1514,smin= =3Dumin=3Dsmin32=3Dumin32=3D13,smax=3Dumax=3Dsmax32=3Dumax32=3D1513,var_of= f=3D(0x0; 0x7ff)) R2=3Dpkt_end() This check validates the r=3D1514 range! So we can now access the [R0, R= 0 + 1514] range with no problem at all. This makes sense, 1500 is the maximum L4 payload length we enforced and = 14 is the length of the L2 Ethernet header we've already 'consumed'. ; bpf_printk("last IP byte: 0x%02x (%u)\n", *last_byte, *last_byte); @ id= ea.bpf.c:32 16: (71) r3 =3D *(u8 *)(r1 +0) ; R1=3Dpkt(id=3D2,r=3D1514,smin= =3Dumin=3Dsmin32=3Dumin32=3D13,smax=3Dumax=3Dsmax32=3Dumax32=3D1513,var_of= f=3D(0x0; 0x7ff)) R3=3Dscalar(smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32=3D255,va= r_off=3D(0x0; 0xff)) And the access can once again succeed! The verifier output for trying to load original.bpf.c on the 7.1.12 kernel= is also a bit more telling: ; __u8 *last_byte =3D (__u8 *)iph + tot_len - 1; @ original.bpf.c:28 16: (0f) r1 +=3D r3 ; R1=3Dpkt(id=3D2,r=3D0,smin=3Dum= in=3Dsmin32=3Dumin32=3D14,smax=3Dumax=3Dsmax32=3Dumax32=3D0x1000d,var_off= =3D(0x0; 0x1ffff)) R3=3Dscalar(id=3D1,smin=3Dsmin32=3D0,smax=3Dumax=3Dsmax32=3Dumax32= =3D0xffff,var_off=3D(0x0; 0xffff)) Notice how the maximum value (0x1000d) is larger than 0xFFFF which I guess= causes all sorts of issues with packet access. So... putting it all together the problem is the check if (tot_len < sizeof(*iph) || tot_len > 1500) that's throwing it all into disarray... One thing you can do is drop the `= tot_len < sizeof(*iph)` check which might just be okay depending on your use case. If not, you can= try to add the assembly check for that condition by hand to circumvent the LLVM optimiser= or maybe someone else has a better idea for dealing with all this. At any rate, I hope this explanation is both correct (which I don't guaran= tee!) and informative :P All the best, References: 0: https://www.rfc-editor.org/rfc/rfc9669.html 1: https://docs.kernel.org/bpf/verifier.html#direct-packet-access =2D-=20 Pablo Collado Soto + ----------------------------------------------- + | I have a very small mind and must live with it. | | -- E. Dijkstra | + ----------------------------------------------- + --------------AamYiofyE1v5NvjAzgz06AIE Content-Type: application/x-gzip; name="verifier-fun.tar.gz" Content-Disposition: attachment; filename="verifier-fun.tar.gz" Content-Transfer-Encoding: base64 H4sIAAAAAAAAA+2XbW/TMBDH+3b+FEe2SUlZ2iRtmqnbKhAgNglYpfECBCjKEme1ljpV4kwd jO/OOQ9dxx5BexDCP21N4juf72zn7/aEZixmNDPjgndbD4OFeK4rr7bnWsvXhpbt9qy+61lW 32lZds/xei1wHyifCxS5CDKAVpgmSRCl1/rdZv9HOVle/zRjR4w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