[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1446240749-5003-1-git-send-email-khoroshilov@ispras.ru>
Date: Sat, 31 Oct 2015 00:32:29 +0300
From: Alexey Khoroshilov <khoroshilov@...ras.ru>
To: Mike Marciniszyn <infinipath@...el.com>
Cc: Alexey Khoroshilov <khoroshilov@...ras.ru>,
Doug Ledford <dledford@...hat.com>,
Sean Hefty <sean.hefty@...el.com>,
Hal Rosenstock <hal.rosenstock@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-rdma@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, ldv-project@...uxtesting.org
Subject: [BUG] IB/hfi1: might sleep under spinlock in hfi1_ioctl()
Hello,
hfi1_ioctl() contains many calls to might sleep functions with
dd->hfi1_snoop.snoop_lock spinlock held (for example, access_ok,
copy_from_user, kzalloc(GFP_KERNEL), etc.).
Should dd->hfi1_snoop.snoop_lock be acquired just before updating state?
Found by Linux Driver Verification project (linuxtesting.org).
--
Alexey Khoroshilov
Linux Verification Center, ISPRAS
web: http://linuxtesting.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists