Description
An issue was discovered in fs/xfs/xfs_icache.c in the Linux kernel through 4.17.3. There is a NULL pointer dereference and panic in lookup_slow() on a NULL inode->i_ops pointer when doing pathwalks on a corrupted xfs image. This occurs because of a lack of proper validation that cached inodes are free during allocation.
References (8)
Core 8
Core References
Patch, Third Party Advisory x_refsource_misc
https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git/commit/?h=for-next&id=afca6c5b2595fc44383919fba740c194b0b76aff
Patch x_refsource_misc
https://github.com/torvalds/linux/commit/afca6c5b2595fc44383919fba740c194b0b76aff
Issue Tracking, Third Party Advisory x_refsource_misc
https://bugzilla.kernel.org/show_bug.cgi?id=199367
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2043
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2029
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4094-1/
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4118-1/
Mailing List mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/03/msg00001.html
Scores
CVSS v3
5.5
EPSS
0.0014
EPSS Percentile
33.0%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (1)
linux/linux_kernel
< 4.17.3
Published
Jul 03, 2018
Tracked Since
Feb 18, 2026