Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1433252 - (CVE-2017-6951) CVE-2017-6951 kernel: NULL pointer dereference in keyring_search_aux function
CVE-2017-6951 kernel: NULL pointer dereference in keyring_search_aux function
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170303,repor...
: Security
Depends On: 1490917 1439264 1471601 1471602 1471603 1471604 1471605 1471606 1471607 1476140 1476141 1476142
Blocks: 1433253
  Show dependency treegraph
 
Reported: 2017-03-17 04:09 EDT by Andrej Nemec
Modified: 2018-08-28 18:14 EDT (History)
38 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The keyring_search_aux function in security/keys/keyring.c in the Linux kernel allows local users to cause a denial of service via a request_key system call for the "dead" key type.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Fix to rename the 'dead' type to '.dead' to make syscalls reject the name (1.40 KB, patch)
2017-04-05 04:05 EDT, David Howells
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1842 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2017-08-01 14:22:09 EDT
Red Hat Product Errata RHSA-2017:2077 normal SHIPPED_LIVE Important: kernel-rt security, bug fix, and enhancement update 2017-08-01 14:13:37 EDT
Red Hat Product Errata RHSA-2017:2669 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2017-09-06 20:36:52 EDT

  None (edit)
Description Andrej Nemec 2017-03-17 04:09:55 EDT
The keyring_search_aux function in security/keys/keyring.c in the Linux kernel allows local users to cause a denial of service (NULL pointer dereference and OOPS) via a request_key system call for the "dead" type.

References:

http://www.spinics.net/lists/keyrings/msg01846.html

Upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c06cfb08b88d
Comment 1 David Howells 2017-04-05 04:05 EDT
Created attachment 1268882 [details]
Fix to rename the 'dead' type to '.dead' to make syscalls reject the name
Comment 4 Wade Mealing 2017-07-17 00:24:11 EDT
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1471601]
Comment 6 Wade Mealing 2017-07-17 01:56:01 EDT
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5.

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 6, 7 and MRG-2.

Future Linux kernel updates for the respective releases may address this issue.
Comment 9 Justin M. Forbes 2017-07-17 10:06:52 EDT
This was fixed upstream in 4.11 kernels, and backported to 4.10.13 stable series. The fix was pushed to all Fedora releases with 4.10.13 on 2017-05-04.
Comment 11 errata-xmlrpc 2017-08-01 15:14:08 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2077 https://access.redhat.com/errata/RHSA-2017:2077
Comment 12 errata-xmlrpc 2017-08-02 03:54:18 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:1842 https://access.redhat.com/errata/RHSA-2017:1842
Comment 13 errata-xmlrpc 2017-09-06 16:40:28 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise MRG 2

Via RHSA-2017:2669 https://access.redhat.com/errata/RHSA-2017:2669

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