syzbot


BUG: stack guard page was hit in sys_sendto

Status: auto-obsoleted due to no activity on 2024/11/01 07:20
Subsystems: mm
[Documentation on labels]
First crash: 200d, last: 200d

Sample crash report:
BUG: TASK stack guard page was hit at ffffc90009aeff18 (stack is ffffc90009af0000..ffffc90009af8000)
Oops: stack guard page: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 PID: 12908 Comm: syz.4.2374 Not tainted 6.10.0-rc7-syzkaller-01603-g80ab5445da62 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:validate_chain+0x1f/0x5900 kernel/locking/lockdep.c:3825
Code: 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec c0 02 00 00 49 89 ce <89> 54 24 58 48 89 bc 24 80 00 00 00 65 48 8b 04 25 28 00 00 00 48
RSP: 0018:ffffc90009aeff20 EFLAGS: 00010082
RAX: 1ffffffff2595a67 RBX: ffffffff92cad338 RCX: c7ef183a23b43a25
RDX: 0000000000000000 RSI: ffff88807d2d8f90 RDI: ffff88807d2d8000
RBP: ffffc90009af0220 R08: ffffffff92fc5587 R09: 1ffffffff25f8ab0
R10: dffffc0000000000 R11: fffffbfff25f8ab1 R12: ffff88807d2d8000
R13: ffff88807d2d8000 R14: c7ef183a23b43a25 R15: ffff88807d2d8000
FS:  00007f5ea7fef6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90009aeff18 CR3: 0000000058bb2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <#DF>
 </#DF>
 <TASK>
 __lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5137
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
 seqcount_lockdep_reader_access+0x127/0x1e0 include/linux/seqlock.h:72
 read_seqbegin include/linux/seqlock.h:772 [inline]
 zone_span_seqbegin include/linux/memory_hotplug.h:151 [inline]
 page_outside_zone_boundaries mm/page_alloc.c:434 [inline]
 bad_range+0x5f/0x270 mm/page_alloc.c:453
 rmqueue mm/page_alloc.c:3030 [inline]
 get_page_from_freelist+0x2e33/0x2f10 mm/page_alloc.c:3422
 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4683
 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
 stack_depot_save_flags+0x666/0x830 lib/stackdepot.c:627
 save_stack+0x109/0x1f0 mm/page_owner.c:157
 __set_page_owner+0x92/0x800 mm/page_owner.c:320
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1473
 prep_new_page mm/page_alloc.c:1481 [inline]
 get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3425
 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4683
 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
 stack_depot_save_flags+0x666/0x830 lib/stackdepot.c:627
 kasan_save_stack mm/kasan/common.c:48 [inline]
 kasan_save_track+0x51/0x80 mm/kasan/common.c:68
 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579
 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240
 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256
 kasan_slab_free include/linux/kasan.h:184 [inline]
 slab_free_hook mm/slub.c:2196 [inline]
 slab_free_freelist_hook mm/slub.c:2225 [inline]
 slab_free_bulk mm/slub.c:4462 [inline]
 kmem_cache_free_bulk+0x1f8/0x370 mm/slub.c:4676
 kfree_skb_list_reason+0x72e/0x7c0 net/core/skbuff.c:1290
 kfree_skb_list include/linux/skbuff.h:1280 [inline]
 __dev_queue_xmit+0x18d2/0x3e90 net/core/dev.c:4447
 dev_queue_xmit include/linux/netdevice.h:3101 [inline]
 neigh_hh_output include/net/neighbour.h:526 [inline]
 neigh_output include/net/neighbour.h:540 [inline]
 ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137
 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:959
 __ip6_finish_output net/ipv6/ip6_output.c:209 [inline]
 ip6_finish_output+0x2b8/0x810 net/ipv6/ip6_output.c:222
 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:497 [inline]
 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:538 [inline]
 ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline]
 ipvlan_queue_xmit+0xa2e/0x11d0 drivers/net/ipvlan/ipvlan_core.c:668
 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:222
 __netdev_start_xmit include/linux/netdevice.h:4910 [inline]
 netdev_start_xmit include/linux/netdevice.h:4919 [inline]
 xmit_one net/core/dev.c:3580 [inline]
 dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3596
 __dev_queue_xmit+0x1b63/0x3e90 net/core/dev.c:4423
 dev_queue_xmit include/linux/netdevice.h:3101 [inline]
 neigh_hh_output include/net/neighbour.h:526 [inline]
 neigh_output include/net/neighbour.h:540 [inline]
 ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137
 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:959
 __ip6_finish_output net/ipv6/ip6_output.c:209 [inline]
 ip6_finish_output+0x2b8/0x810 net/ipv6/ip6_output.c:222
 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:497 [inline]
 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:538 [inline]
 ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline]
 ipvlan_queue_xmit+0xa2e/0x11d0 drivers/net/ipvlan/ipvlan_core.c:668
 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:222
 __netdev_start_xmit include/linux/netdevice.h:4910 [inline]
 netdev_start_xmit include/linux/netdevice.h:4919 [inline]
 xmit_one net/core/dev.c:3580 [inline]
 dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3596
 __dev_queue_xmit+0x1b63/0x3e90 net/core/dev.c:4423
 dev_queue_xmit include/linux/netdevice.h:3101 [inline]
 neigh_hh_output include/net/neighbour.h:526 [inline]
 neigh_output include/net/neighbour.h:540 [inline]
 ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137
 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:959
 __ip6_finish_output net/ipv6/ip6_output.c:209 [inline]
 ip6_finish_output+0x2b8/0x810 net/ipv6/ip6_output.c:222
 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:497 [inline]
 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:538 [inline]
 ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline]
 ipvlan_queue_xmit+0xa2e/0x11d0 drivers/net/ipvlan/ipvlan_core.c:668
 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:222
 __netdev_start_xmit include/linux/netdevice.h:4910 [inline]
 netdev_start_xmit include/linux/netdevice.h:4919 [inline]
 xmit_one net/core/dev.c:3580 [inline]
 dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3596
 __dev_queue_xmit+0x1b63/0x3e90 net/core/dev.c:4423
 dev_queue_xmit include/linux/netdevice.h:3101 [inline]
 neigh_hh_output include/net/neighbour.h:526 [inline]
 neigh_output include/net/neighbour.h:540 [inline]
 ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137
 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:959
 __ip6_finish_output net/ipv6/ip6_output.c:209 [inline]
 ip6_finish_output+0x2b8/0x810 net/ipv6/ip6_output.c:222
 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:497 [inline]
 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:538 [inline]
 ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline]
 ipvlan_queue_xmit+0xa2e/0x11d0 drivers/net/ipvlan/ipvlan_core.c:668
 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:222
 __netdev_start_xmit include/linux/netdevice.h:4910 [inline]
 netdev_start_xmit include/linux/netdevice.h:4919 [inline]
 xmit_one net/core/dev.c:3580 [inline]
 dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3596
 __dev_queue_xmit+0x1b63/0x3e90 net/core/dev.c:4423
 dev_queue_xmit include/linux/netdevice.h:3101 [inline]
 neigh_hh_output include/net/neighbour.h:526 [inline]
 neigh_output include/net/neighbour.h:540 [inline]
 ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137
 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:959
 __ip6_finish_output net/ipv6/ip6_output.c:209 [inline]
 ip6_finish_output+0x2b8/0x810 net/ipv6/ip6_output.c:222
 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:497 [inline]
 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:538 [inline]
 ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline]
 ipvlan_queue_xmit+0xa2e/0x11d0 drivers/net/ipvlan/ipvlan_core.c:668
 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:222
 __netdev_start_xmit include/linux/netdevice.h:4910 [inline]
 netdev_start_xmit include/linux/netdevice.h:4919 [inline]
 xmit_one net/core/dev.c:3580 [inline]
 dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3596
 __dev_queue_xmit+0x1b63/0x3e90 net/core/dev.c:4423
 dev_queue_xmit include/linux/netdevice.h:3101 [inline]
 neigh_hh_output include/net/neighbour.h:526 [inline]
 neigh_output include/net/neighbour.h:540 [inline]
 ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137
 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:959
 __ip6_finish_output net/ipv6/ip6_output.c:209 [inline]
 ip6_finish_output+0x2b8/0x810 net/ipv6/ip6_output.c:222
 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:497 [inline]
 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:538 [inline]
 ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline]
 ipvlan_queue_xmit+0xa2e/0x11d0 drivers/net/ipvlan/ipvlan_core.c:668
 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:222
 __netdev_start_xmit include/linux/netdevice.h:4910 [inline]
 netdev_start_xmit include/linux/netdevice.h:4919 [inline]
 xmit_one net/core/dev.c:3580 [inline]
 dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3596
 __dev_queue_xmit+0x1b63/0x3e90 net/core/dev.c:4423
 dev_queue_xmit include/linux/netdevice.h:3101 [inline]
 neigh_hh_output include/net/neighbour.h:526 [inline]
 neigh_output include/net/neighbour.h:540 [inline]
 ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137
 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:959
 __ip6_finish_output net/ipv6/ip6_output.c:209 [inline]
 ip6_finish_output+0x2b8/0x810 net/ipv6/ip6_output.c:222
 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:497 [inline]
 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:538 [inline]
 ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline]
 ipvlan_queue_xmit+0xa2e/0x11d0 drivers/net/ipvlan/ipvlan_core.c:668
 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:222
 __netdev_start_xmit include/linux/netdevice.h:4910 [inline]
 netdev_start_xmit include/linux/netdevice.h:4919 [inline]
 xmit_one net/core/dev.c:3580 [inline]
 dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3596
 __dev_queue_xmit+0x1b63/0x3e90 net/core/dev.c:4423
 dev_queue_xmit include/linux/netdevice.h:3101 [inline]
 neigh_hh_output include/net/neighbour.h:526 [inline]
 neigh_output include/net/neighbour.h:540 [inline]
 ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137
 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:959
 __ip6_finish_output net/ipv6/ip6_output.c:209 [inline]
 ip6_finish_output+0x2b8/0x810 net/ipv6/ip6_output.c:222
 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:497 [inline]
 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:538 [inline]
 ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline]
 ipvlan_queue_xmit+0xa2e/0x11d0 drivers/net/ipvlan/ipvlan_core.c:668
 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:222
 __netdev_start_xmit include/linux/netdevice.h:4910 [inline]
 netdev_start_xmit include/linux/netdevice.h:4919 [inline]
 xmit_one net/core/dev.c:3580 [inline]
 dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3596
 __dev_queue_xmit+0x1b63/0x3e90 net/core/dev.c:4423
 dev_queue_xmit include/linux/netdevice.h:3101 [inline]
 neigh_hh_output include/net/neighbour.h:526 [inline]
 neigh_output include/net/neighbour.h:540 [inline]
 ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137
 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:959
 __ip6_finish_output net/ipv6/ip6_output.c:209 [inline]
 ip6_finish_output+0x2b8/0x810 net/ipv6/ip6_output.c:222
 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:497 [inline]
 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:538 [inline]
 ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline]
 ipvlan_queue_xmit+0xa2e/0x11d0 drivers/net/ipvlan/ipvlan_core.c:668
 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:222
 __netdev_start_xmit include/linux/netdevice.h:4910 [inline]
 netdev_start_xmit include/linux/netdevice.h:4919 [inline]
 xmit_one net/core/dev.c:3580 [inline]
 dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3596
 __dev_queue_xmit+0x1b63/0x3e90 net/core/dev.c:4423
 dev_queue_xmit include/linux/netdevice.h:3101 [inline]
 neigh_hh_output include/net/neighbour.h:526 [inline]
 neigh_output include/net/neighbour.h:540 [inline]
 ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137
 ip6_fragment+0x164e/0x22c0 net/ipv6/ip6_output.c:1020
 __ip6_finish_output net/ipv6/ip6_output.c:209 [inline]
 ip6_finish_output+0x2b8/0x810 net/ipv6/ip6_output.c:222
 NF_HOOK include/linux/netfilter.h:314 [inline]
 ip6_xmit+0xefe/0x17f0 net/ipv6/ip6_output.c:358
 sctp_v6_xmit+0x9f2/0x13f0 net/sctp/ipv6.c:248
 sctp_packet_transmit+0x26af/0x2ca0 net/sctp/output.c:653
 sctp_packet_singleton+0x22c/0x320 net/sctp/outqueue.c:783
 sctp_outq_flush_ctrl net/sctp/outqueue.c:914 [inline]
 sctp_outq_flush+0x6d5/0x3e20 net/sctp/outqueue.c:1212
 sctp_side_effects net/sctp/sm_sideeffect.c:1198 [inline]
 sctp_do_sm+0x59cc/0x60c0 net/sctp/sm_sideeffect.c:1169
 sctp_primitive_ASSOCIATE+0x95/0xc0 net/sctp/primitive.c:73
 sctp_sendmsg_to_asoc+0xfa5/0x1800 net/sctp/socket.c:1841
 sctp_sendmsg+0x1bc3/0x3520 net/sctp/socket.c:2031
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x1a6/0x270 net/socket.c:745
 __sys_sendto+0x3a4/0x4f0 net/socket.c:2192
 __do_sys_sendto net/socket.c:2204 [inline]
 __se_sys_sendto net/socket.c:2200 [inline]
 __x64_sys_sendto+0xde/0x100 net/socket.c:2200
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5ea7175bd9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5ea7fef048 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f5ea7303f60 RCX: 00007f5ea7175bd9
RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000005
RBP: 00007f5ea71e4e60 R08: 0000000020000000 R09: 000000000000001c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f5ea7303f60 R15: 00007ffe730176a8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:validate_chain+0x1f/0x5900 kernel/locking/lockdep.c:3825
Code: 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec c0 02 00 00 49 89 ce <89> 54 24 58 48 89 bc 24 80 00 00 00 65 48 8b 04 25 28 00 00 00 48
RSP: 0018:ffffc90009aeff20 EFLAGS: 00010082
RAX: 1ffffffff2595a67 RBX: ffffffff92cad338 RCX: c7ef183a23b43a25
RDX: 0000000000000000 RSI: ffff88807d2d8f90 RDI: ffff88807d2d8000
RBP: ffffc90009af0220 R08: ffffffff92fc5587 R09: 1ffffffff25f8ab0
R10: dffffc0000000000 R11: fffffbfff25f8ab1 R12: ffff88807d2d8000
R13: ffff88807d2d8000 R14: c7ef183a23b43a25 R15: ffff88807d2d8000
FS:  00007f5ea7fef6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90009aeff18 CR3: 0000000058bb2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	90                   	nop
   1:	90                   	nop
   2:	90                   	nop
   3:	90                   	nop
   4:	90                   	nop
   5:	90                   	nop
   6:	90                   	nop
   7:	90                   	nop
   8:	90                   	nop
   9:	90                   	nop
   a:	90                   	nop
   b:	f3 0f 1e fa          	endbr64
   f:	55                   	push   %rbp
  10:	48 89 e5             	mov    %rsp,%rbp
  13:	41 57                	push   %r15
  15:	41 56                	push   %r14
  17:	41 55                	push   %r13
  19:	41 54                	push   %r12
  1b:	53                   	push   %rbx
  1c:	48 83 e4 e0          	and    $0xffffffffffffffe0,%rsp
  20:	48 81 ec c0 02 00 00 	sub    $0x2c0,%rsp
  27:	49 89 ce             	mov    %rcx,%r14
* 2a:	89 54 24 58          	mov    %edx,0x58(%rsp) <-- trapping instruction
  2e:	48 89 bc 24 80 00 00 	mov    %rdi,0x80(%rsp)
  35:	00
  36:	65 48 8b 04 25 28 00 	mov    %gs:0x28,%rax
  3d:	00 00
  3f:	48                   	rex.W

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/12 05:55 net-next 80ab5445da62 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: stack guard page was hit in sys_sendto
* Struck through repros no longer work on HEAD.