==================================================================
BUG: KASAN: slab-use-after-free in jfs_flush_journal+0xa7d/0xf50
Read of size 8 at addr ffff8881612f9238 by task syz-executor/30312

CPU: 1 UID: 0 PID: 30312 Comm: syz-executor Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 print_address_description+0x55/0x1e0
 print_report+0x58/0x70
 kasan_report+0x117/0x150
 jfs_flush_journal+0xa7d/0xf50
 jfs_umount+0x150/0x3b0
 jfs_put_super+0x8c/0x190
 generic_shutdown_super+0x13d/0x2d0
 kill_block_super+0x44/0x90
 deactivate_locked_super+0xbc/0x130
 cleanup_mnt+0x3d3/0x460
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0x1fa/0x730
 do_syscall_64+0x353/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f510ff9f0d7
Code: a2 c7 05 1c 26 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe3c211de8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f511003330a RCX: 00007f510ff9f0d7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe3c211ea0
RBP: 00007ffe3c211ea0 R08: 00007ffe3c212ea0 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe3c212f30
R13: 00007f511003330a R14: 00000000000b3a2a R15: 00007ffe3c212f70
 </TASK>

Allocated by task 29955:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_cache_noprof+0x32d/0x660
 jfs_fill_super+0xc2/0xda0
 get_tree_bdev_flags+0x430/0x4f0
 vfs_get_tree+0x92/0x2a0
 do_new_mount+0x319/0xdc0
 __se_sys_mount+0x31d/0x420
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 25779:
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x40/0x50
 __kasan_slab_free+0x5c/0x80
 kfree+0x1c5/0x640
 generic_shutdown_super+0x13d/0x2d0
 kill_block_super+0x44/0x90
 deactivate_locked_super+0xbc/0x130
 cleanup_mnt+0x3d3/0x460
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0x1fa/0x730
 do_syscall_64+0x353/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff8881612f9200
 which belongs to the cache kmalloc-256 of size 256
The buggy address is located 56 bytes inside of
 freed 256-byte region [ffff8881612f9200, ffff8881612f9300)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8881612f9400 pfn:0x1612f8
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x57ff00000000240(workingset|head|node=1|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 057ff00000000240 ffff888100041b40 ffffea0005b19210 ffffea0005b55890
raw: ffff8881612f9400 000000080010000e 00000000f5000000 0000000000000000
head: 057ff00000000240 ffff888100041b40 ffffea0005b19210 ffffea0005b55890
head: ffff8881612f9400 000000080010000e 00000000f5000000 0000000000000000
head: 057ff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6191, tgid 6190 (syz.1.162), ts 74666194477, free_ts 71073326433
 post_alloc_hook+0x1f9/0x250
 get_page_from_freelist+0x21fa/0x2270
 __alloc_frozen_pages_noprof+0x18d/0x380
 allocate_slab+0x79/0x5e0
 refill_objects+0x2d5/0x350
 __pcs_replace_empty_main+0x2bf/0x6b0
 __kmalloc_noprof+0x485/0x720
 hash_ipportnet6_resize+0xcd5/0x1f60
 call_ad+0x439/0xb50
 ip_set_ad+0x824/0x9d0
 nfnetlink_rcv_msg+0xcc2/0x12b0
 netlink_rcv_skb+0x226/0x4a0
 nfnetlink_rcv+0x2b9/0x28c0
 netlink_unicast+0x7bb/0x940
 netlink_sendmsg+0x813/0xb40
 sock_sendmsg_nosec+0x13a/0x180
page last free pid 6052 tgid 6051 stack trace:
 __free_frozen_pages+0xc1e/0xd10
 __slab_free+0x274/0x2c0
 qlist_free_all+0x99/0x100
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 __kmalloc_noprof+0x311/0x720
 io_cache_alloc_new+0x40/0x100
 __io_prep_rw+0x281/0xe70
 io_prep_rwv+0x8d/0x430
 io_submit_sqes+0xbde/0x2310
 __se_sys_io_uring_enter+0x35b/0x1bb0
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff8881612f9100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff8881612f9180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff8881612f9200: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                        ^
 ffff8881612f9280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8881612f9300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
