Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported |
---|---|---|---|---|---|---|
net-next test error: KASAN: use-after-free Write in afs_wake_up_async_call afs | 60 | 1679d | 1687d |
syzbot |
sign-in | mailing list | source | docs |
Title | Replies (including bot) | Last reply |
---|---|---|
upstream test error: KASAN: use-after-free Write in afs_wake_up_async_call | 1 (2) | 2020/06/19 22:06 |
tipc: TX() has been purged, node left! ================================================================== BUG: KASAN: use-after-free in afs_wake_up_async_call+0x16f/0x1c0 fs/afs/rxrpc.c:707 Write of size 1 at addr ffff8880820239e4 by task kworker/u4:2/25 CPU: 0 PID: 25 Comm: kworker/u4:2 Not tainted 5.8.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1f0/0x31e lib/dump_stack.c:118 print_address_description+0x66/0x5a0 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report+0x132/0x1d0 mm/kasan/report.c:530 afs_wake_up_async_call+0x16f/0x1c0 fs/afs/rxrpc.c:707 rxrpc_notify_socket+0x1e7/0x4a0 net/rxrpc/recvmsg.c:40 __rxrpc_set_call_completion net/rxrpc/recvmsg.c:76 [inline] __rxrpc_call_completed net/rxrpc/recvmsg.c:102 [inline] rxrpc_call_completed+0x131/0x210 net/rxrpc/recvmsg.c:111 rxrpc_discard_prealloc+0x60d/0x710 net/rxrpc/call_accept.c:233 rxrpc_listen+0x246/0x370 net/rxrpc/af_rxrpc.c:245 afs_close_socket+0x57/0x280 fs/afs/rxrpc.c:110 afs_net_exit+0x57/0xa0 fs/afs/main.c:158 ops_exit_list net/core/net_namespace.c:186 [inline] cleanup_net+0x708/0xba0 net/core/net_namespace.c:603 process_one_work+0x789/0xfc0 kernel/workqueue.c:2269 worker_thread+0xaa4/0x1460 kernel/workqueue.c:2415 kthread+0x37e/0x3a0 drivers/block/aoe/aoecmd.c:1234 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Allocated by task 6831: save_stack mm/kasan/common.c:48 [inline] set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc+0x103/0x140 mm/kasan/common.c:494 kmem_cache_alloc_trace+0x234/0x300 mm/slab.c:3551 kmalloc include/linux/slab.h:555 [inline] kzalloc include/linux/slab.h:669 [inline] afs_alloc_call+0x89/0x2f0 fs/afs/rxrpc.c:141 afs_charge_preallocation+0xf0/0x2a0 fs/afs/rxrpc.c:757 afs_open_socket+0x3c7/0x510 fs/afs/rxrpc.c:92 afs_net_init+0x7a0/0x990 fs/afs/main.c:126 ops_init+0x320/0x410 net/core/net_namespace.c:151 setup_net+0x1cb/0x770 net/core/net_namespace.c:341 copy_net_ns+0x339/0x540 net/core/net_namespace.c:482 create_new_namespaces+0x52e/0x9f0 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x123/0x190 kernel/nsproxy.c:231 ksys_unshare+0x463/0x950 kernel/fork.c:2983 __do_sys_unshare kernel/fork.c:3051 [inline] __se_sys_unshare kernel/fork.c:3049 [inline] __x64_sys_unshare+0x34/0x40 kernel/fork.c:3049 do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 25: save_stack mm/kasan/common.c:48 [inline] set_track mm/kasan/common.c:56 [inline] kasan_set_free_info mm/kasan/common.c:316 [inline] __kasan_slab_free+0x114/0x170 mm/kasan/common.c:455 __cache_free mm/slab.c:3426 [inline] kfree+0x10a/0x220 mm/slab.c:3757 afs_put_call+0x30e/0x420 fs/afs/rxrpc.c:190 rxrpc_discard_prealloc+0x5e2/0x710 net/rxrpc/call_accept.c:230 rxrpc_listen+0x246/0x370 net/rxrpc/af_rxrpc.c:245 afs_close_socket+0x57/0x280 fs/afs/rxrpc.c:110 afs_net_exit+0x57/0xa0 fs/afs/main.c:158 ops_exit_list net/core/net_namespace.c:186 [inline] cleanup_net+0x708/0xba0 net/core/net_namespace.c:603 process_one_work+0x789/0xfc0 kernel/workqueue.c:2269 worker_thread+0xaa4/0x1460 kernel/workqueue.c:2415 kthread+0x37e/0x3a0 drivers/block/aoe/aoecmd.c:1234 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 The buggy address belongs to the object at ffff888082023800 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 484 bytes inside of 1024-byte region [ffff888082023800, ffff888082023c00) The buggy address belongs to the page: page:ffffea00020808c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0xfffe0000000200(slab) raw: 00fffe0000000200 ffffea0002080848 ffffea0002080908 ffff8880aa400c40 raw: 0000000000000000 ffff888082023000 0000000100000002 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888082023880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888082023900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888082023980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888082023a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888082023a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2020/06/25 21:56 | upstream | 52366a107bf0 | f9147b08 | .config | console log | report | ci-upstream-kasan-gce-smack-root | |||||
2020/06/25 21:56 | upstream | 52366a107bf0 | f9147b08 | .config | console log | report | ci-upstream-kasan-gce-smack-root | |||||
2020/06/25 19:14 | upstream | 908f7d12d3ba | adb7d9e6 | .config | console log | report | ci-upstream-kasan-gce-selinux-root | |||||
2020/06/25 18:25 | upstream | 908f7d12d3ba | adb7d9e6 | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2020/06/25 17:16 | upstream | 908f7d12d3ba | c7b4497a | .config | console log | report | ci-upstream-kasan-gce | |||||
2020/06/25 16:28 | upstream | 8be3a53e18e0 | c7b4497a | .config | console log | report | ci-upstream-kasan-gce | |||||
2020/06/25 14:36 | upstream | 3e08a95294a4 | 54566aff | .config | console log | report | ci-upstream-kasan-gce-smack-root | |||||
2020/06/24 00:29 | upstream | 3e08a95294a4 | bbad15ae | .config | console log | report | ci-qemu-upstream | |||||
2020/06/23 17:37 | upstream | 3e08a95294a4 | 54566aff | .config | console log | report | ci-qemu-upstream | |||||
2020/06/21 15:26 | upstream | 64677779e896 | 4f2acff9 | .config | console log | report | ci-upstream-kasan-gce | |||||
2020/06/21 15:26 | upstream | 64677779e896 | 4f2acff9 | .config | console log | report | ci-upstream-kasan-gce | |||||
2020/06/19 18:15 | upstream | 5e857ce6eae7 | 81abc331 | .config | console log | report | ci-upstream-kasan-gce-smack-root | |||||
2020/06/19 08:41 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2020/06/19 08:03 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-upstream-kasan-gce | |||||
2020/06/19 06:48 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-upstream-kasan-gce-smack-root | |||||
2020/06/19 05:28 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-upstream-kasan-gce-smack-root | |||||
2020/06/19 04:08 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2020/06/19 02:32 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-upstream-kasan-gce | |||||
2020/06/19 00:16 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-upstream-kasan-gce-selinux-root | |||||
2020/06/18 23:10 | upstream | 5e857ce6eae7 | d45a4d69 | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2020/06/18 23:00 | upstream | 5e857ce6eae7 | d45a4d69 | .config | console log | report | ci-upstream-kasan-gce-smack-root | |||||
2020/06/18 20:36 | upstream | 5e857ce6eae7 | 3ea11d3f | .config | console log | report | ci-qemu-upstream | |||||
2020/06/16 05:17 | upstream | a5dc8300df75 | baca2611 | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2020/06/15 20:54 | upstream | 3be20b6fc13a | baca2611 | .config | console log | report | ci-upstream-kasan-gce | |||||
2020/06/26 01:24 | upstream | 42e9c85f5c72 | aea82c00 | .config | console log | report | ci-upstream-kasan-gce-386 | |||||
2020/06/26 01:20 | upstream | 42e9c85f5c72 | aea82c00 | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/26 00:00 | upstream | 42e9c85f5c72 | c7b4497a | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/25 23:52 | upstream | 42e9c85f5c72 | aea82c00 | .config | console log | report | ci-upstream-kasan-gce-386 | |||||
2020/06/25 20:51 | upstream | 52366a107bf0 | f9147b08 | .config | console log | report | ci-upstream-kasan-gce-386 | |||||
2020/06/25 20:21 | upstream | 908f7d12d3ba | f9147b08 | .config | console log | report | ci-upstream-kasan-gce-386 | |||||
2020/06/25 15:39 | upstream | 8be3a53e18e0 | 54566aff | .config | console log | report | ci-upstream-kasan-gce-386 | |||||
2020/06/25 14:13 | upstream | 3e08a95294a4 | 54566aff | .config | console log | report | ci-upstream-kasan-gce-386 | |||||
2020/06/25 12:34 | upstream | 8be3a53e18e0 | c7b4497a | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/25 01:36 | upstream | 8be3a53e18e0 | 9d60b18e | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/25 01:36 | upstream | 8be3a53e18e0 | 9d60b18e | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/25 00:35 | upstream | fbb58011fdd9 | 9d60b18e | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/24 21:51 | upstream | fbb58011fdd9 | 41694dbf | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/24 17:52 | upstream | 26e122e97a3d | 41694dbf | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/24 12:33 | upstream | 3e08a95294a4 | 41694dbf | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/19 21:07 | upstream | 4333a9b0b67b | 853595a5 | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/19 20:04 | upstream | 672f9255a727 | 853595a5 | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/19 17:38 | upstream | 5e857ce6eae7 | 81abc331 | .config | console log | report | ci-upstream-kasan-gce-386 | |||||
2020/06/19 12:59 | upstream | 5e857ce6eae7 | 853595a5 | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/19 06:42 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-upstream-kasan-gce-386 | |||||
2020/06/19 03:55 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-upstream-kasan-gce-386 | |||||
2020/06/19 02:01 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-upstream-kasan-gce-386 | |||||
2020/06/19 00:51 | upstream | 5e857ce6eae7 | bc258b50 | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/18 12:49 | upstream | 1b5044021070 | 3ea11d3f | .config | console log | report | ci-qemu-upstream-386 | |||||
2020/06/18 09:04 | upstream | 1b5044021070 | d45a4d69 | .config | console log | report | ci-upstream-kasan-gce-386 |