Bug 209436

Summary: CVE-2006-5174 copy_from_user information leak on s390
Product: Red Hat Enterprise Linux 3 Reporter: Marcel Holtmann <holtmann>
Component: kernelAssignee: Jan Glauber <jglauber>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 3.0CC: lwang, peterm, petrides, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: s390   
OS: Linux   
Whiteboard: impact=important,source=vendorsec,reported=20061004,public=20060928
Fixed In Version: RHSA-2006-0710 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-19 12:46:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
testcase none

Description Marcel Holtmann 2006-10-05 12:25:28 UTC
Report from Martin Schwidefsky:

There is/has been a bug with copy_from_user on s390. The problem is that it does
not pad the kernel buffer with zeroes in case of a fault on the user address.
That allows a malicious user to read uninitialized kernel memory. The bug is
already fixed upstream:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=52149ba6b0ddf3e9d965257cc0513193650b3ea8

Comment 2 Marcel Holtmann 2006-10-12 14:08:48 UTC
Unfortunatly a bug crept into the bug fix for 2.4. The arguments of the mvcle
that is supposed to clear the kernel buffer have been swapped for 64 bit (the
code is fine for 31 bit).


Comment 6 Ernie Petrides 2006-10-13 21:52:28 UTC
A fix for this problem has just been committed to the RHEL3 E9
patch pool this evening (in kernel version 2.4.21-47.0.1.EL).


Comment 11 Red Hat Bugzilla 2006-10-19 12:46:36 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0710.html


Comment 12 Ernie Petrides 2006-11-01 23:55:37 UTC
A fix for this problem has also been committed to the RHEL3 U9
patch pool this evening (in kernel version 2.4.21-47.3.EL).