ALAS-2017-811

Related Vulnerabilities: CVE-2017-6347   CVE-2017-7184  

The skbs processed by ip_cmsg_recv() are not guaranteed to be linear (e.g. when sending UDP packets over loopback with MSGMORE). Using csum_partial() on potentially the whole skb len is dangerous; instead be on the safe side and use skb_checksum(). This may lead to an infoleak as the kernel memory may be checksummed and sent as part of the packet. (CVE-2017-6347) It was 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.(CVE-2017-7184)

ALAS-2017-811


Amazon Linux AMI Security Advisory: ALAS-2017-811
Advisory Release Date: 2017-03-29 17:59 Pacific
Advisory Updated Date: 2017-03-29 22:53 Pacific
Severity: Important

Issue Overview:

The skbs processed by ip_cmsg_recv() are not guaranteed to be linear (e.g. when sending UDP packets over loopback with MSGMORE). Using csum_partial() on potentially the whole skb len is dangerous; instead be on the safe side and use skb_checksum(). This may lead to an infoleak as the kernel memory may be checksummed and sent as part of the packet. (CVE-2017-6347)

It was 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.(CVE-2017-7184)


Affected Packages:

kernel


Issue Correction:
Run yum update kernel to update your system.

New Packages:
i686:
    kernel-tools-devel-4.4.51-40.60.amzn1.i686
    kernel-devel-4.4.51-40.60.amzn1.i686
    kernel-headers-4.4.51-40.60.amzn1.i686
    kernel-tools-debuginfo-4.4.51-40.60.amzn1.i686
    kernel-4.4.51-40.60.amzn1.i686
    kernel-debuginfo-4.4.51-40.60.amzn1.i686
    perf-4.4.51-40.60.amzn1.i686
    kernel-debuginfo-common-i686-4.4.51-40.60.amzn1.i686
    kernel-tools-4.4.51-40.60.amzn1.i686
    perf-debuginfo-4.4.51-40.60.amzn1.i686

noarch:
    kernel-doc-4.4.51-40.60.amzn1.noarch

src:
    kernel-4.4.51-40.60.amzn1.src

x86_64:
    kernel-debuginfo-4.4.51-40.60.amzn1.x86_64
    kernel-tools-4.4.51-40.60.amzn1.x86_64
    perf-debuginfo-4.4.51-40.60.amzn1.x86_64
    kernel-4.4.51-40.60.amzn1.x86_64
    kernel-headers-4.4.51-40.60.amzn1.x86_64
    kernel-tools-devel-4.4.51-40.60.amzn1.x86_64
    kernel-devel-4.4.51-40.60.amzn1.x86_64
    perf-4.4.51-40.60.amzn1.x86_64
    kernel-tools-debuginfo-4.4.51-40.60.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.4.51-40.60.amzn1.x86_64