==================================================================
BUG: KASAN: slab-out-of-bounds in __ext4_iget+0x26c/0x3390 fs/ext4/inode.c:4716
Read of size 8 at addr ffff00010e5a7f30 by task syz-executor.0/9192

CPU: 1 PID: 9192 Comm: syz-executor.0 Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call trace:
 dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:291
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:298
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0x174/0x514 mm/kasan/report.c:475
 kasan_report+0xd8/0x138 mm/kasan/report.c:588
 __asan_report_load8_noabort+0x20/0x2c mm/kasan/report_generic.c:381
 __ext4_iget+0x26c/0x3390 fs/ext4/inode.c:4716
 __ext4_fill_super fs/ext4/super.c:5482 [inline]
 ext4_fill_super+0x44a8/0x5818 fs/ext4/super.c:5712
 get_tree_bdev+0x33c/0x4a8 fs/super.c:1598
 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5744
 vfs_get_tree+0x90/0x288 fs/super.c:1771
 do_new_mount+0x25c/0x8c8 fs/namespace.c:3337
 path_mount+0x590/0xe04 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3863
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155
 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595

Allocated by task 6123:
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4c/0x7c mm/kasan/common.c:52
 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:511
 __kasan_slab_alloc+0x74/0x8c mm/kasan/common.c:328
 kasan_slab_alloc include/linux/kasan.h:188 [inline]
 slab_post_alloc_hook+0x90/0x498 mm/slab.h:763
 slab_alloc_node mm/slub.c:3478 [inline]
 slab_alloc mm/slub.c:3486 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3493 [inline]
 kmem_cache_alloc_lru+0x194/0x394 mm/slub.c:3509
 alloc_inode_sb include/linux/fs.h:2937 [inline]
 sock_alloc_inode+0x2c/0xcc net/socket.c:308
 alloc_inode fs/inode.c:261 [inline]
 new_inode_pseudo+0x68/0x1d0 fs/inode.c:1006
 sock_alloc net/socket.c:634 [inline]
 __sock_create+0x134/0x884 net/socket.c:1533
 sock_create net/socket.c:1620 [inline]
 __sys_socket_create net/socket.c:1657 [inline]
 __sys_socket+0x134/0x340 net/socket.c:1704
 __do_sys_socket net/socket.c:1718 [inline]
 __se_sys_socket net/socket.c:1716 [inline]
 __arm64_sys_socket+0x7c/0x94 net/socket.c:1716
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155
 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595

Freed by task 16:
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4c/0x7c mm/kasan/common.c:52
 kasan_save_free_info+0x38/0x5c mm/kasan/generic.c:522
 ____kasan_slab_free+0x144/0x1c0 mm/kasan/common.c:236
 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:244
 kasan_slab_free include/linux/kasan.h:164 [inline]
 slab_free_hook mm/slub.c:1800 [inline]
 slab_free_freelist_hook mm/slub.c:1826 [inline]
 slab_free mm/slub.c:3809 [inline]
 kmem_cache_free+0x2e4/0x56c mm/slub.c:3831
 sock_free_inode+0x28/0x38 net/socket.c:329
 i_callback+0x50/0x78 fs/inode.c:250
 rcu_do_batch kernel/rcu/tree.c:2158 [inline]
 rcu_core+0x890/0x1b34 kernel/rcu/tree.c:2431
 rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2448
 __do_softirq+0x2d8/0xce4 kernel/softirq.c:553

Last potentially related work creation:
 kasan_save_stack+0x40/0x6c mm/kasan/common.c:45
 __kasan_record_aux_stack+0xcc/0xe8 mm/kasan/generic.c:492
 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:502
 __call_rcu_common kernel/rcu/tree.c:2681 [inline]
 call_rcu+0x104/0xaf4 kernel/rcu/tree.c:2795
 destroy_inode fs/inode.c:316 [inline]
 evict+0x5fc/0x68c fs/inode.c:681
 iput_final fs/inode.c:1777 [inline]
 iput+0x734/0x818 fs/inode.c:1803
 dentry_unlink_inode+0x370/0x4b0 fs/dcache.c:401
 __dentry_kill+0x324/0x5e4 fs/dcache.c:607
 dentry_kill+0xc8/0x250
 dput+0x218/0x454 fs/dcache.c:913
 __fput+0x4f4/0x8e4 fs/file_table.c:402
 __fput_sync+0x60/0x9c fs/file_table.c:475
 __do_sys_close fs/open.c:1587 [inline]
 __se_sys_close fs/open.c:1572 [inline]
 __arm64_sys_close+0x150/0x1e0 fs/open.c:1572
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155
 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595

The buggy address belongs to the object at ffff00010e5a7800
 which belongs to the cache sock_inode_cache of size 1408
The buggy address is located 432 bytes to the right of
 allocated 1408-byte region [ffff00010e5a7800, ffff00010e5a7d80)

The buggy address belongs to the physical page:
page:00000000c49db75c refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff00010e5a1800 pfn:0x14e5a0
head:00000000c49db75c order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff0000d3b75301
ksm flags: 0x5ffc00000000840(slab|head|node=0|zone=2|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 05ffc00000000840 ffff0000c1ba3b40 fffffc0003055e00 0000000000000003
raw: ffff00010e5a1800 0000000080150012 00000001ffffffff ffff0000d3b75301
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff00010e5a7e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff00010e5a7e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff00010e5a7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
                                     ^
 ffff00010e5a7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff00010e5a8000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none.
Unable to handle kernel paging request at virtual address dfff80004000000d
KASAN: probably user-memory-access in range [0x0000000200000068-0x000000020000006f]
Mem abort info:
  ESR = 0x0000000096000005
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x05: level 1 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[dfff80004000000d] address between user and kernel address ranges
Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 9192 Comm: syz-executor.0 Tainted: G    B              6.7.0-rc8-syzkaller-g0802e17d9aca #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : d_really_is_negative include/linux/dcache.h:467 [inline]
pc : open_xa_root fs/reiserfs/xattr.c:125 [inline]
pc : open_xa_dir+0xf8/0x578 fs/reiserfs/xattr.c:153
lr : open_xa_dir+0x9c/0x578 fs/reiserfs/xattr.c:151
sp : ffff800097787280
x29: ffff800097787310 x28: 000000004000000d x27: dfff800000000000
x26: ffff700012ef0e50 x25: 0000000000000000 x24: 1fffe0001ad654c6
x23: 0000000200000068 x22: ffff00010e5a8190 x21: ffff8000977872a0
x20: 0000000000000002 x19: ffff0000d6b2a630 x18: ffff800097787a18
x17: 0000000000000000 x16: ffff80008a77ce00 x15: ffff700012ef0e56
x14: 1ffff00012ef0e54 x13: 0000000000000001 x12: ffffffffffffffff
x11: ffff700012ef0e56 x10: 1ffff00012ef0e56 x9 : 0000000000000001
x8 : 0000000200000000 x7 : 0000000000000000 x6 : ffff800080c73d70
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000010
x2 : 0000000000000001 x1 : 0000000000000000 x0 : ffff8000977872a0
Call trace:
 d_really_is_negative include/linux/dcache.h:467 [inline]
 open_xa_root fs/reiserfs/xattr.c:125 [inline]
 open_xa_dir+0xf8/0x578 fs/reiserfs/xattr.c:153
 xattr_lookup+0x3c/0x268 fs/reiserfs/xattr.c:396
 reiserfs_xattr_get+0xf0/0x96c fs/reiserfs/xattr.c:679
 reiserfs_get_acl+0x94/0x624 fs/reiserfs/xattr_acl.c:215
 __get_acl+0x26c/0x474 fs/posix_acl.c:160
 get_inode_acl+0x34/0x44 fs/posix_acl.c:185
 check_acl+0x40/0x184 fs/namei.c:310
 acl_permission_check fs/namei.c:355 [inline]
 generic_permission+0x2f8/0x498 fs/namei.c:408
 reiserfs_permission+0x74/0xa8 fs/reiserfs/xattr.c:958
 do_inode_permission fs/namei.c:462 [inline]
 inode_permission+0x1d0/0x3b4 fs/namei.c:529
 may_open+0x290/0x3bc fs/namei.c:3249
 do_open fs/namei.c:3620 [inline]
 path_openat+0x1e44/0x2888 fs/namei.c:3779
 do_filp_open+0x1bc/0x3cc fs/namei.c:3809
 do_sys_openat2+0x124/0x1b8 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1463
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155
 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595
Code: 97ee1231 f94002e8 9101a117 d343fefc (387b6b88) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	97ee1231 	bl	0xffffffffffb848c4
   4:	f94002e8 	ldr	x8, [x23]
   8:	9101a117 	add	x23, x8, #0x68
   c:	d343fefc 	lsr	x28, x23, #3
* 10:	387b6b88 	ldrb	w8, [x28, x27] <-- trapping instruction