loop0: detected capacity change from 0 to 32768 BTRFS: device fsid 395ef67a-297e-477c-816d-cd80a5b93e5d devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5327) BTRFS info (device loop0): first mount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d BTRFS info (device loop0): using sha256 (sha256-avx2) checksum algorithm BTRFS info (device loop0): using free-space-tree netlink: 'syz.0.0': attribute type 1 has an invalid length. netlink: 'syz.0.0': attribute type 4 has an invalid length. netlink: 15334 bytes leftover after parsing attributes in process `syz.0.0'. syz.0.0 uses obsolete (PF_INET,SOCK_PACKET) skb len=242 headroom=64 headlen=242 tailroom=1422 mac=(64,0) mac_len=0 net=(64,1023) trans=1087 shinfo(txflags=0 nr_frags=0 gso(size=0 type=0 segs=0)) csum(0x5043f start=1087 offset=5 ip_summed=3 complete_sw=0 valid=0 level=0) hash(0x0 sw=0 l4=0) proto=0x00f5 pkttype=0 iif=73 priority=0x0 mark=0x0 alloc_cpu=0 vlan_all=0x0 encapsulation=0 inner(proto=0x0000, mac=0, net=0, trans=0) dev name=vcan0 feat=0x0000000000004000 sk family=0 type=0 proto=0 skb linear: 00000000: 00 00 00 00 ed 93 76 90 65 5f 93 21 37 6c c8 ba skb linear: 00000010: da 16 00 db 79 de fd 4c 89 6c d0 82 fa 43 09 df skb linear: 00000020: 02 e8 62 b3 25 4f c4 9c 7d 42 b7 16 55 91 da a7 skb linear: 00000030: 0d 09 5a 59 e8 67 30 ab 0c fe f4 b7 06 12 02 cf skb linear: 00000040: 6d 97 6a 04 58 85 8d c9 6b e1 05 89 34 fa bd 50 skb linear: 00000050: 58 6c e7 3e 75 95 d0 20 25 f0 2e d0 f6 14 36 b9 skb linear: 00000060: 73 f2 15 17 fb ba c2 7b 84 86 d2 7a be 79 a1 23 skb linear: 00000070: a5 09 dd 97 81 4e 9d 67 28 e1 d4 57 f1 0f 80 99 skb linear: 00000080: 5a 86 b5 50 2b c4 ff bf b5 2e 88 3c 0d 0b ad 52 skb linear: 00000090: c8 74 69 d5 75 98 68 b6 b3 9e f9 89 49 ad 04 f3 skb linear: 000000a0: 5d 82 54 93 c8 40 22 61 58 88 88 83 73 bf d0 5c skb linear: 000000b0: 3d 00 d7 7d c9 c2 42 e7 69 1d 9c 85 6b 8d 3f 2d skb linear: 000000c0: 91 4f b5 53 f5 72 d9 c2 e5 ad 0f 18 10 91 af 1c skb linear: 000000d0: 31 a4 2c 96 42 45 4d 3d c8 1f f9 90 09 8e 57 c8 skb linear: 000000e0: 2e 87 50 68 ea 33 cb 7e 1f c2 2b 31 3d 12 2f c9 skb linear: 000000f0: 1f 58 ------------[ cut here ]------------ offset (1023) >= skb_headlen() (242) WARNING: CPU: 0 PID: 5327 at net/core/dev.c:3519 skb_checksum_help+0x6e2/0x810 net/core/dev.c:3518 Modules linked in: CPU: 0 UID: 0 PID: 5327 Comm: syz.0.0 Not tainted 6.15.0-rc1-syzkaller-00301-g3bde70a2c827 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:skb_checksum_help+0x6e2/0x810 net/core/dev.c:3518 Code: 48 8b 4c 24 18 0f b6 04 01 84 c0 0f 85 e1 00 00 00 48 8b 44 24 08 2b 18 48 c7 c7 40 5e 50 8d 44 89 fe 89 da e8 2f 12 97 f7 90 <0f> 0b 90 90 bb ea ff ff ff e9 90 fc ff ff e8 9b f0 d7 f7 c6 05 d1 RSP: 0018:ffffc9000d43eee8 EFLAGS: 00010246 RAX: e87a5ffcb9323100 RBX: 00000000000000f2 RCX: 0000000000100000 RDX: ffffc9000deea000 RSI: 0000000000008a0f RDI: 0000000000008a10 RBP: 00000000000000f2 R08: ffffffff81827952 R09: fffffbfff1d7a970 R10: dffffc0000000000 R11: fffffbfff1d7a970 R12: 000000000000043f R13: ffff888012a5c3c0 R14: 1ffff1100254b888 R15: 00000000000003ff FS: 00007f5b4a73b6c0(0000) GS:ffff88808c594000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003000 CR3: 0000000043bfe000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_csum_hwoffload_help+0x5c8/0xa70 net/core/dev.c:3841 validate_xmit_skb+0xa41/0x1150 net/core/dev.c:3887 __dev_queue_xmit+0x17be/0x3f60 net/core/dev.c:4619 dev_queue_xmit include/linux/netdevice.h:3350 [inline] phonet_rcv+0xa65/0x1000 net/phonet/af_phonet.c:439 __netif_receive_skb_one_core net/core/dev.c:5885 [inline] __netif_receive_skb+0x2ea/0x670 net/core/dev.c:5998 netif_receive_skb_internal net/core/dev.c:6084 [inline] netif_receive_skb+0x1ea/0x890 net/core/dev.c:6143 tun_rx_batched+0x1a4/0x8d0 drivers/net/tun.c:1485 tun_get_user+0x2fec/0x47c0 drivers/net/tun.c:1938 tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x70f/0xd10 fs/read_write.c:684 ksys_write+0x19d/0x2d0 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5b4998d169 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5b4a73b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5b49ba5fa0 RCX: 00007f5b4998d169 RDX: 0000000000001012 RSI: 0000200000002680 RDI: 000000000000000d RBP: 00007f5b49a0e990 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5b49ba5fa0 R15: 00007ffdc453dba8