syzbot |
sign-in | mailing list | source | docs |
================================================================== BUG: KASAN: slab-out-of-bounds in should_fault_in_pages fs/gfs2/file.c:784 [inline] BUG: KASAN: slab-out-of-bounds in gfs2_file_direct_write fs/gfs2/file.c:923 [inline] BUG: KASAN: slab-out-of-bounds in gfs2_file_write_iter+0x872/0xf10 fs/gfs2/file.c:1139 Read of size 8 at addr ffff888075f21100 by task syz-executor.2/13901 CPU: 1 PID: 13901 Comm: syz-executor.2 Not tainted 5.15.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 print_address_description+0x63/0x3b0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x16b/0x1c0 mm/kasan/report.c:451 should_fault_in_pages fs/gfs2/file.c:784 [inline] gfs2_file_direct_write fs/gfs2/file.c:923 [inline] gfs2_file_write_iter+0x872/0xf10 fs/gfs2/file.c:1139 do_iter_readv_writev+0x594/0x7a0 do_iter_write+0x1ea/0x760 fs/read_write.c:855 iter_file_splice_write+0x806/0xfa0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe3/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x500/0xc10 fs/splice.c:891 do_splice_direct+0x285/0x3d0 fs/splice.c:979 do_sendfile+0x625/0xff0 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1303 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f576206aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f57605ec0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f5762189f80 RCX: 00007f576206aae9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000005 RBP: 00007f57620b647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008800000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5762189f80 R15: 00007ffcb90cab98 </TASK> Allocated by task 13901: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc+0xba/0xf0 mm/kasan/common.c:513 kasan_kmalloc include/linux/kasan.h:264 [inline] __kmalloc+0x168/0x300 mm/slub.c:4407 kmalloc_array include/linux/slab.h:631 [inline] kcalloc include/linux/slab.h:660 [inline] iter_file_splice_write+0x27b/0xfa0 fs/splice.c:628 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe3/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x500/0xc10 fs/splice.c:891 do_splice_direct+0x285/0x3d0 fs/splice.c:979 do_sendfile+0x625/0xff0 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1303 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb Last potentially related work creation: kasan_save_stack+0x36/0x60 mm/kasan/common.c:38 kasan_record_aux_stack+0xba/0x100 mm/kasan/generic.c:348 kvfree_call_rcu+0x118/0x8a0 kernel/rcu/tree.c:3583 drop_sysctl_table+0x317/0x460 fs/proc/proc_sysctl.c:1680 drop_sysctl_table+0x329/0x460 fs/proc/proc_sysctl.c:1683 unregister_sysctl_table+0x88/0x130 fs/proc/proc_sysctl.c:1718 mpls_dev_sysctl_unregister+0x86/0xc0 net/mpls/af_mpls.c:1445 mpls_dev_notify+0x54b/0x780 net/mpls/af_mpls.c:1663 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:1998 [inline] call_netdevice_notifiers_extack net/core/dev.c:2010 [inline] call_netdevice_notifiers net/core/dev.c:2024 [inline] unregister_netdevice_many+0xf1b/0x18f0 net/core/dev.c:11067 ip6_tnl_exit_batch_net+0x592/0x5e0 net/ipv6/ip6_tunnel.c:2312 ops_exit_list net/core/net_namespace.c:174 [inline] cleanup_net+0x763/0xb60 net/core/net_namespace.c:596 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Second to last potentially related work creation: kasan_save_stack+0x36/0x60 mm/kasan/common.c:38 kasan_record_aux_stack+0xba/0x100 mm/kasan/generic.c:348 kvfree_call_rcu+0x118/0x8a0 kernel/rcu/tree.c:3583 drop_sysctl_table+0x317/0x460 fs/proc/proc_sysctl.c:1680 drop_sysctl_table+0x329/0x460 fs/proc/proc_sysctl.c:1683 unregister_sysctl_table+0x88/0x130 fs/proc/proc_sysctl.c:1718 unix_sysctl_unregister+0x58/0x70 net/unix/sysctl_net_unix.c:55 unix_net_exit+0x11/0x50 net/unix/af_unix.c:3367 ops_exit_list net/core/net_namespace.c:169 [inline] cleanup_net+0x6ce/0xb60 net/core/net_namespace.c:596 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 The buggy address belongs to the object at ffff888075f21000 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 0 bytes to the right of 256-byte region [ffff888075f21000, ffff888075f21100) The buggy address belongs to the page: page:ffffea0001d7c800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x75f20 head:ffffea0001d7c800 order:1 compound_mapcount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 0000000100000001 ffff888011c41b40 raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 1, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 12381, ts 531716535102, free_ts 531385559839 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x322a/0x33c0 mm/page_alloc.c:4159 __alloc_pages+0x272/0x700 mm/page_alloc.c:5421 alloc_slab_page mm/slub.c:1775 [inline] allocate_slab mm/slub.c:1912 [inline] new_slab+0xbb/0x4b0 mm/slub.c:1975 ___slab_alloc+0x6f6/0xe10 mm/slub.c:3008 __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] slab_alloc mm/slub.c:3228 [inline] __kmalloc+0x1c9/0x300 mm/slub.c:4403 kmalloc include/linux/slab.h:596 [inline] kzalloc include/linux/slab.h:721 [inline] new_dir fs/proc/proc_sysctl.c:954 [inline] get_subdir fs/proc/proc_sysctl.c:999 [inline] __register_sysctl_table+0x9f1/0x1220 fs/proc/proc_sysctl.c:1348 ipv6_sysctl_net_init+0x35d/0x480 net/ipv6/sysctl_net_ipv6.c:285 ops_init+0x356/0x600 net/core/net_namespace.c:135 setup_net+0x358/0x9e0 net/core/net_namespace.c:329 copy_net_ns+0x395/0x5d0 net/core/net_namespace.c:473 create_new_namespaces+0x425/0x7a0 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x11e/0x170 kernel/nsproxy.c:226 ksys_unshare+0x580/0xb20 kernel/fork.c:3093 __do_sys_unshare kernel/fork.c:3167 [inline] __se_sys_unshare kernel/fork.c:3165 [inline] __x64_sys_unshare+0x34/0x40 kernel/fork.c:3165 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0xc34/0xcf0 mm/page_alloc.c:3317 free_unref_page+0x95/0x2d0 mm/page_alloc.c:3396 free_slab mm/slub.c:2015 [inline] discard_slab mm/slub.c:2021 [inline] __unfreeze_partials+0x1b7/0x210 mm/slub.c:2507 put_cpu_partial+0x132/0x1a0 mm/slub.c:2587 do_slab_free mm/slub.c:3487 [inline] ___cache_free+0xe3/0x100 mm/slub.c:3506 qlist_free_all+0x36/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x162/0x180 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 vm_area_dup+0x1e/0xb0 kernel/fork.c:357 __split_vma+0xb4/0x4a0 mm/mmap.c:2729 __do_munmap+0x413/0x1740 mm/mmap.c:2865 __vm_munmap+0x134/0x230 mm/mmap.c:2922 __do_sys_munmap mm/mmap.c:2948 [inline] __se_sys_munmap mm/mmap.c:2944 [inline] __x64_sys_munmap+0x67/0x70 mm/mmap.c:2944 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 Memory state around the buggy address: ffff888075f21000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888075f21080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888075f21100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888075f21180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888075f21200: fa 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2023/09/16 13:47 | linux-5.15.y | aff03380bda4 | 0b6a67ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/15 04:33 | linux-5.15.y | aff03380bda4 | 0b6a67ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/14 04:48 | linux-5.15.y | aff03380bda4 | 0b6a67ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/14 04:37 | linux-5.15.y | aff03380bda4 | 0b6a67ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/14 04:32 | linux-5.15.y | aff03380bda4 | 0b6a67ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/14 00:42 | linux-5.15.y | aff03380bda4 | 0b6a67ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/14 00:36 | linux-5.15.y | aff03380bda4 | 0b6a67ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/14 00:27 | linux-5.15.y | aff03380bda4 | 0b6a67ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/13 23:52 | linux-5.15.y | aff03380bda4 | 0b6a67ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/09 01:05 | linux-5.15.y | aff03380bda4 | 6654cf89 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/09 01:00 | linux-5.15.y | aff03380bda4 | 6654cf89 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/09 00:08 | linux-5.15.y | aff03380bda4 | 6654cf89 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/08 23:57 | linux-5.15.y | aff03380bda4 | 6654cf89 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/08 23:49 | linux-5.15.y | aff03380bda4 | 6654cf89 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/08 23:45 | linux-5.15.y | aff03380bda4 | 6654cf89 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/08 23:44 | linux-5.15.y | aff03380bda4 | 6654cf89 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/07 07:15 | linux-5.15.y | aff03380bda4 | 72324844 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/07 07:14 | linux-5.15.y | aff03380bda4 | 72324844 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/07 07:04 | linux-5.15.y | aff03380bda4 | 72324844 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/07 06:55 | linux-5.15.y | aff03380bda4 | 72324844 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/07 06:52 | linux-5.15.y | aff03380bda4 | 72324844 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/06 09:13 | linux-5.15.y | 8f790700c974 | 0b6286dc | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/06 09:05 | linux-5.15.y | 8f790700c974 | 0b6286dc | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/06 07:46 | linux-5.15.y | 8f790700c974 | 0b6286dc | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | ||
2023/09/04 23:52 | linux-5.15.y | 8f790700c974 | db3306a6 | .config | console log | report | info | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | |||
2023/09/04 23:44 | linux-5.15.y | 8f790700c974 | db3306a6 | .config | console log | report | info | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | |||
2023/09/04 23:43 | linux-5.15.y | 8f790700c974 | db3306a6 | .config | console log | report | info | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | |||
2023/09/04 23:33 | linux-5.15.y | 8f790700c974 | db3306a6 | .config | console log | report | info | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | |||
2023/09/04 23:18 | linux-5.15.y | 8f790700c974 | db3306a6 | .config | console log | report | info | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter | |||
2023/09/04 23:06 | linux-5.15.y | 8f790700c974 | db3306a6 | .config | console log | report | info | ci2-linux-5-15-kasan | KASAN: slab-out-of-bounds Read in gfs2_file_write_iter |