cve.bz

CVE-2017-18249 Race Condition

7.0 highEPSS 0.3%Fix available

High (7.0). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.0 high
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-18249 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-18249?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-18249?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-18249 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 4.12
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux-4.94.9.144-3.1~deb8u1DLA-1715-1
Debian12, 13, 14linux4.12.6-1DEBIAN-CVE-2017-18249
Ubuntu14.04:LTSlinux-aws4.4.0-1040.43UBUNTU-CVE-2017-18249 USN-3932-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-144.170~14.04.1UBUNTU-CVE-2017-18249 USN-3932-2
Ubuntu16.04:LTSlinux4.4.0-145.171UBUNTU-CVE-2017-18249 USN-3932-1
Ubuntu16.04:LTSlinux-aws4.4.0-1079.89UBUNTU-CVE-2017-18249 USN-3932-1
Ubuntu16.04:LTSlinux-azure4.13.0-1005.7UBUNTU-CVE-2017-18249
Ubuntu16.04:LTSlinux-gcp4.13.0-1002.5UBUNTU-CVE-2017-18249
Ubuntu16.04:LTSlinux-hwe4.13.0-32.35~16.04.1UBUNTU-CVE-2017-18249
Ubuntu16.04:LTSlinux-kvm4.4.0-1043.49UBUNTU-CVE-2017-18249 USN-3932-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1106.114UBUNTU-CVE-2017-18249 USN-3932-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1110.115UBUNTU-CVE-2017-18249 USN-3932-1
Ubuntu18.04:LTSlinux-snapdragon4.15.0-1053.57UBUNTU-CVE-2017-18249
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 1 moreno fix listedUBUNTU-CVE-2017-18249
5 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.121-92.85.1SUSE-SU-2018:1855-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekgraft-patch-SLE12-SP2_Update_231-3.5.1SUSE-SU-2018:1855-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-source, kernel-default4.4.138-94.39.1SUSE-SU-2018:1772-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.138-94.39.1SUSE-SU-2018:1772-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_141-4.5.1SUSE-SU-2018:1772-1
SUSELinux Enterprise Real Time 12 SP3kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more4.4.138-3.14.1SUSE-SU-2018:1816-1
SUSELinux Enterprise Real Time 12 SP3kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more4.4.172-3.35.1SUSE-SU-2019:0470-1
SUSELinux Enterprise Server 12 SP2-BCLkernel-syms, kernel-source, kernel-default4.4.121-92.85.1SUSE-SU-2018:1855-2
SUSELinux Enterprise Server 12 SP2-BCLkgraft-patch-SLE12-SP2_Update_231-3.5.1SUSE-SU-2018:1855-2
SUSELinux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-azure, kernel-syms-azure, kernel-source-azure4.4.176-4.25.1SUSE-SU-2019:0901-1
SUSELinux Enterprise Software Development Kit 12 SP3kernel-docs, kernel-obs-build4.4.138-94.39.1SUSE-SU-2018:1772-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise MRG 2realtime-kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-18249.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON