BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-54140 in Kernel products

High 7.8

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 ker...

Affects 1 product from 3 vendors. Facts below cite their sources.

CVSS 3.17.8
EPSS0.2%
EPSS percentile9th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Kernel — —
Linux Linux 3.10
Panic — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-54140
BreachSpider IDBS-2025-GLOBAL-177560-I
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2025-12-24
Last modified2026-08-04
SourceNVD

Analysis AI-written, not human-reviewed

A vulnerability in the nilfs2 file system of the Linux kernel can lead to kernel warnings and potential panics when mark_buffer_dirty() is called with a discarded buffer. This issue is triggered by a corrupted disk image and can cause system instability.

The vulnerability is triggered by a corrupted disk image that causes the nilfs2 file system to reuse a discarded buffer. This can lead to a kernel warning and, if the system is configured with panic_on_warn, a system panic.

Questions

What is CVE-2023-54140?

A vulnerability in the nilfs2 file system of the Linux kernel can lead to kernel warnings and potential panics when mark_buffer_dirty() is called with a discarded buffer. This issue is triggered by a corrupted disk image and can cause system instability.

What is the CVSS score for CVE-2023-54140?

CVE-2023-54140 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.

Is CVE-2023-54140 actively exploited?

No confirmed active exploitation of CVE-2023-54140 as of 2026-08-05.

How do I remediate CVE-2023-54140?

Priority: MEDIUM.

What systems are affected by CVE-2023-54140?

CVE-2023-54140 affects Kernel; Linux Linux; Panic.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Kernel","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-04.