# CVE-2017-5970: Null dereference in n/a

> Attackers can cause a system crash in the Linux kernel via crafted system calls or invalid IPv4 traffic due to a null pointer dereference.

- **Severity:** High 7.5 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 14 Feb 2017
- **Updated:** 5 Aug 2024
- **Also known as:** DEBIAN-CVE-2017-5970, GHSA-fcp9-4hp5-3cww, SUSE-SU-2017:0517-1, SUSE-SU-2017:0759-1, SUSE-SU-2017:0760-1, SUSE-SU-2017:0762-1, SUSE-SU-2017:0763-1, SUSE-SU-2017:0764-1, SUSE-SU-2017:0766-1, SUSE-SU-2017:0767-1, SUSE-SU-2017:0768-1, SUSE-SU-2017:0769-1, SUSE-SU-2017:0770-1, SUSE-SU-2017:0771-1, SUSE-SU-2017:0772-1, SUSE-SU-2017:0773-1, SUSE-SU-2017:0774-1, SUSE-SU-2017:0775-1, SUSE-SU-2017:0776-1, SUSE-SU-2017:0777-1, SUSE-SU-2017:0778-1, SUSE-SU-2017:0779-1, SUSE-SU-2017:0780-1, SUSE-SU-2017:0781-1, SUSE-SU-2017:0786-1, UBUNTU-CVE-2017-5970

## What is CVE-2017-5970?

CVE-2017-5970 is a high-severity vulnerability in Linux kernel, published on 14 Feb 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

The ipv4_pktinfo_prepare function in net/ipv4/ip_sockglue.c in the Linux kernel through 4.9.9 allows attackers to cause a denial of service (system crash) via (1) an application that makes crafted system calls or possibly (2) IPv4 traffic with invalid IP options.

Weakness: CWE-476 (NULL Pointer Dereference)

## Which versions are affected by CVE-2017-5970?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `kernel-default` | SUSE:Linux Enterprise Desktop 12 SP1 | All versions | 3.12.69-60.64.32.1 |
| `kernel-source` | SUSE:Linux Enterprise Desktop 12 SP1 | All versions | 3.12.69-60.64.32.1 |
| `kernel-syms` | SUSE:Linux Enterprise Desktop 12 SP1 | All versions | 3.12.69-60.64.32.1 |
| `kernel-xen` | SUSE:Linux Enterprise Desktop 12 SP1 | All versions | 3.12.69-60.64.32.1 |
| `kgraft-patch-SLE12-SP1_Update_10` | SUSE:Linux Enterprise Live Patching 12 | All versions | 4-2.1 |
| `kgraft-patch-SLE12-SP1_Update_11` | SUSE:Linux Enterprise Live Patching 12 | All versions | 3-2.1 |
| `kgraft-patch-SLE12-SP1_Update_12` | SUSE:Linux Enterprise Live Patching 12 | All versions | 2-2.1 |
| `kgraft-patch-SLE12-SP1_Update_13` | SUSE:Linux Enterprise Live Patching 12 | All versions | 1-2.1 |
| `kgraft-patch-SLE12-SP1_Update_4` | SUSE:Linux Enterprise Live Patching 12 | All versions | 8-2.1 |
| `kgraft-patch-SLE12-SP1_Update_5` | SUSE:Linux Enterprise Live Patching 12 | All versions | 8-2.1 |
| `kgraft-patch-SLE12-SP1_Update_6` | SUSE:Linux Enterprise Live Patching 12 | All versions | 8-2.1 |
| `kgraft-patch-SLE12-SP1_Update_7` | SUSE:Linux Enterprise Live Patching 12 | All versions | 7-2.1 |
| `kgraft-patch-SLE12-SP1_Update_8` | SUSE:Linux Enterprise Live Patching 12 | All versions | 6-2.1 |
| `kgraft-patch-SLE12-SP1_Update_9` | SUSE:Linux Enterprise Live Patching 12 | All versions | 5-2.1 |
| `kgraft-patch-SLE12-SP2_Update_0` | SUSE:Linux Enterprise Live Patching 12 | All versions | 4-11.1 |
| `kgraft-patch-SLE12-SP2_Update_1` | SUSE:Linux Enterprise Live Patching 12 | All versions | 4-2.1 |
| `kgraft-patch-SLE12-SP2_Update_2` | SUSE:Linux Enterprise Live Patching 12 | All versions | 3-2.1 |
| `kgraft-patch-SLE12-SP2_Update_3` | SUSE:Linux Enterprise Live Patching 12 | All versions | 3-2.1 |
| `kgraft-patch-SLE12-SP2_Update_4` | SUSE:Linux Enterprise Live Patching 12 | All versions | 3-2.1 |
| `kernel-ec2` | SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 3.12.69-60.64.32.1 |
| `kernel-default` | SUSE:Linux Enterprise Server 12 SP1 | All versions | 3.12.69-60.64.32.1 |
| `kernel-source` | SUSE:Linux Enterprise Server 12 SP1 | All versions | 3.12.69-60.64.32.1 |
| `kernel-syms` | SUSE:Linux Enterprise Server 12 SP1 | All versions | 3.12.69-60.64.32.1 |
| `kernel-xen` | SUSE:Linux Enterprise Server 12 SP1 | All versions | 3.12.69-60.64.32.1 |
| `kgraft-patch-SLE12_Update_12` | SUSE:Linux Enterprise Server 12-LTSS | All versions | 7-2.1 |
| `kgraft-patch-SLE12_Update_13` | SUSE:Linux Enterprise Server 12-LTSS | All versions | 7-2.1 |
| `kgraft-patch-SLE12_Update_14` | SUSE:Linux Enterprise Server 12-LTSS | All versions | 7-2.1 |
| `kgraft-patch-SLE12_Update_15` | SUSE:Linux Enterprise Server 12-LTSS | All versions | 7-2.1 |
| `kgraft-patch-SLE12_Update_16` | SUSE:Linux Enterprise Server 12-LTSS | All versions | 4-2.1 |
| `kgraft-patch-SLE12_Update_17` | SUSE:Linux Enterprise Server 12-LTSS | All versions | 3-2.1 |
| `kgraft-patch-SLE12_Update_18` | SUSE:Linux Enterprise Server 12-LTSS | All versions | 3-2.1 |
| `kgraft-patch-SLE12_Update_19` | SUSE:Linux Enterprise Server 12-LTSS | All versions | 2-2.1 |
| `kgraft-patch-SLE12_Update_12` | SUSE:Linux Enterprise Server for SAP Applications 12 | All versions | 7-2.1 |
| `kgraft-patch-SLE12_Update_13` | SUSE:Linux Enterprise Server for SAP Applications 12 | All versions | 7-2.1 |
| `kgraft-patch-SLE12_Update_14` | SUSE:Linux Enterprise Server for SAP Applications 12 | All versions | 7-2.1 |
| `kgraft-patch-SLE12_Update_15` | SUSE:Linux Enterprise Server for SAP Applications 12 | All versions | 7-2.1 |
| `kgraft-patch-SLE12_Update_16` | SUSE:Linux Enterprise Server for SAP Applications 12 | All versions | 4-2.1 |
| `kgraft-patch-SLE12_Update_17` | SUSE:Linux Enterprise Server for SAP Applications 12 | All versions | 3-2.1 |
| `kgraft-patch-SLE12_Update_18` | SUSE:Linux Enterprise Server for SAP Applications 12 | All versions | 3-2.1 |
| `kgraft-patch-SLE12_Update_19` | SUSE:Linux Enterprise Server for SAP Applications 12 | All versions | 2-2.1 |

Products: Linux kernel.

## How do I fix CVE-2017-5970?

Apply the vendor's patch.

## Is CVE-2017-5970 being exploited?

There is no known exploitation of CVE-2017-5970 in the wild and no public exploit code.

## Other vulnerabilities in Linux kernel

- [CVE-2026-53266](https://insights.sbomify.com/CVE-2026-53266/): Linux Kernel Out-of-Bounds Write (high 8.8, exploited in the wild)
- [CVE-2013-6282](https://insights.sbomify.com/CVE-2013-6282/): Linux Kernel Improper Input Validation (high 8.8, exploited in the wild)
- [CVE-2022-0185](https://insights.sbomify.com/CVE-2022-0185/): Linux Kernel Heap-Based Buffer Overflow (high 8.4, exploited in the wild)
- [CVE-2013-2094](https://insights.sbomify.com/CVE-2013-2094/): Linux Kernel Privilege Escalation (high 8.4, exploited in the wild)
- [CVE-2026-53362](https://insights.sbomify.com/CVE-2026-53362/): Linux Kernel Unspecified (high 7.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-5970 and fix it if it is affected.

What it is: CVE-2017-5970 is a high-severity vulnerability in Linux kernel, published on 14 Feb 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2017-5970 in the wild and no public exploit code.

Affected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2017-5970/ (Markdown: https://insights.sbomify.com/CVE-2017-5970/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2017-5970
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-5970
- OSV: https://osv.dev/vulnerability/CVE-2017-5970

---
From sbomify Insights: https://insights.sbomify.com/CVE-2017-5970/
Summaries are generated and may contain mistakes; the official description above is the record.
