Re: lsipc(1) triggers general protection fault in sysvipc_shm_proc_show() on v4.13-rc2+

From: Kees Cook
Date: Sun Jul 30 2017 - 16:36:57 EST


On Sun, Jul 30, 2017 at 1:16 PM, Dominik Brodowski
<linux@xxxxxxxxxxxxxxxxxxxx> wrote:
> I've bisected it to between v4.13-rc1 and 96080f697786 so far, ~7 more
> kernels/reboots to go. That leaves no code changes to ipc/, but some
> randstruct changes ( I have set CONFIG_GCC_PLUGIN_RANDSTRUCT=y ) which
> touch some ipc-related code.

Excellent, thanks; I bisected this as well. There was a missing
container_of() in the proc handler. I've sent a patch for this now.
Thanks for the report!

-Kees

--
Kees Cook
Pixel Security