BUG at fs/jfs/jfs_dmap.c:3002 assert(n < 4) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3002! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11979 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:dbFindLeaf+0x147/0x240 fs/jfs/jfs_dmap.c:3002 Code: fe 83 fb 04 75 96 e8 88 2f ed fe 48 c7 c1 e0 f7 9a 88 ba ba 0b 00 00 48 c7 c6 60 f7 9a 88 48 c7 c7 a0 f7 9a 88 e8 d4 60 7e 05 <0f> 0b e8 62 2f ed fe 41 83 ef 01 31 ff 8d 04 ad 01 00 00 00 44 89 RSP: 0018:ffff88803e50f5c0 EFLAGS: 00010286 RAX: 000000000000002b RBX: 0000000000000004 RCX: 0000000000000000 RDX: 000000000000f1a2 RSI: ffffffff814dff01 RDI: ffffed1007ca1eaa RBP: 0000000000000058 R08: 000000000000002b R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809bee2010 R13: 0000000000000004 R14: 00000000ffffffff R15: 0000000000000001 FS: 00007f582f06e700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f477da4f000 CR3: 0000000047536000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dbAllocDmapLev+0xaf/0x330 fs/jfs/jfs_dmap.c:2010 dbAlloc+0x82b/0xb00 fs/jfs/jfs_dmap.c:830 ea_write+0x4b8/0xbd0 fs/jfs/xattr.c:245 ea_put fs/jfs/xattr.c:623 [inline] __jfs_setxattr+0xe48/0xf50 fs/jfs/xattr.c:796 __jfs_xattr_set+0xc9/0x150 fs/jfs/xattr.c:930 __vfs_setxattr+0x10e/0x170 fs/xattr.c:149 __vfs_setxattr_noperm+0x11a/0x420 fs/xattr.c:180 __vfs_setxattr_locked+0x176/0x250 fs/xattr.c:238 vfs_setxattr+0xe5/0x270 fs/xattr.c:255 setxattr+0x23d/0x330 fs/xattr.c:520 path_setxattr+0x170/0x190 fs/xattr.c:539 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f58306fb5a9 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:00007f582f06e168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f583081bf80 RCX: 00007f58306fb5a9 RDX: 0000000020000380 RSI: 00000000200000c0 RDI: 0000000020000080 RBP: 00007f5830756580 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000c001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd3655d6af R14: 00007f582f06e300 R15: 0000000000022000 Modules linked in: overlayfs: unrecognized mount option "euid=00000000000000000000" or missing value ---[ end trace fe15b5d75acf71bf ]--- RIP: 0010:dbFindLeaf+0x147/0x240 fs/jfs/jfs_dmap.c:3002 Code: fe 83 fb 04 75 96 e8 88 2f ed fe 48 c7 c1 e0 f7 9a 88 ba ba 0b 00 00 48 c7 c6 60 f7 9a 88 48 c7 c7 a0 f7 9a 88 e8 d4 60 7e 05 <0f> 0b e8 62 2f ed fe 41 83 ef 01 31 ff 8d 04 ad 01 00 00 00 44 89 RSP: 0018:ffff88803e50f5c0 EFLAGS: 00010286 RAX: 000000000000002b RBX: 0000000000000004 RCX: 0000000000000000 RDX: 000000000000f1a2 RSI: ffffffff814dff01 RDI: ffffed1007ca1eaa RBP: 0000000000000058 R08: 000000000000002b R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809bee2010 R13: 0000000000000004 R14: 00000000ffffffff R15: 0000000000000001 FS: 00007f582f06e700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9671d06000 CR3: 0000000047536000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400