AOSC-Dev / aosc-os-abbs

ABBS/ACBS tree for AOSC OS package metadata, build configuration, scripts, and patches
https://packages.aosc.io
GNU General Public License v2.0
102 stars 80 forks source link

linux-kernel: CVE-2018-5390 CVE-2018-5391 CVE-2018-13405 #1309

Closed l2dy closed 6 years ago

l2dy commented 6 years ago

Cross-References: DSA-4266-1, DSA-4272-1

CVE-2018-5391 (FragmentSmack)

Juha-Matti Tilli discovered a flaw in the way the Linux kernel
handled reassembly of fragmented IPv4 and IPv6 packets. A remote
attacker can take advantage of this flaw to trigger time and
calculation expensive fragment reassembly algorithms by sending
specially crafted packets, leading to remote denial of service.

This is mitigated by reducing the default limits on memory usage
for incomplete fragmented packets.  The same mitigation can be
achieved without the need to reboot, by setting the sysctls:

net.ipv4.ipfrag_high_thresh = 262144
net.ipv6.ip6frag_high_thresh = 262144
net.ipv4.ipfrag_low_thresh = 196608
net.ipv6.ip6frag_low_thresh = 196608

The default values may still be increased by local configuration
if necessary.
MingcongBai commented 6 years ago

CVE-2018-5390, "SegmentSmack" https://access.redhat.com/security/cve/cve-2018-5390

l2dy commented 6 years ago

Adding CVE-2018-5391 (FragmentSmack).

MingcongBai commented 6 years ago

Fixed with https://github.com/AOSC-Dev/aosc-os-abbs/commit/8c0a5cdc6c60dd21abfd73e305f225e4e78be10b (Main) and https://github.com/AOSC-Dev/aosc-os-abbs/commit/c0da9748e5bdad65ae586558cc85e8acd332c42f (LTS). Closing, please assign two AOSAs.

l2dy commented 6 years ago

Use AOSA-2018-0351 for linux-kernel. Use AOSA-2018-0352 for linux-kernel-lts.