The assoc_array_insert_into_terminal_node function in lib/assoc_array.c in the Linux kernel before 4.5.3 does not check whether a slot is a leaf, which allows local users to obtain sensitive information from kernel memory or cause a denial of service (invalid pointer dereference and out-of-bounds read) via an application that uses associative-array data structures, as demonstrated by the keyutils test suite.
The product reads data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
http://source.android.com/security/bulletin/2016-11-01.html | third party advisory |
http://rhn.redhat.com/errata/RHSA-2016-2574.html | vendor advisory |
https://github.com/torvalds/linux/commit/8d4a2ec1e0b41b0cf9a0c5cd4511da7f8e4f3de2 | patch third party advisory issue tracking |
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.3 | release notes |
http://www.securityfocus.com/bid/94138 | third party advisory vdb entry |
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8d4a2ec1e0b41b0cf9a0c5cd4511da7f8e4f3de2 | patch third party advisory issue tracking |