CVE-2016-6136: Race Condition

Published Jul 7, 2016
·
Updated

In function auditlogsingleexecvearg(), the whole argument is fetched from user space twice via copyfromuser(). 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/showbug.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

Other sources

Race condition in the auditlogsingleexecvearg function in kernel/auditsc.c in the Linux kernel through 4.7 allows local users to bypass intended character-set restrictions or disrupt system-call auditing by changing a certain string, aka a "double fetch" vulnerability.

— MITRE

Affected Software

28 affected componentsFixes available
Linux Linux kernel<=4.7
Google Android
ubuntu/linux<3.13.0-98.145
3.13.0-98.145
ubuntu/linux-lts-vivid<3.19.0-71.79~14.04.1
3.19.0-71.79~14.04.1
ubuntu/linux-lts-xenial<4.4.0-38.57~14.04.1
4.4.0-38.57~14.04.1
ubuntu/linux<4.4.0-38.57
4.4.0-38.57
ubuntu/linux-raspi2<4.4.0-1023.29
4.4.0-1023.29
ubuntu/linux-snapdragon<4.4.0-1026.29
4.4.0-1026.29
ubuntu/linux-azure*
ubuntu/linux-gcp*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-98.145
  2. Upgrade

    Upgrade ubuntu/linux-lts-vivid to a version that resolves this vulnerability.

    Fixed in 3.19.0-71.79~14.04.1
  3. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-38.57~14.04.1
  4. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-38.57
  5. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1023.29
  6. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1026.29
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 43761473c254b45883a64441dd0bc85a42f3645c

Event History

Jul 7, 2016
Data Sourced
11:56 AM
DescriptionSeverityAffected Software
Aug 6, 2016
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
08:59 PM
RemedyWeakness
Data Sourced
via NVD·08:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 17, 2021
Data Sourced
via Red Hat·03:38 AM
DescriptionSeverityAffected Software
Oct 27, 2023
Data Sourced
via Android·12:00 AM
SeverityAffected Software
Updated
12:00 AM
Affected Software
Feb 7, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 11, 2024
Updated
via Android·12:00 AM
Affected Software
Apr 29, 2024
Updated
via Android·12:00 AM
Affected Software
Aug 26, 2024
Updated
via Android·12:00 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-6136?

CVE-2016-6136 has a medium severity rating, indicating potential impact but not critical.

2

How do I fix CVE-2016-6136?

To fix CVE-2016-6136, update your Linux kernel to version 4.8 or later, as this vulnerability is addressed in those versions.

3

What types of systems are affected by CVE-2016-6136?

CVE-2016-6136 affects Linux kernels up to version 4.7 and certain versions of Google Android.

4

What is the impact of CVE-2016-6136?

The impact of CVE-2016-6136 includes potential information disclosure due to improper handling of user space arguments.

5

Is CVE-2016-6136 exploitable remotely?

CVE-2016-6136 is not directly exploitable remotely, as it requires local user access to trigger the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203