{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-1000112 exists.","fix":"Apply the vendor's patch.","what":"CVE-2017-1000112 is a high-severity memory corruption vulnerability in Linux kernel, published on 4 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-1000112 and fix it if it is affected.\n\nWhat it is: CVE-2017-1000112 is a high-severity memory corruption vulnerability in Linux kernel, published on 4 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-1000112 exists.\n\nAffected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2017-1000112/ (Markdown: https://insights.sbomify.com/CVE-2017-1000112/index.md)","id":"CVE-2017-1000112","markdown":"https://insights.sbomify.com/CVE-2017-1000112/index.md","name":"CVE-2017-1000112","record":{"aliases":["DEBIAN-CVE-2017-1000112","GHSA-r7cm-47vv-77vj","RHSA-2019:1931","RHSA-2019:1932","SUSE-SU-2017:2423-1","SUSE-SU-2017:2424-1","SUSE-SU-2017:2436-1","SUSE-SU-2017:2437-1","SUSE-SU-2017:2438-1","SUSE-SU-2017:2438-2","SUSE-SU-2017:2439-1","SUSE-SU-2017:2440-1","SUSE-SU-2017:2441-1","SUSE-SU-2017:2442-1","SUSE-SU-2017:2443-1","SUSE-SU-2017:2454-1","SUSE-SU-2017:2455-1","SUSE-SU-2017:2456-1","SUSE-SU-2017:2457-1","SUSE-SU-2017:2458-1","SUSE-SU-2017:2464-1","SUSE-SU-2017:2465-1","SUSE-SU-2017:2467-1","SUSE-SU-2017:2469-1","SUSE-SU-2017:2471-1","SUSE-SU-2017:2472-1","SUSE-SU-2017:2473-1","SUSE-SU-2017:2474-1","SUSE-SU-2017:2498-1","SUSE-SU-2017:2499-1","SUSE-SU-2017:2500-1","SUSE-SU-2017:2506-1","SUSE-SU-2017:2508-1","SUSE-SU-2017:2509-1","SUSE-SU-2017:2510-1","SUSE-SU-2017:2511-1","UBUNTU-CVE-2017-1000112"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"A race condition in the Linux kernel network stack allows memory corruption via UFO packet handling, potentially enabling local privilege escalation or code execution.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":7,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"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-\u003elen 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-\u003elen - 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.","ecosystems":["Red Hat:rhel_aus:5.9","Red Hat:rhel_els:5","SUSE:Linux Enterprise Live Patching 12","SUSE:Linux Enterprise Server 12 SP1-LTSS","SUSE:Linux Enterprise Server 12-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP1"],"exploits":{"exploitdb":4,"first_seen":"2017-08-10","github_poc":5,"max_poc_stars":1,"metasploit":1,"nuclei":0,"refs":[{"date":"2020-02-14T13:03:00Z","kind":"github_poc","ref":"https://github.com/ol0273st-s/CVE-2017-1000112-Adpated","stars":1,"title":"POE code for CVE-2017-1000112 adapted to both funtion on a specific VM and Escape a Docker"},{"date":"2020-05-12T17:07:11Z","kind":"github_poc","ref":"https://github.com/IT19083124/SNP-Assignment","stars":1,"title":"Exploit work Privilege Escalation CVE-2017-1000112"},{"date":"2026-02-02T11:43:26Z","kind":"github_poc","ref":"https://github.com/Spydomain/CVE-2017-1000112-PoC","stars":1,"title":null},{"date":"2017-08-10","kind":"metasploit","ref":"exploit/linux/local/ufo_privilege_escalation","stars":null,"title":"Linux Kernel UDP Fragmentation Offset (UFO) Privilege Escalation"},{"date":"2017-08-13","kind":"exploitdb","ref":"43418","stars":null,"title":"Linux Kernel \u003c 4.4.0-83 / \u003c 4.8.0-58 (Ubuntu 14.04/16.04) - Local Privilege Escalation (KASLR / SMEP)"},{"date":"2018-08-03","kind":"exploitdb","ref":"45147","stars":null,"title":"Linux Kernel - UDP Fragmentation Offset 'UFO' Privilege Escalation (Metasploit)"},{"date":"2018-08-03","kind":"exploitdb","ref":"45147","stars":null,"title":"Linux Kernel - UDP Fragmentation Offset 'UFO' Privilege Escalation (Metasploit)"},{"date":"2018-12-29","kind":"exploitdb","ref":"47169","stars":null,"title":"Linux Kernel \u003c 4.4.0/ \u003c 4.8.0 (Ubuntu 14.04/16.04 / Linux Mint 17/18 / Zorin) - Local Privilege Escalation (KASLR / SMEP)"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2017-1000112","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"memory_corruption","year":"2017"},"n_packages":74,"n_references":13,"next":{"headline":"Jenkins Deploy to container Plugin stored plain text passwords in job configuration","id":"CVE-2017-1000113"},"packages":[{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-PAE","purl":"pkg:rpm/redhat/kernel-PAE","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-PAE-debuginfo","purl":"pkg:rpm/redhat/kernel-PAE-debuginfo","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-PAE-devel","purl":"pkg:rpm/redhat/kernel-PAE-devel","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common","purl":"pkg:rpm/redhat/kernel-debuginfo-common","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-headers","purl":"pkg:rpm/redhat/kernel-headers","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-xen","purl":"pkg:rpm/redhat/kernel-xen","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-xen-debuginfo","purl":"pkg:rpm/redhat/kernel-xen-debuginfo","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_aus:5.9","fixed":["0:2.6.18-348.44.1.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-xen-devel","purl":"pkg:rpm/redhat/kernel-xen-devel","source":"RHSA-2019:1932"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-PAE","purl":"pkg:rpm/redhat/kernel-PAE","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-PAE-debuginfo","purl":"pkg:rpm/redhat/kernel-PAE-debuginfo","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-PAE-devel","purl":"pkg:rpm/redhat/kernel-PAE-devel","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common","purl":"pkg:rpm/redhat/kernel-debuginfo-common","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-headers","purl":"pkg:rpm/redhat/kernel-headers","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-kdump","purl":"pkg:rpm/redhat/kernel-kdump","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-kdump-debuginfo","purl":"pkg:rpm/redhat/kernel-kdump-debuginfo","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-kdump-devel","purl":"pkg:rpm/redhat/kernel-kdump-devel","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-xen","purl":"pkg:rpm/redhat/kernel-xen","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-xen-debuginfo","purl":"pkg:rpm/redhat/kernel-xen-debuginfo","source":"RHSA-2019:1931"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:2.6.18-438.el5"],"introduced":["0"],"last_affected":[],"package":"kernel-xen-devel","purl":"pkg:rpm/redhat/kernel-xen-devel","source":"RHSA-2019:1931"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 12","fixed":["9-18.10.1"],"introduced":["0"],"last_affected":[],"package":"kgraft-patch-SLE12-SP2_Update_0","purl":"pkg:rpm/suse/kgraft-patch-SLE12-SP2_Update_0\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012","source":"SUSE-SU-2017:2474-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 12","fixed":["9-2.1"],"introduced":["0"],"last_affected":[],"package":"kgraft-patch-SLE12-SP2_Update_1","purl":"pkg:rpm/suse/kgraft-patch-SLE12-SP2_Update_1\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012","source":"SUSE-SU-2017:2458-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 12","fixed":["3-2.1"],"introduced":["0"],"last_affected":[],"package":"kgraft-patch-SLE12-SP2_Update_10","purl":"pkg:rpm/suse/kgraft-patch-SLE12-SP2_Update_10\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012","source":"SUSE-SU-2017:2472-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 12","fixed":["2-2.1"],"introduced":["0"],"last_affected":[],"package":"kgraft-patch-SLE12-SP2_Update_11","purl":"pkg:rpm/suse/kgraft-patch-SLE12-SP2_Update_11\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012","source":"SUSE-SU-2017:2473-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 12","fixed":["2-2.1"],"introduced":["0"],"last_affected":[],"package":"kgraft-patch-SLE12-SP2_Update_12","purl":"pkg:rpm/suse/kgraft-patch-SLE12-SP2_Update_12\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012","source":"SUSE-SU-2017:2456-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 12","fixed":["8-2.1"],"introduced":["0"],"last_affected":[],"package":"kgraft-patch-SLE12-SP2_Update_2","purl":"pkg:rpm/suse/kgraft-patch-SLE12-SP2_Update_2\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012","source":"SUSE-SU-2017:2454-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 12","fixed":["8-2.1"],"introduced":["0"],"last_affected":[],"package":"kgraft-patch-SLE12-SP2_Update_3","purl":"pkg:rpm/suse/kgraft-patch-SLE12-SP2_Update_3\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012","source":"SUSE-SU-2017:2464-1"}],"prev":{"headline":"Race condition in n/a","id":"CVE-2017-1000111"},"products":["n/a"],"published":"2017-10-04","related":[{"cvss_score":8.8,"headline":"Linux Kernel Out-of-Bounds Write","id":"CVE-2026-53266","kev_date_added":"2026-09-18","published":"2026-06-25"},{"cvss_score":8.8,"headline":"Linux Kernel Improper Input Validation","id":"CVE-2013-6282","kev_date_added":"2022-09-15","published":"2013-11-19"},{"cvss_score":8.4,"headline":"Linux Kernel Heap-Based Buffer Overflow","id":"CVE-2022-0185","kev_date_added":"2024-08-21","published":"2022-02-11"},{"cvss_score":8.4,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2013-2094","kev_date_added":"2022-09-15","published":"2013-05-14"},{"cvss_score":7.8,"headline":"Linux Kernel Unspecified","id":"CVE-2026-53362","kev_date_added":"2026-08-27","published":"2026-07-04"},{"cvss_score":7.8,"headline":"Linux Kernel Missing Initialization of a Variable","id":"CVE-2026-46300","kev_date_added":"2026-10-28","published":"2026-05-23"},{"cvss_score":7.8,"headline":"Linux Kernel Race Condition","id":"CVE-2025-39964","kev_date_added":"2026-09-18","published":"2025-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"A race condition in the Linux kernel network stack allows memory corruption via UFO packet handling, potentially enabling local privilege escalation or code execution.","url":"https://insights.sbomify.com/CVE-2017-1000112/"}