[dm-devel] [PATCH] dm ioctl: prevent stack leak in dm ioctl call

Alasdair G Kergon agk at redhat.com
Wed Apr 26 00:11:17 UTC 2017


On Tue, Apr 25, 2017 at 04:31:29PM -0700, Adrian Salido wrote:
> Struct dm_ioctl has some padding/data that is not explicitly cleared
> before copying to user. This can cause kernel stack contents to be
> leaked to user space.

Please be more precise here, explaining which part of the buffer 
and under exactly what circumstances you have found that uninitialised 
content gets returned to userspace.

Alasdair




More information about the dm-devel mailing list