CVE-2024-42104

Kernel memory corruption via unchecked metadata inode numbers

Published Jul 30, 2024 · Updated Aug 5, 2026

Use-after-free in Linux 2.6.30 and later affected branches allows local users to crash the kernel via a crafted NILFS2 image. nilfs_check_folio accepts reserved metadata inode numbers from directory entries, letting nilfs_iget return a live metadata inode that nilfs_evict_inode later deletes while still in use. Exploitation requires local access to mount or attach the image and perform ordinary file operations; the stale inode can expose or alter kernel memory and reliably panic the system.

CVSS severity7.8
High
EPSS probability0.26%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in Linux 2.6.30 and later affected branches allows local users to crash the kernel via a crafted NILFS2 image. nilfs_check_folio accepts reserved metadata inode numbers from directory entries, letting nilfs_iget return a live metadata inode that nilfs_evict_inode later deletes while still in use. Exploitation requires local access to mount or attach the image and perform ordinary file operations; the stale inode can expose or alter kernel memory and reliably panic the system.

The record

CVE
CVE-2024-42104
Published
Jul 30, 2024
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jul 30, 2024CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=2.6.30
  2. Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <07c176e7acc5579c133bb923ab21316d192d0a95
  3. Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <1b7d549ed2c1fa202c751b69423a0d3a6bd5a180
  4. Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <265fff1a01cdc083aeaf0d934c929db5cc64aebf
  5. Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <2f2fa9cf7c3537958a82fbe8c8595a5eb0861ad7
  6. Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <3ab40870edb883b9633dc5cd55f5a2a11afa618d
  7. Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <b11e8fb93ea5eefb2e4e719497ea177a58ff6131
  8. Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <bb76c6c274683c8570ad788f79d4b875bde0e458
  9. Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <c33c2b0d92aa1c2262d999b2598ad6fbd53bd479

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=2.6.30; version=2ba466d74ed74f073257f86e61519cb8f8f46184 <07c176e7acc5579c133bb923ab21316d192d0a95; version=2ba466d74ed74f073257f86e61519cb8f8f46184 <1b7d549ed2c1fa202c751b69423a0d3a6bd5a180; version=2ba466d74ed74f073257f86e61519cb8f8f46184 <265fff1a01cdc083aeaf0d934c929db5cc64aebf; version=2ba466d74ed74f073257f86e61519cb8f8f46184 <2f2fa9cf7c3537958a82fbe8c8595a5eb0861ad7; version=2ba466d74ed74f073257f86e61519cb8f8f46184 <3ab40870edb883b9633dc5cd55f5a2a11afa618d; version=2ba466d74ed74f073257f86e61519cb8f8f46184 <b11e8fb93ea5eefb2e4e719497ea177a58ff6131; version=2ba466d74ed74f073257f86e61519cb8f8f46184 <bb76c6c274683c8570ad788f79d4b875bde0e458; version=2ba466d74ed74f073257f86e61519cb8f8f46184 <c33c2b0d92aa1c2262d999b2598ad6fbd53bd479

Published CVSS scores

7.8LinuxCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo