From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f199.google.com (mail-oi1-f199.google.com [209.85.167.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CBDCD336896 for ; Sat, 27 Jun 2026 19:07:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782587264; cv=none; b=sEBtoMH9saUfklfCnn1ulLZYjNYaO/3JRee+TCQ6GJJasbWsirV/p9rWpU8a5RKtuQvQKfCJay/tza3x6N51tOMp+eqWeUraz+ij4Vm8C33A4yLSp3/SyJPo91oS0pw2Op4VP/qvnFfKqoZ5m8KmZtgmCdF1TYO8ANuzJlZ6o7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782587264; c=relaxed/simple; bh=k32h2aNXnYDTStt+qzIa1xUO6Ar/EfmLjuqgWN8LSOU=; h=MIME-Version:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=sWbk0QL8Ky8Raws7syYA7EjzbyE6HhdZxtGJcTHy4yBliZItEtaPTeSXhSHGJBCoYDUxcOeXyN5fVBXaxWhxci3lM5ZI1N7j4BZPd89UWgU5jBriHurIoSKxrxiG5ig682nXYT+8jcfBUebOM3+cv/tovbhkR6H5bw0lH2st7ZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.167.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oi1-f199.google.com with SMTP id 5614622812f47-48e5de5a23cso2361054b6e.0 for ; Sat, 27 Jun 2026 12:07:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782587262; x=1783192062; h=content-transfer-encoding:cc:to:from:subject:message-id:date :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fFk7b9LuGVN6MLqpmkBD62zstjtru8fmitGNEO8uaqI=; b=kGOo0OWi1x3luY7f7E6kaxvXsjCxqGGUXQ5lw9tkrI3qNSlJ8RcmHYAAugYiUxtmvA t46UpohrANO6oBXqE7IzbkIwrwObop+HEl5qbA75j2c6FKW4NLKMzQ7fBsiD91ptzIlS WdT2ghUjHGKCwomJ3rpWWTHZqVLAFx+96KflRB/1rQNbVvOTTlbyW1vjF0q5DQ5UGbj0 GgYib8Pj11sBlocJUNLerakyaGHBUE7L2L5fCs8Gd9OG5yj83IHGrp/mraypkrRwixe2 ueex1sEC5d9CB5VdKDCXRmp6srZiYYLsHAI2tz1dAUWP+Y7ivcR/PVBa1OgRJQtp/Nkt b6Jw== X-Gm-Message-State: AOJu0Yz1tYzUWbjTB02gavhEoKYMWazqj5VNN8ZGk+ZYs7yHjEG3v7dW PNThmu+YZ7/pIWpJF8EuS9PjNHwlgX3YF5sZz8/a62x34jX8RCiSGxumB0UGYOgA91sgTGdBFPS eVRifE4rIB5Dv03+EdljDEAeom1dvUH4oZW0R7s0C8IInCrdzvCG6jbEG8tI= Precedence: bulk X-Mailing-List: syzbot@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6808:6c85:b0:494:19a3:b31d with SMTP id 5614622812f47-49419a3b51cmr5411631b6e.42.1782587261887; Sat, 27 Jun 2026 12:07:41 -0700 (PDT) Date: Sat, 27 Jun 2026 12:07:41 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a401f7d.6124255a.dd83.0000.GAE@google.com> Subject: [moderation/CI] Re: bpf: Introduce static-defined tracing probe for BPF From: syzbot ci To: syzkaller-upstream-moderation@googlegroups.com Cc: syzbot@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable syzbot ci has tested the following series [v1] bpf: Introduce static-defined tracing probe for BPF https://lore.kernel.org/all/cover.1782571533.git.xukuohai@huawei.com * [RFC PATCH bpf-next 01/12] libbpf: Prepare bpf SDT probe section for the = linker * [RFC PATCH bpf-next 02/12] libbpf: Introduce bpf SDT probe macros * [RFC PATCH bpf-next 03/12] libbpf: Add bpf_sdt_notes section parser * [RFC PATCH bpf-next 04/12] bpf: Create insn_array map for bpf SDT probe * [RFC PATCH bpf-next 05/12] bpf: Collect SDT probe BTF IDs from BTF decl t= ags * [RFC PATCH bpf-next 06/12] bpf: Add type check for SDT probe site * [RFC PATCH bpf-next 07/12] bpf: Record probe name in SDT map * [RFC PATCH bpf-next 08/12] libbpf: Add libbpf support to load SDT observe= r program * [RFC PATCH bpf-next 09/12] bpf: Add kernel support to load SDT observer p= rogram * [RFC PATCH bpf-next 10/12] bpf: Support attach and detach for SDT observe= r program * [RFC PATCH bpf-next 11/12] bpf, x86: Add JIT support SDT for probe * [RFC PATCH bpf-next 12/12] selftests/bpf: Add tests for bpf SDT probe and found the following issue: general protection fault in do_jit Full report is available here: https://ci.syzbot.org/series/86d21ab6-d0e1-4dd3-b7e1-af4571d27460 *** general protection fault in do_jit tree: bpf-next URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf= -next.git base: 53435562a725962e4de0c29653223129ba11643a arch: amd64 compiler: Debian clang version 22.1.6 (++20260514074242+fc4aad7b5db3-1~exp= 1~20260514074407.73), Debian LLD 22.1.6 config: https://ci.syzbot.org/builds/549153a4-d4b8-46a4-8266-df26ad835e2= f/config syz repro: https://ci.syzbot.org/findings/2efaa7e4-eae0-45d0-b336-f0e311f83= 56e/syz_repro Oops: general protection fault, probably for non-canonical address 0xdffffc= 000000010e: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000870-0x0000000000000877] CPU: 1 UID: 0 PID: 5818 Comm: syz.2.19 Not tainted syzkaller #0 PREEMPT(ful= l)=20 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16= .2-1 04/01/2014 RIP: 0010:do_jit+0x7c8c/0x12a90 arch/x86/net/bpf_jit_comp.c:2806 Code: 49 83 c4 44 4c 89 e0 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 0a 84 00 00 = 45 03 34 24 48 8b bc 24 a0 01 00 00 48 89 f8 48 c1 e8 03 <80> 3c 10 00 74 1= 7 e8 49 30 b0 00 48 8b bc 24 a0 01 00 00 48 ba 00 RSP: 0018:ffffc900038cf640 EFLAGS: 00010202 RAX: 000000000000010e RBX: 000000000000001c RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000870 RBP: ffffc900038cfa00 R08: ffff88816bb0d940 R09: 0000000000000096 R10: 00000000000000fb R11: 0000000000000000 R12: ffff8881749b8044 R13: ffff88816c445450 R14: 0000000000000003 R15: 0000000000000000 FS: 00007f06814986c0(0000) GS:ffff8882a9224000(0000) knlGS:000000000000000= 0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0680472780 CR3: 000000001cfc8000 CR4: 00000000000006f0 Call Trace: bpf_int_jit_compile+0x8af/0x1620 arch/x86/net/bpf_jit_comp.c:3946 bpf_prog_jit_compile kernel/bpf/core.c:2571 [inline] __bpf_prog_select_runtime+0x4e2/0xb20 kernel/bpf/core.c:2640 bpf_migrate_filter net/core/filter.c:1318 [inline] bpf_prepare_filter+0x10ef/0x1280 net/core/filter.c:1366 sk_attach_filter+0x24/0x140 net/core/filter.c:1550 tun_attach_filter+0x176/0x280 drivers/net/tun.c:2992 __tun_chr_ioctl+0x15f1/0x1e10 drivers/net/tun.c:3344 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f068059ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 = 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff f= f 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0681498028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0680815fa0 RCX: 00007f068059ce59 RDX: 0000200000000300 RSI: 00000000401054d5 RDI: 0000000000000003 RBP: 00007f0680632e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0680816038 R14: 00007f0680815fa0 R15: 00007fff056e7c98 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_jit+0x7c8c/0x12a90 arch/x86/net/bpf_jit_comp.c:2806 Code: 49 83 c4 44 4c 89 e0 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 0a 84 00 00 = 45 03 34 24 48 8b bc 24 a0 01 00 00 48 89 f8 48 c1 e8 03 <80> 3c 10 00 74 1= 7 e8 49 30 b0 00 48 8b bc 24 a0 01 00 00 48 ba 00 RSP: 0018:ffffc900038cf640 EFLAGS: 00010202 RAX: 000000000000010e RBX: 000000000000001c RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000870 RBP: ffffc900038cfa00 R08: ffff88816bb0d940 R09: 0000000000000096 R10: 00000000000000fb R11: 0000000000000000 R12: ffff8881749b8044 R13: ffff88816c445450 R14: 0000000000000003 R15: 0000000000000000 FS: 00007f06814986c0(0000) GS:ffff8882a9224000(0000) knlGS:000000000000000= 0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f06805ea540 CR3: 000000001cfc8000 CR4: 00000000000006f0 ---------------- Code disassembly (best guess): 0: 49 83 c4 44 add $0x44,%r12 4: 4c 89 e0 mov %r12,%rax 7: 48 c1 e8 03 shr $0x3,%rax b: 0f b6 04 10 movzbl (%rax,%rdx,1),%eax f: 84 c0 test %al,%al 11: 0f 85 0a 84 00 00 jne 0x8421 17: 45 03 34 24 add (%r12),%r14d 1b: 48 8b bc 24 a0 01 00 mov 0x1a0(%rsp),%rdi 22: 00 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruct= ion 2e: 74 17 je 0x47 30: e8 49 30 b0 00 call 0xb0307e 35: 48 8b bc 24 a0 01 00 mov 0x1a0(%rsp),%rdi 3c: 00 3d: 48 rex.W 3e: ba .byte 0xba *** If these findings have caused you to resend the series or submit a separate fix, please add the following tag to your commit message: Tested-by: syzbot@syzkaller.appspotmail.com --- This report is generated by a bot. It may contain errors. syzbot ci engineers can be reached at syzkaller@googlegroups.com. To test a patch for this bug, please reply with `#syz test` (should be on a separate line). The patch should be attached to the email. Note: arguments like custom git repos and branches are not supported. The email will later be sent to: [a.s.protopopov@gmail.com ameryhung@gmail.com andrii@kernel.org ast@kernel.= org bpf@vger.kernel.org daniel@iogearbox.net eddyz87@gmail.com eyal.birger@= gmail.com jolsa@kernel.org kpsingh@kernel.org linux-kernel@vger.kernel.org = memxor@gmail.com rongtao@cestc.cn xukuohai@huaweicloud.com yonghong.song@li= nux.dev] If the report looks fine to you, reply with: #syz upstream If the report is a false positive, reply with #syz invalid