Date: Thu, 02 Aug 2018 20:17:05 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 230304] Malloc while lock is held in crypto code Message-ID: <bug-230304-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230304 Bug ID: 230304 Summary: Malloc while lock is held in crypto code Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: sef@FreeBSD.org When using swcr_newsession(), changes in r336439 result in: uma_zalloc_arg: zone "64" with the following non-sleepable locks held: exclusive sleep mutex crypto (crypto driver table) r =3D 0 (0xffffffff81faf= 330) locked @ /FreeBSD/src-git-new/sys/opencrypto/crypto.c:573 stack backtrace: #0 0xffffffff80c00013 at witness_debugger+0x73 #1 0xffffffff80c013f1 at witness_warn+0x461 #2 0xffffffff80ed6478 at uma_zalloc_arg+0x38 #3 0xffffffff80b6d165 at malloc+0x95 #4 0xffffffff80e4ad35 at swcr_newsession+0x75 #5 0xffffffff80e47bb1 at crypto_newsession+0x3b1 Discussed with cem, filing a PR for tracking. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230304-227>