syzbot


general protection fault in vfs_kern_mount

Status: auto-closed as invalid on 2021/11/28 03:31
Reported-by: syzbot+6d01cd3d412bf988743b@syzkaller.appspotmail.com
First crash: 993d, last: 993d

Sample crash report:
 should_failslab+0x5/0x10 mm/slab_common.c:1590
 slab_pre_alloc_hook mm/slab.h:424 [inline]
 slab_alloc mm/slab.c:3383 [inline]
 kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
 mempool_alloc+0x146/0x350 mm/mempool.c:385
kasan: GPF could be caused by NULL-ptr deref or user memory access
 bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 23488 Comm: syz-executor.1 Not tainted 4.19.199-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid+0x81/0xf0 lib/list_debug.c:51
Code: 0f 84 c0 f4 84 04 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 c1 f4 84 04 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 51 49 8b 14 24 48 39 ea 0f 85 78 f4 84 04 49 8d 7d
 bio_alloc include/linux/bio.h:437 [inline]
 submit_bh_wbc+0x141/0x760 fs/buffer.c:3064
RSP: 0018:ffff8880457d74e8 EFLAGS: 00010246
 submit_bh fs/buffer.c:3096 [inline]
 __bread_slow fs/buffer.c:1176 [inline]
 __bread_gfp+0x14e/0x300 fs/buffer.c:1369
RAX: dffffc0000000000 RBX: ffff88809aeee000 RCX: ffffffff814bdcab
 sb_bread include/linux/buffer_head.h:309 [inline]
 isofs_fill_super+0xa9d/0x27d0 fs/isofs/inode.c:678
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88809aeee328
RBP: ffff88809aeee320 R08: 0000000000000001 R09: fffffbfff15ce98c
R10: ffffffff8ae74c63 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88809aeee280 R15: ffff88809aeee328
FS:  00007f624c36d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000051d3f0 CR3: 000000003fb0b000 CR4: 00000000001406f0
 mount_bdev+0x2fc/0x3b0 fs/super.c:1158
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 mount_fs+0xa3/0x310 fs/super.c:1261
Call Trace:
 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
 __list_del_entry include/linux/list.h:117 [inline]
 list_del include/linux/list.h:125 [inline]
 cbs_destroy+0x81/0x280 net/sched/sch_cbs.c:448
 vfs_kern_mount fs/namespace.c:951 [inline]
 do_new_mount fs/namespace.c:2469 [inline]
 do_mount+0x113c/0x2f10 fs/namespace.c:2799
 qdisc_create+0xb70/0x1130 net/sched/sch_api.c:1204
 tc_modify_qdisc+0x50d/0x1a80 net/sched/sch_api.c:1572
 ksys_mount+0xcf/0x130 fs/namespace.c:3015
 __do_sys_mount fs/namespace.c:3029 [inline]
 __se_sys_mount fs/namespace.c:3026 [inline]
 __x64_sys_mount+0xba/0x150 fs/namespace.c:3026
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x467b0a
Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0871d24fa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2457
RAX: ffffffffffffffda RBX: 00000000200000c0 RCX: 0000000000467b0a
RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007f0871d25000
RBP: 00007f0871d25040 R08: 00007f0871d25040 R09: 0000000020000040
 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1346
R10: 0000000000000001 R11: 0000000000000202 R12: 0000000020000040
R13: 0000000020000080 R14: 00007f0871d25000 R15: 0000000020000100
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1911
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2225
 __sys_sendmsg net/socket.c:2263 [inline]
 __do_sys_sendmsg net/socket.c:2272 [inline]
 __se_sys_sendmsg net/socket.c:2270 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2270
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665e9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f624c36d188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9
RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000007
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffd63fce52f R14: 00007f624c36d300 R15: 0000000000022000
Modules linked in:
---[ end trace cffb5461d4bd60bf ]---
RIP: 0010:__list_del_entry_valid+0x81/0xf0 lib/list_debug.c:51
Code: 0f 84 c0 f4 84 04 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 c1 f4 84 04 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 51 49 8b 14 24 48 39 ea 0f 85 78 f4 84 04 49 8d 7d
RSP: 0018:ffff8880457d74e8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff88809aeee000 RCX: ffffffff814bdcab
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88809aeee328
RBP: ffff88809aeee320 R08: 0000000000000001 R09: fffffbfff15ce98c
R10: ffffffff8ae74c63 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88809aeee280 R15: ffff88809aeee328
FS:  00007f624c36d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000051d3f0 CR3: 000000003fb0b000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/31 03:31 linux-4.19.y a89b48fe9308 6c236867 .config console log report info ci2-linux-4-19 general protection fault in vfs_kern_mount
* Struck through repros no longer work on HEAD.