BUG: TASK stack guard page was hit at ffffc900033e7f78 (stack is ffffc900033e8000..ffffc900033f0000) Oops: stack guard page: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 13222 Comm: syz.5.1852 Not tainted 6.12.0-rc6-syzkaller-01249-g774ca6d3bf24 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:validate_chain+0x1f/0x5920 kernel/locking/lockdep.c:3860 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:ffffc900033e7f80 EFLAGS: 00010082 RAX: 1ffffffff278aac8 RBX: ffffffff93c55640 RCX: edca005a00167dc4 RDX: 0000000000000000 RSI: ffff88805c372d90 RDI: ffff88805c371e00 RBP: ffffc900033e8280 R08: ffffffff942db807 R09: 1ffffffff285b700 R10: dffffc0000000000 R11: fffffbfff285b701 R12: 0000000000000000 R13: ffff88805c3728d8 R14: edca005a00167dc4 R15: ffff88805c372db0 FS: 00007f8e3ecd16c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900033e7f78 CR3: 000000007e36a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <#DF> __lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5202 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 seqcount_lockdep_reader_access+0x127/0x1e0 include/linux/seqlock.h:72 read_seqbegin include/linux/seqlock.h:757 [inline] zone_span_seqbegin include/linux/memory_hotplug.h:103 [inline] page_outside_zone_boundaries mm/page_alloc.c:437 [inline] bad_range+0x5f/0x270 mm/page_alloc.c:456 rmqueue mm/page_alloc.c:3073 [inline] get_page_from_freelist+0x3026/0x3190 mm/page_alloc.c:3454 __alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4733 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:1537 prep_new_page mm/page_alloc.c:1545 [inline] get_page_from_freelist+0x303f/0x3190 mm/page_alloc.c:3457 __alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4733 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 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4141 inet_frag_alloc net/ipv4/inet_fragment.c:321 [inline] inet_frag_create net/ipv4/inet_fragment.c:343 [inline] inet_frag_find+0x984/0x2230 net/ipv4/inet_fragment.c:375 fq_find net/ipv6/netfilter/nf_conntrack_reasm.c:161 [inline] nf_ct_frag6_gather+0x97f/0x2110 net/ipv6/netfilter/nf_conntrack_reasm.c:476 ipv6_defrag+0x2c8/0x3c0 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c:67 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] __ip6_local_out+0x6fa/0x800 net/ipv6/output_core.c:143 ip6_local_out+0x26/0x70 net/ipv6/output_core.c:153 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:500 [inline] ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:541 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0x8a7/0x1190 drivers/net/ipvlan/ipvlan_core.c:671 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:223 __netdev_start_xmit include/linux/netdevice.h:4992 [inline] netdev_start_xmit include/linux/netdevice.h:5001 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3606 __dev_queue_xmit+0x1b73/0x3f50 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3158 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1284/0x17b0 net/ipv6/ip6_output.c:141 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:967 __ip6_finish_output net/ipv6/ip6_output.c:213 [inline] ip6_finish_output+0x2b8/0x840 net/ipv6/ip6_output.c:226 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:500 [inline] ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:541 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0x8a7/0x1190 drivers/net/ipvlan/ipvlan_core.c:671 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:223 __netdev_start_xmit include/linux/netdevice.h:4992 [inline] netdev_start_xmit include/linux/netdevice.h:5001 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3606 __dev_queue_xmit+0x1b73/0x3f50 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3158 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1284/0x17b0 net/ipv6/ip6_output.c:141 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:967 __ip6_finish_output net/ipv6/ip6_output.c:213 [inline] ip6_finish_output+0x2b8/0x840 net/ipv6/ip6_output.c:226 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:500 [inline] ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:541 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0x8a7/0x1190 drivers/net/ipvlan/ipvlan_core.c:671 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:223 __netdev_start_xmit include/linux/netdevice.h:4992 [inline] netdev_start_xmit include/linux/netdevice.h:5001 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3606 __dev_queue_xmit+0x1b73/0x3f50 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3158 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1284/0x17b0 net/ipv6/ip6_output.c:141 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:967 __ip6_finish_output net/ipv6/ip6_output.c:213 [inline] ip6_finish_output+0x2b8/0x840 net/ipv6/ip6_output.c:226 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:500 [inline] ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:541 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0x8a7/0x1190 drivers/net/ipvlan/ipvlan_core.c:671 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:223 __netdev_start_xmit include/linux/netdevice.h:4992 [inline] netdev_start_xmit include/linux/netdevice.h:5001 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3606 __dev_queue_xmit+0x1b73/0x3f50 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3158 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1284/0x17b0 net/ipv6/ip6_output.c:141 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:967 __ip6_finish_output net/ipv6/ip6_output.c:213 [inline] ip6_finish_output+0x2b8/0x840 net/ipv6/ip6_output.c:226 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:500 [inline] ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:541 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0x8a7/0x1190 drivers/net/ipvlan/ipvlan_core.c:671 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:223 __netdev_start_xmit include/linux/netdevice.h:4992 [inline] netdev_start_xmit include/linux/netdevice.h:5001 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3606 __dev_queue_xmit+0x1b73/0x3f50 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3158 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1284/0x17b0 net/ipv6/ip6_output.c:141 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:967 __ip6_finish_output net/ipv6/ip6_output.c:213 [inline] ip6_finish_output+0x2b8/0x840 net/ipv6/ip6_output.c:226 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:500 [inline] ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:541 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0x8a7/0x1190 drivers/net/ipvlan/ipvlan_core.c:671 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:223 __netdev_start_xmit include/linux/netdevice.h:4992 [inline] netdev_start_xmit include/linux/netdevice.h:5001 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3606 __dev_queue_xmit+0x1b73/0x3f50 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3158 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1284/0x17b0 net/ipv6/ip6_output.c:141 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:967 __ip6_finish_output net/ipv6/ip6_output.c:213 [inline] ip6_finish_output+0x2b8/0x840 net/ipv6/ip6_output.c:226 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:500 [inline] ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:541 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0x8a7/0x1190 drivers/net/ipvlan/ipvlan_core.c:671 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:223 __netdev_start_xmit include/linux/netdevice.h:4992 [inline] netdev_start_xmit include/linux/netdevice.h:5001 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3606 __dev_queue_xmit+0x1b73/0x3f50 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3158 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1284/0x17b0 net/ipv6/ip6_output.c:141 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:967 __ip6_finish_output net/ipv6/ip6_output.c:213 [inline] ip6_finish_output+0x2b8/0x840 net/ipv6/ip6_output.c:226 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:500 [inline] ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:541 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0x8a7/0x1190 drivers/net/ipvlan/ipvlan_core.c:671 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:223 __netdev_start_xmit include/linux/netdevice.h:4992 [inline] netdev_start_xmit include/linux/netdevice.h:5001 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3606 __dev_queue_xmit+0x1b73/0x3f50 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3158 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1284/0x17b0 net/ipv6/ip6_output.c:141 ip6_fragment+0x1adc/0x22c0 net/ipv6/ip6_output.c:967 __ip6_finish_output net/ipv6/ip6_output.c:213 [inline] ip6_finish_output+0x2b8/0x840 net/ipv6/ip6_output.c:226 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:500 [inline] ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:541 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0x8a7/0x1190 drivers/net/ipvlan/ipvlan_core.c:671 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:223 __netdev_start_xmit include/linux/netdevice.h:4992 [inline] netdev_start_xmit include/linux/netdevice.h:5001 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x27a/0x7e0 net/core/dev.c:3606 __dev_queue_xmit+0x1b73/0x3f50 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3158 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1284/0x17b0 net/ipv6/ip6_output.c:141 ip6_fragment+0x164e/0x22c0 net/ipv6/ip6_output.c:1028 __ip6_finish_output net/ipv6/ip6_output.c:213 [inline] ip6_finish_output+0x2b8/0x840 net/ipv6/ip6_output.c:226 NF_HOOK include/linux/netfilter.h:314 [inline] ip6_xmit+0xed8/0x18a0 net/ipv6/ip6_output.c:366 sctp_v6_xmit+0xa60/0x14a0 net/sctp/ipv6.c:248 sctp_packet_transmit+0x26d6/0x2cc0 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:729 [inline] __sock_sendmsg+0x1a6/0x270 net/socket.c:744 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2609 ___sys_sendmsg net/socket.c:2663 [inline] __sys_sendmmsg+0x3ab/0x730 net/socket.c:2749 __do_sys_sendmmsg net/socket.c:2778 [inline] __se_sys_sendmmsg net/socket.c:2775 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2775 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:0x7f8e3df7e719 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:00007f8e3ecd1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f8e3e135f80 RCX: 00007f8e3df7e719 RDX: 0000000000000001 RSI: 0000000020000a40 RDI: 0000000000000004 RBP: 00007f8e3dff139e R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000c0c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8e3e135f80 R15: 00007fff18ae8ec8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:validate_chain+0x1f/0x5920 kernel/locking/lockdep.c:3860 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:ffffc900033e7f80 EFLAGS: 00010082 RAX: 1ffffffff278aac8 RBX: ffffffff93c55640 RCX: edca005a00167dc4 RDX: 0000000000000000 RSI: ffff88805c372d90 RDI: ffff88805c371e00 RBP: ffffc900033e8280 R08: ffffffff942db807 R09: 1ffffffff285b700 R10: dffffc0000000000 R11: fffffbfff285b701 R12: 0000000000000000 R13: ffff88805c3728d8 R14: edca005a00167dc4 R15: ffff88805c372db0 FS: 00007f8e3ecd16c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900033e7f78 CR3: 000000007e36a000 CR4: 00000000003526f0 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