KASAN: slab-use-after-free Read in lmLog

Status: upstream: reported on 2026/08/04 01:44
Subsystems: jfs
Labels: prio:normal actionable
[Documentation on labels]
Reported-by: syzbot+5e630048345c54c4d7f4@syzkaller.appspotmail.com
First crash: 63d, last: 1d20h
▶ ▼ ✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision
c8d86e21 repro-c Reproduced: ✅ ❓ KASAN: slab-use-after-free Read in lmLog 2026/08/05 15:00 2026/08/05 15:00 2026/08/05 19:28 e33390b8
5ba37477 moderation Actionable: ✅ ❓ KASAN: slab-use-after-free Read in lmLog 2026/08/04 01:06 2026/08/04 01:06 2026/08/04 01:44 cb1adeae
07e49de8 assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ KASAN: slab-use-after-free Read in lmLog 2026/08/01 01:58 2026/08/01 01:58 2026/08/01 02:35 7664cf44
▶ ▼ Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [jfs?] KASAN: slab-use-after-free Read in lmLog 0 (1) 2026/08/04 01:44
▶ ▼ Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/08/06 07:08 20m glider@google.com upstream report log

Sample crash report:
add_index: next_index = 0.  Resetting!
==================================================================
BUG: KASA
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+0xc9/0x1d0 kernel/locking/rtmutex_api.c:580
Read of size 8 at addr ffff888060b38148 by task syz.2.389/10421

CPU: 0 UID: 0 PID: 10421 Comm: syz.2.389 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
 <TASK>
 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+0xc9/0x1d0 kernel/locking/rtmutex_api.c:580
 lmLog+0x78/0xa10 fs/jfs/jfs_logmgr.c:234
 dtLog fs/jfs/jfs_txnmgr.c:1620 [inline]
 txLog fs/jfs/jfs_txnmgr.c:1402 [inline]
 txCommit+0x1c92/0x54a0 fs/jfs/jfs_txnmgr.c:1266
 add_missing_indices+0x7e5/0xb30 fs/jfs/jfs_dtree.c:2671
 jfs_readdir+0x1d15/0x33f0 fs/jfs/jfs_dtree.c:3028
 wrap_directory_iterator+0x99/0xe0 fs/readdir.c:67
 iterate_dir+0x2f1/0x4e0 fs/readdir.c:110
 get_name fs/exportfs/expfs.c:324 [inline]
 exportfs_get_name+0x3f4/0x540 fs/exportfs/expfs.c:36
 reconnect_one fs/exportfs/expfs.c:139 [inline]
 reconnect_path+0x242/0x830 fs/exportfs/expfs.c:219
 exportfs_decode_fh_raw+0x365/0x770 fs/exportfs/expfs.c:484
 do_handle_to_path+0xa4/0x1a0 fs/fhandle.c:274
 handle_to_path fs/fhandle.c:409 [inline]
 do_handle_open+0x6d2/0xae0 fs/fhandle.c:433
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4f8174e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4f7f985028 EFLAGS: 00000246 ORIG_RAX: 0000000000000130
RAX: ffffffffffffffda RBX: 00007f4f819d6090 RCX: 00007f4f8174e159
RDX: 0000000000000000 RSI: 00002000000000c0 RDI: ffffffffffffff9c
RBP: 00007f4f817e506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4f819d6128 R14: 00007f4f819d6090 R15: 00007ffe0f245738
 </TASK>

Allocated by task 10417:
 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+0x3d5/0x680 mm/slub.c:5563
 _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+0x430/0x4f0 fs/super.c:1872
 vfs_get_tree+0x92/0x2a0 fs/super.c:1932
 fc_mount fs/namespace.c:1198 [inline]
 do_new_mount_fc fs/namespace.c:3772 [inline]
 do_new_mount+0x319/0xdc0 fs/namespace.c:3848
 do_mount fs/namespace.c:4181 [inline]
 __do_sys_mount fs/namespace.c:4397 [inline]
 __se_sys_mount+0x31d/0x420 fs/namespace.c:4374
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 10417:
 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:2748 [inline]
 slab_free mm/slub.c:6508 [inline]
 kfree+0x1c5/0x6d0 mm/slub.c:6801
 lmLogClose+0x296/0x530 fs/jfs/jfs_logmgr.c:-1
 jfs_reconfigure+0x6d3/0x990 fs/jfs/super.c:421
 reconfigure_super+0x232/0x8f0 fs/super.c:1128
 do_remount fs/namespace.c:3410 [inline]
 path_mount+0xd4e/0x1050 fs/namespace.c:4160
 do_mount fs/namespace.c:4181 [inline]
 __do_sys_mount fs/namespace.c:4397 [inline]
 __se_sys_mount+0x31d/0x420 fs/namespace.c:4374
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888060b38000
 which belongs to the cache kmalloc-1k of size 1024
The buggy address is located 328 bytes inside of
 freed 1024-byte region [ffff888060b38000, ffff888060b38400)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x60b38
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 ffff88813ffbddc0 dead000000000100 dead000000000122
raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
head: 0080000000000040 ffff88813ffbddc0 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 1550, tgid 1550 (kworker/u8:18), ts 101682537404
 set_page_owner include/linux/page_owner.h:33 [inline]
 post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
 prep_new_page mm/page_alloc.c:1879 [inline]
 get_page_from_freelist+0x2591/0x2600 mm/page_alloc.c:3943
 __alloc_frozen_pages_noprof+0x230/0x5c0 mm/page_alloc.c:5436
 alloc_slab_page mm/slub.c:3347 [inline]
 allocate_slab+0x7d/0x620 mm/slub.c:3462
 new_slab mm/slub.c:3513 [inline]
 refill_objects+0x2d8/0x350 mm/slub.c:7417
 refill_sheaf mm/slub.c:2885 [inline]
 __pcs_replace_empty_main+0x339/0x690 mm/slub.c:4774
 alloc_from_pcs mm/slub.c:4850 [inline]
 slab_alloc_node mm/slub.c:4984 [inline]
 __do_kmalloc_node mm/slub.c:5413 [inline]
 __kmalloc_noprof+0x54b/0x790 mm/slub.c:5439
 _kmalloc_noprof include/linux/slab.h:995 [inline]
 _kzalloc_noprof include/linux/slab.h:1312 [inline]
 ieee802_11_parse_elems_full+0x14b/0x2de0 net/mac80211/parse.c:1071
 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2548 [inline]
 ieee80211_inform_bss+0x163/0x10d0 net/mac80211/scan.c:79
 rdev_inform_bss net/wireless/rdev-ops.h:418 [inline]
 cfg80211_inform_single_bss_data+0xd98/0x1bf0 net/wireless/scan.c:2444
 cfg80211_inform_bss_data+0x263/0x3cc0 net/wireless/scan.c:3300
 cfg80211_inform_bss_frame_data+0x3c7/0x840 net/wireless/scan.c:3392
 ieee80211_bss_info_update+0x791/0xa50 net/mac80211/scan.c:230
 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+0x1ce3/0x2c40 net/mac80211/ibss.c:1573
 ieee80211_iface_process_skb net/mac80211/iface.c:1802 [inline]
 ieee80211_iface_work+0x78a/0x1010 net/mac80211/iface.c:1856
 cfg80211_wiphy_work+0x29e/0x420 net/wireless/core.c:564
page last free pid 5843 tgid 5843 ts 101015605903 stack trace:
 reset_page_owner include/linux/page_owner.h:26 [inline]
 __free_pages_prepare mm/page_alloc.c:1418 [inline]
 __free_frozen_pages+0xf8e/0x1070 mm/page_alloc.c:2962
 __slab_free+0x250/0x2a0 mm/slub.c:5823
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:361
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4683 [inline]
 slab_alloc_node mm/slub.c:4996 [inline]
 kmem_cache_alloc_noprof+0x360/0x690 mm/slub.c:5010
 alloc_filename fs/namei.c:147 [inline]
 do_getname+0x2e/0x250 fs/namei.c:187
 class_filename_flags_constructor include/linux/fs.h:2586 [inline]
 do_readlinkat+0xc8/0x510 fs/stat.c:569
 __do_sys_readlink fs/stat.c:605 [inline]
 __se_sys_readlink fs/stat.c:602 [inline]
 __x64_sys_readlink+0x7f/0x90 fs/stat.c:602
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888060b38000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888060b38080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff888060b38100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                              ^
 ffff888060b38180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888060b38200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/29 20:04 upstream 6f8319e3e9a4 328436b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: slab-use-after-free Read in lmLog
2026/08/22 05:29 upstream 818bebeb63dd 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: slab-use-after-free Read in lmLog
2026/07/30 05:59 upstream fc46aed51f62 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: slab-use-after-free Read in lmLog
* Struck through repros no longer work on HEAD.