kernel BUG at net/core/skbuff.c:LINE!

162 views
Skip to first unread message

syzbot

unread,
Apr 12, 2019, 11:43:11 AM4/12/19
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 1ec8f1f0 Linux 4.14.111
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1229506b200000
kernel config: https://syzkaller.appspot.com/x/.config?x=fdadf290ea9fc6f9
dashboard link: https://syzkaller.appspot.com/bug?extid=812d66c9f9b0bbb28d30
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+812d66...@syzkaller.appspotmail.com

skbuff: skb_over_panic: text:ffffffff8561dcae len:232 put:72
head:ffff888093b53c80 data:ffff888093b53c80 tail:0xe8 end:0xc0 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:104!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 7712 Comm: syz-executor.0 Not tainted 4.14.111 #1
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
task: ffff8880a8008380 task.stack: ffff888071cf8000
RIP: 0010:skb_panic+0x17c/0x17e net/core/skbuff.c:104
RSP: 0018:ffff888071cfee18 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffff8880930b4440 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff814b2a55 RDI: ffffed100e39fdb9
RBP: ffff888071cfee80 R08: 0000000000000086 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff86ee9ba0
R13: ffffffff8561dcae R14: 0000000000000048 R15: ffffffff86ee93a0
FS: 00007fd85a9c9700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe8c867ae0 CR3: 000000008bb5f000 CR4: 00000000001406f0
Call Trace:
skb_over_panic net/core/skbuff.c:109 [inline]
skb_put.cold+0x23/0x23 net/core/skbuff.c:1699
dump_esp_combs net/key/af_key.c:2997 [inline]
pfkey_send_acquire+0x168e/0x2480 net/key/af_key.c:3218
km_query+0xb8/0x1d0 net/xfrm/xfrm_state.c:1948
xfrm_state_find+0x190f/0x28a0 net/xfrm/xfrm_state.c:1022
xfrm_tmpl_resolve_one+0x1b0/0x7f0 net/xfrm/xfrm_policy.c:1394
xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:1438 [inline]
xfrm_resolve_and_create_bundle+0x219/0x24b0 net/xfrm/xfrm_policy.c:1832
xfrm_lookup+0x212/0x1930 net/xfrm/xfrm_policy.c:2164
xfrm_lookup_route+0x38/0x1c0 net/xfrm/xfrm_policy.c:2284
ip_route_output_flow+0x90/0xa0 net/ipv4/route.c:2571
udp_sendmsg+0x14a3/0x1da0 net/ipv4/udp.c:1021
udpv6_sendmsg+0x1356/0x2650 net/ipv6/udp.c:1193
inet_sendmsg+0x128/0x500 net/ipv4/af_inet.c:762
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xd0/0x110 net/socket.c:656
___sys_sendmsg+0x349/0x850 net/socket.c:2062
__sys_sendmmsg+0x152/0x3a0 net/socket.c:2152
SYSC_sendmmsg net/socket.c:2183 [inline]
SyS_sendmmsg+0x35/0x60 net/socket.c:2178
do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x458c29
RSP: 002b:00007fd85a9c8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458c29
RDX: 00000000000005c3 RSI: 0000000020000240 RDI: 0000000000000005
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd85a9c96d4
R13: 00000000004c5ca5 R14: 00000000004da258 R15: 00000000ffffffff
Code: fc 4c 8b 4d b8 8b 8b 80 00 00 00 41 57 45 89 f0 4c 89 ea ff 75 d0 4c
89 e6 48 c7 c7 e0 93 ee 86 ff 75 c8 ff 75 c0 e8 3e 89 7a fc <0f> 0b e8 04
46 8c fc 4c 8b 6d 08 e8 4b 97 b5 fc 48 c7 c1 60 9b
RIP: skb_panic+0x17c/0x17e net/core/skbuff.c:104 RSP: ffff888071cfee18
---[ end trace 93af2a993b439941 ]---


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Apr 20, 2019, 5:07:07 PM4/20/19
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 68d7a45e Linux 4.14.113
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=146b51cb200000
kernel config: https://syzkaller.appspot.com/x/.config?x=dbf1fde4d7489e1c
dashboard link: https://syzkaller.appspot.com/bug?extid=812d66c9f9b0bbb28d30
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1046ad6b200000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=166a5730a00000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+812d66...@syzkaller.appspotmail.com

R13: 00007ffc50e8467f R14: 00007faf5fa079c0 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
------------[ cut here ]------------
CPU: 0 PID: 7103 Comm: syz-executor693 Not tainted 4.14.113 #3
kernel BUG at net/core/skbuff.c:2644!
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Call Trace:
Modules linked in:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x138/0x19c lib/dump_stack.c:53
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.113 #3
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0x10f/0x159 lib/fault-inject.c:149
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
task: ffff8880a9d1c340 task.stack: ffff8880a9d28000
should_failslab+0xdb/0x130 mm/failslab.c:32
RIP: 0010:skb_copy_and_csum_bits+0x65c/0x740 net/core/skbuff.c:2644
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3376 [inline]
kmem_cache_alloc+0x2d9/0x780 mm/slab.c:3550
RSP: 0018:ffff8880aef072d8 EFLAGS: 00010206
kmem_cache_zalloc include/linux/slab.h:651 [inline]
taskstats_tgid_alloc kernel/taskstats.c:577 [inline]
taskstats_exit+0x619/0xbd0 kernel/taskstats.c:610
RAX: ffff8880a9d1c340 RBX: 0000000000000000 RCX: ffff888094e5e34c
RDX: 0000000000000100 RSI: ffff888091dca968 RDI: ffff88808f8f3dc8
RBP: ffff8880aef07360 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000003c R11: ffff888091dcabe3 R12: 000000008c410295
do_exit+0x368/0x2c10 kernel/exit.c:859
R13: 0000000000000000 R14: 000000000000003c R15: ffff88808f8f3dc0
FS: 0000000000000000(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
do_group_exit+0x111/0x330 kernel/exit.c:977
CR2: 00007faf5fa06db8 CR3: 000000009e0a5000 CR4: 00000000001406e0
get_signal+0x348/0x1a80 kernel/signal.c:2407
Call Trace:
<IRQ>
do_signal+0x86/0x1980 arch/x86/kernel/signal.c:809
icmp_glue_bits+0x7f/0x1d0 net/ipv4/icmp.c:357
__ip_append_data.isra.0+0x1570/0x20c0 net/ipv4/ip_output.c:1020
exit_to_usermode_loop+0x15c/0x220 arch/x86/entry/common.c:159
ip_append_data.part.0+0xde/0x150 net/ipv4/ip_output.c:1173
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:267 [inline]
do_syscall_64+0x4a9/0x630 arch/x86/entry/common.c:294
ip_append_data+0x5b/0x80 net/ipv4/ip_output.c:1162
entry_SYSCALL_64_after_hwframe+0x42/0xb7
icmp_push_reply+0x189/0x500 net/ipv4/icmp.c:375
RIP: 0033:0x448109
__icmp_send+0x979/0x11f0 net/ipv4/icmp.c:742
RSP: 002b:00007faf5fa06cb8 EFLAGS: 00000246
ORIG_RAX: 0000000000000133
RAX: ffffffffffffffe0 RBX: 00007faf5fa06cc0 RCX: 0000000000448109
RDX: 000000000000003c RSI: 0000000020004f40 RDI: 0000000000000004
RBP: 0000000000000006 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006ddc2c
icmp_send include/net/icmp.h:47 [inline]
ip_fragment net/ipv4/ip_output.c:554 [inline]
ip_fragment.constprop.0+0x1b6/0x200 net/ipv4/ip_output.c:541
R13: 00007ffc50e8467f R14: 00007faf5fa079c0 R15: 0000000000000000
ip_finish_output+0x7c8/0xc70 net/ipv4/ip_output.c:315
NF_HOOK_COND include/linux/netfilter.h:239 [inline]
ip_output+0x1e6/0x590 net/ipv4/ip_output.c:405
dst_output include/net/dst.h:459 [inline]
ip_local_out+0x9c/0x180 net/ipv4/ip_output.c:124
ip_queue_xmit+0x7d7/0x1b10 net/ipv4/ip_output.c:504
__tcp_transmit_skb+0x1744/0x3000 net/ipv4/tcp_output.c:1130
tcp_transmit_skb net/ipv4/tcp_output.c:1146 [inline]
__tcp_retransmit_skb+0x53b/0x1bb0 net/ipv4/tcp_output.c:2915
tcp_retransmit_skb+0x2e/0x230 net/ipv4/tcp_output.c:2929
tcp_retransmit_timer+0x825/0x2580 net/ipv4/tcp_timer.c:493
tcp_write_timer_handler+0x482/0x7e0 net/ipv4/tcp_timer.c:578
tcp_write_timer+0xd8/0x180 net/ipv4/tcp_timer.c:596
call_timer_fn+0x164/0x680 kernel/time/timer.c:1279
expire_timers kernel/time/timer.c:1318 [inline]
__run_timers kernel/time/timer.c:1634 [inline]
__run_timers kernel/time/timer.c:1602 [inline]
run_timer_softirq+0x5b4/0x1570 kernel/time/timer.c:1647
__do_softirq+0x24e/0x9ae kernel/softirq.c:288
invoke_softirq kernel/softirq.c:368 [inline]
irq_exit+0x160/0x1b0 kernel/softirq.c:409
exiting_irq arch/x86/include/asm/apic.h:648 [inline]
smp_apic_timer_interrupt+0x156/0x600 arch/x86/kernel/apic/apic.c:1064
apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:787
</IRQ>
RIP: 0010:native_safe_halt+0x2/0x10 arch/x86/include/asm/irqflags.h:58
RSP: 0018:ffff8880a9d2fe70 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff0ee2968 RBX: ffff8880a9d1c340 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8880a9d1cbbc
RBP: ffff8880a9d2fe98 R08: 1ffffffff1049901 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff87714b30
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880a9d1c340
arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:555
default_idle_call+0x36/0x90 kernel/sched/idle.c:98
cpuidle_idle_call kernel/sched/idle.c:156 [inline]
do_idle+0x262/0x3d0 kernel/sched/idle.c:246
cpu_startup_entry+0x1b/0x20 kernel/sched/idle.c:351
start_secondary+0x362/0x4d0 arch/x86/kernel/smpboot.c:272
secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:240
Code: d4 49 01 c7 44 89 75 bc 4c 89 7d c0 e9 75 fa ff ff 44 8b 65 d4 e9 61
ff ff ff e8 e0 d1 8d fc 0f 0b e9 94 fe ff ff e8 d4 d1 8d fc <0f> 0b e8 ed
76 b7 fc e9 7e fd ff ff 48 8b bd 78 ff ff ff e8 dc
RIP: skb_copy_and_csum_bits+0x65c/0x740 net/core/skbuff.c:2644 RSP:
ffff8880aef072d8
---[ end trace 6f021a7cc2fdba49 ]---

syzbot

unread,
Apr 27, 2019, 4:12:07 PM4/27/19
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 19bb613a Linux 4.19.37
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17e5ac14a00000
kernel config: https://syzkaller.appspot.com/x/.config?x=2f4f1677ff80cdff
dashboard link: https://syzkaller.appspot.com/bug?extid=77d13153b9599a418a9c
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+77d131...@syzkaller.appspotmail.com

skbuff: skb_over_panic: text:000000009ca28bd8 len:232 put:72
head:000000002cd4392d data:000000002cd4392d tail:0xe8 end:0xc0 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:104!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 7588 Comm: syz-executor.1 Not tainted 4.19.37 #5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:skb_panic+0x17c/0x17e net/core/skbuff.c:104
Code: 4c 8b 4d b8 8b 8b 80 00 00 00 41 57 45 89 f0 4c 89 ea ff 75 d0 4c 89
e6 48 c7 c7 40 b9 dc 87 ff 75 c8 ff 75 c0 e8 bb 98 f2 fb <0f> 0b e8 10 11
08 fc 4c 8b 6d 08 e8 c7 5a 3e fc 48 c7 c1 80 c2 dc
RSP: 0000:ffff88805ce8eae8 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffff88808fa25780 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8155e196 RDI: ffffed100b9d1d4f
RBP: ffff88805ce8eb50 R08: 0000000000000086 R09: ffffed1015d04fe9
R10: ffffed1015d04fe8 R11: ffff8880ae827f47 R12: ffffffff87dcc2c0
R13: ffffffff86160aa7 R14: 0000000000000048 R15: ffffffff87dcb900
FS: 00007f5a4f2c3700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff481c59b0 CR3: 00000000a5171000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
skb_over_panic net/core/skbuff.c:109 [inline]
skb_put.cold+0x23/0x23 net/core/skbuff.c:1702
dump_esp_combs net/key/af_key.c:2999 [inline]
pfkey_send_acquire+0x1ba7/0x2600 net/key/af_key.c:3220
km_query+0xd0/0x220 net/xfrm/xfrm_state.c:1988
xfrm_state_find+0x1d4f/0x2dc0 net/xfrm/xfrm_state.c:1038
xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:1413 [inline]
xfrm_tmpl_resolve+0x32a/0xc90 net/xfrm/xfrm_policy.c:1458
xfrm_resolve_and_create_bundle+0x137/0x2320 net/xfrm/xfrm_policy.c:1756
xfrm_lookup_with_ifid+0x278/0x1cd0 net/xfrm/xfrm_policy.c:2079
xfrm_lookup net/xfrm/xfrm_policy.c:2203 [inline]
xfrm_lookup_route+0x3b/0x1f0 net/xfrm/xfrm_policy.c:2214
ip_route_output_flow+0xad/0xc0 net/ipv4/route.c:2615
udp_sendmsg+0x1ade/0x25f0 net/ipv4/udp.c:1090
udpv6_sendmsg+0x13a4/0x28d0 net/ipv6/udp.c:1211
inet_sendmsg+0x147/0x5d0 net/ipv4/af_inet.c:798
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xdd/0x130 net/socket.c:632
___sys_sendmsg+0x3e2/0x930 net/socket.c:2115
__sys_sendmmsg+0x1bf/0x4e0 net/socket.c:2210
__do_sys_sendmmsg net/socket.c:2239 [inline]
__se_sys_sendmmsg net/socket.c:2236 [inline]
__x64_sys_sendmmsg+0x9d/0x100 net/socket.c:2236
do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458da9
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f5a4f2c2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458da9
RDX: 00000000000005c3 RSI: 0000000020000240 RDI: 0000000000000005
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000000f0 R11: 0000000000000246 R12: 00007f5a4f2c36d4
R13: 00000000004c5fac R14: 00000000004da760 R15: 00000000ffffffff
Modules linked in:
---[ end trace 4108ede33422509b ]---
RIP: 0010:skb_panic+0x17c/0x17e net/core/skbuff.c:104
Code: 4c 8b 4d b8 8b 8b 80 00 00 00 41 57 45 89 f0 4c 89 ea ff 75 d0 4c 89
e6 48 c7 c7 40 b9 dc 87 ff 75 c8 ff 75 c0 e8 bb 98 f2 fb <0f> 0b e8 10 11
08 fc 4c 8b 6d 08 e8 c7 5a 3e fc 48 c7 c1 80 c2 dc
RSP: 0000:ffff88805ce8eae8 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffff88808fa25780 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8155e196 RDI: ffffed100b9d1d4f
RBP: ffff88805ce8eb50 R08: 0000000000000086 R09: ffffed1015d04fe9
R10: ffffed1015d04fe8 R11: ffff8880ae827f47 R12: ffffffff87dcc2c0
R13: ffffffff86160aa7 R14: 0000000000000048 R15: ffffffff87dcb900
FS: 00007f5a4f2c3700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000f290d0 CR3: 00000000a5171000 CR4: 00000000001406e0

syzbot

unread,
Apr 27, 2019, 5:57:06 PM4/27/19
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 19bb613a Linux 4.19.37
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=115ca140a00000
kernel config: https://syzkaller.appspot.com/x/.config?x=2f4f1677ff80cdff
dashboard link: https://syzkaller.appspot.com/bug?extid=77d13153b9599a418a9c
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1026c7b0a00000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+77d131...@syzkaller.appspotmail.com

IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready
IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready
8021q: adding VLAN 0 to HW filter on device batadv0
skbuff: skb_over_panic: text:000000004606f2e0 len:232 put:72
head:00000000835d165f data:00000000835d165f tail:0xe8 end:0xc0 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:104!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8284 Comm: syz-executor.2 Not tainted 4.19.37 #5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:skb_panic+0x17c/0x17e net/core/skbuff.c:104
Code: 4c 8b 4d b8 8b 8b 80 00 00 00 41 57 45 89 f0 4c 89 ea ff 75 d0 4c 89
e6 48 c7 c7 40 b9 dc 87 ff 75 c8 ff 75 c0 e8 bb 98 f2 fb <0f> 0b e8 10 11
08 fc 4c 8b 6d 08 e8 c7 5a 3e fc 48 c7 c1 80 c2 dc
RSP: 0018:ffff88807dabeae8 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffff88808f158c80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8155e196 RDI: ffffed100fb57d4f
RBP: ffff88807dabeb50 R08: 0000000000000086 R09: ffffed1015d24fe9
R10: ffffed1015d24fe8 R11: ffff8880ae927f47 R12: ffffffff87dcc2c0
R13: ffffffff86160aa7 R14: 0000000000000048 R15: ffffffff87dcb900
FS: 00007f8e3e8a0700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffef6fe5c4c CR3: 0000000089a69000 CR4: 00000000001406e0
RSP: 002b:00007f8e3e89fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458da9
RDX: 00000000000005c3 RSI: 0000000020000240 RDI: 0000000000000005
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000000f0 R11: 0000000000000246 R12: 00007f8e3e8a06d4
R13: 00000000004c5fac R14: 00000000004da760 R15: 00000000ffffffff
Modules linked in:
---[ end trace 3e9151c8cc5ae043 ]---
RIP: 0010:skb_panic+0x17c/0x17e net/core/skbuff.c:104
Code: 4c 8b 4d b8 8b 8b 80 00 00 00 41 57 45 89 f0 4c 89 ea ff 75 d0 4c 89
e6 48 c7 c7 40 b9 dc 87 ff 75 c8 ff 75 c0 e8 bb 98 f2 fb <0f> 0b e8 10 11
08 fc 4c 8b 6d 08 e8 c7 5a 3e fc 48 c7 c1 80 c2 dc
RSP: 0018:ffff88807dabeae8 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffff88808f158c80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8155e196 RDI: ffffed100fb57d4f
RBP: ffff88807dabeb50 R08: 0000000000000086 R09: ffffed1015d24fe9
R10: ffffed1015d24fe8 R11: ffff8880ae927f47 R12: ffffffff87dcc2c0
R13: ffffffff86160aa7 R14: 0000000000000048 R15: ffffffff87dcb900
FS: 00007f8e3e8a0700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600400 CR3: 0000000089a69000 CR4: 00000000001406f0

syzbot

unread,
Dec 24, 2019, 5:08:11 AM12/24/19
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 672481c2 Linux 4.19.91
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=155b54e1e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=445a712574d168a6
dashboard link: https://syzkaller.appspot.com/bug?extid=77d13153b9599a418a9c
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=150481c1e00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=136124aee00000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+77d131...@syzkaller.appspotmail.com

audit: type=1400 audit(1577181912.767:36): avc: denied { map } for
pid=7782 comm="syz-executor246" path="/root/syz-executor246020502"
dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023
tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
skbuff: skb_over_panic: text:00000000ac4603da len:194 put:82
head:000000003e5a646d data:000000003e5a646d tail:0xc2 end:0xc0 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:104!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 7782 Comm: syz-executor246 Not tainted 4.19.91-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:skb_panic+0x17c/0x17e net/core/skbuff.c:104
Code: 4c 8b 4d b8 8b 8b 80 00 00 00 41 57 45 89 f0 4c 89 ea ff 75 d0 4c 89
e6 48 c7 c7 40 94 49 88 ff 75 c8 ff 75 c0 e8 3b 9f 9a fb <0f> 0b e8 d0 3a
b0 fb 4c 8b 6d 08 e8 87 b8 e7 fb 48 c7 c1 00 9e 49
RSP: 0018:ffff88809262f9f0 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffff888091976bc0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8155bb16 RDI: ffffed10124c5f30
RBP: ffff88809262fa58 R08: 0000000000000086 R09: ffffed1015d05079
R10: ffffed1015d05078 R11: ffff8880ae8283c7 R12: ffffffff88499e40
R13: ffffffff86c20fa7 R14: 0000000000000052 R15: ffffffff88499400
FS: 0000000001178880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005650a6ceb180 CR3: 00000000942c8000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
skb_over_panic net/core/skbuff.c:109 [inline]
skb_put.cold+0x23/0x23 net/core/skbuff.c:1702
skb_put_data include/linux/skbuff.h:2109 [inline]
sctp_addto_chunk+0xe7/0x2a0 net/sctp/sm_make_chunk.c:1507
sctp_make_strreset_req+0x392/0x3e0 net/sctp/sm_make_chunk.c:3687
sctp_send_reset_streams+0x7ed/0xe10 net/sctp/stream.c:424
sctp_setsockopt_reset_streams net/sctp/socket.c:4094 [inline]
sctp_setsockopt net/sctp/socket.c:4443 [inline]
sctp_setsockopt+0x31a3/0x4f70 net/sctp/socket.c:4286
sock_common_setsockopt+0x94/0xd0 net/core/sock.c:3046
__sys_setsockopt+0x17a/0x280 net/socket.c:1901
__do_sys_setsockopt net/socket.c:1912 [inline]
__se_sys_setsockopt net/socket.c:1909 [inline]
__x64_sys_setsockopt+0xbe/0x150 net/socket.c:1909
do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4402d9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fff2926bd38 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004402d9
RDX: 0000000000000077 RSI: 0000000000000084 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 00000000000002de R09: 00000000004002c8
R10: 000000002081e000 R11: 0000000000000246 R12: 0000000000401b60
R13: 0000000000401bf0 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 533e27ff3db68061 ]---
RIP: 0010:skb_panic+0x17c/0x17e net/core/skbuff.c:104
Code: 4c 8b 4d b8 8b 8b 80 00 00 00 41 57 45 89 f0 4c 89 ea ff 75 d0 4c 89
e6 48 c7 c7 40 94 49 88 ff 75 c8 ff 75 c0 e8 3b 9f 9a fb <0f> 0b e8 d0 3a
b0 fb 4c 8b 6d 08 e8 87 b8 e7 fb 48 c7 c1 00 9e 49
RSP: 0018:ffff88809262f9f0 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffff888091976bc0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8155bb16 RDI: ffffed10124c5f30
RBP: ffff88809262fa58 R08: 0000000000000086 R09: ffffed1015d05079
R10: ffffed1015d05078 R11: ffff8880ae8283c7 R12: ffffffff88499e40
R13: ffffffff86c20fa7 R14: 0000000000000052 R15: ffffffff88499400
FS: 0000000001178880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005650a6ceb180 CR3: 00000000942c8000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

miller chen

unread,
Feb 21, 2023, 3:51:32 AM2/21/23
to syzkaller-lts-bugs
I found this issue in kernel 4.14.18 again. Is there any updates or patch to solve this issue??
Reply all
Reply to author
Forward
0 new messages