LiveActive security incident?Get immediate response
CVE Record

CVE-2024-47669: nilfs2: fix state management in error path of log writing function

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix state management in error path of log writing function After commit a694291a6211 ("nilfs2: separate wait function from nilfs_segctor_write") was applied, the log writing function nilfs_segctor_do_construct() was able to issue I/O requests continuously even if user data blocks were split into multiple logs across segments, but two potential flaws were introduced in its error handling. First, if nilfs_segctor_begin_construction() fails while creating the second or subsequent logs, the log writing function returns without calling nilfs_segctor_abort_construction(), so the writeback flag set on pages/folios will remain uncleared. This causes page cache operations to hang waiting for the writeback flag. For example, truncate_inode_pages_final(), which is called via nilfs_evict_inode() when an inode is evicted from memory, will hang. Second, the NILFS_I_COLLECTED flag set on normal inodes remain uncleared. As a result, if the next log write involves checkpoint creation, that's fine, but if a partial log write is performed that does not, inodes with NILFS_I_COLLECTED set are erroneously removed from the "sc_dirty_files" list, and their data and b-tree blocks may not be written to the device, corrupting the block mapping. Fix these issues by uniformly calling nilfs_segctor_abort_construction() on failure of each step in the loop in nilfs_segctor_do_construct(), having it clean up logs and segment usages according to progress, and correcting the conditions for calling nilfs_redirty_inodes() to ensure that the NILFS_I_COLLECTED flag is cleared.

HighCVSS 7.3Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A flaw in Linux’s NILFS2 filesystem error handling can leave file operations permanently waiting or cause filesystem block-mapping corruption. It matters primarily where affected kernels actively use NILFS2. The supplied CVSS score is 7.3, reflecting potentially serious integrity and availability impact from a local, low-privileged context.

Executive priority

Treat as a high-priority reliability and integrity issue on systems using NILFS2, especially where filesystem corruption would disrupt critical services. Scope NILFS2 usage first, then patch exposed hosts through supported kernel channels. Lower priority is reasonable for systems demonstrably not using NILFS2.

Technical view

During multi-log construction, certain failures could bypass construction cleanup. Writeback flags and NILFS_I_COLLECTED could remain set, causing page-cache hangs or incorrect dirty-inode removal. Data and B-tree blocks might then remain unwritten, corrupting block mappings. The fix consistently aborts failed construction and corrects inode-redirtying conditions.

Likely exposure

Exposure requires an affected Linux kernel and relevant NILFS2 filesystem activity. Systems not using NILFS2 are unlikely to reach the vulnerable path. The supplied version data is not sufficiently clear for reliable package-level conclusions, particularly where distributions backport kernel fixes.

Exploitation context

The CVSS vector indicates local access, low complexity, low privileges, and no user interaction. The source bundle does not establish remote exploitation, public weaponization, or active exploitation, and the CVE is not listed as KEV. Triggering conditions involve NILFS2 log-writing error paths.

Researcher notes

The vulnerable state-management regression followed commit a694291a6211. Impact arises when later log construction fails and cleanup is skipped. The supplied evidence supports denial-of-service and block-mapping corruption potential, but does not document observed exploitation, a reproducer, or specific attacker-controlled failure conditions.

Mitigation direction

  • Install a vendor-supported kernel containing the referenced NILFS2 fix.
  • Prioritize systems that mount or actively use NILFS2 filesystems.
  • Consult distribution advisories to identify fixed package versions and backports.
  • Reduce reliance on NILFS2 where upgrading cannot be completed promptly.

Validation and detection

  • Inventory kernel packages and compare them with distribution CVE advisories.
  • Identify systems with mounted or operational NILFS2 filesystems.
  • Confirm the installed kernel includes a referenced stable fix or vendor backport.
  • Review affected hosts for filesystem hangs, writeback stalls, or integrity warnings.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-47669 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
10Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.3CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H1.85.5Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.3High
CVSS 3.1 vector shape for CVE-2024-47669Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxa694291a6211537189c6080f77f63cdabfc9b63e, a694291a6211537189c6080f77f63cdabfc9b63e, a694291a6211537189c6080f77f63cdabfc9b63e, a694291a6211537189c6080f77f63cdabfc9b63e, a694291a6211537189c6080f77f63cdabfc9b63e, a694291a6211537189c6080f77f63cdabfc9b63e, a694291a6211537189c6080f77f63cdabfc9b63e, a694291a6211537189c6080f77f63cdabfc9b63eunaffected
LinuxLinux2.6.33, 0, 4.19.322, 5.4.284, 5.10.226, 5.15.167, 6.1.110, 6.6.51, 6.10.10, 6.11affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.