oss-sec mailing list archives
CVE-2017-7184: kernel: Local privilege escalation in XFRM framework
From: Tyler Hicks <tyhicks () canonical com>
Date: Wed, 29 Mar 2017 16:43:28 -0500
A security issue was reported by ZDI, on behalf of Chaitin Security Research Lab, against the Linux kernel in Ubuntu. It also affected the upstream kernel. Chaitin Security Research Lab discovered that xfrm_replay_verify_len(), as called by xfrm_new_ae(), did not verify that the user-specified replay_window was within the replay state buffer. This allowed for out-of-bounds reads and writes of kernel memory. Chaitin Security showed that this can lead to local privilege escalation by using user namespaces in order to configure XFRM. XFRM configuration requires CAP_NET_ADMIN so this issue is mitigated in kernels which do not enable user namespaces by default. Fixes: - https://git.kernel.org/linus/677e806da4d916052585301785d847c3b3e6186a - https://git.kernel.org/linus/f843ee6dd019bcece3e74e76ad9df0155655d0df Tyler
Attachment:
signature.asc
Description: OpenPGP digital signature
Current thread:
- CVE-2017-7184: kernel: Local privilege escalation in XFRM framework Tyler Hicks (Mar 29)
- Re: CVE-2017-7184: kernel: Local privilege escalation in XFRM framework Lokesh Ubuntu (Mar 29)
- Re: CVE-2017-7184: kernel: Local privilege escalation in XFRM framework Tyler Hicks (Mar 30)
- Re: CVE-2017-7184: kernel: Local privilege escalation in XFRM framework Lokesh Ubuntu (Mar 29)