freenode

← CVE tracker

CVE-2026-139473

nilfs2: reject non-regular inodes in dsync recovery

Severity
unscored
Affects
Linux
Published
30 November 2026 by Linux
First seen on our lists
30 November 2026
In the Linux kernel, the following vulnerability has been resolved: nilfs2: reject non-regular inodes in dsync recovery During roll-forward recovery, nilfs_recover_dsync_blocks() obtains the inode designated by fi_ino of a dsync log without checking its type. If a corrupted image designates a special inode (e.g. a device node) there, the inode's embedded bmap was never initialized: __nilfs_read_inode() calls nilfs_bmap_read() only for regular files, directories and symlinks. The subsequent nilfs_get_block() then dereferences the uninitialized bmap->b_ops and jumps through it, crashing the kernel or worse. Regular files, directories, and symlinks are the only inode types with data blocks to recover; reject anything else before touching its block mapping. [ryusuke: conformed AI tag to guidelines]

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists