[v3.0] kernel: local DoS and privilege escalation (CVE-2014-3144 CVE-2014-3145 CVE-2014-3153)
CVE-2014-3144 / CVE-2014-3145:
The (1) BPF_S_ANC_NLATTR and (2) BPF_S_ANC_NLATTR_NEST extension
implementations in the sk_run_filter function in net/core/filter.c in
the Linux kernel through 3.14.3 do not check whether a certain length
value is sufficiently large, which allows local users to cause a denial
of service (integer underflow and system crash) via crafted BPF
instructions. NOTE: the affected code was moved to the
_skb_get_nlattr and_skb_get_nlattr_nest functions before the
vulnerability was announced.
The BPF_S_ANC_NLATTR_NEST extension implementation in the sk_run_filter function in net/core/filter.c in the Linux kernel through 3.14.3 uses the reverse order in a certain subtraction, which allows local users to cause a denial of service (over-read and system crash) via crafted BPF instructions. NOTE: the affected code was moved to the __skb_get_nlattr_nest function before the vulnerability was announced.
•MLIST:[oss-security] 20140509 Re: CVE request Linux kernel: filter:
prevent nla extensions to peek beyond the end of the message
•URL: http://www.openwall.com/lists/oss-security/2014/05/09/6
•CONFIRM:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=05ab8f2647e4221cbdb3856dd7d32bd5407316b3
•CONFIRM:
https://github.com/torvalds/linux/commit/05ab8f2647e4221cbdb3856dd7d32bd5407316b3
CVE-2014-3153:
Pinkie Pie discovered an issue in the futex subsystem that allows a
local user to gain ring 0 control via the futex syscall. An unprivileged
user could use this flaw to crash the kernel (resulting in denial of
service) or for privilege escalation.
http://seclists.org/oss-sec/2014/q2/467
https://access.redhat.com/security/cve/CVE-2014-3153
https://news.ycombinator.com/item?id=7852701
http://people.canonical.com/~ubuntu-security/cve/2014/CVE-2014-3153.html
(from redmine: issue id 3005, created on 2014-06-06, closed on 2017-05-17)
- Relations:
- parent #3001
- Changesets:
- Revision 4627138b by Natanael Copa on 2014-06-12T09:13:30Z:
main/linux-grsec: upgrade to 3.14.6
fixes #3005