Bug 648661 (CVE-2010-4076) - CVE-2010-4076 kernel: drivers/char/amiserial.c: reading uninitialized stack memory
Summary: CVE-2010-4076 kernel: drivers/char/amiserial.c: reading uninitialized stack m...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2010-4076
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: public=20100915,reported=20101006,sou...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-01 21:20 UTC by Petr Matousek
Modified: 2019-06-08 18:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-21 23:26:40 UTC


Attachments (Terms of Use)

Description Petr Matousek 2010-11-01 21:20:38 UTC
Description of problem:
The TIOCGICOUNT device ioctl in amiserial.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.

Reference:
http://www.openwall.com/lists/oss-security/2010/10/06/6
http://lkml.org/lkml/2010/9/15/389

Acknowledgements:

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

Comment 1 Petr Matousek 2010-11-02 10:53:53 UTC
Statement:

This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 3, 4, 5, and Red Hat Enterprise MRG as they did not include support for Amiga built-in serial port.


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