Bug 1114089 (CVE-2014-3534)

Summary: CVE-2014-3534 kernel: s390: ptrace: insufficient sanitization when setting psw mask
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: agordeev, anton, aquini, brueckner, dhoward, fhrbata, jrusnack, kernel-mgr, lwang, npajkovs, osoukup, peterm, pholasek, plougher, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was found that Linux kernel's ptrace subsystem did not properly sanitize the address-space-control bits when the program-status word (PSW) was being set. On IBM S/390 systems, a local, unprivileged user could use this flaw to set address-space-control bits to the kernel space, and thus gain read and write access to kernel memory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 17:37:59 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:
Bug Depends On: 1113673, 1114090, 1122612    
Bug Blocks: 1113990    

Description Petr Matousek 2014-06-27 17:16:40 UTC
It was found that Linux kernel's ptrace subsystem did not properly
sanitize psw mask value. On s390 systems, an unprivileged local user
could use this flaw to set address space control bits to kernel space
combination and thus gain read/write access to kernel memory.

Comment 2 Petr Matousek 2014-06-27 17:23:56 UTC
Statement:

This issue did not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2.

Comment 4 Petr Matousek 2014-07-23 15:36:03 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1122612]

Comment 6 Fedora Update System 2014-08-01 06:02:45 UTC
kernel-3.15.7-200.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Martin Prpič 2014-08-05 12:07:36 UTC
IssueDescription:

It was found that Linux kernel's ptrace subsystem did not properly sanitize the address-space-control bits when the program-status word (PSW) was being set. On IBM S/390 systems, a local, unprivileged user could use this flaw to set address-space-control bits to the kernel space, and thus gain read and write access to kernel memory.

Comment 8 errata-xmlrpc 2014-08-06 17:12:09 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 7

Via RHSA-2014:1023 https://rhn.redhat.com/errata/RHSA-2014-1023.html

Comment 9 Fedora Update System 2014-08-08 08:41:52 UTC
kernel-3.14.15-100.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.