29 Mar, 2017
1 commit
-
Signed-off-by: Al Viro
02 Mar, 2017
1 commit
-
Add #include dependencies to all .c files rely on sched.h
doing that for them.Note that even if the count where we need to add extra headers seems high,
it's still a net win, because is included in over
2,200 files ...Acked-by: Linus Torvalds
Cc: Mike Galbraith
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
29 Apr, 2016
1 commit
-
The drivers/infiniband stack uses write() as a replacement for
bi-directional ioctl(). This is not safe. There are ways to
trigger write calls that result in the return structure that
is normally written to user space being shunted off to user
specified kernel memory instead.For the immediate repair, detect and deny suspicious accesses to
the write API.For long term, update the user space libraries and the kernel API
to something that doesn't present the same security vulnerabilities
(likely a structured ioctl() interface).The impacted uAPI interfaces are generally only available if
hardware from drivers/infiniband is installed in the system.Reported-by: Jann Horn
Signed-off-by: Linus Torvalds
Signed-off-by: Jason Gunthorpe
[ Expanded check to all known write() entry points ]
Cc: stable@vger.kernel.org
Signed-off-by: Doug Ledford
21 Jun, 2013
1 commit
-
Define AF_IB and sockaddr_ib to allow the rdma_cm to use native IB
addressing.Signed-off-by: Sean Hefty
Signed-off-by: Roland Dreier