Cloudanix VulnDB

CVE-2024-52560

High · 7.8

CVSS

7.8

EPSS

0.2%

Published

Feb 27, 2025

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in how certain file-system errors are handled could let a bad disk image cause crashes or data problems, but the issue has been fixed for a long time and is unlikely to be exploited.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Moderate
Impact
Denial Of Service
Component
OS kernel
Class
Improper Input Validation
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

The mi_enum_attr() function did not immediately mark the ntfs_inode as bad upon error detection, allowing continued processing of corrupted attribute data.

Why it matters to the business

Systems using affected NTFS3 drivers could experience unexpected file system errors or crashes; the package listed has a long-published fix and low exploitation likelihood so operational risk remains minimal.

How an attack unfolds

An attacker supplies a malformed NTFS image or on-disk structure that triggers an error inside mi_enum_attr(); without immediate inode invalidation the kernel may dereference invalid data leading to a crash or information leak.

How to fix it

Upgrade django-grappelli to version 2.15.2 or later; for Linux kernels apply the referenced commit that adds the ni parameter and marks the inode bad on first error.

How to confirm the fix worked

Confirm the running kernel contains the mi_enum_attr() signature change and that django-grappelli reports version 2.15.2 or higher; attempt to mount a test malformed image and verify the inode is promptly marked bad.

Typical attack path

  1. Mount a specially crafted NTFS volume or image
  2. Trigger enumeration of attributes via normal file-system operations
  3. Force an error path in mi_enum_attr()
  4. Continue using the now-inconsistent inode to induce kernel fault or data corruption

How to detect it

Review kernel logs for ntfs3 error paths around inode enumeration; look for sudden inode invalidation messages or unexpected file-system mounts of external media.

What your security team should do

  • Apply the published fixed version of django-grappelli immediately
  • Update Linux kernels containing the ntfs3 driver to a release that includes the fix
  • Monitor EPSS and KEV status for any future increase in exploit activity

The record

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Mark inode as bad as soon as error detected in mi_enum_attr() Extended the `mi_enum_attr()` function interface with an additional parameter, `struct ntfs_inode *ni`, to allow marking the inode as bad as soon as an error is detected.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard hyperv-daemons-6.12 0 6.12.57-r0
Chainguard linux-aws-6.12-boot-installed 0 6.12.57-r0
Chainguard linux-aws-6.12-fips-boot-installed 0 6.12.57-r0
Chainguard linux-aws-6.12-headers 0 6.12.57-r1
Chainguard linux-aws-6.12-modules 0 6.12.57-r0
Chainguard linux-azure-6.12-boot-installed 0 6.12.57-r0
Chainguard linux-azure-6.12-fips-boot-installed 0 6.12.57-r0
Chainguard linux-azure-6.12-headers 0 6.12.57-r1
Chainguard linux-azure-6.12-modules 0 6.12.57-r0
Chainguard linux-gcp-6.12-boot-installed 0 6.12.57-r0
Chainguard linux-gcp-6.12-fips-boot-installed 0 6.12.57-r0
Chainguard linux-gcp-6.12-headers 0 6.12.57-r1
Chainguard linux-gcp-6.12-modules 0 6.12.57-r1
Chainguard linux-qemu-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-qemu-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-qemu-6.12-headers 0 6.12.63-r0
Chainguard linux-qemu-6.12-modules 0 6.12.63-r0
Chainguard linux-vmware-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-vmware-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-vmware-6.12-headers 0 6.12.63-r0
Chainguard linux-vmware-6.12-modules 0 6.12.63-r0
Debian:11 linux 0 No fix
Debian:12 linux 0 No fix
Debian:13 linux 0 No fix
Debian:14 linux 0 6.16.3-1
Linux Kernel 5.15.0 6.13.4

Related vulnerabilities