syzbot


WARNING: lock held when returning to user space in ethnl_act_cable_test

Status: fixed on 2024/10/22 11:56
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+c641161e97237326ea74@syzkaller.appspotmail.com
Fix commit: 3d6a0c4f4552 net: fix unreleased lock in cable test
First crash: 112d, last: 108d
Cause bisection: introduced by (bisect log) :
commit 3688ff3077d3f334cee1d4b61d8bfb6a9508c2d2
Author: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: Wed Aug 21 15:10:05 2024 +0000

  net: ethtool: cable-test: Target the command to the requested PHY

Crash: WARNING: lock held when returning to user space in ethnl_act_cable_test (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] net: fix unreleased lock in ethnl_act_cable_test 5 (5) 2024/08/27 20:10
[syzbot] [net?] WARNING: lock held when returning to user space in ethnl_act_cable_test 1 (3) 2024/08/26 11:54
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/08/26 11:43 23m djahchankoike@gmail.com patch net-next OK log

Sample crash report:
================================================
WARNING: lock held when returning to user space!
6.11.0-rc4-syzkaller-00565-gf9db28bb09f4 #0 Not tainted
------------------------------------------------
syz-executor312/5239 is leaving the kernel with locks still held!
1 lock held by syz-executor312/5239:
 #0: ffffffff8fc84b88 (rtnl_mutex){+.+.}-{3:3}, at: ethnl_act_cable_test+0x187/0x3f0 net/ethtool/cabletest.c:74

Crashes (43):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/24 14:50 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 12:59 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 11:09 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 09:04 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 07:16 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 05:17 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 03:17 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 01:22 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 00:11 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 22:57 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 21:28 net-next f9db28bb09f4 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/27 14:28 net-next 2c163922de69 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/27 11:47 net-next 2c163922de69 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/26 22:21 net-next 18aaa82bd36a 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/25 07:50 net-next 7d3aed652d09 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/25 07:50 net-next 7d3aed652d09 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/25 04:40 net-next 7d3aed652d09 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 20:49 net-next 7d3aed652d09 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 20:49 net-next 7d3aed652d09 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 18:29 net-next 7d3aed652d09 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/24 18:29 net-next 7d3aed652d09 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 19:06 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 19:04 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 19:04 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 19:02 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:59 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:59 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:56 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:56 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:53 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:53 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:53 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:52 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:10 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:09 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:01 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/23 18:01 net-next f9db28bb09f4 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/27 20:06 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/27 18:55 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/27 18:54 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/27 17:56 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: lock held when returning to user space in ethnl_act_cable_test
2024/08/27 17:56 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: lock held when returning to user space in ethnl_act_cable_test
* Struck through repros no longer work on HEAD.