Bug 1094299 - (CVE-2014-1737, CVE-2014-1738) CVE-2014-1737 CVE-2014-1738 kernel: block: floppy: privilege escalation via FDRAWCMD floppy ioctl command
CVE-2014-1737 CVE-2014-1738 kernel: block: floppy: privilege escalation via F...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20140507,repo...
: Security
Depends On: 1094302 1094303 1094304 1094306 1094308 1094310 1094311 1094312 1094313 1094314 1094315 1094316 1094318 1096195
Blocks: 1094326
  Show dependency treegraph
 
Reported: 2014-05-05 08:56 EDT by Petr Matousek
Modified: 2015-07-31 03:19 EDT (History)
23 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way the Linux kernel's floppy driver handled user space provided data in certain error code paths while processing FDRAWCMD IOCTL commands. A local user with write access to /dev/fdX could use this flaw to free (using the kfree() function) arbitrary kernel memory. (CVE-2014-1737, Important) It was found that the Linux kernel's floppy driver leaked internal kernel memory addresses to user space during the processing of the FDRAWCMD IOCTL command. A local user with write access to /dev/fdX could use this flaw to obtain information about the kernel heap arrangement. (CVE-2014-1738, Low) Note: A local user with write access to /dev/fdX could use these two flaws (CVE-2014-1737 in combination with CVE-2014-1738) to escalate their privileges on the system.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-07-17 01:33:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Petr Matousek 2014-05-05 08:56:28 EDT
A flaw was found in the way Linux kernel's floppy driver treated userspace provided data in certain error code path while processing FDRAWCMD ioctl command. An local user with write access to /dev/fdX could use this flaw to kfree() arbitrary data. (CVE-2014-1737)

It was found that Linux kernel's floppy driver leaked internal kernel memory addresses to userspace during processing of FDRAWCMD ioctl command. An local user with write access to /dev/fdX could use this flaw to get information about kernel heap arrangment. (CVE-2014-1738)

An local user with write access to /dev/fdX could use these two flaws (CVE-2014-1737 in combination with CVE-2014-1738) to escalate their privileges on the system. 

Acknowledgements:

Red Hat would like to thank Matthew Daley for reporting these issues.
Comment 7 Petr Matousek 2014-05-09 08:04:28 EDT
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1096195]
Comment 8 Fedora Update System 2014-05-16 06:04:26 EDT
kernel-3.14.4-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 9 Fedora Update System 2014-05-21 19:22:17 EDT
kernel-3.14.4-100.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 10 errata-xmlrpc 2014-05-27 12:28:35 EDT
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2014:0557 https://rhn.redhat.com/errata/RHSA-2014-0557.html
Comment 11 errata-xmlrpc 2014-06-10 16:46:06 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2014:0740 https://rhn.redhat.com/errata/RHSA-2014-0740.html
Comment 12 errata-xmlrpc 2014-06-19 13:53:43 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:0771 https://rhn.redhat.com/errata/RHSA-2014-0771.html
Comment 13 errata-xmlrpc 2014-06-19 14:03:22 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5.9 EUS - Server Only

Via RHSA-2014:0772 https://rhn.redhat.com/errata/RHSA-2014-0772.html
Comment 14 errata-xmlrpc 2014-06-24 11:59:23 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 7

Via RHSA-2014:0786 https://rhn.redhat.com/errata/RHSA-2014-0786.html
Comment 15 errata-xmlrpc 2014-06-26 13:08:41 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.2 AUS

Via RHSA-2014:0800 https://rhn.redhat.com/errata/RHSA-2014-0800.html
Comment 16 errata-xmlrpc 2014-06-26 13:17:54 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5.6 Long Life

Via RHSA-2014:0801 https://rhn.redhat.com/errata/RHSA-2014-0801.html
Comment 17 Martin Prpic 2014-07-16 04:16:12 EDT
IssueDescription CVE-2014-1737:

A flaw was found in the way the Linux kernel's floppy driver handled user space provided data in certain error code paths while processing FDRAWCMD IOCTL commands. A local user with write access to /dev/fdX could use this flaw to free (using the kfree() function) arbitrary kernel memory.

Note: A local user with write access to /dev/fdX could use CVE-2014-1737 in combination with CVE-2014-1738 to escalate their privileges on the system.

IssueDescription CVE-2014-1738:

It was found that the Linux kernel's floppy driver leaked internal kernel memory addresses to user space during the processing of the FDRAWCMD IOCTL command. A local user with write access to /dev/fdX could use this flaw to obtain information about the kernel heap arrangement.

Note: A local user with write access to /dev/fdX could use CVE-2014-1737 in combination with CVE-2014-1738 to escalate their privileges on the system.
Comment 18 errata-xmlrpc 2014-07-17 11:32:57 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.4 EUS - Server and Compute Node Only

Via RHSA-2014:0900 https://rhn.redhat.com/errata/RHSA-2014-0900.html
Comment 19 Vincent Danen 2014-07-17 11:45:18 EDT
Statement:

(none)

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