Title | Replies (including bot) | Last reply |
---|---|---|
KASAN: use-after-free Read in uprobe_mmap | 0 (1) | 2021/02/01 17:05 |
syzbot |
sign-in | mailing list | source | docs |
Title | Replies (including bot) | Last reply |
---|---|---|
KASAN: use-after-free Read in uprobe_mmap | 0 (1) | 2021/02/01 17:05 |
================================================================== BUG: KASAN: use-after-free in find_node_in_range syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:1271 [inline] BUG: KASAN: use-after-free in build_probe_list syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:1305 [inline] BUG: KASAN: use-after-free in uprobe_mmap+0xdbb/0x1080 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:1382 Read of size 8 at addr ffff88802a560168 by task syz-executor.1/10769 CPU: 0 PID: 10769 Comm: syz-executor.1 Not tainted 5.11.0-rc6-next-20210205-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/lib/dump_stack.c:120 print_address_description.constprop.0.cold+0x5b/0x2f8 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/report.c:232 __kasan_report syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/report.c:399 [inline] kasan_report.cold+0x7c/0xd8 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/report.c:416 find_node_in_range syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:1271 [inline] build_probe_list syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:1305 [inline] uprobe_mmap+0xdbb/0x1080 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:1382 mmap_region+0x56c/0x1730 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/mmap.c:1881 do_mmap+0xcff/0x11d0 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/mmap.c:1580 vm_mmap_pgoff+0x1b7/0x290 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/util.c:519 ksys_mmap_pgoff+0x49c/0x620 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/mmap.c:1631 do_syscall_64+0x2d/0x70 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 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:00007fae4dcf1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: 0000000002000009 RSI: 0000000000001000 RDI: 0000000020005000 RBP: 00000000004b069f R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000001012 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffc142a512f R14: 00007fae4dcf1300 R15: 0000000000022000 Allocated by task 10769: kasan_save_stack+0x1b/0x40 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/common.c:38 kasan_set_track syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/common.c:46 [inline] set_alloc_info syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/common.c:403 [inline] ____kasan_kmalloc syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/common.c:434 [inline] ____kasan_kmalloc.constprop.0+0xa0/0xd0 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/common.c:406 kmalloc syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/./include/linux/slab.h:556 [inline] kzalloc syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/./include/linux/slab.h:686 [inline] alloc_uprobe syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:731 [inline] __uprobe_register+0x19c/0x850 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:1167 trace_uprobe_enable syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_uprobe.c:1060 [inline] probe_event_enable+0x357/0xa00 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_uprobe.c:1129 trace_uprobe_register+0x443/0x880 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_uprobe.c:1456 perf_trace_event_reg syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_event_perf.c:129 [inline] perf_trace_event_init+0x549/0xa20 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_event_perf.c:204 perf_uprobe_init+0x16f/0x210 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_event_perf.c:336 perf_uprobe_event_init+0xff/0x1c0 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:9721 perf_try_init_event+0x12a/0x560 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:11038 perf_init_event syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:11090 [inline] perf_event_alloc.part.0+0xe3b/0x3960 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:11370 perf_event_alloc syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:11749 [inline] __do_sys_perf_event_open+0x647/0x2e60 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:11847 do_syscall_64+0x2d/0x70 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 10769: kasan_save_stack+0x1b/0x40 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/common.c:38 kasan_set_track+0x1c/0x30 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/common.c:46 kasan_set_free_info+0x20/0x30 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/generic.c:357 ____kasan_slab_free.part.0+0xe1/0x110 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/kasan/common.c:364 kasan_slab_free syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/./include/linux/kasan.h:191 [inline] slab_free_hook syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/slub.c:1562 [inline] slab_free_freelist_hook+0x82/0x1d0 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/slub.c:1600 slab_free syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/slub.c:3161 [inline] kfree+0xe5/0x7b0 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/mm/slub.c:4202 put_uprobe syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:612 [inline] put_uprobe+0x13b/0x190 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:601 uprobe_apply+0xfc/0x130 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/uprobes.c:1231 uprobe_perf_open syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_uprobe.c:1311 [inline] trace_uprobe_register+0x5c9/0x880 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_uprobe.c:1463 perf_trace_event_open syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_event_perf.c:186 [inline] perf_trace_event_init syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_event_perf.c:208 [inline] perf_trace_event_init+0x17a/0xa20 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_event_perf.c:195 perf_uprobe_init+0x16f/0x210 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/trace/trace_event_perf.c:336 perf_uprobe_event_init+0xff/0x1c0 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:9721 perf_try_init_event+0x12a/0x560 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:11038 perf_init_event syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:11090 [inline] perf_event_alloc.part.0+0xe3b/0x3960 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:11370 perf_event_alloc syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:11749 [inline] __do_sys_perf_event_open+0x647/0x2e60 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/kernel/events/core.c:11847 do_syscall_64+0x2d/0x70 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 The buggy address belongs to the object at ffff88802a560000 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 360 bytes inside of 512-byte region [ffff88802a560000, ffff88802a560200) The buggy address belongs to the page: page:000000004899225e refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2a560 head:000000004899225e order:1 compound_mapcount:0 flags: 0xfff00000010200(slab|head) raw: 00fff00000010200 ffffea00008ea100 0000000500000005 ffff888010841c80 raw: 0000000000000000 0000000080080008 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88802a560000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88802a560080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88802a560100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88802a560180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88802a560200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2021/02/08 17:58 | linux-next | aa2b88209686 | 2ce644fc | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/08 14:41 | linux-next | aa2b88209686 | 2ce644fc | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/08 11:38 | linux-next | aa2b88209686 | 2ce644fc | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/08 07:56 | linux-next | aa2b88209686 | 2ce644fc | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/08 01:02 | linux-next | aa2b88209686 | 2ce644fc | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/08 00:58 | linux-next | aa2b88209686 | 2ce644fc | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/07 23:54 | linux-next | aa2b88209686 | 2ce644fc | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/07 17:35 | linux-next | aa2b88209686 | 2ce644fc | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/07 16:08 | linux-next | aa2b88209686 | 2ce644fc | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/07 14:55 | linux-next | aa2b88209686 | 2ce644fc | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/07 06:53 | linux-next | aa2b88209686 | 0655e081 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/07 04:57 | linux-next | aa2b88209686 | 0655e081 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/07 02:35 | linux-next | aa2b88209686 | 0655e081 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/07 00:24 | linux-next | aa2b88209686 | 0655e081 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/06 19:47 | linux-next | aa2b88209686 | 0655e081 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/06 18:24 | linux-next | aa2b88209686 | 0655e081 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/06 09:56 | linux-next | aa2b88209686 | 23a562df | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/05 18:45 | linux-next | aa2b88209686 | 23a562df | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/05 16:56 | linux-next | aa2b88209686 | 23a562df | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/05 05:30 | linux-next | 0e2c50f40b7f | 23a562df | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/05 03:10 | linux-next | 0e2c50f40b7f | 23a562df | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/04 21:20 | linux-next | 0e2c50f40b7f | 42b90a7c | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/04 09:00 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/04 07:02 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/04 04:59 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/04 04:15 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/04 03:14 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/04 02:10 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/04 01:06 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/04 00:06 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 23:11 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 22:00 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 20:53 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 19:48 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 18:47 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 17:44 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 16:59 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 15:57 | linux-next | 58b6c0e507b7 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 14:15 | linux-next | fb2a9c320987 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 13:10 | linux-next | fb2a9c320987 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 12:59 | linux-next | fb2a9c320987 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 11:27 | linux-next | fb2a9c320987 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 10:19 | linux-next | fb2a9c320987 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 09:08 | linux-next | fb2a9c320987 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 08:05 | linux-next | fb2a9c320987 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/03 07:00 | linux-next | fb2a9c320987 | 624dad51 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/01 16:59 | linux-next | fd821bf0ed9a | e6b95f32 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/01 15:18 | linux-next | fd821bf0ed9a | e6b95f32 | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KASAN: use-after-free Read in uprobe_mmap | |||
2021/02/05 14:54 | linux-next | aa2b88209686 | 23a562df | .config | console log | report | info | ci-upstream-linux-next-kasan-gce-root | KFENCE: use-after-free in uprobe_mmap |