The nfnetlink_rcv_batch function in net/netfilter/nfnetlink.c in the Linux kernel before 4.5 does not check whether a batch message's length field is large enough, which allows local users to obtain sensitive information from kernel memory or cause a denial of service (infinite loop or out-of-bounds read) by leveraging the CAP_NET_ADMIN capability.
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://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c58d6c93680f28ac58984af61d0a7ebf4319c241 | issue tracking third party advisory patch |
http://www.securityfocus.com/bid/94147 | vdb entry third party advisory |
https://github.com/torvalds/linux/commit/c58d6c93680f28ac58984af61d0a7ebf4319c241 | issue tracking patch |