All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+a262610586e32d5c8d7a@syzkaller.appspotmail.com>
To: aconole@redhat.com, dev@openvswitch.org, echaudro@redhat.com,
	 i.maximets@ovn.org, linux-kernel@vger.kernel.org,
	luto@kernel.org,  netdev@vger.kernel.org, peterz@infradead.org,
	syzkaller-bugs@googlegroups.com,  tglx@kernel.org
Subject: [syzbot] [openvswitch?] BUG: workqueue lockup in ovs_dp_masks_rebalance
Date: Sat, 28 Nov 2026 08:37:28 -0800	[thread overview]
Message-ID: <6b0b0348.8ccee5ca.1045fd.0298.GAE@google.com> (raw)

Hello,

syzbot found the following issue on:

HEAD commit:    3fdeb5ad9354 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
console output: https://syzkaller.appspot.com/x/log.txt?x=153faa73580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=be66ed143fccf867
dashboard link: https://syzkaller.appspot.com/bug?extid=a262610586e32d5c8d7a
compiler:       Debian clang version 22.1.8 (1~deb13u5), Debian LLD 22.1.8
userspace arch: arm64
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=17f10903580000

AI-generated root cause summary:
The report shows a 46-second workqueue lockup on CPU 1's normal-priority per-CPU
pool (pool 6) preceded by "sched: DL replenish lagged too much" from
replenish_dl_entity() in kernel/sched/deadline.c. Both in-flight workers on CPU
1 (ovs_dp_masks_rebalance and wg_packet_tx_worker) are in TASK_RUNNING state and
were cleanly preempted via preempt_schedule_common() -> __schedule() ->
__switch_to(), meaning neither is deadlocked or currently executing—both have
simply been starved of CPU 1 for 46 seconds while CPU 0 (pool 2) and unbound
pool 8 continued making progress. Because show_cpu_pool_busy_workers() in
kernel/workqueue.c checks task_is_running() (which tests __state == TASK_RUNNING
rather than whether the task is actually running on the CPU), it skipped
trigger_single_cpu_backtrace(1). Without CPU 1's actual backtrace, the exact
offending task, non-preemptible loop, scheduler/dl_server misbehavior, or
hypervisor vCPU-1 stall cannot be determined conclusively from this report
alone.

full analysis:  https://syzkaller.appspot.com/x/ai_root_cause?x=a262610586e32d5c8d7a

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+a262610586e32d5c8d7a@syzkaller.appspotmail.com

BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 10s!
Showing busy workqueues and worker pools:
workqueue events: flags=0x100
  pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2
    in-flight: 876:request_firmware_work_func for 102s
  pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=9 refcnt=10
    in-flight: 1103:ovs_dp_masks_rebalance for 10s
    pending: pcpu_balance_workfn, 7*ovs_dp_masks_rebalance
workqueue mm_percpu_wq: flags=0x108
  pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
    pending: vmstat_update
pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=0s workers=6 idle: 10 4913 11 4795 4551
pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=10s workers=6 idle: 4824 25 877 27 4901
Showing backtraces of busy workers in stalled worker pools:
pool 6:
task:kworker/1:3     state:R  running task     stack:0     pid:1103  tgid:1103  ppid:2      task_flags:0x4208060 flags:0x00000010
Workqueue: events ovs_dp_masks_rebalance
Call trace:
 __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T)
 context_switch kernel/sched/core.c:5584 [inline]
 __schedule+0x13a0/0x2bd4 kernel/sched/core.c:7386
 preempt_schedule_irq+0x74/0x174 kernel/sched/core.c:7666
 irqentry_exit_cond_resched+0x30/0x40 kernel/entry/common.c:145
 irqentry_exit_to_kernel_mode_preempt+0x44/0x54 include/linux/irq-entry-common.h:453
 arm64_exit_to_kernel_mode_preempt+0x1c/0x38 arch/arm64/kernel/entry-common.c:108
 __el1_irq arch/arm64/kernel/entry-common.c:572 [inline]
 el1_interrupt+0x4c/0x60 arch/arm64/kernel/entry-common.c:582
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:587
 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:602
 check_kcov_mode+0xc/0x54 kernel/kcov.c:179 (P)
 do_cmp lib/sort.c:159 [inline]
 __sort_r+0x304/0x4d0 lib/sort.c:259
 sort+0xb0/0x100 lib/sort.c:342
 ovs_flow_masks_rebalance+0x47c/0x99c net/openvswitch/flow_table.c:1155
 ovs_dp_masks_rebalance+0x64/0x11c net/openvswitch/datapath.c:2618
 process_one_work kernel/workqueue.c:3495 [inline]
 process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578
 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659
 kthread+0x304/0x3d4 kernel/kthread.c:436
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

             reply	other threads:[~2026-11-28 16:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 16:37 syzbot [this message]
2026-11-29 13:40 ` [syzbot] [openvswitch?] BUG: workqueue lockup in ovs_dp_masks_rebalance Nguyen Ngoc Thang

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=6b0b0348.8ccee5ca.1045fd.0298.GAE@google.com \
    --to=syzbot+a262610586e32d5c8d7a@syzkaller.appspotmail.com \
    --cc=aconole@redhat.com \
    --cc=dev@openvswitch.org \
    --cc=echaudro@redhat.com \
    --cc=i.maximets@ovn.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=tglx@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.