gfs2: invalid mount option: stat"s_percent=0x0000000000000000 gfs2: can't parse mount arguments gfs2: invalid mount option: stat"s_percent=0x0000000000000000 ================================================================== BUG: KASAN: use-after-free in __read_once_size include/linux/compiler.h:193 [inline] BUG: KASAN: use-after-free in list_empty include/linux/list.h:203 [inline] BUG: KASAN: use-after-free in bpf_prog_ksym_node_add kernel/bpf/core.c:458 [inline] BUG: KASAN: use-after-free in bpf_prog_kallsyms_add+0x7c5/0x840 kernel/bpf/core.c:490 Read of size 8 at addr ffff8880a55964e0 by task syz-executor.4/18204 CPU: 1 PID: 18204 Comm: syz-executor.4 Not tainted 4.19.59 #32 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 gfs2: can't parse mount arguments Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold+0x8c/0x2ba mm/kasan/report.c:396 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433 __read_once_size include/linux/compiler.h:193 [inline] list_empty include/linux/list.h:203 [inline] bpf_prog_ksym_node_add kernel/bpf/core.c:458 [inline] bpf_prog_kallsyms_add+0x7c5/0x840 kernel/bpf/core.c:490 bpf_prog_load+0xf7e/0x1400 kernel/bpf/syscall.c:1469 __do_sys_bpf kernel/bpf/syscall.c:2405 [inline] __se_sys_bpf kernel/bpf/syscall.c:2367 [inline] __x64_sys_bpf+0x32b/0x4c0 kernel/bpf/syscall.c:2367 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459819 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffb25899c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459819 RDX: 0000000000000048 RSI: 00000000200017c0 RDI: 0000000000000005 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffb2589a6d4 R13: 00000000004bfc7c R14: 00000000004d16d8 R15: 00000000ffffffff Allocated by task 18204: save_stack+0x45/0xd0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc mm/kasan/kasan.c:553 [inline] kasan_kmalloc+0xce/0xf0 mm/kasan/kasan.c:531 kmem_cache_alloc_trace+0x152/0x760 mm/slab.c:3625 kmalloc include/linux/slab.h:515 [inline] kzalloc include/linux/slab.h:709 [inline] bpf_prog_alloc+0x216/0x2a0 kernel/bpf/core.c:90 bpf_prog_load+0x558/0x1400 kernel/bpf/syscall.c:1399 __do_sys_bpf kernel/bpf/syscall.c:2405 [inline] __se_sys_bpf kernel/bpf/syscall.c:2367 [inline] __x64_sys_bpf+0x32b/0x4c0 kernel/bpf/syscall.c:2367 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 1473: save_stack+0x45/0xd0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] __kasan_slab_free+0x102/0x150 mm/kasan/kasan.c:521 kasan_slab_free+0xe/0x10 mm/kasan/kasan.c:528 __cache_free mm/slab.c:3503 [inline] kfree+0xcf/0x220 mm/slab.c:3822 bpf_jit_free+0xa5/0x300 bpf_prog_free_deferred+0x2f6/0x420 kernel/bpf/core.c:1814 process_one_work+0x989/0x1750 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 The buggy address belongs to the object at ffff8880a5596480 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 96 bytes inside of 256-byte region [ffff8880a5596480, ffff8880a5596580) The buggy address belongs to the page: page:ffffea0002956580 count:1 mapcount:0 mapping:ffff88812c3f07c0 index:0x0 flags: 0x1fffc0000000100(slab) raw: 01fffc0000000100 ffffea0002913d48 ffffea0002342848 ffff88812c3f07c0 raw: 0000000000000000 ffff8880a55960c0 000000010000000c 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a5596380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880a5596400: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880a5596480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880a5596500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880a5596580: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ==================================================================