Bug 648659 (CVE-2010-4074) - CVE-2010-4074 kernel: drivers/usb/serial/mos*.c: reading uninitialized stack memory
Summary: CVE-2010-4074 kernel: drivers/usb/serial/mos*.c: reading uninitialized stack ...
Status: NEW
Alias: CVE-2010-4074
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 648696 648697 648698
TreeView+ depends on / blocked
Reported: 2010-11-01 21:17 UTC by Petr Matousek
Modified: 2019-09-29 12:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0958 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2010-12-08 19:08:55 UTC
Red Hat Product Errata RHSA-2011:0007 normal SHIPPED_LIVE Important: kernel security and bug fix update 2011-01-11 19:44:55 UTC

Description Petr Matousek 2010-11-01 21:17:36 UTC
Description of problem:
The TIOCGICOUNT device ioctl in both mos7720.c and mos7840.c allows unprivileged users to read uninitialized stack memory, because the "reserved" member of the serial_icounter_struct struct declared on the stack is not altered or zeroed before being copied back to the user.



Red Hat would like to thank Dan Rosenberg for reporting this issue.

Comment 2 Petr Matousek 2010-11-02 10:42:38 UTC

This issue did not affect the versions of Linux kernel as shipped with Red Hat
Enterprise Linux 3, 4, and 5 as they did not include support for Moschip USB
serial port adapters.

Comment 3 Eugene Teo (Security Response) 2010-11-04 07:54:00 UTC
Upstream commit:

Comment 4 errata-xmlrpc 2010-12-08 19:09:54 UTC
This issue has been addressed in following products:

  MRG for RHEL-5

Via RHSA-2010:0958 https://rhn.redhat.com/errata/RHSA-2010-0958.html

Comment 5 errata-xmlrpc 2011-01-11 19:46:23 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:0007 https://rhn.redhat.com/errata/RHSA-2011-0007.html

Note You need to log in before you can comment on or make changes to this bug.