Bug 1399519 (CVE-2016-9313) - CVE-2016-9313 kernel: security/keys/big_key.c mishandles unsuccessful crypto registration
Summary: CVE-2016-9313 kernel: security/keys/big_key.c mishandles unsuccessful crypto ...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2016-9313
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20160722,repor...
Depends On: 1399522
Blocks: 1399529
TreeView+ depends on / blocked
 
Reported: 2016-11-29 09:06 UTC by Andrej Nemec
Modified: 2019-06-08 21:36 UTC (History)
38 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
The implementation of big key management in security/keys/big_key.c in the Linux kernel before 4.8.7 mishandles unsuccessful crypto registration in conjunction with successful key-type registration, which allows local users to cause a denial of service (NULL pointer dereference and panic) or possibly have unspecified other impact via a crafted application that uses the big_key data type.
Clone Of:
Environment:
Last Closed: 2017-01-25 15:33:20 UTC


Attachments (Terms of Use)

Description Andrej Nemec 2016-11-29 09:06:13 UTC
The linux kernels implementation of "big key" management in security/keys/big_key.c in the Linux kernel before 4.8.7 mishandles unsuccessful
crypto registration in conjunction with successful key-type registration, which
allows local users to cause a denial of service (NULL pointer dereference and
panic) or possibly have unspecified other impact via a crafted application that
uses the big_key data type.

As per the patch notes the Red Hat Enterprise Linux code contains neither big_key_rng and big_key_blkcipher, which can be set to null.  The Red Hat Enterprise Linux source contains no blkcipher code to be affected.

References:

http://seclists.org/oss-sec/2016/q3/130

Upstream patch:

https://github.com/torvalds/linux/commit/7df3e59c3d1df4f87fe874c7956ef7a3d2f4d5fb

Comment 1 Andrej Nemec 2016-11-29 09:08:37 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1399522]

Comment 2 Justin M. Forbes 2016-11-29 16:54:52 UTC
This was fixed in the 4.8.7 kernel update which was available to all fedora releases on November 17 2016

Comment 3 Wade Mealing 2016-12-21 01:53:30 UTC
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5,6 and 7 as the code with the flaw is not present in the products listed.


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