Bug 1580979 (CVE-2017-18270) - CVE-2017-18270 kernel: improper keyrings creation
Summary: CVE-2017-18270 kernel: improper keyrings creation
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-18270
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:
: CVE-2020-14353 (view as bug list)
Depends On: 1582352 1582353
Blocks: 1580980 1775606
TreeView+ depends on / blocked
 
Reported: 2018-05-21 21:48 UTC by Laura Pardo
Modified: 2021-09-09 14:10 UTC (History)
48 users (show)

Fixed In Version: kernel 4.13.5
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel in the way a local user could create keyrings for other users via keyctl commands. This may allow an attacker to set unwanted defaults, a denial of service, or possibly leak keyring information between users.
Clone Of:
Environment:
Last Closed: 2019-06-10 10:26:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-05-21 21:48:31 UTC
A flaw was found in the Linux kernel before 4.13.5, a local user could create keyrings for other users via keyctl commands. This may allow to set unwanted defaults or cause a denial of service.


References:
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.5

Upstream patch:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=237bbd29f7a049d310d907f4b2716a7feef9abf3 	
https://github.com/torvalds/linux/commit/237bbd29f7a049d310d907f4b2716a7feef9abf3

Comment 5 Petr Matousek 2020-08-12 12:06:01 UTC
*** Bug 1856774 has been marked as a duplicate of this bug. ***

Comment 6 Petr Matousek 2020-08-12 12:12:20 UTC
Acknowledgments:

Name: Eric Biggers (Google)

Comment 7 Petr Matousek 2020-08-12 12:12:26 UTC
Statement:

The impact is Moderate, because the impact is only for userspace programs if using keyctl incorrectly. For root-level processes (usually during boot) keyctl being used securely without possibility of leaking keys between users.


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