Skip to content
Fencer Intel
high 7.0

CVE-2017-18249 json

The add_free_nid function in fs/f2fs/node.c in the Linux kernel before 4.12 does not properly track an allocated nid, which allows local us…

published 2018-03-26 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-9380

cvss
7.0
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 23%
public exploits
0
none known

Summary

The add_free_nid function in fs/f2fs/node.c in the Linux kernel before 4.12 does not properly track an allocated nid, which allows local users to cause a denial of service (race condition) or possibly have unspecified other impact via concurrent threads.

Patch / fix

  • linux linux_kernel 4.12
  • linux Debian 14, Debian 13, Debian 12 4.12.6-1

debian advisories DEBIAN-CVE-2017-18249

  • linux Ubuntu 16.04 LTS 4.4.0-145.171
  • linux-aws Ubuntu 14.04 LTS 4.4.0-1040.43
  • linux-aws Ubuntu 16.04 LTS 4.4.0-1079.89
  • linux-gcp Ubuntu 16.04 LTS 4.13.0-1002.5
  • linux-hwe Ubuntu 16.04 LTS 4.13.0-32.35~16.04.1
  • linux-kvm Ubuntu 16.04 LTS 4.4.0-1043.49
  • linux-azure Ubuntu 16.04 LTS 4.13.0-1005.7
  • linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1106.114

ubuntu advisories UBUNTU-CVE-2017-18249

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-azure SLES for SAP 12 SP3, SLES 12 SP3 4.4.176-4.25.1
  • kernel-syms-azure SLES for SAP 12 SP3, SLES 12 SP3 4.4.176-4.25.1
  • kernel-source-azure SLES for SAP 12 SP3, SLES 12 SP3 4.4.176-4.25.1
  • kernel-rt SLE Real Time 12 SP3 4.4.172-3.35.1
  • kernel-syms-rt SLE Real Time 12 SP3 4.4.172-3.35.1
  • kernel-rt_debug SLE Real Time 12 SP3 4.4.172-3.35.1
  • kernel-source-rt SLE Real Time 12 SP3 4.4.172-3.35.1
  • kernel-syms SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 4.4.121-92.85.1

suse advisories SUSE-SU-2019:0901-1SUSE-SU-2019:0470-1SUSE-SU-2018:1855-2SUSE-SU-2018:1855-1SUSE-SU-2018:1816-1SUSE-SU-2018:1772-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-18249 updated cvss 5.5

kernel: Race condition in fs/f2fs/node.c:add_free_nid() function allows local users to cause denial of service

  • Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmware
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 7.0 CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.