general protection fault: 0000 [#1] SMP PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 10669 Comm: syz-executor3 Not tainted 4.16.0+ #87 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_freepointer mm/slub.c:270 [inline] RIP: 0010:get_freepointer_safe mm/slub.c:285 [inline] RIP: 0010:slab_alloc_node mm/slub.c:2706 [inline] RIP: 0010:slab_alloc mm/slub.c:2745 [inline] RIP: 0010:__kmalloc+0x13b/0x350 mm/slub.c:3785 RSP: 0018:ffff880149ebf140 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88021fd420f0 RCX: 0000000000040000 RDX: 0000000000007906 RSI: 0000000000000381 RDI: 0000000000000382 RBP: ffff880149ebf1a0 R08: ffff88021f005500 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: 8892fec3d91a1c77 R13: ffff88021f005500 R14: ffff88014e6b6198 R15: 00000000014080c0 FS: 00007f8eb315f700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 00000001c66e0000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmalloc include/linux/slab.h:517 [inline] kzalloc include/linux/slab.h:701 [inline] snd_seq_port_connect+0xdf/0x7a0 sound/core/seq/seq_ports.c:571 snd_seq_ioctl_subscribe_port+0x7d7/0xb10 sound/core/seq/seq_clientmgr.c:1459 snd_seq_kernel_client_ctl+0x555/0x5d0 sound/core/seq/seq_clientmgr.c:2360 snd_seq_oss_midi_open+0x8d9/0xc20 sound/core/seq/oss/seq_oss_midi.c:375 snd_seq_oss_midi_open_all+0xca/0x140 sound/core/seq/oss/seq_oss_midi.c:306 snd_seq_oss_open+0x180b/0x1830 sound/core/seq/oss/seq_oss_init.c:276 odev_open+0xd2/0x130 sound/core/seq/oss/seq_oss.c:138 soundcore_open+0x9b8/0xa60 sound/sound_core.c:597 chrdev_open+0xc20/0xd90 fs/char_dev.c:417 do_dentry_open+0xcc6/0x1430 fs/open.c:752 vfs_open+0x1b7/0x2e0 fs/open.c:866 do_last fs/namei.c:3379 [inline] path_openat+0x481d/0x6610 fs/namei.c:3520 do_filp_open+0x261/0x640 fs/namei.c:3554 do_sys_open+0x624/0x960 fs/open.c:1059 SYSC_openat+0xc7/0xe0 fs/open.c:1086 SyS_openat+0x63/0x90 fs/open.c:1080 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x455979 RSP: 002b:00007f8eb315ec68 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8eb315f6d4 RCX: 0000000000455979 RDX: 0000000000101000 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000495 R14: 00000000006fae98 R15: 0000000000000000 Code: 8b 18 65 48 8b 53 08 65 48 03 1c 25 28 a1 02 00 4c 8b 23 4d 85 e4 0f 84 38 01 00 00 48 83 7b 10 00 0f 84 2d 01 00 00 49 63 40 20 <49> 8b 1c 04 48 89 d1 48 83 c1 01 49 8b 38 4c 89 e0 65 48 0f c7 RIP: get_freepointer mm/slub.c:270 [inline] RSP: ffff880149ebf140 RIP: get_freepointer_safe mm/slub.c:285 [inline] RSP: ffff880149ebf140 RIP: slab_alloc_node mm/slub.c:2706 [inline] RSP: ffff880149ebf140 RIP: slab_alloc mm/slub.c:2745 [inline] RSP: ffff880149ebf140 RIP: __kmalloc+0x13b/0x350 mm/slub.c:3785 RSP: ffff880149ebf140 ---[ end trace b99059a82ebd7ff0 ]---