general protection fault in __free_vmap_area

8 views
Skip to first unread message

syzbot

unread,
Jun 2, 2021, 5:00:20 AM6/2/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 6b7b0056 Linux 4.19.192
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=106cb1b7d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=bf82863248bf693f
dashboard link: https://syzkaller.appspot.com/bug?extid=be14c4477a6620ceaca1

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+be14c4...@syzkaller.appspotmail.com

NILFS (loop3): couldn't find nilfs on the device
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
CPU: 0 PID: 27374 Comm: syz-executor.0 Not tainted 4.19.192-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:____rb_erase_color lib/rbtree.c:370 [inline]
RIP: 0010:rb_erase+0x585/0x1290 lib/rbtree.c:462
Code: 85 2f fe ff ff e9 eb fc ff ff 48 8d 7d 10 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 57 0b 00 00 4c 8b 65 10 4c 89 e0 48 c1 e8 03 <80> 3c 18 00 0f 85 2f 0a 00 00 4d 8b 34 24 49 8d 7c 24 08 48 89 f8
RSP: 0018:ffff888014c978e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90005c19000
RDX: fffffbfff1a49c6c RSI: ffffffff8d24e360 RDI: ffff888096094ba8
RBP: ffff888096094b98 R08: 0000000000000000 R09: ffffc90012fa1000
R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff8d24e360
FS: 00007f53a4ff0700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b80bf58188 CR3: 0000000014591000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__free_vmap_area+0x115/0x360 mm/vmalloc.c:577
__purge_vmap_area_lazy+0x17c/0x280 mm/vmalloc.c:687
vm_unmap_aliases mm/vmalloc.c:1113 [inline]
vm_unmap_aliases+0x415/0x510 mm/vmalloc.c:1076
change_page_attr_set_clr+0x247/0xc60 arch/x86/mm/pageattr.c:1497
change_page_attr_clear arch/x86/mm/pageattr.c:1560 [inline]
set_memory_ro+0x78/0xa0 arch/x86/mm/pageattr.c:1789
bpf_prog_lock_ro include/linux/filter.h:675 [inline]
bpf_prog_select_runtime+0xb2/0x620 kernel/bpf/core.c:1573
bpf_prog_load+0xcf5/0x1240 kernel/bpf/syscall.c:1449
__do_sys_bpf kernel/bpf/syscall.c:2418 [inline]
__se_sys_bpf+0xf22/0x3a20 kernel/bpf/syscall.c:2379
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665d9
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:00007f53a4ff0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9
RDX: 0000000000000048 RSI: 0000000020000080 RDI: 0000000000000005
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffd23e24e5f R14: 00007f53a4ff0300 R15: 0000000000022000
Modules linked in:
---[ end trace 19816a317655b00a ]---
RIP: 0010:____rb_erase_color lib/rbtree.c:370 [inline]
RIP: 0010:rb_erase+0x585/0x1290 lib/rbtree.c:462
Code: 85 2f fe ff ff e9 eb fc ff ff 48 8d 7d 10 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 57 0b 00 00 4c 8b 65 10 4c 89 e0 48 c1 e8 03 <80> 3c 18 00 0f 85 2f 0a 00 00 4d 8b 34 24 49 8d 7c 24 08 48 89 f8
RSP: 0018:ffff888014c978e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90005c19000
RDX: fffffbfff1a49c6c RSI: ffffffff8d24e360 RDI: ffff888096094ba8
RBP: ffff888096094b98 R08: 0000000000000000 R09: ffffc90012fa1000
R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff8d24e360
FS: 00007f53a4ff0700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b80bf58188 CR3: 0000000014591000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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,
Oct 1, 2021, 8:38:11 AM10/1/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages