First published: Tue Dec 13 2016(Updated: )
Algorithms not compatible with mcryptd could be spawned by mcryptd with a direct crypto_alloc_tfm 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 AF_ALG to request an invalid algorithm such as mcryptd(md5). Upstream report: <a href="https://marc.info/?l=dm-devel&m=148063708010538&w=2">https://marc.info/?l=dm-devel&m=148063708010538&w=2</a> Suggested Patch: <a href="http://marc.info/?l=linux-crypto-vger&m=148096718218312&w=2">http://marc.info/?l=linux-crypto-vger&m=148096718218312&w=2</a> Upstream patch: <a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=48a992727d82cb7db076fa15d372178743b1f4cd">https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=48a992727d82cb7db076fa15d372178743b1f4cd</a> CVE-ID request and assignment: <a href="http://seclists.org/oss-sec/2017/q1/118">http://seclists.org/oss-sec/2017/q1/118</a> <a href="http://seclists.org/oss-sec/2017/q1/127">http://seclists.org/oss-sec/2017/q1/127</a>
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Linux kernel | <=4.8.14 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.115-1 6.1.119-1 6.11.10-1 6.12.5-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2016-10147 is medium.
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.
Linux kernel versions before 4.8.15 are affected by CVE-2016-10147.
To fix CVE-2016-10147, you should update your Linux kernel to version 4.8.15 or later.
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).