CVE-2016-10147: Null Pointer Dereference

Published Dec 13, 2016
·
Updated

Algorithms not compatible with mcryptd could be spawned by mcryptd with a direct cryptoalloctfm invocation using a "mcryptd(alg)" name construct. This causes mcryptd to crash the kernel if an arbitrary "alg" is incompatible and not intended to be used with mcryptd.

This could be a potential attack to crash the kernel by user program using AFALG to request an invalid algorithm such as mcryptd(md5).

Upstream report:

https://marc.info/?l=dm-devel&m=148063708010538&w=2

Suggested Patch:

http://marc.info/?l=linux-crypto-vger&m=148096718218312&w=2

Upstream patch:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=48a992727d82cb7db076fa15d372178743b1f4cd

CVE-ID request and assignment:

http://seclists.org/oss-sec/2017/q1/118

http://seclists.org/oss-sec/2017/q1/127

Other sources

crypto/mcryptd.c in the Linux kernel before 4.8.15 allows local users to cause a denial of service (NULL pointer dereference and system crash) by using an AFALG socket with an incompatible algorithm, as demonstrated by mcryptd(md5).

Launchpad

Affected Software

2 affected componentsFixes available
Linux Linux kernel<=4.8.14
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-1

Event History

Dec 13, 2016
Data Sourced
via Red Hat·10:20 AM
DescriptionSeverityAffected Software
Jan 18, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:15 PM
Description
Sep 20, 2024
Data Sourced
via Ubuntu·01:11 AM
RemedyDescriptionSeverityAffected Software
Feb 15, 2025
Data Sourced
via Debian·03:13 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-10147?

The severity of CVE-2016-10147 is medium.

2

How can local users exploit CVE-2016-10147?

Local users can exploit CVE-2016-10147 by using an AF_ALG socket with an incompatible algorithm, such as mcryptd(md5), to cause a denial of service.

3

Which versions of Linux are affected by CVE-2016-10147?

Linux kernel versions before 4.8.15 are affected by CVE-2016-10147.

4

How do I fix CVE-2016-10147?

To fix CVE-2016-10147, you should update your Linux kernel to version 4.8.15 or later.

5

Where can I find more information about CVE-2016-10147?

You can find more information about CVE-2016-10147 at the following references: [Reference 1](https://marc.info/?l=dm-devel&m=148063708010538&w=2), [Reference 2](http://marc.info/?l=linux-crypto-vger&m=148096718218312&w=2), [Reference 3](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=48a992727d82cb7db076fa15d372178743b1f4cd).

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