Messages in this thread | | | Date | Thu, 16 Sep 2010 21:55:35 -0700 (PDT) | Subject | Re: [PATCH v2] drivers/net/usb/hso.c: prevent reading uninitialized memory | From | David Miller <> |
| |
From: Dan Rosenberg <drosenberg@vsecurity.com> Date: Wed, 15 Sep 2010 17:43:28 -0400
> Fixed formatting (tabs and line breaks). > > The TIOCGICOUNT device ioctl allows unprivileged users to read > uninitialized stack memory, because the "reserved" member of the > serial_icounter_struct struct declared on the stack in hso_get_count() > is not altered or zeroed before being copied back to the user. This > patch takes care of it. > > Signed-off-by: Dan Rosenberg <dan.j.rosenberg@gmail.com>
Applied.
| |