x_tables: ip_tables: rpfilter match: used from hooks OUTPUT, but only valid from PREROUTING BUG at fs/jfs/jfs_dmap.c:3036 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3036! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 7231 Comm: syz.0.266 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/13/2026 RIP: 0010:dbFindBits+0x19e/0x1a0 fs/jfs/jfs_dmap.c:3036 Code: d1 fd 90 0f 0b e8 92 a2 6e fe 48 c7 c7 60 f3 0a 8c 48 c7 c6 a0 f0 0a 8c ba dc 0b 00 00 48 c7 c1 a0 fb 0a 8c e8 f3 ab d1 fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 RSP: 0018:ffffc90014c17168 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: e7ca21994c48ce00 RDX: ffffc9000c722000 RSI: 00000000000033d3 RDI: 00000000000033d4 RBP: 00000000ffffffff R08: ffffc90014c16ee7 R09: 1ffff92002982ddc R10: dffffc0000000000 R11: fffff52002982ddd R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020 FS: 00007fb233a856c0(0000) GS:ffff8881252be000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb230bf5ff8 CR3: 000000007d894000 CR4: 00000000003526f0 Call Trace: dbAllocDmapLev+0x16b/0x3c0 fs/jfs/jfs_dmap.c:1985 dbAllocCtl+0x14a/0x9c0 fs/jfs/jfs_dmap.c:1825 dbAllocAG+0x1e6/0xff0 fs/jfs/jfs_dmap.c:1353 dbAlloc+0x5ab/0xba0 fs/jfs/jfs_dmap.c:877 dtSplitUp fs/jfs/jfs_dtree.c:982 [inline] dtInsert+0xb53/0x5f10 fs/jfs/jfs_dtree.c:871 jfs_create+0x75b/0xb10 fs/jfs/namei.c:138 lookup_open fs/namei.c:4483 [inline] open_last_lookups fs/namei.c:4583 [inline] path_openat+0x1395/0x3860 fs/namei.c:4827 do_file_open+0x23e/0x4a0 fs/namei.c:4859 do_sys_openat2+0x113/0x200 fs/open.c:1366 do_sys_open fs/open.c:1372 [inline] __do_sys_creat fs/open.c:1450 [inline] __se_sys_creat fs/open.c:1444 [inline] __x64_sys_creat+0x8f/0xc0 fs/open.c:1444 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb232b9aeb9 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:00007fb233a85028 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fb232e16090 RCX: 00007fb232b9aeb9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000e00 RBP: 00007fb232c08c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb232e16128 R14: 00007fb232e16090 R15: 00007ffc6a4a6328 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dbFindBits+0x19e/0x1a0 fs/jfs/jfs_dmap.c:3036 Code: d1 fd 90 0f 0b e8 92 a2 6e fe 48 c7 c7 60 f3 0a 8c 48 c7 c6 a0 f0 0a 8c ba dc 0b 00 00 48 c7 c1 a0 fb 0a 8c e8 f3 ab d1 fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 RSP: 0018:ffffc90014c17168 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: e7ca21994c48ce00 RDX: ffffc9000c722000 RSI: 00000000000033d3 RDI: 00000000000033d4 RBP: 00000000ffffffff R08: ffffc90014c16ee7 R09: 1ffff92002982ddc R10: dffffc0000000000 R11: fffff52002982ddd R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020 FS: 00007fb233a856c0(0000) GS:ffff8881253be000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb232be8600 CR3: 000000007d894000 CR4: 00000000003526f0