From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Corentin Noël" <corentin.noel@collabora.com>
Cc: stable@vger.kernel.org, Jason Wang <jasowang@redhat.com>,
virtualization@lists.linux-foundation.org,
regressions@lists.linux.dev, Eric Dumazet <edumazet@google.com>,
Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Subject: Re: virtio-net: kernel panic in virtio_net.c
Date: Thu, 7 Oct 2021 09:10:59 -0400 [thread overview]
Message-ID: <20211007090601-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <5edaa2b7c2fe4abd0347b8454b2ac032b6694e2c.camel@collabora.com>
On Thu, Oct 07, 2021 at 02:04:22PM +0200, Corentin Noël wrote:
> I've been experiencing crashes with 5.14-rc1 and above that do not
> occur with 5.13,
>
> here is the crash trace:
>
> [ 61.346677] skbuff: skb_over_panic: text:ffffffff881ae2c7 len:3762
> put:3762 head:ffff8a5ec8c22000 data:ffff8a5ec8c22010 tail:0xec2
> end:0xec0 dev:<NULL>
> [ 61.369192] kernel BUG at net/core/skbuff.c:111!
> [ 61.372840] invalid opcode: 0000 [#1] SMP PTI
> [ 61.374892] CPU: 5 PID: 0 Comm: swapper/5 Not tainted 5.14.0-
> rc1linux-v5.14-rc1-for-mesa-ci.tar.bz2 #1
> [ 61.376450] Hardware name: ChromiumOS crosvm, BIOS 0
> [ 61.377222] RIP: 0010:skb_panic+0x43/0x45
> [ 61.377833] Code: 4f 70 50 8b 87 bc 00 00 00 50 8b 87 b8 00 00 00 50
> ff b7 c8 00 00 00 4c 8b 8f c0 00 00 00 48 c7 c7 18 f1 cf 88 e8 6a 43 fb
> ff <0f> 0b 48 8b 14 24 48 c7 c1 20 35 b1 88 e8 ab ff ff ff 48 c7 c6 60
> [ 61.380566] RSP: 0018:ffffae258017cce0 EFLAGS: 00010246
> [ 61.381267] RAX: 000000000000008b RBX: 0000000000000010 RCX:
> 00000000ffffdfff
> [ 61.382246] RDX: 0000000000000000 RSI: 00000000ffffffea RDI:
> 0000000000000000
> [ 61.383376] RBP: ffffde6a80230880 R08: ffffffff88f45568 R09:
> 0000000000009ffb
> [ 61.384494] R10: 00000000ffffe000 R11: 3fffffffffffffff R12:
> ffff8a5ec7461200
> [ 61.385696] R13: ffff8a5ec8c22000 R14: 0000000000000000 R15:
> 0000000000000eb2
> [ 61.386825] FS: 0000000000000000(0000) GS:ffff8a5febd40000(0000)
> knlGS:0000000000000000
> [ 61.388055] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 61.389221] CR2: 000000000148a060 CR3: 000000011ae0e005 CR4:
> 0000000000370ee0
> [ 61.390871] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000
> [ 61.392335] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
> 0000000000000400
> [ 61.393635] Call Trace:
> [ 61.394127] <IRQ>
> [ 61.394488] skb_put.cold+0x10/0x10
> [ 61.395095] page_to_skb+0xf7/0x410
> [ 61.395689] receive_buf+0x81/0x1660
> [ 61.396228] ? netif_receive_skb_list_internal+0x1ad/0x2b0
> [ 61.397180] ? napi_gro_flush+0x97/0xe0
> [ 61.397896] ? detach_buf_split+0x67/0x120
> [ 61.398573] virtnet_poll+0x2cf/0x420
> [ 61.399197] __napi_poll+0x25/0x150
> [ 61.399764] net_rx_action+0x22f/0x280
> [ 61.400394] __do_softirq+0xba/0x257
> [ 61.401012] irq_exit_rcu+0x8e/0xb0
> [ 61.401618] common_interrupt+0x7b/0xa0
> [ 61.402270] </IRQ>
> [ 61.402620] asm_common_interrupt+0x1e/0x40
> [ 61.403302] RIP: 0010:default_idle+0xb/0x10
> [ 61.404018] Code: 8b 04 25 00 6d 01 00 f0 80 60 02 df c3 0f ae f0 0f
> ae 38 0f ae f0 eb b9 0f 1f 80 00 00 00 00 eb 07 0f 00 2d df 3e 44 00 fb
> f4 <c3> cc cc cc cc 65 8b 15 31 2f a4 77 89 d2 48 8b 05 d0 a1 0c 01 48
> [ 61.407636] RSP: 0018:ffffae258008fef8 EFLAGS: 00000202
> [ 61.408394] RAX: ffffffff885ce620 RBX: 0000000000000005 RCX:
> ffff8a5febd56f80
> [ 61.409451] RDX: 0000000000c1ec32 RSI: 7ffffff1b7a1e726 RDI:
> ffff8a5febd5dd00
> [ 61.410530] RBP: ffff8a5fc01f8000 R08: 0000000000c1ec32 R09:
> 0000000000000000
> [ 61.411715] R10: 0000000000000006 R11: 0000000000000002 R12:
> 0000000000000000
> [ 61.412984] R13: 0000000000000000 R14: 0000000000000000 R15:
> 0000000000000000
> [ 61.414183] ? mwait_idle+0x70/0x70
> [ 61.414805] ? mwait_idle+0x70/0x70
> [ 61.415592] default_idle_call+0x2a/0xa0
> [ 61.416216] do_idle+0x1e8/0x250
> [ 61.416722] cpu_startup_entry+0x14/0x20
> [ 61.417347] secondary_startup_64_no_verify+0xc2/0xcb
> [ 61.418144] Modules linked in:
> [ 61.418622] ---[ end trace 3741c3e580a52bbd ]---
> [ 61.419399] RIP: 0010:skb_panic+0x43/0x45
> [ 61.420054] Code: 4f 70 50 8b 87 bc 00 00 00 50 8b 87 b8 00 00 00 50
> ff b7 c8 00 00 00 4c 8b 8f c0 00 00 00 48 c7 c7 18 f1 cf 88 e8 6a 43 fb
> ff <0f> 0b 48 8b 14 24 48 c7 c1 20 35 b1 88 e8 ab ff ff ff 48 c7 c6 60
> [ 61.422606] RSP: 0018:ffffae258017cce0 EFLAGS: 00010246
> [ 61.423865] RAX: 000000000000008b RBX: 0000000000000010 RCX:
> 00000000ffffdfff
> [ 61.425031] RDX: 0000000000000000 RSI: 00000000ffffffea RDI:
> 0000000000000000
> [ 61.426229] RBP: ffffde6a80230880 R08: ffffffff88f45568 R09:
> 0000000000009ffb
> [ 61.427439] R10: 00000000ffffe000 R11: 3fffffffffffffff R12:
> ffff8a5ec7461200
> [ 61.428615] R13: ffff8a5ec8c22000 R14: 0000000000000000 R15:
> 0000000000000eb2
> [ 61.429799] FS: 0000000000000000(0000) GS:ffff8a5febd40000(0000)
> knlGS:0000000000000000
> [ 61.431048] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 61.431997] CR2: 000000000148a060 CR3: 000000011ae0e005 CR4:
> 0000000000370ee0
> [ 61.433206] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000
> [ 61.434502] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
> 0000000000000400
> [ 61.435799] Kernel panic - not syncing: Fatal exception in interrupt
> [ 61.439250] Kernel Offset: 0x6a00000 from 0xffffffff81000000
> (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
>
> Here is my kernel config:
> https://gitlab.freedesktop.org/tintou/mesa/-/raw/7cf2be0e1c53d1040ff8a973ddeeeb3d93250f8e/.gitlab-ci/container/x86_64.config
>
>
> here is the decoded trace:
>
> [ 61.346677] skbuff: skb_over_panic: text:ffffffff881ae2c7 len:3762
> put:3762 head:ffff8a5ec8c22000 data:ffff8a5ec8c22010 tail:0xec2
> end:0xec0 dev:<NULL>
> [ 61.369192] kernel BUG at net/core/skbuff.c:111!
> [ 61.372840] invalid opcode: 0000 [#1] SMP PTI
> [ 61.374892] CPU: 5 PID: 0 Comm: swapper/5 Not tainted 5.14.0-
> rc1linux-v5.14-rc1-for-mesa-ci.tar.bz2 #1
> [ 61.376450] Hardware name: ChromiumOS crosvm, BIOS 0
> [ 61.377222] RIP: skb_panic+0x43/0x45
> [ 61.377833] Code: 4f 70 50 8b 87 bc 00 00 00 50 8b 87 b8 00 00 00 50
> ff b7 c8 00 00 00 4c 8b 8f c0 00 00 00 48 c7 c7 18 f1 cf 88 e8 6a 43 fb
> ff <0f> 0b 48 8b 14 24 48 c7 c1 20 35 b1 88 e8 ab ff ff ff 48 c7 c6 60
> All code
> ========
> 0: 4f 70 50 rex.WRXB jo 0x53
> 3: 8b 87 bc 00 00 00 mov 0xbc(%rdi),%eax
> 9: 50 push %rax
> a: 8b 87 b8 00 00 00 mov 0xb8(%rdi),%eax
> 10: 50 push %rax
> 11: ff b7 c8 00 00 00 pushq 0xc8(%rdi)
> 17: 4c 8b 8f c0 00 00 00 mov 0xc0(%rdi),%r9
> 1e: 48 c7 c7 18 f1 cf 88 mov $0xffffffff88cff118,%rdi
> 25: e8 6a 43 fb ff callq 0xfffffffffffb4394
> 2a:* 0f 0b ud2 <-- trapping
> instruction
> 2c: 48 8b 14 24 mov (%rsp),%rdx
> 30: 48 c7 c1 20 35 b1 88 mov $0xffffffff88b13520,%rcx
> 37: e8 ab ff ff ff callq 0xffffffffffffffe7
> 3c: 48 rex.W
> 3d: c7 .byte 0xc7
> 3e: c6 (bad)
> 3f: 60 (bad)
>
> Code starting with the faulting instruction
> ===========================================
> 0: 0f 0b ud2
> 2: 48 8b 14 24 mov (%rsp),%rdx
> 6: 48 c7 c1 20 35 b1 88 mov $0xffffffff88b13520,%rcx
> d: e8 ab ff ff ff callq 0xffffffffffffffbd
> 12: 48 rex.W
> 13: c7 .byte 0xc7
> 14: c6 (bad)
> 15: 60 (bad)
> [ 61.380566] RSP: 0018:ffffae258017cce0 EFLAGS: 00010246
> [ 61.381267] RAX: 000000000000008b RBX: 0000000000000010 RCX:
> 00000000ffffdfff
> [ 61.382246] RDX: 0000000000000000 RSI: 00000000ffffffea RDI:
> 0000000000000000
> [ 61.383376] RBP: ffffde6a80230880 R08: ffffffff88f45568 R09:
> 0000000000009ffb
> [ 61.384494] R10: 00000000ffffe000 R11: 3fffffffffffffff R12:
> ffff8a5ec7461200
> [ 61.385696] R13: ffff8a5ec8c22000 R14: 0000000000000000 R15:
> 0000000000000eb2
> [ 61.386825] FS: 0000000000000000(0000) GS:ffff8a5febd40000(0000)
> knlGS:0000000000000000
> [ 61.388055] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 61.389221] CR2: 000000000148a060 CR3: 000000011ae0e005 CR4:
> 0000000000370ee0
> [ 61.390871] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000
> [ 61.392335] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
> 0000000000000400
> [ 61.393635] Call Trace:
> [ 61.394127] <IRQ>
> [ 61.394488] skb_put.cold+0x10/0x10
> [ 61.395095] page_to_skb+0xf7/0x410
> [ 61.395689] receive_buf+0x81/0x1660
> [ 61.396228] ? netif_receive_skb_list_internal+0x1ad/0x2b0
> [ 61.397180] ? napi_gro_flush+0x97/0xe0
> [ 61.397896] ? detach_buf_split+0x67/0x120
> [ 61.398573] virtnet_poll+0x2cf/0x420
> [ 61.399197] __napi_poll+0x25/0x150
> [ 61.399764] net_rx_action+0x22f/0x280
> [ 61.400394] __do_softirq+0xba/0x257
> [ 61.401012] irq_exit_rcu+0x8e/0xb0
> [ 61.401618] common_interrupt+0x7b/0xa0
> [ 61.402270] </IRQ>
> [ 61.402620] asm_common_interrupt+0x1e/0x40
> [ 61.403302] RIP: default_idle+0xb/0x10
> [ 61.404018] Code: 8b 04 25 00 6d 01 00 f0 80 60 02 df c3 0f ae f0 0f
> ae 38 0f ae f0 eb b9 0f 1f 80 00 00 00 00 eb 07 0f 00 2d df 3e 44 00 fb
> f4 <c3> cc cc cc cc 65 8b 15 31 2f a4 77 89 d2 48 8b 05 d0 a1 0c 01 48
> All code
> ========
> 0: 8b 04 25 00 6d 01 00 mov 0x16d00,%eax
> 7: f0 80 60 02 df lock andb $0xdf,0x2(%rax)
> c: c3 retq
> d: 0f ae f0 mfence
> 10: 0f ae 38 clflush (%rax)
> 13: 0f ae f0 mfence
> 16: eb b9 jmp 0xffffffffffffffd1
> 18: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
> 1f: eb 07 jmp 0x28
> 21: 0f 00 2d df 3e 44 00 verw 0x443edf(%rip) # 0x443f07
> 28: fb sti
> 29: f4 hlt
> 2a:* c3 retq <-- trapping
> instruction
> 2b: cc int3
> 2c: cc int3
> 2d: cc int3
> 2e: cc int3
> 2f: 65 8b 15 31 2f a4 77 mov %gs:0x77a42f31(%rip),%edx
> # 0x77a42f67
> 36: 89 d2 mov %edx,%edx
> 38: 48 8b 05 d0 a1 0c 01 mov 0x10ca1d0(%rip),%rax #
> 0x10ca20f
> 3f: 48 rex.W
>
> Code starting with the faulting instruction
> ===========================================
> 0: c3 retq
> 1: cc int3
> 2: cc int3
> 3: cc int3
> 4: cc int3
> 5: 65 8b 15 31 2f a4 77 mov %gs:0x77a42f31(%rip),%edx
> # 0x77a42f3d
> c: 89 d2 mov %edx,%edx
> e: 48 8b 05 d0 a1 0c 01 mov 0x10ca1d0(%rip),%rax #
> 0x10ca1e5
> 15: 48 rex.W
> [ 61.407636] RSP: 0018:ffffae258008fef8 EFLAGS: 00000202
> [ 61.408394] RAX: ffffffff885ce620 RBX: 0000000000000005 RCX:
> ffff8a5febd56f80
> [ 61.409451] RDX: 0000000000c1ec32 RSI: 7ffffff1b7a1e726 RDI:
> ffff8a5febd5dd00
> [ 61.410530] RBP: ffff8a5fc01f8000 R08: 0000000000c1ec32 R09:
> 0000000000000000
> [ 61.411715] R10: 0000000000000006 R11: 0000000000000002 R12:
> 0000000000000000
> [ 61.412984] R13: 0000000000000000 R14: 0000000000000000 R15:
> 0000000000000000
> [ 61.414183] ? mwait_idle+0x70/0x70
> [ 61.414805] ? mwait_idle+0x70/0x70
> [ 61.415592] default_idle_call+0x2a/0xa0
> [ 61.416216] do_idle+0x1e8/0x250
> [ 61.416722] cpu_startup_entry+0x14/0x20
> [ 61.417347] secondary_startup_64_no_verify+0xc2/0xcb
> [ 61.418144] Modules linked in:
> [ 61.418622] ---[ end trace 3741c3e580a52bbd ]---
> [ 61.419399] RIP: skb_panic+0x43/0x45
> [ 61.420054] Code: 4f 70 50 8b 87 bc 00 00 00 50 8b 87 b8 00 00 00 50
> ff b7 c8 00 00 00 4c 8b 8f c0 00 00 00 48 c7 c7 18 f1 cf 88 e8 6a 43 fb
> ff <0f> 0b 48 8b 14 24 48 c7 c1 20 35 b1 88 e8 ab ff ff ff 48 c7 c6 60
> All code
> ========
> 0: 4f 70 50 rex.WRXB jo 0x53
> 3: 8b 87 bc 00 00 00 mov 0xbc(%rdi),%eax
> 9: 50 push %rax
> a: 8b 87 b8 00 00 00 mov 0xb8(%rdi),%eax
> 10: 50 push %rax
> 11: ff b7 c8 00 00 00 pushq 0xc8(%rdi)
> 17: 4c 8b 8f c0 00 00 00 mov 0xc0(%rdi),%r9
> 1e: 48 c7 c7 18 f1 cf 88 mov $0xffffffff88cff118,%rdi
> 25: e8 6a 43 fb ff callq 0xfffffffffffb4394
> 2a:* 0f 0b ud2 <-- trapping
> instruction
> 2c: 48 8b 14 24 mov (%rsp),%rdx
> 30: 48 c7 c1 20 35 b1 88 mov $0xffffffff88b13520,%rcx
> 37: e8 ab ff ff ff callq 0xffffffffffffffe7
> 3c: 48 rex.W
> 3d: c7 .byte 0xc7
> 3e: c6 (bad)
> 3f: 60 (bad)
>
> Code starting with the faulting instruction
> ===========================================
> 0: 0f 0b ud2
> 2: 48 8b 14 24 mov (%rsp),%rdx
> 6: 48 c7 c1 20 35 b1 88 mov $0xffffffff88b13520,%rcx
> d: e8 ab ff ff ff callq 0xffffffffffffffbd
> 12: 48 rex.W
> 13: c7 .byte 0xc7
> 14: c6 (bad)
> 15: 60 (bad)
> [ 61.422606] RSP: 0018:ffffae258017cce0 EFLAGS: 00010246
> [ 61.423865] RAX: 000000000000008b RBX: 0000000000000010 RCX:
> 00000000ffffdfff
> [ 61.425031] RDX: 0000000000000000 RSI: 00000000ffffffea RDI:
> 0000000000000000
> [ 61.426229] RBP: ffffde6a80230880 R08: ffffffff88f45568 R09:
> 0000000000009ffb
> [ 61.427439] R10: 00000000ffffe000 R11: 3fffffffffffffff R12:
> ffff8a5ec7461200
> [ 61.428615] R13: ffff8a5ec8c22000 R14: 0000000000000000 R15:
> 0000000000000eb2
> [ 61.429799] FS: 0000000000000000(0000) GS:ffff8a5febd40000(0000)
> knlGS:0000000000000000
>
> Regards,
> Corentin
Don't see anything obvious.. could be a net stack change.
Any chance of a bisect?
--
MST
next prev parent reply other threads:[~2021-10-07 13:11 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-07 12:04 virtio-net: kernel panic in virtio_net.c Corentin Noël
2021-10-07 13:10 ` Michael S. Tsirkin [this message]
2021-10-07 13:51 ` Eric Dumazet
2021-10-07 14:02 ` Corentin Noël
2021-10-07 14:13 ` Greg KH
2021-10-07 15:06 ` Xuan Zhuo
2021-10-07 15:25 ` Greg KH
2021-10-07 16:17 ` Xuan Zhuo
2021-10-08 8:06 ` Greg KH
2021-10-08 10:02 ` Michael S. Tsirkin
2021-10-08 12:21 ` Corentin Noël
2021-10-08 16:27 ` Xuan Zhuo
2021-10-09 5:19 ` Greg KH
2021-10-09 9:31 ` Xuan Zhuo
2021-10-08 7:59 ` Thorsten Leemhuis
2021-10-12 12:44 ` Thorsten Leemhuis
-- strict thread matches above, loose matches on Subject: below --
2021-06-01 16:06 Corentin Noël
2021-06-01 17:07 ` Greg KH
2021-06-01 17:09 ` Corentin Noël
2021-06-01 17:47 ` Eric Dumazet
2021-06-02 2:01 ` Xuan Zhuo
2021-06-02 17:56 ` Corentin Noël
2021-06-02 17:54 ` Corentin Noël
2021-06-03 2:44 ` Xuan Zhuo
2021-06-03 8:57 ` Corentin Noël
2021-06-08 12:17 ` Greg KH
2021-06-09 1:48 ` Xuan Zhuo
2021-06-09 4:50 ` Greg KH
2021-06-09 6:08 ` Xuan Zhuo
2021-06-09 6:24 ` Greg KH
2021-06-09 7:51 ` Xuan Zhuo
2021-06-09 8:03 ` Greg KH
2021-06-09 8:08 ` Xuan Zhuo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211007090601-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=corentin.noel@collabora.com \
--cc=edumazet@google.com \
--cc=jasowang@redhat.com \
--cc=regressions@lists.linux.dev \
--cc=stable@vger.kernel.org \
--cc=virtualization@lists.linux-foundation.org \
--cc=xuanzhuo@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).