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 Software | Affected Version | How to fix |
---|---|---|
Ubuntu Linux | =12.04 | |
Ubuntu Linux | =14.04 | |
Ubuntu Linux | =15.10 | |
Ubuntu Linux | =16.04 | |
Linux Kernel | <3.2.81 | |
Linux Kernel | >=3.3<3.10.102 | |
Linux Kernel | >=3.11<3.12.60 | |
Linux Kernel | >=3.13<3.14.70 | |
Linux Kernel | >=3.15<3.16.36 | |
Linux Kernel | >=3.17<3.18.34 | |
Linux Kernel | >=3.19<4.1.25 | |
Linux Kernel | >=4.2<4.4.11 | |
Linux Kernel | >=4.5<4.5.5 | |
Oracle Linux | =6 | |
SUSE Linux Enterprise Software Development Kit | =11.0-sp4 | |
SUSE Linux Enterprise Debuginfo | =11.0-sp4 | |
SUSE Linux Enterprise Server | =11.0-extra | |
SUSE Linux Enterprise Server | =11.0-sp4 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.119-1 6.12.10-1 6.12.11-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-4913 has a moderate severity rating due to its potential impact on Linux kernel systems.
To fix CVE-2016-4913, update the Linux kernel to version 5.10.223-1 or later.
CVE-2016-4913 affects several versions including Ubuntu 12.04, 14.04, 15.10, 16.04, and multiple Linux kernel versions up to 4.4.
CVE-2016-4913 impacts the Linux kernel's handling of certain network management entries.
As of now, there are no publicly disclosed exploits specifically targeting CVE-2016-4913.