Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-57924

MEDIUM 5.5EPSS 16%

fs: relax assertions on failure to encode file handles

Mitigation

  • Upgrade Linux to 974e3fe0ac61de85015bbe5a4990cf4127b304b2 or later.

Who should check

  • Anyone running Linux >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < 73697928c806fe4689939722184a86fc1c1957b4; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < f47c834a9131ae64bee3c462f4e610c67b0a000f; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < adcde2872f8fc399b249758ae1990dcd53b694ea; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < 974e3fe0ac61de85015bbe5a4990cf4127b304b2
  • Anyone running Linux 3.8

Vulnerability facts

Affected
Linux >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < 73697928c806fe4689939722184a86fc1c1957b4; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < f47c834a9131ae64bee3c462f4e610c67b0a000f; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < adcde2872f8fc399b249758ae1990dcd53b694ea; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < 974e3fe0ac61de85015bbe5a4990cf4127b304b2; Linux 3.8
Fixed in
Linux 73697928c806fe4689939722184a86fc1c1957b4, Linux 974e3fe0ac61de85015bbe5a4990cf4127b304b2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-617
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < 73697928c806fe4689939722184a86fc1c1957b4; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < f47c834a9131ae64bee3c462f4e610c67b0a000f; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < adcde2872f8fc399b249758ae1990dcd53b694ea; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < 974e3fe0ac61de85015bbe5a4990cf4127b304b2—cvelist
Linux3.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-57924. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-57924.md
Affected: Linux >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < 73697928c806fe4689939722184a86fc1c1957b4; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < f47c834a9131ae64bee3c462f4e610c67b0a000f; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < adcde2872f8fc399b249758ae1990dcd53b694ea; >= be77196b809cdce8603a5aa…
Fixed in: Linux 73697928c806fe4689939722184a86fc1c1957b4, Linux 974e3fe0ac61de85015bbe5a4990cf4127b304b2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-57924 being exploited?

There is no confirmed exploitation: CVE-2024-57924 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-57924?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-57924?

Linux >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < 73697928c806fe4689939722184a86fc1c1957b4; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < f47c834a9131ae64bee3c462f4e610c67b0a000f; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < adcde2872f8fc399b249758ae1990dcd53b694ea; >= be77196b809cdce8603a5aadd5e3cfabd3cbef96, < 974e3fe0ac61de85015bbe5a4990cf4127b304b2; Linux 3.8.

Is there a fix for CVE-2024-57924?

Yes. Fixed in Linux 73697928c806fe4689939722184a86fc1c1957b4, Linux 974e3fe0ac61de85015bbe5a4990cf4127b304b2. Upgrade Linux to 974e3fe0ac61de85015bbe5a4990cf4127b304b2 or later.

How do I check if I'm affected by CVE-2024-57924?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors