syzbot


WARNING: lock held when returning to user space in nsim_pp_hold_write

Status: internal: reported C repro on 2024/12/14 23:19
Subsystems: net
[Documentation on labels]
Fix commit: net: netdevsim: fix nsim_pp_hold_write()
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-upstream ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-gce-leak ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce], missing on: [ci-qemu-native-arm64-kvm ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci2-upstream-usb]
First crash: 6d15h, last: 1d18h
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/12/15 14:23 19m edumazet@google.com patch upstream OK log

Sample crash report:
================================================
WARNING: lock held when returning to user space!
6.13.0-rc3-syzkaller-00073-geabcdba3ad40 #0 Not tainted
------------------------------------------------
syz-executor197/5860 is leaving the kernel with locks still held!
1 lock held by syz-executor197/5860:
 #0: ffffffff8fabfb08 (rtnl_mutex){+.+.}-{4:4}, at: nsim_pp_hold_write+0x105/0x4d0 drivers/net/netdevsim/netdev.c:623

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/19 20:35 upstream eabcdba3ad40 1d58202c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING: lock held when returning to user space in nsim_pp_hold_write
2024/12/19 16:46 upstream eabcdba3ad40 1d58202c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING: lock held when returning to user space in nsim_pp_hold_write
2024/12/15 08:34 upstream a0e3919a2df2 7cbfbb3a .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING: lock held when returning to user space in nsim_pp_hold_write
2024/12/14 23:18 upstream a0e3919a2df2 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING: lock held when returning to user space in nsim_pp_hold_write
* Struck through repros no longer work on HEAD.