# CVE-2026-139473: nilfs2: reject non-regular inodes in dsync recovery

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-11-30T13:35:04.677Z
- Modified: 2026-11-30T14:19:20.400Z
- Assigned by: Linux

## Description

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]

(As written by CVE List.)

## Affected

- Linux Linux: from 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b before b3a8ac3702513eec801e05a5c38b0a2c010f2dea; from 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b before 5dc45e0b97f929dff0775168b6d922fca5bdaa6c; from 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b before 116cbc35936dd8cbcc41e31727495e1d478e8078; from 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b before e6ace321042683d89ab3c9a74441c0e4d33839f5; from 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b before 6865d962e88aaaecd95c8657cbdb0a0b04f193ad; from 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b before 2675fef9b313902fd9b9793aa4527c5ab7300237; from 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b before 1c68f5db93328fb956ae77df5bc9deb219f0186d; from 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b before ef2ccb1554df254eb4066171ce93e6d5fb1af2e3; 2.6.30 (not affected: before 2.6.30; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/b3a8ac3702513eec801e05a5c38b0a2c010f2dea>
- <https://git.kernel.org/stable/c/5dc45e0b97f929dff0775168b6d922fca5bdaa6c>
- <https://git.kernel.org/stable/c/116cbc35936dd8cbcc41e31727495e1d478e8078>
- <https://git.kernel.org/stable/c/e6ace321042683d89ab3c9a74441c0e4d33839f5>
- <https://git.kernel.org/stable/c/6865d962e88aaaecd95c8657cbdb0a0b04f193ad>
- <https://git.kernel.org/stable/c/2675fef9b313902fd9b9793aa4527c5ab7300237>
- <https://git.kernel.org/stable/c/1c68f5db93328fb956ae77df5bc9deb219f0186d>
- <https://git.kernel.org/stable/c/ef2ccb1554df254eb4066171ce93e6d5fb1af2e3>

## Sources

- CVE List: [CVE-2026-139473](https://www.cve.org/CVERecord?id=CVE-2026-139473), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139473](https://nvd.nist.gov/vuln/detail/CVE-2026-139473), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139473 · Whole record: https://cve.day/CVE-2026-139473.json · Rebuilt by cve.day 2026-11-30T14:33:20.898Z
