Eric Dumazet
3b1fae78be
net: linkwatch: use system_unbound_wq
[ Upstream commit 3e7917c0cdad835a5121520fc5686d954b7a61ab ]
linkwatch_event() grabs possibly very contended RTNL mutex.
system_wq is not suitable for such work.
Inspired by many noisy syzbot reports.
3 locks held by kworker/0:7/5266:
#0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
#0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
#1: ffffc90003f6fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
#2: ffffffff8fa6f208 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
Reported-by: syzbot <syzkaller@googlegroups.com>
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20240805085821.1616528-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-14 13:58:39 +02:00
..
2023-07-27 10:07:56 -07:00
2024-07-18 13:21:13 +02:00
2022-10-27 02:40:14 -06:00
2022-04-07 20:32:09 -07:00
2023-08-06 13:25:10 +01:00
2024-06-12 11:11:47 +02:00
2024-01-31 16:19:01 -08:00
2024-06-27 13:49:01 +02:00
2021-11-29 19:50:45 -08:00
2023-08-22 13:19:02 +02:00
2022-12-12 15:18:25 -08:00
2019-10-04 11:10:56 -07:00
2021-12-16 07:18:35 -08:00
2024-08-03 08:54:38 +02:00
2024-08-03 08:54:05 +02:00
2023-08-02 10:09:32 +01:00
2022-12-25 13:38:09 -08:00
2022-10-28 20:13:54 -07:00
2022-09-28 18:57:14 -07:00
2024-05-17 12:02:07 +02:00
2023-06-10 00:11:41 -07:00
2019-06-09 19:40:10 -07:00
2024-08-14 13:58:39 +02:00
2023-08-18 16:05:26 +02:00
2022-10-12 10:45:51 +02:00
2023-06-10 00:11:41 -07:00
2024-01-20 11:51:43 +01:00
2024-06-27 13:49:06 +02:00
2023-03-22 12:03:52 +01:00
2024-05-17 12:02:23 +02:00
2020-02-26 20:07:25 -08:00
2023-07-07 09:16:52 +01:00
2022-08-31 09:40:34 +01:00
2023-05-26 10:30:14 +01:00
2023-05-26 10:30:14 +01:00
2023-08-15 15:01:03 -07:00
2021-03-28 17:56:56 -07:00
2024-06-27 13:49:02 +02:00
2021-09-13 16:35:58 -07:00
2023-07-27 20:33:16 -07:00
2023-11-20 11:59:34 +01:00
2024-06-12 11:12:52 +02:00
2022-03-07 11:31:34 +00:00
2024-01-31 16:19:00 -08:00
2024-08-11 12:47:20 +02:00
2024-03-26 18:19:09 -04:00
2022-07-20 10:14:49 +01:00
2021-10-24 13:59:44 +01:00
2024-05-17 12:02:06 +02:00
2024-07-18 13:21:12 +02:00
2021-10-22 12:35:51 -07:00
2024-03-26 18:19:22 -04:00
2024-06-21 14:38:40 +02:00
2022-10-25 11:35:16 +02:00
2024-06-27 13:49:11 +02:00
2024-01-01 12:42:30 +00:00
2024-05-02 16:32:36 +02:00
2019-12-25 19:51:33 -08:00
2022-12-12 15:04:39 -08:00
2022-11-01 21:14:39 -07:00
2024-08-03 08:53:44 +02:00