Hide Forgot
In function audit_log_single_execve_arg(), the whole argument is fetched from user space twice via copy_from_user(). In the first loop, it is firstly fetched (line 1038) to verify, aka looking for non-ascii chars. While in the second loop, the whole argument is fetched again (line 1105) from user space and used at line 1121 and line 1123 respectively depends on the previous verification. Upstream bug: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-6136 https://bugzilla.kernel.org/show_bug.cgi?id=120681 https://github.com/linux-audit/audit-kernel/issues/18 https://www.redhat.com/archives/linux-audit/2016-June/msg00029.html Upstream patch: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=43761473c254b45883a64441dd0bc85a42f3645c
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 1353534]
(In reply to Andrej Nemec from comment #0) > Upstream patch: > > https://github.com/linux-audit/audit-kernel/issues/18 I don't actually see a patch there. That's an issue, which is the equivalent of this bug. Paul, I'm guessing a patch is in the works?
(In reply to Josh Boyer from comment #2) > (In reply to Andrej Nemec from comment #0) > > Upstream patch: > > > > https://github.com/linux-audit/audit-kernel/issues/18 > > I don't actually see a patch there. That's an issue, which is the > equivalent of this bug. > > Paul, I'm guessing a patch is in the works? My bad, that should have been listed as an upstream issue. I checked git and this particular patch is not there yet imo.
(In reply to Josh Boyer from comment #2) > Paul, I'm guessing a patch is in the works? It is on my radar but I haven't gotten to it yet. Now that there is a CVE for it, I'll bump it up in terms of priority; I'll take a closer look at it later this afternoon.
kernel-4.6.5-300.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
kernel-4.6.5-200.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Statement: This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6 and 7. This has been rated as having Moderate security impact and is planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 7 and MRG-2. Future Linux kernel updates for the respective releases may address this issue.
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2016:2574 https://rhn.redhat.com/errata/RHSA-2016-2574.html
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2016:2584 https://rhn.redhat.com/errata/RHSA-2016-2584.html
This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Via RHSA-2017:0307 https://rhn.redhat.com/errata/RHSA-2017-0307.html