{
  "threat_severity" : "Important",
  "public_date" : "2017-08-10T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: Exploitable memory corruption due to UFO to non-UFO path switch",
    "id" : "1479307",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1479307"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.0",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-122",
  "details" : [ "Linux kernel: Exploitable memory corruption due to UFO to non-UFO path switch. When building a UFO packet with MSG_MORE __ip_append_data() calls ip_ufo_append_data() to append. However in between two send() calls, the append path can be switched from UFO to non-UFO one, which leads to a memory corruption. In case UFO packet lengths exceeds MTU, copy = maxfraglen - skb->len becomes negative on the non-UFO path and the branch to allocate new skb is taken. This triggers fragmentation and computation of fraggap = skb_prev->len - maxfraglen. Fraggap can exceed MTU, causing copy = datalen - transhdrlen - fraggap to become negative. Subsequently skb_copy_and_csum_bits() writes out-of-bounds. A similar issue is present in IPv6 code. The bug was introduced in e89e9cf539a2 (\"[IPv4/IPv6]: UFO Scatter-gather approach\") on Oct 18 2005.", "An exploitable memory corruption flaw was found in the Linux kernel. The append path can be erroneously switched from UFO to non-UFO in ip_ufo_append_data() when building an UFO packet with MSG_MORE option. If unprivileged user namespaces are available, this flaw can be exploited to gain root privileges." ],
  "statement" : "This issue affects the Linux kernel packages as shipped with Red Hat\nEnterprise Linux 5,6, 7 and MRG-2.\nFuture Linux kernel updates for the respective releases may address this issue.",
  "acknowledgement" : "Red Hat would like to thank Andrey Konovalov for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 5.9 Long Life",
    "release_date" : "2019-07-29T00:00:00Z",
    "advisory" : "RHSA-2019:1932",
    "cpe" : "cpe:/o:redhat:rhel_aus:5.9",
    "package" : "kernel-0:2.6.18-348.44.1.el5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 5 Extended Lifecycle Support",
    "release_date" : "2019-07-29T00:00:00Z",
    "advisory" : "RHSA-2019:1931",
    "cpe" : "cpe:/o:redhat:rhel_els:5",
    "package" : "kernel-0:2.6.18-438.el5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "release_date" : "2017-11-14T00:00:00Z",
    "advisory" : "RHSA-2017:3200",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6",
    "package" : "kernel-0:2.6.32-696.16.1.el6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2017-10-19T00:00:00Z",
    "advisory" : "RHSA-2017:2931",
    "cpe" : "cpe:/a:redhat:rhel_extras_rt:7",
    "package" : "kernel-rt-0:3.10.0-693.5.2.rt56.626.el7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2017-10-19T00:00:00Z",
    "advisory" : "RHSA-2017:2930",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "kernel-0:3.10.0-693.5.2.el7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.3 Advanced Update Support",
    "release_date" : "2019-12-10T00:00:00Z",
    "advisory" : "RHSA-2019:4159",
    "cpe" : "cpe:/o:redhat:rhel_aus:7.3",
    "package" : "kernel-0:3.10.0-514.71.1.el7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.3 Telco Extended Update Support",
    "release_date" : "2019-12-10T00:00:00Z",
    "advisory" : "RHSA-2019:4159",
    "cpe" : "cpe:/o:redhat:rhel_tus:7.3",
    "package" : "kernel-0:3.10.0-514.71.1.el7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.3 Update Services for SAP Solutions",
    "release_date" : "2019-12-10T00:00:00Z",
    "advisory" : "RHSA-2019:4159",
    "cpe" : "cpe:/o:redhat:rhel_e4s:7.3",
    "package" : "kernel-0:3.10.0-514.71.1.el7"
  }, {
    "product_name" : "Red Hat Enterprise MRG 2",
    "release_date" : "2017-10-19T00:00:00Z",
    "advisory" : "RHSA-2017:2918",
    "cpe" : "cpe:/a:redhat:enterprise_mrg:2:server:el6",
    "package" : "kernel-rt-1:3.10.0-693.5.2.rt56.592.el6rt"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Affected",
    "package_name" : "kernel-alt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2017-1000112\nhttps://nvd.nist.gov/vuln/detail/CVE-2017-1000112" ],
  "name" : "CVE-2017-1000112",
  "csaw" : false
}