CVE-2018-13097
Published: 3 July 2018
An issue was discovered in fs/f2fs/super.c in the Linux kernel through 4.17.3. There is an out-of-bounds read or a divide-by-zero error for an incorrect user_block_count in a corrupted f2fs image, leading to a denial of service (BUG).
From the Ubuntu Security Team
Wen Xu discovered that the f2fs file system implementation in the Linux kernel did not properly validate metadata. An attacker could use this to construct a malicious f2fs image that, when mounted, could cause a denial of service (system crash).
Notes
Author | Note |
---|---|
sbeattie | fixing git commit subject: "f2fs: fix to do sanity check with user_block_count" |
tyhicks | The affected user base for this issue is likely small since f2fs is not the default filesystem and it is not widely used in Ubuntu |
Priority
Status
Package | Release | Status |
---|---|---|
linux Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Released
(4.15.0-58.64)
|
|
cosmic |
Ignored
(end of life)
|
|
disco |
Not vulnerable
(4.19.0-12.13)
|
|
trusty |
Ignored
(was needed ESM criteria)
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Released
(4.4.0-145.171)
|
|
Patches: Introduced by 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 |
||
linux-aws Launchpad, Ubuntu, Debian |
upstream |
Released
(4.19~rc1)
|
trusty |
Released
(4.4.0-1040.43)
|
|
xenial |
Released
(4.4.0-1079.89)
|
|
artful |
Does not exist
|
|
bionic |
Released
(4.15.0-1047.49)
|
|
cosmic |
Ignored
(end of life)
|
|
disco |
Not vulnerable
(5.0.0-1001.1)
|
|
linux-euclid Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Ignored
(was needed ESM criteria)
|
|
linux-aws-hwe Launchpad, Ubuntu, Debian |
upstream |
Released
(4.19~rc1)
|
trusty |
Does not exist
|
|
xenial |
Released
(4.15.0-1047.49~16.04.1)
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
linux-azure Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(5.0.0-1014.14~18.04.1)
|
|
cosmic |
Ignored
(end of life)
|
|
disco |
Not vulnerable
(5.0.0-1001.1)
|
|
trusty |
Ignored
(was needed ESM criteria)
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Released
(4.15.0-1055.60)
|
|
linux-azure-edge Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(5.0.0-1014.14~18.04.1)
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Released
(4.15.0-1055.60)
|
|
linux-flo Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Ignored
(abandoned)
|
|
linux-gcp Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(4.15.0-1040.42)
|
|
cosmic |
Ignored
(end of life)
|
|
disco |
Not vulnerable
(5.0.0-1001.1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Released
(4.15.0-1040.42~16.04.1)
|
|
linux-gcp-edge Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1040.42)
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-gke Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Ignored
(end of standard support)
|
|
linux-gke-4.15 Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1040.42)
|
disco |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-gke-5.0 Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(5.0.0-1011.11~18.04.1)
|
disco |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-goldfish Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Ignored
(end of life)
|
|
linux-grouper Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-hwe Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(5.0.0-23.24~18.04.1)
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Released
(4.15.0-58.64~16.04.1)
|
|
linux-hwe-edge Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Not vulnerable
(5.0.0-15.16~18.04.1)
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Released
(4.15.0-58.64~16.04.1)
|
|
linux-kvm Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(4.15.0-1042.42)
|
|
cosmic |
Ignored
(end of life)
|
|
disco |
Not vulnerable
(5.0.0-1001.1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Released
(4.4.0-1043.49)
|
|
linux-lts-trusty Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-lts-utopic Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Ignored
(end of life, was ignored)
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-lts-vivid Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Ignored
(end of life, was ignored)
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-lts-wily Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Ignored
(end of life, was ignored)
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-lts-xenial Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Released
(4.4.0-144.170~14.04.1)
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-maguro Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-mako Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Ignored
(abandoned)
|
|
linux-manta Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Does not exist
|
|
linux-oem Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(4.15.0-1050.57)
|
|
cosmic |
Ignored
(end of life)
|
|
disco |
Released
(4.15.0-1050.57)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Ignored
(end of standard support, was needed)
|
|
linux-oracle Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1021.23)
|
cosmic |
Ignored
(end of life)
|
|
disco |
Released
(5.0.0-1004.8)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Released
(4.15.0-1021.23~16.04.1)
|
|
linux-raspi2 Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Released
(4.15.0-1043.46)
|
|
cosmic |
Ignored
(end of life)
|
|
disco |
Not vulnerable
(5.0.0-1004.4)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Released
(4.4.0-1106.114)
|
|
linux-snapdragon Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Released
(4.15.0-1060.66)
|
|
cosmic |
Does not exist
|
|
disco |
Not vulnerable
(5.0.0-1010.10)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.19~rc1)
|
|
xenial |
Released
(4.4.0-1110.115)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.5 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-13097
- https://bugzilla.kernel.org/show_bug.cgi?id=200171
- https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?h=f2fs-dev&id=78bbd741456e31e0acb983283a8d3993ba859c15
- https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?h=f2fs-dev&id=9dc956b2c8523aed39d1e6508438be9fea28c8fc
- https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=dev&id=9dc956b2c8523aed39d1e6508438be9fea28c8fc
- https://ubuntu.com/security/notices/USN-3932-1
- https://ubuntu.com/security/notices/USN-3932-2
- https://ubuntu.com/security/notices/USN-4094-1
- https://ubuntu.com/security/notices/USN-4118-1
- NVD
- Launchpad
- Debian