device team0 left promiscuous mode device team_slave_0 left promiscuous mode audit: type=1800 audit(1668220063.750:1290): pid=15440 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="loop2" ino=8 res=0 ================================================================== BUG: KASAN: slab-out-of-bounds in dbAdjTree+0x265/0x2c0 fs/jfs/jfs_dmap.c:2936 Read of size 1 at addr ffff8880a51fc036 by task syz-executor.2/15440 device team_slave_1 left promiscuous mode CPU: 0 PID: 15440 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354 bridge0: port 3(team0) entered disabled state kasan_report mm/kasan/report.c:412 [inline] __asan_report_load1_noabort+0x88/0x90 mm/kasan/report.c:430 dbAdjTree+0x265/0x2c0 fs/jfs/jfs_dmap.c:2936 dbSplit+0xfe/0x150 fs/jfs/jfs_dmap.c:2682 dbAllocBits+0x127/0x520 fs/jfs/jfs_dmap.c:2231 dbAllocDmap+0x61/0x110 fs/jfs/jfs_dmap.c:2072 dbAllocDmapLev+0x159/0x330 fs/jfs/jfs_dmap.c:2026 dbAllocCtl+0x4a2/0x700 fs/jfs/jfs_dmap.c:1866 dbAllocAG+0x7d1/0xb90 fs/jfs/jfs_dmap.c:1407 dbAlloc+0x472/0xb00 fs/jfs/jfs_dmap.c:863 extBalloc fs/jfs/jfs_extent.c:531 [inline] extAlloc+0x4cb/0xdb0 fs/jfs/jfs_extent.c:138 jfs_get_block+0x1f5/0xae0 fs/jfs/inode.c:258 get_more_blocks fs/direct-io.c:717 [inline] do_direct_IO fs/direct-io.c:1003 [inline] do_blockdev_direct_IO fs/direct-io.c:1333 [inline] __blockdev_direct_IO+0x424b/0xef40 fs/direct-io.c:1419 blockdev_direct_IO include/linux/fs.h:3059 [inline] jfs_direct_IO+0x10a/0x370 fs/jfs/inode.c:344 generic_file_direct_write+0x208/0x4a0 mm/filemap.c:3073 __generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_iter_write+0x70/0xa0 fs/read_write.c:973 iter_file_splice_write+0x60d/0xbb0 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1025 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980 do_splice_direct+0x1a7/0x270 fs/splice.c:1068 do_sendfile+0x550/0xc30 fs/read_write.c:1447 __do_sys_sendfile64 fs/read_write.c:1508 [inline] __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f579ce9b639 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f579b40e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f579cfbbf80 RCX: 00007f579ce9b639 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004 RBP: 00007f579cef6a41 R08: 0000000000000000 R09: 0000000000000000 R10: 000080001d00c0d0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffecb66f19f R14: 00007f579b40e300 R15: 0000000000022000 Allocated by task 4700: kmem_cache_alloc+0x122/0x370 mm/slab.c:3559 getname_flags+0xce/0x590 fs/namei.c:140 user_path_at_empty+0x2a/0x50 fs/namei.c:2609 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x113/0x210 fs/stat.c:185 vfs_lstat include/linux/fs.h:3137 [inline] __do_sys_newlstat fs/stat.c:350 [inline] __se_sys_newlstat+0x96/0x120 fs/stat.c:344 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 4700: __cache_free mm/slab.c:3503 [inline] kmem_cache_free+0x7f/0x260 mm/slab.c:3765 putname+0xe1/0x120 fs/namei.c:261 filename_lookup+0x3d0/0x5a0 fs/namei.c:2358 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x113/0x210 fs/stat.c:185 vfs_lstat include/linux/fs.h:3137 [inline] __do_sys_newlstat fs/stat.c:350 [inline] __se_sys_newlstat+0x96/0x120 fs/stat.c:344 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff8880a51fc600 which belongs to the cache names_cache of size 4096 The buggy address is located 1482 bytes to the left of 4096-byte region [ffff8880a51fc600, ffff8880a51fd600) The buggy address belongs to the page: page:ffffea0002947f00 count:1 mapcount:0 mapping:ffff88823b843380 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea000249ba88 ffffea0002d41c08 ffff88823b843380 raw: 0000000000000000 ffff8880a51fc600 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a51fbf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880a51fbf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880a51fc000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880a51fc080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880a51fc100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== 8021q: adding VLAN 0 to HW filter on device team0 bond0: Enslaving team0 as an active interface with an up link validate_nla: 10 callbacks suppressed netlink: 'syz-executor.1': attribute type 10 has an invalid length.