Security Advisory Important: kernel-rt security update

Advisory: RHSA-2014:0557-1
Type: Security Advisory
Severity: Important
Issued on: 2014-05-27
Last updated on: 2014-05-27
Affected Products: Red Hat Enterprise MRG v2 for Red Hat Enterprise Linux (version 6)
CVEs (cve.mitre.org): CVE-2014-0100
CVE-2014-0196
CVE-2014-1737
CVE-2014-1738
CVE-2014-2672
CVE-2014-2678
CVE-2014-2706
CVE-2014-2851
CVE-2014-3122

Details

Updated kernel-rt packages that fix multiple security issues are now
available for Red Hat Enterprise MRG 2.5.

The Red Hat Security Response Team has rated this update as having
Important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

The kernel-rt packages contain the Linux kernel, the core of any Linux
operating system.

* A race condition leading to a use-after-free flaw was found in the way
the Linux kernel's TCP/IP protocol suite implementation handled the
addition of fragments to the LRU (Last-Recently Used) list under certain
conditions. A remote attacker could use this flaw to crash the system or,
potentially, escalate their privileges on the system by sending a large
amount of specially crafted fragmented packets to that system.
(CVE-2014-0100, Important)

* A race condition flaw, leading to heap-based buffer overflows, was found
in the way the Linux kernel's N_TTY line discipline (LDISC) implementation
handled concurrent processing of echo output and TTY write operations
originating from user space when the underlying TTY driver was PTY.
An unprivileged, local user could use this flaw to crash the system or,
potentially, escalate their privileges on the system. (CVE-2014-0196,
Important)

* 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.

* A use-after-free flaw was found in the way the ping_init_sock() function
of the Linux kernel handled the group_info reference counter. A local,
unprivileged user could use this flaw to crash the system or, potentially,
escalate their privileges on the system. (CVE-2014-2851, Important)

* It was found that a remote attacker could use a race condition flaw in
the ath_tx_aggr_sleep() function to crash the system by creating large
network traffic on the system's Atheros 9k wireless network adapter.
(CVE-2014-2672, Moderate)

* A NULL pointer dereference flaw was found in the rds_iw_laddr_check()
function in the Linux kernel's implementation of Reliable Datagram Sockets
(RDS). A local, unprivileged user could use this flaw to crash the system.
(CVE-2014-2678, Moderate)

* A race condition flaw was found in the way the Linux kernel's mac80211
subsystem implementation handled synchronization between TX and STA wake-up
code paths. A remote attacker could use this flaw to crash the system.
(CVE-2014-2706, Moderate)

* It was found that the try_to_unmap_cluster() function in the Linux
kernel's Memory Managment subsystem did not properly handle page locking in
certain cases, which could potentially trigger the BUG_ON() macro in the
mlock_vma_page() function. A local, unprivileged user could use this flaw
to crash the system. (CVE-2014-3122, Moderate)

Red Hat would like to thank Matthew Daley for reporting CVE-2014-1737 and
CVE-2014-1738. The CVE-2014-0100 issue was discovered by Nikolay
Aleksandrov of Red Hat.

Users are advised to upgrade to these updated packages, which upgrade the
kernel-rt kernel to version kernel-rt-3.10.33-rt32.34 and correct these
issues. The system must be rebooted for this update to take effect.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the
Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

To install kernel packages manually, use "rpm -ivh [package]". Do not use
"rpm -Uvh" as that will remove the running kernel binaries from your
system. You may use "rpm -e" to remove old kernels after determining that
the new kernel functions properly on your system.

Updated packages

Red Hat Enterprise MRG v2 for Red Hat Enterprise Linux (version 6)

SRPMS:
kernel-rt-3.10.33-rt32.34.el6rt.src.rpm
File outdated by:  RHSA-2015:1564
    MD5: ea160be85f2ce34259150ad8832a6213
SHA-256: 747cd50c05466801a9096b60ba4efe17e6b63476e75b42538e81e2ce8eb884ed
 
x86_64:
kernel-rt-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: c70f965c675a161dc46ae78605d4a8f4
SHA-256: f140c3e25207af585751ec4931f874f102700c2fc32b901f7539e331ed300089
kernel-rt-debug-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: 948065fb0779349e25e93708d73c9148
SHA-256: 447aeb3e5d4b17445f2bb5edd43e9f43a037cdfd38ae9a8e8851cb8623e14300
kernel-rt-debug-debuginfo-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: 762a17fb559d1bdcf5f2f80885760a02
SHA-256: 7b4433b8ff990a18366ff5b1c445aa9d9931a85fc5a56672a948866cda1e4c39
kernel-rt-debug-devel-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: 11d6611be9e298fc716b2848a7589036
SHA-256: 21560b97d785b2a1e99f675570ad734a7ec1cee83d3063456ae880ba806bea17
kernel-rt-debuginfo-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: f7d781a123a906069c63d9e8dc5dd994
SHA-256: ae3e3d58dc1a91839d75cdb7fd80ab4545739c855da17f8f158069d93086dc8c
kernel-rt-debuginfo-common-x86_64-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: 4e58b3cb04ffaa149437e6850e6f1dbc
SHA-256: e9ee835c84630b332a4224d4ac3859fa2faa65ba93515ede28f83c1829bc7dc5
kernel-rt-devel-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: 01865a7b4f13e4d6b6210db9492665b4
SHA-256: dcaa7cfe3bc34fa8c03887beadc31614d0adfc9cd281a38daa9659b6f48ec771
kernel-rt-doc-3.10.33-rt32.34.el6rt.noarch.rpm
File outdated by:  RHSA-2015:1564
    MD5: 0ec0a81130fa09a8ae78c0512cff890f
SHA-256: ecf82ac2becf48f8278685e39573a79379481314397deef4cbf0f64f0bd0fd0c
kernel-rt-firmware-3.10.33-rt32.34.el6rt.noarch.rpm
File outdated by:  RHSA-2015:1564
    MD5: 1a1d3d032c5179b4e481f9f584146c5a
SHA-256: 51fab0ed2f85a6262f0e0b4f95875518070aa04a7fbca94fcb9bd0cab97374a8
kernel-rt-trace-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: 707a6c4bb991ce81552cfdbe695051b1
SHA-256: c76f6834506ce537a23459d91f744ef5dd0321bb434e717219ebadc77c47324a
kernel-rt-trace-debuginfo-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: cc325dbeab2d1bd44913dfdc66cc7efc
SHA-256: 0a2984ec7d345043ebdf193f4ce338fac14489a46a3515a40a2b8dc06dfc6cb7
kernel-rt-trace-devel-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: aa1355f295615e81350b4ae8c18696e7
SHA-256: 6057bc770536bf97612015e25c83e6f851908251bdbb96fbc39d149133f3cab1
kernel-rt-vanilla-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: 7150264bc7abc32a48cb80283bba5619
SHA-256: 9260066a3ba82c16235ac47c3f066dd18d60a40e6686179083b6a6b888430a57
kernel-rt-vanilla-debuginfo-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: 9a0f67a50c11e8aa9c254b7ace227987
SHA-256: ee4e505f4a2dd59e7322c10db0dd200b270d5230b14077d7310636d3e8fab653
kernel-rt-vanilla-devel-3.10.33-rt32.34.el6rt.x86_64.rpm
File outdated by:  RHSA-2015:1564
    MD5: ef403e4aca89ad85bab1154e0cffb3c7
SHA-256: 4197426c22ae629645dd4a44a0392a9ef3fc2be5cdd8986bfcaca13159d1af84
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

1070618 - CVE-2014-0100 kernel: net: inet frag code race condition leading to user-after-free
1083246 - CVE-2014-2672 kernel: ath9k: tid->sched race in ath_tx_aggr_sleep()
1083274 - CVE-2014-2678 kernel: net: rds: dereference of a NULL device in rds_iw_laddr_check()
1083512 - CVE-2014-2706 Kernel: net: mac80211: crash dues to AP powersave TX vs. wakeup race
1086730 - CVE-2014-2851 kernel: net: ping: refcount issue in ping_init_sock() function
1093076 - CVE-2014-3122 Kernel: mm: try_to_unmap_cluster() should lock_page() before mlocking
1094232 - CVE-2014-0196 kernel: pty layer race condition leading to memory corruption
1094299 - CVE-2014-1737 CVE-2014-1738 kernel: block: floppy: privilege escalation via FDRAWCMD floppy ioctl command


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/