Skip to main content
Network Thinking Solutions Logo

CVE-2023-54140

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse A syzbot stress test using a corrupted disk image reported that mark_buffer_dirty() called from __nilfs_mark_inode_dirty() or nilfs_palloc_commit_alloc_entry() may output a kernel warning, and can panic if the kernel is booted with panic_on_warn.

All CVEs
CVE-2023-54140Published 12/24/2025

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse A syzbot stress test using a corrupted disk image reported that mark_buffer_dirty() called from __nilfs_mark_inode_dirty() or nilfs_palloc_commit_alloc_entry() may output a kernel warning, and can panic if the kernel is booted with panic_on_warn.

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse A syzbot stress test using a corrupted disk image reported that mark_buffer_dirty() called from __nilfs_mark_inode_dirty() or nilfs_palloc_commit_alloc_entry() may output a kernel warning, and can panic if the kernel is booted with panic_on_warn. This is because nilfs2 keeps buffer pointers in local structures for some metadata and reuses them, but such buffers may be forcibly discarded by nilfs_clear_dirty_page() in some critical situations. This issue is reported to appear after commit 28a65b49eb53 ("nilfs2: do not write dirty data after degenerating to read-only"), but the issue has potentially existed before. Fix this issue by checking the uptodate flag when attempting to reuse an internally held buffer, and reloading the metadata instead of reusing the buffer if the flag was lost.

Published
12/24/2025
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < 473795610594f261e98920f0945550314df36f07

Verify advisory

Source
Linux
Linux
≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < d95e403588738c7ec38f52b9f490b15e7745d393

Verify advisory

Source
Linux
Linux
≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < 99a73016a5e12a09586a96f998e91f9ea145cd00

Verify advisory

Source
Linux
Linux
≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < f1d637b63d8a27ac3386f186a694907f2717fc13

Verify advisory

Source
Linux
Linux
≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < b911bef132a06de01a745c6a24172d6db7216333

Verify advisory

Source
Linux
Linux
≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4da07e958bfda2d69d83db105780e8916e3ac02e

Verify advisory

Source
Linux
Linux
≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < 46c11be2dca295742a5508ea910a77f7733fb7f4

Verify advisory

Source
Linux
Linux
≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < b308b3eabc429649b5501d36290cea403fbd746c

Verify advisory

Source
Linux
Linux
≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < cdaac8e7e5a059f9b5e816cda257f08d0abffacd

Verify advisory

Source
Linux
Linux
3.10

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.