syzbot


WARNING in skb_ensure_writable (2)

Status: auto-obsoleted due to no activity on 2024/10/23 00:05
Subsystems: bpf net
[Documentation on labels]
Reported-by: syzbot+deb196d6d40f19e8551a@syzkaller.appspotmail.com
First crash: 129d, last: 129d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] [bpf?] WARNING in skb_ensure_writable (2) 0 (1) 2024/08/17 19:01
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in skb_ensure_writable C done 496 177d 251d 3/3 fixed on 2024/08/06 01:13
upstream WARNING in skb_ensure_writable bpf net C done 2893 165d 242d 26/28 fixed on 2024/07/09 19:14

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 13062 at include/linux/skbuff.h:2738 pskb_may_pull_reason include/linux/skbuff.h:2738 [inline]
WARNING: CPU: 0 PID: 13062 at include/linux/skbuff.h:2738 pskb_may_pull include/linux/skbuff.h:2754 [inline]
WARNING: CPU: 0 PID: 13062 at include/linux/skbuff.h:2738 skb_ensure_writable+0x26c/0x3a8 net/core/skbuff.c:6100
Modules linked in:
CPU: 0 PID: 13062 Comm: syz.2.2595 Tainted: G        W          6.10.0-rc2-syzkaller-g8867bbd4a056 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : pskb_may_pull_reason include/linux/skbuff.h:2738 [inline]
pc : pskb_may_pull include/linux/skbuff.h:2754 [inline]
pc : skb_ensure_writable+0x26c/0x3a8 net/core/skbuff.c:6100
lr : pskb_may_pull_reason include/linux/skbuff.h:2738 [inline]
lr : pskb_may_pull include/linux/skbuff.h:2754 [inline]
lr : skb_ensure_writable+0x26c/0x3a8 net/core/skbuff.c:6100
sp : ffff800098f076c0
x29: ffff800098f076c0 x28: 0000000001000000 x27: ffff800098f07768
x26: 0000000000000000 x25: ffff800098f07770 x24: 1ffff000136a9e06
x23: 1ffff000131e0f1c x22: dfff800000000000 x21: dfff800000000000
x20: 00000000ffffffff x19: ffff0000c61a8280 x18: 0000000000000000
x17: 0000000000000000 x16: ffff80008055a9d4 x15: 0000000000000003
x14: ffff80008f3c0558 x13: dfff800000000000 x12: 0000000000000003
x11: 0000000000040000 x10: 00000000000004d0 x9 : ffff80009f01f000
x8 : 00000000000004d1 x7 : ffff80008044e140 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000
x2 : ffff0000d24fdac0 x1 : 00000000ffffffff x0 : 0000000000000000
Call trace:
 pskb_may_pull_reason include/linux/skbuff.h:2738 [inline]
 pskb_may_pull include/linux/skbuff.h:2754 [inline]
 skb_ensure_writable+0x26c/0x3a8 net/core/skbuff.c:6100
 __bpf_try_make_writable net/core/filter.c:1668 [inline]
 bpf_try_make_writable net/core/filter.c:1674 [inline]
 ____bpf_skb_pull_data net/core/filter.c:1865 [inline]
 bpf_skb_pull_data+0x80/0x210 net/core/filter.c:1854
 bpf_prog_d22c10afa9a4a832+0x50/0xb8
 bpf_dispatcher_nop_func include/linux/bpf.h:1243 [inline]
 __bpf_prog_run include/linux/filter.h:691 [inline]
 bpf_prog_run include/linux/filter.h:698 [inline]
 bpf_test_run+0x374/0x890 net/bpf/test_run.c:425
 bpf_prog_test_run_skb+0x8d4/0x1090 net/bpf/test_run.c:1066
 bpf_prog_test_run+0x2dc/0x364 kernel/bpf/syscall.c:4291
 __sys_bpf+0x314/0x5f0 kernel/bpf/syscall.c:5705
 __do_sys_bpf kernel/bpf/syscall.c:5794 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5792 [inline]
 __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:5792
 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598
irq event stamp: 291
hardirqs last  enabled at (289): [<ffff80008044e060>] seqcount_lockdep_reader_access+0x80/0x104 include/linux/seqlock.h:74
hardirqs last disabled at (291): [<ffff80008b1fe010>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470
softirqs last  enabled at (276): [<ffff800080030830>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (290): [<ffff800089727270>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/14 00:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/14 00:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 23:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 23:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 23:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 23:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 23:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 23:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 23:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 22:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 22:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 22:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 22:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 22:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 21:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 21:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 21:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 21:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 21:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 21:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 20:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 20:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 19:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 19:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 19:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
2024/08/13 19:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in skb_ensure_writable
* Struck through repros no longer work on HEAD.