Re: [PATCH 6.18 000/990] 6.18.66-rc2 review
From: Matthieu Baerts
Date: Fri Nov 27 2026 - 11:27:14 EST
Hi Greg,
(+ cc: Michael)
Thank you for the new version!
On 26/11/2026 11:58, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.18.66 release.
> There are 990 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
Our CI is applying patches from the stable-queue repo, and since the
24th of November, the VM on v6.18 fail to boot:
================================== 8< ==================================
[ 0.770445] NET: Registered PF_VSOCK protocol family
[ 21.748843] rcu: INFO: rcu_preempt self-detected stall on CPU
[ 21.748843] rcu: 2-....: (21000 ticks this GP) idle=d25c/1/0x4000000000000000 softirq=17/17 fqs=4766
[ 21.748843] rcu: (t=21004 jiffies g=-1131 q=18 ncpus=4)
[ 21.748843] CPU: 2 UID: 0 PID: 30 Comm: kworker/2:0 Not tainted 6.18.65 #1 PREEMPT(voluntary)
[ 21.748843] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 21.748843] Workqueue: events control_work_handler
[ 21.748843] RIP: 0010:detach_buf_split (drivers/virtio/virtio_ring.c:795)
[ 21.748843] Code: 01 48 85 c0 0f 84 83 00 00 00 48 8b 40 08 45 31 c0 2e 2e 2e ff d0 0f b7 5b 0e 41 83 46 2c 01 48 c1 e3 04 4c 01 fb 0f b7 43 0c <a8> 01 74 18 41 0f b6 56 41 a8 04 75 a4 84 d2 74 db 48 8b 33 48 83
All code
========
0: 01 48 85 add %ecx,-0x7b(%rax)
3: c0 0f 84 rorb $0x84,(%rdi)
6: 83 00 00 addl $0x0,(%rax)
9: 00 48 8b add %cl,-0x75(%rax)
c: 40 08 45 31 rex or %al,0x31(%rbp)
10: c0 2e 2e shrb $0x2e,(%rsi)
13: 2e ff d0 cs call *%rax
16: 0f b7 5b 0e movzwl 0xe(%rbx),%ebx
1a: 41 83 46 2c 01 addl $0x1,0x2c(%r14)
1f: 48 c1 e3 04 shl $0x4,%rbx
23: 4c 01 fb add %r15,%rbx
26: 0f b7 43 0c movzwl 0xc(%rbx),%eax
2a:* a8 01 test $0x1,%al <-- trapping instruction
2c: 74 18 je 0x46
2e: 41 0f b6 56 41 movzbl 0x41(%r14),%edx
33: a8 04 test $0x4,%al
35: 75 a4 jne 0xffffffffffffffdb
37: 84 d2 test %dl,%dl
39: 74 db je 0x16
3b: 48 8b 33 mov (%rbx),%rsi
3e: 48 rex.W
3f: 83 .byte 0x83
Code starting with the faulting instruction
===========================================
0: a8 01 test $0x1,%al
2: 74 18 je 0x1c
4: 41 0f b6 56 41 movzbl 0x41(%r14),%edx
9: a8 04 test $0x4,%al
b: 75 a4 jne 0xffffffffffffffb1
d: 84 d2 test %dl,%dl
f: 74 db je 0xffffffffffffffec
11: 48 8b 33 mov (%rbx),%rsi
14: 48 rex.W
15: 83 .byte 0x83
[ 21.748843] RSP: 0018:ffffc90000113d98 EFLAGS: 00000282
[ 21.748843] RAX: 0000000000000003 RBX: ffff8881013b9420 RCX: 0000000000000000
[ 21.748843] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888101541700
[ 21.748843] RBP: 0000000000000000 R08: 0000000000000000 R09: ffff888100357a40
[ 21.748843] R10: ffff888100056ac0 R11: fefefefefefefeff R12: 0000000000000000
[ 21.748843] R13: 0000000000000000 R14: ffff888101541700 R15: ffff8881013b8000
[ 21.748843] FS: 0000000000000000(0000) GS:ffff8881b8e0f000(0000) knlGS:0000000000000000
[ 21.748843] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 21.748843] CR2: 0000000000000000 CR3: 0000000002648001 CR4: 0000000000370ef0
[ 21.748843] Call Trace:
[ 21.748843] <TASK>
[ 21.748843] virtqueue_get_buf_ctx_split (drivers/virtio/virtio_ring.c:862)
[ 21.748843] control_work_handler (include/linux/spinlock.h:391)
[ 21.748843] process_one_work (arch/x86/include/asm/jump_label.h:36)
[ 21.748843] worker_thread (kernel/workqueue.c:3384 (discriminator 2))
[ 21.748843] ? __pfx_worker_thread (kernel/workqueue.c:3417)
[ 21.748843] kthread (kernel/kthread.c:432)
[ 21.748843] ? __pfx_kthread (kernel/kthread.c:381)
[ 21.748843] ? __pfx_kthread (kernel/kthread.c:381)
[ 21.748843] ret_from_fork (arch/x86/kernel/process.c:164)
[ 21.748843] ? __pfx_kthread (kernel/kthread.c:381)
[ 21.748843] ret_from_fork_asm (arch/x86/entry/entry_64.S:255)
[ 21.748843] </TASK>
[ 48.525527] watchdog: BUG: soft lockup - CPU#2 stuck for 45s! [kworker/2:0:30]
[ 48.525532] Modules linked in:
[ 48.525537] CPU: 2 UID: 0 PID: 30 Comm: kworker/2:0 Not tainted 6.18.65 #1 PREEMPT(voluntary)
[ 48.525539] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 48.525541] Workqueue: events control_work_handler
[ 48.525549] RIP: 0010:detach_buf_split (drivers/virtio/virtio_ring.c:795)
[ 48.525552] Code: 80 18 03 00 00 83 c1 01 48 85 c0 0f 84 83 00 00 00 48 8b 40 08 45 31 c0 2e 2e 2e ff d0 0f b7 5b 0e 41 83 46 2c 01 48 c1 e3 04 <4c> 01 fb 0f b7 43 0c a8 01 74 18 41 0f b6 56 41 a8 04 75 a4 84 d2
All code
========
0: 80 18 03 sbbb $0x3,(%rax)
3: 00 00 add %al,(%rax)
5: 83 c1 01 add $0x1,%ecx
8: 48 85 c0 test %rax,%rax
b: 0f 84 83 00 00 00 je 0x94
11: 48 8b 40 08 mov 0x8(%rax),%rax
15: 45 31 c0 xor %r8d,%r8d
18: 2e 2e 2e ff d0 cs cs cs call *%rax
1d: 0f b7 5b 0e movzwl 0xe(%rbx),%ebx
21: 41 83 46 2c 01 addl $0x1,0x2c(%r14)
26: 48 c1 e3 04 shl $0x4,%rbx
2a:* 4c 01 fb add %r15,%rbx <-- trapping instruction
2d: 0f b7 43 0c movzwl 0xc(%rbx),%eax
31: a8 01 test $0x1,%al
33: 74 18 je 0x4d
35: 41 0f b6 56 41 movzbl 0x41(%r14),%edx
3a: a8 04 test $0x4,%al
3c: 75 a4 jne 0xffffffffffffffe2
3e: 84 d2 test %dl,%dl
Code starting with the faulting instruction
===========================================
0: 4c 01 fb add %r15,%rbx
3: 0f b7 43 0c movzwl 0xc(%rbx),%eax
7: a8 01 test $0x1,%al
9: 74 18 je 0x23
b: 41 0f b6 56 41 movzbl 0x41(%r14),%edx
10: a8 04 test $0x4,%al
12: 75 a4 jne 0xffffffffffffffb8
14: 84 d2 test %dl,%dl
[ 48.525553] RSP: 0018:ffffc90000113d98 EFLAGS: 00000216
[ 48.525554] RAX: 0000000000000003 RBX: 00000000000011c0 RCX: 0000000000000000
[ 48.525555] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888101541700
[ 48.525556] RBP: 0000000000000000 R08: 0000000000000000 R09: ffff888100357a40
[ 48.525556] R10: ffff888100056ac0 R11: fefefefefefefeff R12: 0000000000000000
[ 48.525556] R13: 0000000000000000 R14: ffff888101541700 R15: ffff8881013b8000
[ 48.525568] FS: 0000000000000000(0000) GS:ffff8881b8e0f000(0000) knlGS:0000000000000000
[ 48.525569] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 48.525569] CR2: 0000000000000000 CR3: 0000000002648001 CR4: 0000000000370ef0
[ 48.525570] Call Trace:
[ 48.525572] <TASK>
[ 48.525575] virtqueue_get_buf_ctx_split (drivers/virtio/virtio_ring.c:862)
[ 48.525577] control_work_handler (include/linux/spinlock.h:391)
[ 48.525579] process_one_work (arch/x86/include/asm/jump_label.h:36)
[ 48.525584] worker_thread (kernel/workqueue.c:3384 (discriminator 2))
[ 48.525585] ? __pfx_worker_thread (kernel/workqueue.c:3417)
[ 48.525587] kthread (kernel/kthread.c:432)
[ 48.525590] ? __pfx_kthread (kernel/kthread.c:381)
[ 48.525591] ? __pfx_kthread (kernel/kthread.c:381)
[ 48.525593] ret_from_fork (arch/x86/kernel/process.c:164)
[ 48.525596] ? __pfx_kthread (kernel/kthread.c:381)
[ 48.525598] ret_from_fork_asm (arch/x86/entry/entry_64.S:255)
[ 48.525602] </TASK>
[ 48.525603] Kernel panic - not syncing: softlockup: hung tasks
[ 48.525842] CPU: 2 UID: 0 PID: 30 Comm: kworker/2:0 Tainted: G L 6.18.65 #1 PREEMPT(voluntary)
[ 48.525842] Tainted: [L]=SOFTLOCKUP
[ 48.525842] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 48.525842] Workqueue: events control_work_handler
[ 48.525842] Call Trace:
[ 48.525842] <IRQ>
[ 48.525842] dump_stack_lvl (lib/dump_stack.c:122)
[ 48.525842] vpanic (kernel/panic.c:495)
[ 48.525842] ? __pfx_watchdog_timer_fn (kernel/watchdog.c:745)
[ 48.525842] panic (kernel/panic.c:760)
[ 48.525842] watchdog_timer_fn.cold (kernel/watchdog.c:839)
[ 48.525842] __hrtimer_run_queues (kernel/time/hrtimer.c:1782)
[ 48.525842] hrtimer_interrupt (kernel/time/hrtimer.c:1911)
[ 48.525842] __sysvec_apic_timer_interrupt (arch/x86/include/asm/jump_label.h:36)
[ 48.525842] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1052 (discriminator 47))
[ 48.525842] </IRQ>
[ 48.525842] <TASK>
[ 48.525842] asm_sysvec_apic_timer_interrupt (arch/x86/include/asm/idtentry.h:697)
[ 48.525842] RIP: 0010:detach_buf_split (drivers/virtio/virtio_ring.c:795)
[ 48.525842] Code: 80 18 03 00 00 83 c1 01 48 85 c0 0f 84 83 00 00 00 48 8b 40 08 45 31 c0 2e 2e 2e ff d0 0f b7 5b 0e 41 83 46 2c 01 48 c1 e3 04 <4c> 01 fb 0f b7 43 0c a8 01 74 18 41 0f b6 56 41 a8 04 75 a4 84 d2
All code
========
0: 80 18 03 sbbb $0x3,(%rax)
3: 00 00 add %al,(%rax)
5: 83 c1 01 add $0x1,%ecx
8: 48 85 c0 test %rax,%rax
b: 0f 84 83 00 00 00 je 0x94
11: 48 8b 40 08 mov 0x8(%rax),%rax
15: 45 31 c0 xor %r8d,%r8d
18: 2e 2e 2e ff d0 cs cs cs call *%rax
1d: 0f b7 5b 0e movzwl 0xe(%rbx),%ebx
21: 41 83 46 2c 01 addl $0x1,0x2c(%r14)
26: 48 c1 e3 04 shl $0x4,%rbx
2a:* 4c 01 fb add %r15,%rbx <-- trapping instruction
2d: 0f b7 43 0c movzwl 0xc(%rbx),%eax
31: a8 01 test $0x1,%al
33: 74 18 je 0x4d
35: 41 0f b6 56 41 movzbl 0x41(%r14),%edx
3a: a8 04 test $0x4,%al
3c: 75 a4 jne 0xffffffffffffffe2
3e: 84 d2 test %dl,%dl
Code starting with the faulting instruction
===========================================
0: 4c 01 fb add %r15,%rbx
3: 0f b7 43 0c movzwl 0xc(%rbx),%eax
7: a8 01 test $0x1,%al
9: 74 18 je 0x23
b: 41 0f b6 56 41 movzbl 0x41(%r14),%edx
10: a8 04 test $0x4,%al
12: 75 a4 jne 0xffffffffffffffb8
14: 84 d2 test %dl,%dl
[ 48.525842] RSP: 0018:ffffc90000113d98 EFLAGS: 00000216
[ 48.525842] RAX: 0000000000000003 RBX: 00000000000011c0 RCX: 0000000000000000
[ 48.525842] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888101541700
[ 48.525842] RBP: 0000000000000000 R08: 0000000000000000 R09: ffff888100357a40
[ 48.525842] R10: ffff888100056ac0 R11: fefefefefefefeff R12: 0000000000000000
[ 48.525842] R13: 0000000000000000 R14: ffff888101541700 R15: ffff8881013b8000
[ 48.525842] virtqueue_get_buf_ctx_split (drivers/virtio/virtio_ring.c:862)
[ 48.594867] control_work_handler (include/linux/spinlock.h:391)
[ 48.594867] process_one_work (arch/x86/include/asm/jump_label.h:36)
[ 48.594867] worker_thread (kernel/workqueue.c:3384 (discriminator 2))
[ 48.594867] ? __pfx_worker_thread (kernel/workqueue.c:3417)
[ 48.594867] kthread (kernel/kthread.c:432)
[ 48.594867] ? __pfx_kthread (kernel/kthread.c:381)
[ 48.594867] ? __pfx_kthread (kernel/kthread.c:381)
[ 48.594867] ret_from_fork (arch/x86/kernel/process.c:164)
[ 48.594867] ? __pfx_kthread (kernel/kthread.c:381)
[ 48.594867] ret_from_fork_asm (arch/x86/entry/entry_64.S:255)
[ 48.594867] </TASK>
[ 48.594867] Dumping ftrace buffer:
[ 48.594867] (ftrace buffer empty)
[ 48.594867] Kernel Offset: disabled
================================== 8< ==================================
https://github.com/multipath-tcp/mptcp_net-next/actions/runs/45869531463/job/140081085299
(I'm just surprised nobody else hit that :) )
I guess this is linked to one of these three patches (which are linked)
virtio_ring: code cleanup in detach_buf_split
virtio_ring: factor out split indirect detaching logic
virtio_ring: use shadow flags when detaching split descriptors
They are the only ones modifying drivers/virtio/virtio_ring.c I think.
Do you want me to investigate more?
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.