general protection fault in loop_clr_fd (2)

5 views
Skip to first unread message

syzbot

unread,
Oct 24, 2020, 10:56:17 AM10/24/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 5b7a52cd Linux 4.14.202
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15629a8c500000
kernel config: https://syzkaller.appspot.com/x/.config?x=fa386e02ca459165
dashboard link: https://syzkaller.appspot.com/bug?extid=2be7d1f1055673413f63
compiler: gcc (GCC) 10.1.0-syz 20200507

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+2be7d1...@syzkaller.appspotmail.com

print_req_error: I/O error, dev loop1, sector 0
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 8005 Comm: syz-executor.0 Not tainted 4.14.202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880660b6540 task.stack: ffff8880660b8000
RIP: 0010:kobject_uevent_env+0xb2/0xf40 lib/kobject_uevent.c:355
RSP: 0018:ffff8880660bfb28 EFLAGS: 00010206
RAX: 0000000000000018 RBX: 0000000000000002 RCX: 1ffff1100cc16dbe
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0
RBP: ffff8880a540f010 R08: ffffffff8b9a0038 R09: 0000000000000001
R10: 0000000000000000 R11: ffff8880660b6540 R12: 00000000000000a0
R13: dffffc0000000000 R14: ffff8880a540ef08 R15: 00000000000000a0
FS: 0000000001f31940(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564b34e5cd48 CR3: 000000006607a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
loop_clr_fd+0x59f/0xc20 drivers/block/loop.c:1069
lo_ioctl+0x895/0x1cd0 drivers/block/loop.c:1424
__blkdev_driver_ioctl block/ioctl.c:297 [inline]
blkdev_ioctl+0x540/0x1830 block/ioctl.c:594
block_ioctl+0xd9/0x120 fs/block_dev.c:1893
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
SYSC_ioctl fs/ioctl.c:701 [inline]
SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45dcc7
RSP: 002b:00007ffd2afef608 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045dcc7
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003
RBP: 0000000000000712 R08: 0000000000000000 R09: 000000000000000a
R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd2afef640 R14: 00000000000602a6 R15: 00007ffd2afef650
Code: 03 42 80 3c 28 00 0f 85 e4 0b 00 00 4d 8b 64 24 18 4d 85 e4 0f 84 01 0c 00 00 e8 ba 61 3c fa 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 db 0b 00 00 49 8b 6c 24 20 48 85 ed 74 b0
RIP: kobject_uevent_env+0xb2/0xf40 lib/kobject_uevent.c:355 RSP: ffff8880660bfb28
---[ end trace 09ccb9088afcca0b ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Nov 25, 2020, 11:16:23 AM11/25/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 87335852 Linux 4.14.209
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12cae72b500000
kernel config: https://syzkaller.appspot.com/x/.config?x=77df3f7a7cfbd2e6
dashboard link: https://syzkaller.appspot.com/bug?extid=2be7d1f1055673413f63
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=133d8349500000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+2be7d1...@syzkaller.appspotmail.com

kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 9740 Comm: systemd-udevd Not tainted 4.14.209-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880b443e340 task.stack: ffff888096168000
RIP: 0010:kobject_uevent_env+0xb2/0xf40 lib/kobject_uevent.c:355
RSP: 0018:ffff88809616fc00 EFLAGS: 00010206
RAX: 0000000000000018 RBX: 0000000000000002 RCX: 1ffff11016887d88
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0
RBP: ffff8880a90d1010 R08: ffffffff8b990c88 R09: 0000000000000003
R10: 0000000000000000 R11: ffff8880b443e340 R12: 00000000000000a0
R13: dffffc0000000000 R14: ffff8880a90d0f08 R15: 00000000000000a0
FS: 00007f380a9a38c0(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004f0dd0 CR3: 00000000973e1000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
loop_clr_fd+0x59f/0xc20 drivers/block/loop.c:1069
__lo_release drivers/block/loop.c:1660 [inline]
lo_release+0xff/0x190 drivers/block/loop.c:1678
__blkdev_put+0x5aa/0x800 fs/block_dev.c:1803
blkdev_close+0x86/0xb0 fs/block_dev.c:1875
__fput+0x25f/0x7a0 fs/file_table.c:210
task_work_run+0x11f/0x190 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:191 [inline]
exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f3809aea270
RSP: 002b:00007ffcd4083fd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3809aea270
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007f380a9a3710 R08: 0000558bb30873e0 R09: 0000558bb3087100
R10: 0000000000000020 R11: 0000000000000246 R12: 0000000000000000
R13: 0000558bb3024500 R14: 0000000000000003 R15: 000000000000000e
Code: 03 42 80 3c 28 00 0f 85 e4 0b 00 00 4d 8b 64 24 18 4d 85 e4 0f 84 01 0c 00 00 e8 ca 1e 3c fa 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 db 0b 00 00 49 8b 6c 24 20 48 85 ed 74 b0
RIP: kobject_uevent_env+0xb2/0xf40 lib/kobject_uevent.c:355 RSP: ffff88809616fc00
---[ end trace f99e8070d71d63ac ]---

syzbot

unread,
Jan 6, 2021, 3:13:26 PM1/6/21
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 17529385 Linux 4.14.213
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=126c7ba8d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=f94010bb59bd4675
dashboard link: https://syzkaller.appspot.com/bug?extid=2be7d1f1055673413f63
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11e77d0b500000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12cc491f500000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+2be7d1...@syzkaller.appspotmail.com

tmpfs: No value for mount option '18446744073709551615'
tmpfs: No value for mount option '18446744073709551615'
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 10179 Comm: systemd-udevd Not tainted 4.14.213-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888094a203c0 task.stack: ffff8880984d8000
RIP: 0010:kobject_uevent_env+0xb2/0xf40 lib/kobject_uevent.c:355
RSP: 0018:ffff8880984dfc00 EFLAGS: 00010206
RAX: 0000000000000018 RBX: 0000000000000002 RCX: 1ffff11012944198
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0
RBP: ffff88809d5af490 R08: ffffffff8b9a04f8 R09: 0000000000000003
R10: 0000000000000000 R11: ffff888094a203c0 R12: 00000000000000a0
R13: dffffc0000000000 R14: ffff88809d5af388 R15: 00000000000000a0
FS: 00007f388ed9f8c0(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 000000009a977000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
loop_clr_fd+0x59f/0xc20 drivers/block/loop.c:1069
__lo_release drivers/block/loop.c:1660 [inline]
lo_release+0xff/0x190 drivers/block/loop.c:1678
__blkdev_put+0x5aa/0x800 fs/block_dev.c:1803
blkdev_close+0x86/0xb0 fs/block_dev.c:1875
__fput+0x25f/0x7a0 fs/file_table.c:210
task_work_run+0x11f/0x190 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:191 [inline]
exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f388dee6270
RSP: 002b:00007ffce1531408 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f388dee6270
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007f388ed9f710 R08: 0000558492eb0720 R09: 0000558492eb4200
R10: 00007f388ed9f8c0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000558492eb4930 R14: 0000000000000003 R15: 000000000000000e
Code: 03 42 80 3c 28 00 0f 85 e4 0b 00 00 4d 8b 64 24 18 4d 85 e4 0f 84 01 0c 00 00 e8 0a f0 3b fa 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 db 0b 00 00 49 8b 6c 24 20 48 85 ed 74 b0
RIP: kobject_uevent_env+0xb2/0xf40 lib/kobject_uevent.c:355 RSP: ffff8880984dfc00
---[ end trace 03c0769f2c28b8c3 ]---

Reply all
Reply to author
Forward
0 new messages