CVE-2026-138937

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: clear dirty flag on bdev buffers on log write failure

Since the commit referenced in the Fixes tag stopped directly calling inode_attach_wb(), a dirty flag is set on buffers (with mark_buffer_dirty()) allocated to the backing device for segment summaries and the super root block during log writes.

While this dirty flag is cleared upon a successful log write, it remains uncleared if the log write fails.

Consequently, when a log write fails, these backing device buffers are left in an inconsistent state where their uptodate flag and the dirty flag of the containing page/folio are cleared, but the buffer's dirty flag remains as stale garbage.

Particularly when the block size is smaller than the page size, if other buffers on the same page/folio become dirty, this buffer unexpectedly becomes a target for writeback again. As a result, if the block is later reused for other data or metadata, that contents risks being corrupted.

Fix this issue by calling clear_buffer_dirty() for the backing device buffers when aborting log writes in nilfs_abort_logs().

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138938In the Linux kernel, the following vulnerability has been resolved: pseries/plpks: clear SED key data after use Explicitly clear the tempoCVE-2026-138939In the Linux kernel, the following vulnerability has been resolved: pseries/plpks: clear sensitive buffers in wrapping operations PLPKS wrCVE-2026-138946.5Insufficient policy enforcement in Network in Google Chrome prior to 150.0.7871.47 allowed an attacker in a privileged network position to bCVE-2026-138940In the Linux kernel, the following vulnerability has been resolved: pseries/plpks: clear sensitive PLPKS buffers PLPKS read, remove, and wCVE-2026-138941In the Linux kernel, the following vulnerability has been resolved: powerpc/bpf: fix buffer overflow in JIT for large BPF programs During CVE-2026-138942In the Linux kernel, the following vulnerability has been resolved: powerpc64/bpf: fix percpu private stack leak on JIT failure The existiCVE-2026-138943In the Linux kernel, the following vulnerability has been resolved: media: iris: Fix iova allocation from restrict region The VPU issues DCVE-2026-138944In the Linux kernel, the following vulnerability has been resolved: media: venus: Fix iova allocation from restrict region The VPU issues CVE-2026-138945In the Linux kernel, the following vulnerability has been resolved: media: qcom: camss: vfe: Fix VFE reset while another line is streaming CVE-2026-138946In the Linux kernel, the following vulnerability has been resolved: cxl/acpi: Check ACPI companion before use Platform drivers can be forcCVE-2026-138947In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: fix integer overflow in find_log_rec() causing OOB read findCVE-2026-138948In the Linux kernel, the following vulnerability has been resolved: iio: accel: sca3000: reject devices without match data SPI driver_over
CVE-2026-138937: Unscored | Vulnix