Hide Forgot
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
Acknowledgments: Name: Igor Redko (Virtuozzo), Andrey Ryabinin (Virtuozzo)
Created attachment 1259126 [details] Proposed patch
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.
This seems to be the same issue as CVE-2017-6951. Is there really any difference between the two?
(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.
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.
Well, after investigating both. I'm going to call it a different flaw. The fix propsed by David does solve both issues.
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
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
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
This issue has been addressed in the following products: Red Hat Enterprise MRG 2 Via RHSA-2017:2444 https://access.redhat.com/errata/RHSA-2017:2444
This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Via RHSA-2020:3548 https://access.redhat.com/errata/RHSA-2020:3548
This issue has been addressed in the following products: Red Hat Enterprise Linux 6.6 Advanced Update Support Via RHSA-2020:3836 https://access.redhat.com/errata/RHSA-2020:3836