syzbot


WARNING in skb_ensure_writable

Status: upstream: reported C repro on 2024/04/13 13:05
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+6a277a9044a785b43d58@syzkaller.appspotmail.com
First crash: 44d, last: 2d10h
Bug presence (1)
Date Name Commit Repro Result
2024/04/30 upstream (ToT) 98369dccd2f8 C [report] WARNING in skb_ensure_writable
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in skb_ensure_writable bpf net C done 1917 6h47m 35d 0/26 upstream: reported C repro on 2024/04/22 14:21

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3547 at include/linux/skbuff.h:2641 skb_ensure_writable+0x2e6/0x430 net/core/skbuff.c:5768
Modules linked in:
CPU: 0 PID: 3547 Comm: syz-executor170 Not tainted 6.1.86-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:pskb_may_pull include/linux/skbuff.h:2641 [inline]
RIP: 0010:skb_ensure_writable+0x2e6/0x430 net/core/skbuff.c:5768
Code: c3 e8 4e 57 0e f9 4c 89 ef 31 f6 31 d2 b9 20 0a 00 00 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d e9 9f 0f fe ff e8 2a 57 0e f9 <0f> 0b e9 44 fd ff ff 44 89 f7 44 89 e6 e8 78 58 0e f9 45 39 e6 0f
RSP: 0018:ffffc9000390f910 EFLAGS: 00010293
RAX: ffffffff887c3826 RBX: ffff888072284640 RCX: ffff8880273c1dc0
RDX: 0000000000000000 RSI: 00000000fffffff7 RDI: 0000000000000000
RBP: 00000000fffffff7 R08: ffffffff887c3563 R09: fffffbfff1ce6ede
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000fffffff7
R13: ffff888072284640 R14: ffffc90000b1e020 R15: dffffc0000000000
FS:  0000555555b2a380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002c80 CR3: 0000000072280000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __bpf_try_make_writable net/core/filter.c:1658 [inline]
 bpf_try_make_writable net/core/filter.c:1664 [inline]
 ____bpf_skb_pull_data net/core/filter.c:1844 [inline]
 bpf_skb_pull_data+0x78/0x220 net/core/filter.c:1833
 bpf_prog_c054a5fa89446ea8+0x1c/0x3f
 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline]
 __bpf_prog_run include/linux/filter.h:603 [inline]
 bpf_prog_run include/linux/filter.h:610 [inline]
 bpf_test_run+0x40f/0x8b0 net/bpf/test_run.c:402
 bpf_prog_test_run_skb+0xaf1/0x13a0 net/bpf/test_run.c:1180
 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3670
 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5023
 __do_sys_bpf kernel/bpf/syscall.c:5109 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5107 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5107
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fd366ea3669
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 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 ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffda169d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fffda169f68 RCX: 00007fd366ea3669
RDX: 0000000000000050 RSI: 00000000200002c0 RDI: 000000000000000a
RBP: 00007fd366f16610 R08: 0000000000000000 R09: 00007fffda169f68
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffda169f58 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (266):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/13 20:42 linux-6.1.y cd5d98c0556c c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in skb_ensure_writable
2024/04/13 20:15 linux-6.1.y cd5d98c0556c c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in skb_ensure_writable
2024/04/13 19:23 linux-6.1.y cd5d98c0556c c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/04/13 14:44 linux-6.1.y cd5d98c0556c c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in skb_ensure_writable
2024/04/13 18:58 linux-6.1.y cd5d98c0556c c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/25 09:43 linux-6.1.y 4078fa637fcd a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/23 19:40 linux-6.1.y 4078fa637fcd 4c2072ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/22 20:14 linux-6.1.y 4078fa637fcd 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/21 18:47 linux-6.1.y 4078fa637fcd 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/20 22:30 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/19 20:48 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in skb_ensure_writable
2024/05/16 10:39 linux-6.1.y 909ba1f1b414 ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in skb_ensure_writable
2024/05/15 17:13 linux-6.1.y 909ba1f1b414 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/13 13:48 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/13 06:47 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/13 05:33 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in skb_ensure_writable
2024/05/13 01:37 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in skb_ensure_writable
2024/05/12 21:54 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/09 21:03 linux-6.1.y 909ba1f1b414 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in skb_ensure_writable
2024/05/09 18:45 linux-6.1.y 909ba1f1b414 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/03 20:01 linux-6.1.y 909ba1f1b414 dd26401e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/03 07:55 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/03 06:46 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/03 05:22 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/03 03:40 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/02 18:45 linux-6.1.y 909ba1f1b414 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in skb_ensure_writable
2024/05/01 18:49 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/01 12:00 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in skb_ensure_writable
2024/04/13 13:04 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in skb_ensure_writable
2024/05/24 06:04 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/24 06:03 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/23 16:17 linux-6.1.y 4078fa637fcd 4c2072ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/22 18:30 linux-6.1.y 4078fa637fcd 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/21 14:39 linux-6.1.y 4078fa637fcd 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/21 05:03 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/16 09:39 linux-6.1.y 909ba1f1b414 ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/15 15:08 linux-6.1.y 909ba1f1b414 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/12 21:56 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/11 23:23 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/09 22:04 linux-6.1.y 909ba1f1b414 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/03 02:26 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/03 01:40 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/03 00:38 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/02 23:08 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/02 16:57 linux-6.1.y 909ba1f1b414 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/02 12:59 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/02 02:58 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/01 10:14 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/01 10:13 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/01 03:35 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
2024/05/01 01:36 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in skb_ensure_writable
* Struck through repros no longer work on HEAD.