Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-47669

published high CVSS 3.1 · 7.3

nilfs2: fix state management in error path of log writing function

Published
09 Oct 2024, 14:14:01 UTC
Updated
05 Aug 2026, 11:39:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa694291a6211537189c6080f77f63cdabfc9b63e to < 40a2757de2c376ef8a08d9ee9c81e77f3c750adf · a694291a6211537189c6080f77f63cdabfc9b63e to < 036441e8438b29111fa75008f0ce305fb4e83c0a · a694291a6211537189c6080f77f63cdabfc9b63e to < efdde00d4a1ef10bb71e09ebc67823a3d3ad725b · a694291a6211537189c6080f77f63cdabfc9b63e to < 3e349d7191f0688fc9808ef24fd4e4b4ef5ca876 · a694291a6211537189c6080f77f63cdabfc9b63e to < 30562eff4a6dd35c4b5be9699ef61ad9f5f20a06 · a694291a6211537189c6080f77f63cdabfc9b63e to < 0a1a961bde4351dc047ffdeb2f1311ca16a700cc · a694291a6211537189c6080f77f63cdabfc9b63e to < 74866c16ea2183f52925fa5d76061a1fe7f7737b · a694291a6211537189c6080f77f63cdabfc9b63e to < 6576dd6695f2afca3f4954029ac4a64f82ba60ab · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.33 (affected) · 0 to < 2.6.33 (unaffected · semver) · 4.19.322 through 4.19.* (unaffected · semver) · 5.4.284 through 5.4.* (unaffected · semver) · 5.10.226 through 5.10.* (unaffected · semver) · 5.15.167 through 5.15.* (unaffected · semver) · 6.1.110 through 6.1.* (unaffected · semver) · 6.6.51 through 6.6.* (unaffected · semver) · 6.10.10 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2-2024-2696 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-070 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-086 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-headersaarch64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-tools-libs-develaarch64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 perfaarch64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 python-perfaarch64 Advisory build 0:4.14.35-2047.543.3.el7uek ELSA-2024-12868
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

48

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.3 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Scenarios
en: AV:L - The defect is in the nilfs2 segment constructor, reached through ordinary local filesystem operations — write(2) on a mounted nilfs2 plus fdatasync(2)/sync(2), or the background writeback/segctor thread. No network protocol handler processes remote data on this path. AC:L - There is no race and no memory-layout dependency; the attacker deterministically creates both required conditions by writing a file larger than one segment (forcing a second log iteration in SC_LSEG_DSYNC mode) while having exhausted the filesystem's clean segments, so nilfs_sufile_alloc() returns -ENOSPC inside the second nilfs_segctor_begin_construction(). Memory pressure (-ENOMEM from nilfs_segbuf_new) is an equally attacker-controllable alternative trigger. PR:L - Any unprivileged local user with write access to an already-mounted nilfs2 filesystem can reach nilfs_segctor_do_construct() via plain writes and fdatasync — no capability, ioctl, or mount privilege is checked on this path (CAP_SYS_ADMIN is only needed for the unrelated GC ioctl). UI:N - On a system already using nilfs2 (flash/removable media, udisks-automounted volumes) the attacker drives the entire sequence with their own file I/O and the kernel's own writeback thread. No action by a separate victim user is required. S:U - The stuck writeback state, the hung tasks, and the filesystem corruption are all confined to the kernel and filesystem of the same system; no VM, IOMMU, or sandbox security boundary is crossed. C:L - Dropping inodes from sc_dirty_files without writing their data and b-tree blocks corrupts the block mapping, so an inode's bmap can retain virtual block numbers whose DAT entries are stale or recycled by the segment cleaner, causing later reads to return blocks belonging to other users' files. The exposure is stale on-disk filesystem data the attacker cannot select, not an arbitrary kernel memory read. I:H - sc_dirty_files holds every dirty inode on the filesystem, not just the attacker's, so the uncleared NILFS_I_COLLECTED flag causes arbitrary inodes' data and b-tree blocks to be silently discarded while they are marked as written, corrupting the on-disk block mapping. This is persistent, unrecoverable filesystem metadata corruption with direct serious consequence — silent data loss across users and an inconsistent filesystem that can trigger nilfs_error() (forced read-only, or panic under errors=panic). A:H - The writeback flag left set on file-data and b-tree folios is never cleared, so folio_wait_writeback() callers — truncate_inode_pages_final() during inode eviction, sync/syncfs, umount, rewrite of the same page, and page reclaim/migration — block in uninterruptible sleep permanently, producing unkillable D-state tasks, hung-task warnings, unreclaimable pinned memory, and a system shutdown that never completes.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a694291a6211537189c6080f77f63cdabfc9b63e to < 40a2757de2c376ef8a08d9ee9c81e77f3c750adf (affected · git)a694291a6211537189c6080f77f63cdabfc9b63e to < 036441e8438b29111fa75008f0ce305fb4e83c0a (affected · git)a694291a6211537189c6080f77f63cdabfc9b63e to < efdde00d4a1ef10bb71e09ebc67823a3d3ad725b (affected · git)a694291a6211537189c6080f77f63cdabfc9b63e to < 3e349d7191f0688fc9808ef24fd4e4b4ef5ca876 (affected · git)a694291a6211537189c6080f77f63cdabfc9b63e to < 30562eff4a6dd35c4b5be9699ef61ad9f5f20a06 (affected · git)a694291a6211537189c6080f77f63cdabfc9b63e to < 0a1a961bde4351dc047ffdeb2f1311ca16a700cc (affected · git)a694291a6211537189c6080f77f63cdabfc9b63e to < 74866c16ea2183f52925fa5d76061a1fe7f7737b (affected · git)a694291a6211537189c6080f77f63cdabfc9b63e to < 6576dd6695f2afca3f4954029ac4a64f82ba60ab (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.33 (affected)0 to < 2.6.33 (unaffected · semver)4.19.322 through 4.19.* (unaffected · semver)5.4.284 through 5.4.* (unaffected · semver)5.10.226 through 5.10.* (unaffected · semver)5.15.167 through 5.15.* (unaffected · semver)6.1.110 through 6.1.* (unaffected · semver)6.6.51 through 6.6.* (unaffected · semver)6.10.10 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

3

Linux · cna

nilfs2: fix state management in error path of log writing function

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
ce3f5bf19df6b4017b8a86c734f4d6a140bdba4f803ceb249b8cf0fe39261a4b
Ingested
23 Sep 2026, 08:28:35 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected