Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-57924 — kernel

🟡 CVSS 5.5 — Medium ✅ No Known Exploit NVD
5.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

fs: relax assertions on failure to encode file handles

In the Linux kernel, the following vulnerability has been resolved:

fs: relax assertions on failure to encode file handles

Encoding file handles is usually performed by a filesystem >encode_fh()

method that may fail for various reasons.

The legacy users of exportfs_encode_fh(), namely, nfsd and

name_to_handle_at(2) syscall are ready to cope with the possibility

of failure to encode a file handle.

There are a few other users of exportfs_encode_{fh,fid}() that

currently have a WARN_ON() assertion when ->encode_fh() fails.

Relax those assertions because they are wrong.

The second linked bug report states commit 16aac5ad1fa9 ("ovl: support

encoding non-decodable file handles") in v6.6 as the regressing commit,

but this is not accurate.

The aforementioned commit only increases the chances of the assertion

and allows triggering the assertion with the reproducer using overlayfs,

inotify and drop_caches.

Triggering this assertion was always possible with other filesystems and

other reasons of ->encode_fh() failures and more particularly, it was

also possible with the exact same reproducer using overlayfs that is

mounted with options index=on,nfs_export=on also on kernels < v6.6.

Therefore, I am not listing the aforementioned commit as a Fixes commit.

Backport hint: this patch will have a trivial conflict applying to

v6.6.y, and other trivial conflicts applying to stable kernels < v6.6.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

Affected software

CVE-2024-57924 is recorded against 2 packages.

  • kernel (from 6.7.0 up to 6.12.10)
  • linux-kernel

Timeline and source

Published on 19 January 2025 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

cert-portal.siemens.com (Web)
cert-portal.siemens.com (Web)
cert-portal.siemens.com (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
lists.debian.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

CVE-2024-57924 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Medium
CVSS Score 5.5
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-01-19
Updated 2026-08-20
Modified 2026-08-12

Affected Packages

Software From version Fixed in
kernel 6.7.0 6.12.10
linux-kernel

References

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in kernel

CVE-2024-57924 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.