CVE-2017-18257 json
The __get_data_block function in fs/f2fs/data.c in the Linux kernel before 4.11 allows local users to cause a denial of service (integer ov…
published 2018-04-04 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-9388
- cvss
- 5.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
The __get_data_block function in fs/f2fs/data.c in the Linux kernel before 4.11 allows local users to cause a denial of service (integer overflow and loop) via crafted use of the open and fallocate system calls with an FS_IOC_FIEMAP ioctl.
Patch / fix
- linux linux_kernel 4.11
- linux Debian 14, Debian 13, Debian 12 4.11.6-1
debian advisories DEBIAN-CVE-2017-18257
- linux Ubuntu 16.04 LTS 4.4.0-130.156
- linux-aws Ubuntu 14.04 LTS 4.4.0-1024.25
- linux-aws Ubuntu 16.04 LTS 4.4.0-1062.71
- 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-1029.34
- linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1092.100
- linux-lts-xenial Ubuntu 14.04 LTS 4.4.0-130.156~14.04.1
ubuntu advisories UBUNTU-CVE-2017-18257
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-syms SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 4.4.121-92.73.1
- kernel-source SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 4.4.121-92.73.1
- kernel-default SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 4.4.121-92.73.1
- kgraft-patch-SLE12-SP2_Update_21 SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 1-3.3.1
- kernel-rt SLE Real Time 12 SP3 4.4.128-3.11.1
- kernel-syms-rt SLE Real Time 12 SP3 4.4.128-3.11.1
- kernel-rt_debug SLE Real Time 12 SP3 4.4.128-3.11.1
- kernel-source-rt SLE Real Time 12 SP3 4.4.128-3.11.1
suse advisories SUSE-SU-2018:1173-2SUSE-SU-2018:1217-1SUSE-SU-2018:1173-1SUSE-SU-2018:1048-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-18257 updated cvss 3.3
kernel: Inifinite loop caused by integer overflow in fs/f2fs/data.c:__get_data_block() allows for 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-firmwarenot 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.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.9 | AV:L/AC:L/Au:N/C:N/I:N/A:C |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
- Technology feeds
References
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b86e33075ed1909d8002745b56ecf73b833db143
patch
-
github.com
/torvalds/linux/commit/b86e33075ed1909d8002745b56ecf73b833db143
patch
-
usn.ubuntu.com
/3696-1/
vendor-advisory
-
debian.org
/security/2018/dsa-4188
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3696-2/
vendor-advisory
Sources
- CVE List CVE-2017-18257
- NVD CVE-2017-18257
Fencer Vulns 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.