syzbot


BUG: sleeping function called from invalid context at net/core/sock.c:LINE

Status: fixed on 2017/11/27 08:19
Subsystems: crypto
[Documentation on labels]
Fix commit: 829385f08ae9 strparser: Use delayed work instead of timer for msg timeout
First crash: 2603d, last: 2563d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 BUG: sleeping function called from invalid context at net/core/sock.c:LINE C 308 2288d 2063d 0/3 public: reported C repro on 2019/04/12 00:00
upstream BUG: sleeping function called from invalid context at net/core/sock.c:LINE (3) net C 234 2478d 2481d 5/28 fixed on 2018/05/08 18:30
upstream BUG: sleeping function called from invalid context at net/core/sock.c:LINE (2) crypto 185 2561d 2559d 4/28 fixed on 2018/02/01 10:32

Sample crash report:
BUG: sleeping function called from invalid context at net/core/sock.c:2761
in_atomic(): 1, irqs_disabled(): 0, pid: 24, name: kworker/1:1
2 locks held by kworker/1:1/24:
 #0:  ((wq_completion)"%s"name){+.+.}, at: [<ffffffff8147c254>] __write_once_size include/linux/compiler.h:207 [inline]
 #0:  ((wq_completion)"%s"name){+.+.}, at: [<ffffffff8147c254>] atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0:  ((wq_completion)"%s"name){+.+.}, at: [<ffffffff8147c254>] atomic_long_set include/asm-generic/atomic-long.h:57 [inline]
 #0:  ((wq_completion)"%s"name){+.+.}, at: [<ffffffff8147c254>] set_work_data kernel/workqueue.c:618 [inline]
 #0:  ((wq_completion)"%s"name){+.+.}, at: [<ffffffff8147c254>] set_work_pool_and_clear_pending kernel/workqueue.c:645 [inline]
 #0:  ((wq_completion)"%s"name){+.+.}, at: [<ffffffff8147c254>] process_one_work+0xad4/0x1be0 kernel/workqueue.c:2083
 #1:  ((work_completion)(&squeue->work)){+.+.}, at: [<ffffffff8147c2af>] process_one_work+0xb2f/0x1be0 kernel/workqueue.c:2087
CPU: 1 PID: 24 Comm: kworker/1:1 Not tainted 4.14.0+ #192
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: pencrypt padata_serial_worker
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x194/0x257 lib/dump_stack.c:53
 ___might_sleep+0x2b2/0x470 kernel/sched/core.c:6060
 __might_sleep+0x95/0x190 kernel/sched/core.c:6013
 lock_sock_nested+0x37/0x110 net/core/sock.c:2761
 lock_sock include/net/sock.h:1465 [inline]
 af_alg_async_cb+0x86/0x1a0 crypto/af_alg.c:1039
 aead_request_complete include/crypto/internal/aead.h:75 [inline]
 pcrypt_aead_serial+0x75/0xa0 crypto/pcrypt.c:123
 padata_serial_worker+0x476/0x750 kernel/padata.c:348
 process_one_work+0xbfd/0x1be0 kernel/workqueue.c:2112
 worker_thread+0x223/0x1990 kernel/workqueue.c:2246
 kthread+0x37a/0x440 kernel/kthread.c:238
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:437

Crashes (407):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/11/24 16:38 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report syz C ci-upstream-kasan-gce
2017/11/24 17:20 mmots 1ea8d039f9ed deb5f6ae .config console log report syz C ci-upstream-mmots-kasan-gce
2017/11/24 16:51 linux-next 6fc478f80f68 4bd70f88 .config console log report syz C ci-upstream-next-kasan-gce
2017/10/28 08:58 linux-next 36ef71cae353 e511d9f8 .config console log report syz C ci-upstream-next-kasan-gce
2017/10/18 19:19 mmots 3ac81ebcbbb3 355f57c5 .config console log report syz C ci-upstream-mmots-kasan-gce
2017/10/18 18:50 linux-next a7dd40274d75 fe864987 .config console log report syz C ci-upstream-next-kasan-gce
2017/11/27 07:13 upstream bbecb1cfcca5 4bd70f88 .config console log report ci-upstream-kasan-gce
2017/11/27 01:35 upstream bbecb1cfcca5 4bd70f88 .config console log report ci-upstream-kasan-gce
2017/11/24 20:31 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce
2017/11/24 19:20 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce
2017/11/24 18:24 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce
2017/11/24 15:44 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce
2017/11/27 00:09 upstream 844056fd74eb 4bd70f88 .config console log report ci-upstream-kasan-gce-386
2017/11/26 22:06 upstream 844056fd74eb 4bd70f88 .config console log report ci-upstream-kasan-gce-386
2017/11/26 17:28 upstream 844056fd74eb 4bd70f88 .config console log report ci-upstream-kasan-gce-386
2017/11/26 12:35 upstream 844056fd74eb 4bd70f88 .config console log report ci-upstream-kasan-gce-386
2017/11/25 16:18 upstream 7753ea096408 4bd70f88 .config console log report ci-upstream-kasan-gce-386
2017/11/25 10:56 upstream 7753ea096408 4bd70f88 .config console log report ci-upstream-kasan-gce-386
2017/11/25 10:44 upstream 7753ea096408 4bd70f88 .config console log report ci-upstream-kasan-gce-386
2017/11/25 05:48 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/25 05:22 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/25 03:57 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/25 03:27 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/25 02:35 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/25 00:58 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-net-kasan-gce
2017/11/25 00:22 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-net-kasan-gce
2017/11/24 21:49 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-net-kasan-gce
2017/11/24 21:46 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-net-kasan-gce
2017/11/27 02:35 mmots 1ea8d039f9ed deb5f6ae .config console log report ci-upstream-mmots-kasan-gce
2017/11/26 22:12 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/26 22:11 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/26 19:47 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/26 19:25 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/26 18:06 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/26 17:30 mmots 1ea8d039f9ed deb5f6ae .config console log report ci-upstream-mmots-kasan-gce
2017/11/26 16:30 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/26 15:38 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/26 12:44 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/26 07:56 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/26 06:55 mmots 1ea8d039f9ed deb5f6ae .config console log report ci-upstream-mmots-kasan-gce
2017/11/26 06:41 mmots 1ea8d039f9ed deb5f6ae .config console log report ci-upstream-mmots-kasan-gce
2017/11/26 02:17 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/26 00:30 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/25 10:41 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/25 09:50 linux-next 6fc478f80f68 4bd70f88 .config console log report ci-upstream-next-kasan-gce
2017/11/25 02:36 mmots 1ea8d039f9ed deb5f6ae .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.