------------[ cut here ]------------ WARNING: CPU: 1 PID: 3623 at net/can/j1939/socket.c:181 j1939_sk_queue_activate_next_locked net/can/j1939/socket.c:181 [inline] WARNING: CPU: 1 PID: 3623 at net/can/j1939/socket.c:181 j1939_sk_queue_activate_next+0x34d/0x460 net/can/j1939/socket.c:205 Modules linked in: CPU: 1 PID: 3623 Comm: syz-executor.2 Tainted: G W 5.17.0-syzkaller-04796-g169e77764adc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:j1939_sk_queue_activate_next_locked net/can/j1939/socket.c:181 [inline] RIP: 0010:j1939_sk_queue_activate_next+0x34d/0x460 net/can/j1939/socket.c:205 Code: 1c 83 c0 0a 89 44 24 04 eb 9d 48 c7 c7 ac 76 b5 8d e8 b7 30 89 f9 e9 73 fd ff ff e8 ad 30 89 f9 e9 19 fe ff ff e8 63 8f 3d f9 <0f> 0b 49 8d bf b8 00 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 RSP: 0018:ffffc900001e0a60 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888028c28000 RCX: 0000000000000100 RDX: ffff88801ac63a00 RSI: ffffffff883b83bd RDI: 0000000000000003 RBP: ffff888028c285a8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff883b8318 R11: 0000000000000001 R12: ffff888030a27c00 R13: ffff888028c285e8 R14: dffffc0000000000 R15: ffff888030a27c18 FS: 0000555556579400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f820e96e218 CR3: 0000000051185000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: j1939_session_deactivate_activate_next net/can/j1939/transport.c:1101 [inline] j1939_session_completed+0x19a/0x1f0 net/can/j1939/transport.c:1214 j1939_xtp_rx_eoma_one net/can/j1939/transport.c:1384 [inline] j1939_xtp_rx_eoma+0x2a6/0x5f0 net/can/j1939/transport.c:1399 j1939_tp_cmd_recv net/can/j1939/transport.c:2088 [inline] j1939_tp_recv+0x930/0xcb0 net/can/j1939/transport.c:2133 j1939_can_recv+0x6ff/0x9a0 net/can/j1939/main.c:108 deliver net/can/af_can.c:574 [inline] can_rcv_filter+0x5d4/0x8d0 net/can/af_can.c:608 can_receive+0x31d/0x580 net/can/af_can.c:665 can_rcv+0x120/0x1c0 net/can/af_can.c:696 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5405 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5519 process_backlog+0x3a0/0x7c0 net/core/dev.c:5847 __napi_poll+0xb3/0x6e0 net/core/dev.c:6413 napi_poll net/core/dev.c:6480 [inline] net_rx_action+0x8ec/0xc60 net/core/dev.c:6567 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:mod_objcg_state+0x3db/0xa50 mm/memcontrol.c:3070 Code: c6 76 32 cc 81 4c 89 e7 e8 a2 8a 91 ff 4d 85 ed 0f 85 c5 01 00 00 9c 58 f6 c4 02 0f 85 7f 03 00 00 4d 85 ed 74 01 fb 4d 85 ff <0f> 84 92 01 00 00 48 83 c4 28 4c 89 ff 5b 5d 41 5c 41 5d 41 5e 41 RSP: 0018:ffffc90003c0fc98 EFLAGS: 00000246 RAX: 0000000000000046 RBX: ffff8880b9d35ea0 RCX: 1ffffffff1b6aed5 RDX: 0000000000000000 RSI: ffffffff817f5971 RDI: ffffffff81cc3461 RBP: ffff8880b9d35ec8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817f5958 R11: 000000000000003f R12: ffff8880b9d35ea0 R13: 0000000000000200 R14: ffff88813fffa000 R15: 0000000000000000 memcg_slab_post_alloc_hook+0x1eb/0x480 mm/slab.h:540 slab_post_alloc_hook mm/slab.h:756 [inline] slab_alloc_node mm/slub.c:3217 [inline] slab_alloc mm/slub.c:3225 [inline] __kmem_cache_alloc_lru mm/slub.c:3232 [inline] kmem_cache_alloc_lru+0x272/0x720 mm/slub.c:3249 alloc_inode_sb include/linux/fs.h:3016 [inline] sock_alloc_inode+0x23/0x1d0 net/socket.c:304 alloc_inode+0x61/0x230 fs/inode.c:260 new_inode_pseudo+0x14/0xe0 fs/inode.c:1018 sock_alloc+0x3c/0x260 net/socket.c:627 __sock_create+0xb9/0x790 net/socket.c:1432 sock_create net/socket.c:1519 [inline] __sys_socket+0xef/0x200 net/socket.c:1561 __do_sys_socket net/socket.c:1570 [inline] __se_sys_socket net/socket.c:1568 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f820e88a6c7 Code: f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 29 00 00 00 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:00007fff59c19f68 EFLAGS: 00000202 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000029 RCX: 00007f820e88a6c7 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 000000000000000a RBP: 00007fff59c19f90 R08: 0000000000000000 R09: ff78736871746264 R10: 00007f820e96e880 R11: 0000000000000202 R12: 0000000000000032 R13: 000000000006eecd R14: 0000000000000014 R15: 00007f820e96ab60 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 76 32 jbe 0x34 2: cc int3 3: 81 4c 89 e7 e8 a2 8a orl $0x918aa2e8,-0x19(%rcx,%rcx,4) a: 91 b: ff 4d 85 decl -0x7b(%rbp) e: ed in (%dx),%eax f: 0f 85 c5 01 00 00 jne 0x1da 15: 9c pushfq 16: 58 pop %rax 17: f6 c4 02 test $0x2,%ah 1a: 0f 85 7f 03 00 00 jne 0x39f 20: 4d 85 ed test %r13,%r13 23: 74 01 je 0x26 25: fb sti 26: 4d 85 ff test %r15,%r15 * 29: 0f 84 92 01 00 00 je 0x1c1 <-- trapping instruction 2f: 48 83 c4 28 add $0x28,%rsp 33: 4c 89 ff mov %r15,%rdi 36: 5b pop %rbx 37: 5d pop %rbp 38: 41 5c pop %r12 3a: 41 5d pop %r13 3c: 41 5e pop %r14 3e: 41 rex.B