loop9: detected capacity change from 0 to 32768
... Log Wrap ... Log Wrap ... Log Wrap ...
read_mapping_page failed!
ERROR: (device loop9): txAbort:
read_mapping_page failed!
ERROR: (device loop9): txAbort:
==================================================================
BUG: KASAN: slab-out-of-bounds in dtSplitPage+0x38cd/0x39e0 fs/jfs/jfs_dtree.c:1522
Read of size 1 at addr ffff8880523fbfa5 by task syz.9.4463/19812
CPU: 1 UID: 0 PID: 19812 Comm: syz.9.4463 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
dtSplitPage+0x38cd/0x39e0 fs/jfs/jfs_dtree.c:1522
dtSplitUp+0x7ba/0x5970 fs/jfs/jfs_dtree.c:1092
dtInsert+0x8dd/0xb60 fs/jfs/jfs_dtree.c:871
jfs_create+0x645/0xb60 fs/jfs/namei.c:137
lookup_open.isra.0+0x11d3/0x1580 fs/namei.c:3796
open_last_lookups fs/namei.c:3895 [inline]
path_openat+0x893/0x2cb0 fs/namei.c:4131
do_filp_open+0x20b/0x470 fs/namei.c:4161
do_sys_openat2+0x11b/0x1d0 fs/open.c:1437
do_sys_open fs/open.c:1452 [inline]
__do_sys_open fs/open.c:1460 [inline]
__se_sys_open fs/open.c:1456 [inline]
__x64_sys_open+0x153/0x1e0 fs/open.c:1456
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5ec418efc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5ec4f66038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f5ec43e5fa0 RCX: 00007f5ec418efc9
RDX: 389b0d52417bb201 RSI: 0000000000064842 RDI: 00002000000005c0
RBP: 00007f5ec4211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5ec43e6038 R14: 00007f5ec43e5fa0 R15: 00007fffbec9e448
Allocated by task 19812:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:56
kasan_save_track+0x14/0x30 mm/kasan/common.c:77
unpoison_slab_object mm/kasan/common.c:342 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:368
kasan_slab_alloc include/linux/kasan.h:252 [inline]
slab_post_alloc_hook mm/slub.c:4970 [inline]
slab_alloc_node mm/slub.c:5280 [inline]
kmem_cache_alloc_lru_noprof+0x254/0x6e0 mm/slub.c:5299
jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105
alloc_inode+0x64/0x240 fs/inode.c:346
iget_locked+0x2fa/0x860 fs/inode.c:1445
jfs_iget+0x20/0x590 fs/jfs/inode.c:29
jfs_lookup+0x2b2/0x380 fs/jfs/namei.c:1469
__lookup_slow+0x251/0x460 fs/namei.c:1816
lookup_slow fs/namei.c:1833 [inline]
walk_component+0x353/0x5b0 fs/namei.c:2151
lookup_last fs/namei.c:2652 [inline]
path_lookupat+0x142/0x6d0 fs/namei.c:2676
filename_lookup+0x224/0x5f0 fs/namei.c:2705
user_path_at+0x3a/0x60 fs/namei.c:3215
__do_sys_chdir fs/open.c:561 [inline]
__se_sys_chdir fs/open.c:555 [inline]
__x64_sys_chdir+0xbe/0x270 fs/open.c:555
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff8880523fb6f0
which belongs to the cache jfs_ip of size 2216
The buggy address is located 13 bytes to the right of
allocated 2216-byte region [ffff8880523fb6f0, ffff8880523fbf98)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x523f8
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff88805512f301
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff8881404bb000 dead000000000122 0000000000000000
raw: 0000000000000000 00000000800d000d 00000000f5000000 ffff88805512f301
head: 00fff00000000040 ffff8881404bb000 dead000000000122 0000000000000000
head: 0000000000000000 00000000800d000d 00000000f5000000 ffff88805512f301
head: 00fff00000000003 ffffea000148fe01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 3, migratetype Reclaimable, gfp_mask 0xd2050(__GFP_RECLAIMABLE|__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 18406, tgid 18405 (syz.9.4117), ts 785596372031, free_ts 715189210335
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1850
prep_new_page mm/page_alloc.c:1858 [inline]
get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3884
__alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5183
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2416
alloc_slab_page mm/slub.c:3055 [inline]
allocate_slab mm/slub.c:3228 [inline]
new_slab+0x24a/0x360 mm/slub.c:3282
___slab_alloc+0xdae/0x1a60 mm/slub.c:4651
__slab_alloc.constprop.0+0x63/0x110 mm/slub.c:4770
__slab_alloc_node mm/slub.c:4846 [inline]
slab_alloc_node mm/slub.c:5268 [inline]
kmem_cache_alloc_lru_noprof+0x443/0x6e0 mm/slub.c:5299
jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105
alloc_inode+0x64/0x240 fs/inode.c:346
new_inode+0x22/0x1c0 fs/inode.c:1145
jfs_fill_super+0x6a8/0x1040 fs/jfs/super.c:511
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x340 fs/super.c:1751
fc_mount fs/namespace.c:1208 [inline]
do_new_mount_fc fs/namespace.c:3651 [inline]
do_new_mount fs/namespace.c:3727 [inline]
path_mount+0x7b9/0x23a0 fs/namespace.c:4037
do_mount fs/namespace.c:4050 [inline]
__do_sys_mount fs/namespace.c:4238 [inline]
__se_sys_mount fs/namespace.c:4215 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4215
page last free pid 16919 tgid 16919 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1394 [inline]
__free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2906
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352
kasan_slab_alloc include/linux/kasan.h:252 [inline]
slab_post_alloc_hook mm/slub.c:4970 [inline]
slab_alloc_node mm/slub.c:5280 [inline]
__kmalloc_cache_noprof+0x274/0x780 mm/slub.c:5758
kmalloc_noprof include/linux/slab.h:957 [inline]
kzalloc_noprof include/linux/slab.h:1094 [inline]
ref_tracker_alloc+0x18e/0x5b0 lib/ref_tracker.c:271
__netdev_tracker_alloc include/linux/netdevice.h:4375 [inline]
netdev_hold include/linux/netdevice.h:4404 [inline]
netdev_hold include/linux/netdevice.h:4399 [inline]
netdev_queue_add_kobject net/core/net-sysfs.c:1994 [inline]
netdev_queue_update_kobjects+0x2db/0x720 net/core/net-sysfs.c:2056
register_queue_kobjects net/core/net-sysfs.c:2119 [inline]
netdev_register_kobject+0x2b3/0x3d0 net/core/net-sysfs.c:2362
register_netdevice+0x13dc/0x2270 net/core/dev.c:11294
bond_newlink+0x6a/0x100 drivers/net/bonding/bond_netlink.c:601
rtnl_newlink_create net/core/rtnetlink.c:3833 [inline]
__rtnl_newlink net/core/rtnetlink.c:3950 [inline]
rtnl_newlink+0xc45/0x2000 net/core/rtnetlink.c:4065
rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6951
netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2552
netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346
netlink_sendmsg+0x8c8/0xdd0 net/netlink/af_netlink.c:1896
sock_sendmsg_nosec net/socket.c:727 [inline]
__sock_sendmsg net/socket.c:742 [inline]
__sys_sendto+0x4a3/0x520 net/socket.c:2244
Memory state around the buggy address:
ffff8880523fbe80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff8880523fbf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8880523fbf80: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff8880523fc000: fc fc fc 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff8880523fc080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
==================================================================
BUG: KASAN: slab-out-of-bounds in dtInsertEntry.isra.0+0x13a1/0x1670 fs/jfs/jfs_dtree.c:3765
Read of size 4 at addr ffff8880523fbfbc by task syz.9.4463/19812
CPU: 0 UID: 0 PID: 19812 Comm: syz.9.4463 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
dtInsertEntry.isra.0+0x13a1/0x1670 fs/jfs/jfs_dtree.c:3765
dtSplitPage+0x2bd0/0x39e0 fs/jfs/jfs_dtree.c:1596
dtSplitUp+0x7ba/0x5970 fs/jfs/jfs_dtree.c:1092
dtInsert+0x8dd/0xb60 fs/jfs/jfs_dtree.c:871
jfs_create+0x645/0xb60 fs/jfs/namei.c:137
lookup_open.isra.0+0x11d3/0x1580 fs/namei.c:3796
open_last_lookups fs/namei.c:3895 [inline]
path_openat+0x893/0x2cb0 fs/namei.c:4131
do_filp_open+0x20b/0x470 fs/namei.c:4161
do_sys_openat2+0x11b/0x1d0 fs/open.c:1437
do_sys_open fs/open.c:1452 [inline]
__do_sys_open fs/open.c:1460 [inline]
__se_sys_open fs/open.c:1456 [inline]
__x64_sys_open+0x153/0x1e0 fs/open.c:1456
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5ec418efc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5ec4f66038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f5ec43e5fa0 RCX: 00007f5ec418efc9
RDX: 389b0d52417bb201 RSI: 0000000000064842 RDI: 00002000000005c0
RBP: 00007f5ec4211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5ec43e6038 R14: 00007f5ec43e5fa0 R15: 00007fffbec9e448
Allocated by task 19812:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:56
kasan_save_track+0x14/0x30 mm/kasan/common.c:77
unpoison_slab_object mm/kasan/common.c:342 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:368
kasan_slab_alloc include/linux/kasan.h:252 [inline]
slab_post_alloc_hook mm/slub.c:4970 [inline]
slab_alloc_node mm/slub.c:5280 [inline]
kmem_cache_alloc_lru_noprof+0x254/0x6e0 mm/slub.c:5299
jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105
alloc_inode+0x64/0x240 fs/inode.c:346
iget_locked+0x2fa/0x860 fs/inode.c:1445
jfs_iget+0x20/0x590 fs/jfs/inode.c:29
jfs_lookup+0x2b2/0x380 fs/jfs/namei.c:1469
__lookup_slow+0x251/0x460 fs/namei.c:1816
lookup_slow fs/namei.c:1833 [inline]
walk_component+0x353/0x5b0 fs/namei.c:2151
lookup_last fs/namei.c:2652 [inline]
path_lookupat+0x142/0x6d0 fs/namei.c:2676
filename_lookup+0x224/0x5f0 fs/namei.c:2705
user_path_at+0x3a/0x60 fs/namei.c:3215
__do_sys_chdir fs/open.c:561 [inline]
__se_sys_chdir fs/open.c:555 [inline]
__x64_sys_chdir+0xbe/0x270 fs/open.c:555
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff8880523fb6f0
which belongs to the cache jfs_ip of size 2216
The buggy address is located 36 bytes to the right of
allocated 2216-byte region [ffff8880523fb6f0, ffff8880523fbf98)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x523f8
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff88805512f301
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff8881404bb000 dead000000000122 0000000000000000
raw: 0000000000000000 00000000800d000d 00000000f5000000 ffff88805512f301
head: 00fff00000000040 ffff8881404bb000 dead000000000122 0000000000000000
head: 0000000000000000 00000000800d000d 00000000f5000000 ffff88805512f301
head: 00fff00000000003 ffffea000148fe01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 3, migratetype Reclaimable, gfp_mask 0xd2050(__GFP_RECLAIMABLE|__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 18406, tgid 18405 (syz.9.4117), ts 785596372031, free_ts 715189210335
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1850
prep_new_page mm/page_alloc.c:1858 [inline]
get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3884
__alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5183
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2416
alloc_slab_page mm/slub.c:3055 [inline]
allocate_slab mm/slub.c:3228 [inline]
new_slab+0x24a/0x360 mm/slub.c:3282
___slab_alloc+0xdae/0x1a60 mm/slub.c:4651
__slab_alloc.constprop.0+0x63/0x110 mm/slub.c:4770
__slab_alloc_node mm/slub.c:4846 [inline]
slab_alloc_node mm/slub.c:5268 [inline]
kmem_cache_alloc_lru_noprof+0x443/0x6e0 mm/slub.c:5299
jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105
alloc_inode+0x64/0x240 fs/inode.c:346
new_inode+0x22/0x1c0 fs/inode.c:1145
jfs_fill_super+0x6a8/0x1040 fs/jfs/super.c:511
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x340 fs/super.c:1751
fc_mount fs/namespace.c:1208 [inline]
do_new_mount_fc fs/namespace.c:3651 [inline]
do_new_mount fs/namespace.c:3727 [inline]
path_mount+0x7b9/0x23a0 fs/namespace.c:4037
do_mount fs/namespace.c:4050 [inline]
__do_sys_mount fs/namespace.c:4238 [inline]
__se_sys_mount fs/namespace.c:4215 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4215
page last free pid 16919 tgid 16919 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1394 [inline]
__free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2906
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352
kasan_slab_alloc include/linux/kasan.h:252 [inline]
slab_post_alloc_hook mm/slub.c:4970 [inline]
slab_alloc_node mm/slub.c:5280 [inline]
__kmalloc_cache_noprof+0x274/0x780 mm/slub.c:5758
kmalloc_noprof include/linux/slab.h:957 [inline]
kzalloc_noprof include/linux/slab.h:1094 [inline]
ref_tracker_alloc+0x18e/0x5b0 lib/ref_tracker.c:271
__netdev_tracker_alloc include/linux/netdevice.h:4375 [inline]
netdev_hold include/linux/netdevice.h:4404 [inline]
netdev_hold include/linux/netdevice.h:4399 [inline]
netdev_queue_add_kobject net/core/net-sysfs.c:1994 [inline]
netdev_queue_update_kobjects+0x2db/0x720 net/core/net-sysfs.c:2056
register_queue_kobjects net/core/net-sysfs.c:2119 [inline]
netdev_register_kobject+0x2b3/0x3d0 net/core/net-sysfs.c:2362
register_netdevice+0x13dc/0x2270 net/core/dev.c:11294
bond_newlink+0x6a/0x100 drivers/net/bonding/bond_netlink.c:601
rtnl_newlink_create net/core/rtnetlink.c:3833 [inline]
__rtnl_newlink net/core/rtnetlink.c:3950 [inline]
rtnl_newlink+0xc45/0x2000 net/core/rtnetlink.c:4065
rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6951
netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2552
netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346
netlink_sendmsg+0x8c8/0xdd0 net/netlink/af_netlink.c:1896
sock_sendmsg_nosec net/socket.c:727 [inline]
__sock_sendmsg net/socket.c:742 [inline]
__sys_sendto+0x4a3/0x520 net/socket.c:2244
Memory state around the buggy address:
ffff8880523fbe80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff8880523fbf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8880523fbf80: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff8880523fc000: fc fc fc fa fb fb fb fb fb fb fb fb fb fb fb fb
ffff8880523fc080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
find_entry called with index >= next_index
read_mapping_page failed!
ERROR: (device loop9): txAbort: