]> git.baikalelectronics.ru Git - kernel.git/commit
isdn: Disable IIOCDBGVAR
authorKees Cook <keescook@chromium.org>
Wed, 15 Aug 2018 19:14:05 +0000 (12:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Aug 2018 19:26:24 +0000 (12:26 -0700)
commit83f8f69a2cab8da88db2df0f8c28164f9d7be522
tree24061c231a0719289e9613c3654132faafbf54b1
parente5612f6e02d49d166d273d0d18579f81d0e9792e
isdn: Disable IIOCDBGVAR

It was possible to directly leak the kernel address where the isdn_dev
structure pointer was stored. This is a kernel ASLR bypass for anyone
with access to the ioctl. The code had been present since the beginning
of git history, though this shouldn't ever be needed for normal operation,
therefore remove it.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Karsten Keil <isdn@linux-pingi.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/i4l/isdn_common.c