================================================================== BUG: KASAN: slab-use-after-free in rt_mutex_owner include/linux/rtmutex.h:52 [inline] BUG: KASAN: slab-use-after-free in rt_mutex_slowtrylock kernel/locking/rtmutex.c:1397 [inline] BUG: KASAN: slab-use-after-free in rt_mutex_try_acquire kernel/locking/rtmutex.c:325 [inline] BUG: KASAN: slab-use-after-free in __rt_mutex_lock kernel/locking/rtmutex.c:1839 [inline] BUG: KASAN: slab-use-after-free in __mutex_lock_common kernel/locking/rtmutex_api.c:562 [inline] BUG: KASAN: slab-use-after-free in mutex_lock_nested+0xc4/0x1d0 kernel/locking/rtmutex_api.c:580 Read of size 8 at addr ffff8880665ee148 by task jfsCommit/132 CPU: 0 UID: 0 PID: 132 Comm: jfsCommit Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 rt_mutex_owner include/linux/rtmutex.h:52 [inline] rt_mutex_slowtrylock kernel/locking/rtmutex.c:1397 [inline] rt_mutex_try_acquire kernel/locking/rtmutex.c:325 [inline] __rt_mutex_lock kernel/locking/rtmutex.c:1839 [inline] __mutex_lock_common kernel/locking/rtmutex_api.c:562 [inline] mutex_lock_nested+0xc4/0x1d0 kernel/locking/rtmutex_api.c:580 jfs_syncpt+0x25/0x90 fs/jfs/jfs_logmgr.c:1037 txEnd+0x2e5/0x530 fs/jfs/jfs_txnmgr.c:551 txLazyCommit fs/jfs/jfs_txnmgr.c:2686 [inline] jfs_lazycommit+0x561/0xa20 fs/jfs/jfs_txnmgr.c:2735 kthread+0x38b/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 7535: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x3d0/0x670 mm/slub.c:5680 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] open_inline_log fs/jfs/jfs_logmgr.c:1157 [inline] lmLogOpen+0x2d1/0xf90 fs/jfs/jfs_logmgr.c:1067 jfs_mount_rw+0xf3/0x670 fs/jfs/jfs_mount.c:257 jfs_fill_super+0x769/0xda0 fs/jfs/super.c:533 get_tree_bdev_flags+0x436/0x500 fs/super.c:1821 vfs_get_tree+0x92/0x2a0 fs/super.c:1881 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount+0x325/0xb00 fs/namespace.c:3986 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4565 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x16a/0x530 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 6487: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kfree+0x1c5/0x6d0 mm/slub.c:6923 lmLogClose+0x296/0x530 fs/jfs/jfs_logmgr.c:-1 jfs_umount+0x2da/0x3b0 fs/jfs/jfs_umount.c:124 jfs_put_super+0x8c/0x190 fs/jfs/super.c:194 generic_shutdown_super+0x140/0x2d0 fs/super.c:723 kill_block_super+0x44/0xa0 fs/super.c:1852 deactivate_locked_super+0xbe/0x110 fs/super.c:558 cleanup_mnt+0x204/0x2a0 fs/namespace.c:1396 task_work_run+0x1d9/0x260 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x32c/0x530 arch/x86/entry/syscall_64.c:107 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff8880665ee000 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 328 bytes inside of freed 1024-byte region [ffff8880665ee000, ffff8880665ee400) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x665e8 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x80000000000040(head|node=0|zone=1) page_type: f5(slab) raw: 0080000000000040 ffff88813ff18dc0 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 0080000000000040 ffff88813ff18dc0 dead000000000100 dead000000000122 head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 0080000000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 2893, tgid 2893 (kworker/u8:14), ts 118561266389 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1860 prep_new_page mm/page_alloc.c:1868 [inline] get_page_from_freelist+0x25d4/0x2650 mm/page_alloc.c:3950 __alloc_frozen_pages_noprof+0x230/0x470 mm/page_alloc.c:5492 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab+0x7d/0x5e0 mm/slub.c:3499 new_slab mm/slub.c:3550 [inline] refill_objects+0x2d8/0x350 mm/slub.c:7539 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x339/0x690 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] __do_kmalloc_node mm/slub.c:5530 [inline] __kmalloc_noprof+0x546/0x790 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] ieee802_11_parse_elems_full+0x14b/0x2a10 net/mac80211/parse.c:1077 ieee80211_inform_bss+0x1b3/0x1150 net/mac80211/scan.c:91 rdev_inform_bss net/wireless/rdev-ops.h:457 [inline] cfg80211_inform_single_bss_data+0xd98/0x1bf0 net/wireless/scan.c:2447 cfg80211_inform_bss_data+0x25b/0x3be0 net/wireless/scan.c:3303 cfg80211_inform_bss_frame_data+0x51a/0xae0 net/wireless/scan.c:3399 ieee80211_bss_info_update+0x772/0xa30 net/mac80211/scan.c:236 ieee80211_rx_bss_info net/mac80211/ibss.c:1065 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1546 [inline] ieee80211_ibss_rx_queued_mgmt+0x1ce1/0x2c40 net/mac80211/ibss.c:1573 ieee80211_iface_process_skb net/mac80211/iface.c:1805 [inline] ieee80211_iface_work+0x769/0xfa0 net/mac80211/iface.c:1859 cfg80211_wiphy_work+0x29e/0x420 net/wireless/core.c:609 page last free pid 5844 tgid 5844 ts 118241648667 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1402 [inline] free_pages_prepare+0x9c6/0xac0 mm/page_alloc.c:1447 __free_contig_range_common+0x174/0x340 mm/page_alloc.c:7123 __free_contig_range mm/page_alloc.c:7168 [inline] free_pages_bulk+0x48/0x120 mm/page_alloc.c:5376 vm_area_free_pages mm/vmalloc.c:3498 [inline] vfree+0x273/0x4f0 mm/vmalloc.c:3547 vb2_vmalloc_put+0x68/0xb0 drivers/media/common/videobuf2/videobuf2-vmalloc.c:68 __vb2_buf_mem_free+0x113/0x2c0 drivers/media/common/videobuf2/videobuf2-core.c:275 __vb2_free_mem drivers/media/common/videobuf2/videobuf2-core.c:571 [inline] __vb2_queue_free+0x404/0xac0 drivers/media/common/videobuf2/videobuf2-core.c:599 vb2_core_reqbufs+0x7d9/0x1470 drivers/media/common/videobuf2/videobuf2-core.c:905 __vb2_cleanup_fileio+0x109/0x1f0 drivers/media/common/videobuf2/videobuf2-core.c:2977 vb2_core_queue_release+0x27/0x150 drivers/media/common/videobuf2/videobuf2-core.c:2676 vb2_queue_release drivers/media/common/videobuf2/videobuf2-v4l2.c:943 [inline] _vb2_fop_release drivers/media/common/videobuf2/videobuf2-v4l2.c:1146 [inline] vb2_fop_release+0x171/0x200 drivers/media/common/videobuf2/videobuf2-v4l2.c:1160 v4l2_release+0x198/0x350 drivers/media/v4l2-core/v4l2-dev.c:468 __fput+0x41a/0xa70 fs/file_table.c:512 fput_close_sync+0x11f/0x240 fs/file_table.c:618 filp_close_sync+0x6e/0xa0 fs/open.c:1574 __range_close fs/file.c:919 [inline] __do_sys_close_range fs/file.c:1003 [inline] __se_sys_close_range+0xa7d/0xef0 fs/file.c:954 Memory state around the buggy address: ffff8880665ee000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880665ee080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff8880665ee100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880665ee180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880665ee200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================