EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 10085 Comm: syz-executor.2 Not tainted 4.14.307-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 task: ffff88806201e380 task.stack: ffff888057a58000 RIP: 0010:__read_once_size include/linux/compiler.h:185 [inline] RIP: 0010:sk_dst_get include/net/sock.h:1772 [inline] RIP: 0010:pppol2tp_session_init+0x1ca/0x4d0 net/l2tp/l2tp_ppp.c:607 RSP: 0018:ffff888057a5fc50 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880b03ac000 RCX: ffffc900083fc000 RDX: 0000000000000045 RSI: ffffffff8686fdc2 RDI: 0000000000000228 EXT4-fs error (device loop4): ext4_mb_generate_buddy:754: group 0, RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000020011 R10: ffff88806201ec30 R11: ffff88806201e380 R12: 0000000000002765 R13: 0000000000000006 R14: ffff88806221f212 R15: ffff88806221f230 FS: 00007f5fe4c8a700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2318037128 CR3: 00000000b3c5f000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters pppol2tp_connect+0xd5c/0x13d0 net/l2tp/l2tp_ppp.c:781 EXT4-fs (loop4): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 SYSC_connect net/socket.c:1655 [inline] SyS_connect+0x1f4/0x240 net/socket.c:1636 EXT4-fs (loop4): This should not happen!! Data will be lost do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 EXT4-fs (loop4): Total free blocks count 0 RIP: 0033:0x7f5fe67180f9 RSP: 002b:00007f5fe4c8a168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f5fe6837f80 RCX: 00007f5fe67180f9 RDX: 0000000000000032 RSI: 0000000020000240 RDI: 0000000000000006 RBP: 00007f5fe6773ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 EXT4-fs (loop4): Free/Dirty block details R13: 00007ffc8af751af R14: 00007f5fe4c8a300 R15: 0000000000022000 Code: fa 80 3d 06 72 6c EXT4-fs (loop4): free_blocks=2415919104 03 00 0f 84 25 02 00 00 e8 3e 59 ce fa 48 8d bd 28 02 00 00 EXT4-fs (loop4): dirty_blocks=16 48 b8 00 00 00 00 00 fc ff df 48 89 EXT4-fs (loop4): Block reservation details fa 48 c1 ea 03 <80> 3c 02 00 0f 85 db 02 00 00 48 8b ad 28 02 EXT4-fs (loop4): i_reserved_data_blocks=1 00 00 e8 20 36 bf RIP: __read_once_size include/linux/compiler.h:185 [inline] RSP: ffff888057a5fc50 RIP: sk_dst_get include/net/sock.h:1772 [inline] RSP: ffff888057a5fc50 RIP: pppol2tp_session_init+0x1ca/0x4d0 net/l2tp/l2tp_ppp.c:607 RSP: ffff888057a5fc50 audit: type=1804 audit(1677336944.705:8): pid=10070 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.4" name="/root/syzkaller-testdir4022203928/syzkaller.EwUOJn/23/file0/bus" dev="loop4" ino=18 res=1 ---[ end trace 4075a32b02dc91c2 ]--- audit: type=1804 audit(1677336944.705:9): pid=10070 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.4" name="/root/syzkaller-testdir4022203928/syzkaller.EwUOJn/23/file0/bus" dev="loop4" ino=18 res=1