Red Hat Bugzilla – Full Text Bug Listing
|Summary:||CVE-2017-2647 kernel: Null pointer dereference in search_keyring|
|Product:||[Other] Security Response||Reporter:||Adam Mariš <amaris>|
|Component:||vulnerability||Assignee:||Red Hat Product Security <security-response-team>|
|Status:||NEW ---||QA Contact:|
|Version:||unspecified||CC:||aquini, ben, bhu, carnil, dhoward, dhowells, dominik.mierzejewski, dvlasenk, esammons, fhrbata, gansalmon, hmatsumo, hwkernel-mgr, iboverma, ichavero, itamar, jforbes, jkacur, jkastner, jonathan, jross, jwboyer, kbost, kernel-maint, kernel-mgr, labbott, lgoncalv, lwang, madhu.chinakonda, matt, mchehab, mcressma, mguzik, nmurray, pholasek, plougher, pmatouse, rt-maint, rvrbovsk, security-response-team, slawomir, vdronov, williams, wmealing, yozone|
|Fixed In Version:||Doc Type:||If docs needed, set a value|
A flaw was found that can be triggered in keyring_search_iterator in keyring.c if type->match is NULL. A local user could use this flaw to crash the system or, potentially, escalate their privileges.
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:||1433218, 1433220, 1433221, 1433222, 1427994, 1433216, 1433217, 1433219|
Description Adam Mariš 2017-03-02 07:08:58 EST
A null pointer dereference vulnerability that can be triggered in keyring_search_iterator in keyring.c if type->match is NULL by unprivileged local user was found. It is possible that an attacker could crash the system or escalate privileges using this vulnerability. Fixed in upstream: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c06cfb08b88d
Comment 1 Adam Mariš 2017-03-02 07:09:10 EST
Acknowledgments: Name: Igor Redko (Virtuozzo), Andrey Ryabinin (Virtuozzo)
Comment 4 Wade Mealing 2017-03-17 01:50:53 EDT
Statement: This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 as the code which can trigger the flaw is not present in the products listed. 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 might address this issue.
Comment 9 Ben Hutchings 2017-04-01 00:06:22 EDT
This seems to be the same issue as CVE-2017-6951. Is there really any difference between the two?
Comment 11 Adam Mariš 2017-04-03 09:59:24 EDT
(In reply to Ben Hutchings from comment #9) > This seems to be the same issue as CVE-2017-6951. Is there really any > difference between the two? We haven't fully analyzed CVE-2017-6951 yet. We'll do so soon.
Comment 19 Wade Mealing 2017-04-23 03:12:09 EDT
Re: Ben Hutchings They do appear to be the same flaw, this issue in Red Hat Enterprise Linux 7 seem to have a greater impact (RIP modification). EL6 doesn't has the same privesc capability with the reproducer that I have, it doesn't mean it can't be tricked into privesc. It looks as though the fix for EL6 fixes both CVE's. I'm going to mark both as fixed in the same errata. I will continue my investigation on Wednesday to confirm this. At this time Red Hat is not interested in correcting the double allocation. The end user shouldn't be affected.
Comment 20 Wade Mealing 2017-07-02 22:38:11 EDT
Well, after investigating both. I'm going to call it a different flaw. The fix propsed by David does solve both issues.
Comment 22 errata-xmlrpc 2017-08-01 15:13:30 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 23 errata-xmlrpc 2017-08-02 03:53:40 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 24 errata-xmlrpc 2017-08-08 12:20:42 EDT
This issue has been addressed in the following products: Red Hat Enterprise Linux 7.3 Extended Update Support Via RHSA-2017:2437 https://access.redhat.com/errata/RHSA-2017:2437