7.8
CWE
200
Advisory Published
CVE Published
Updated

CVE-2016-4913: Infoleak

First published: Thu May 19 2016(Updated: )

A vulnerability was found in the Linux kernel. Payloads of NM entries are not supposed to contain NUL. When such entry is processed, only the part prior to the first NUL goes into the concatenation (i.e. the directory entry name being encoded by a bunch of NM entries). The process stops when the amount collected so far + the claimed amount in the current NM entry exceed 254. However, the value returned as the total length is the sum of *claimed* sizes, not the actual amount collected. And that can grow pretty large - not unlimited, since you'd need to put CE entries in between to be able to get more than the maximum that could be contained in one isofs directory entry / continuation chunk and the process stops once it had encountered 32 CEs, but you can get about 8Kb easily. And that's what will be passed to readdir callback as the name length. 8Kb __copy_to_user() from a buffer allocated by __get_free_page() References, CVE-ID request and response: <a href="http://seclists.org/oss-sec/2016/q2/363">http://seclists.org/oss-sec/2016/q2/363</a> <a href="http://seclists.org/oss-sec/2016/q2/365">http://seclists.org/oss-sec/2016/q2/365</a> Upstream fix: <a href="https://git.kernel.org/linus/99d825822eade8d827a1817357cbf3f889a552d6">https://git.kernel.org/linus/99d825822eade8d827a1817357cbf3f889a552d6</a>

Credit: security@debian.org security@debian.org security@debian.org

Affected SoftwareAffected VersionHow to fix
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
Linux Linux kernel<3.2.81
Linux Linux kernel>=3.3<3.10.102
Linux Linux kernel>=3.11<3.12.60
Linux Linux kernel>=3.13<3.14.70
Linux Linux kernel>=3.15<3.16.36
Linux Linux kernel>=3.17<3.18.34
Linux Linux kernel>=3.19<4.1.25
Linux Linux kernel>=4.2<4.4.11
Linux Linux kernel>=4.5<4.5.5
Oracle Linux=6
Novell Suse Linux Enterprise Software Development Kit=11.0-sp4
Novell Suse Linux Enterprise Debuginfo=11.0-sp4
Novell Suse Linux Enterprise Server=11.0-extra
Novell Suse Linux Enterprise Server=11.0-sp4
debian/linux
5.10.223-1
6.1.106-3
6.1.99-1
6.10.9-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203