# CVE-2025-38663: nilfs2: reject invalid file types when reading inodes

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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 11% of CVEs (2026-12-01)
- Published: 2025-08-22T16:02:55.856Z
- Modified: 2026-06-17T09:17:19.997Z
- Assigned by: Linux

## Description

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

nilfs2: reject invalid file types when reading inodes

To prevent inodes with invalid file types from tripping through the vfs
and causing malfunctions or assertion failures, add a missing sanity check
when reading an inode from a block device.  If the file type is not valid,
treat it as a filesystem error.

(As written by CVE List.)

## Affected

- Linux Linux: from 05fe58fdc10df9ebea04c0eaed57adc47af5c184 before dd298c0b889acd3ecaf48b6e840c9ab91882e342; from 05fe58fdc10df9ebea04c0eaed57adc47af5c184 before 2cf0c4130bf340be3935d097a3dcbfefdcf65815; from 05fe58fdc10df9ebea04c0eaed57adc47af5c184 before 98872a934ea6a95985fb6a3655a78a5f0c114e82; from 05fe58fdc10df9ebea04c0eaed57adc47af5c184 before 1a5c204e175a78556b8ef1f7683249fa5197295a; from 05fe58fdc10df9ebea04c0eaed57adc47af5c184 before bf585ee198bba4ff25b0d80a0891df4656cb0d08; from 05fe58fdc10df9ebea04c0eaed57adc47af5c184 before 79663a15a1c70ca84f86f2dbba07b423fe7d5d4f; from 05fe58fdc10df9ebea04c0eaed57adc47af5c184 before 42cd46b3a8b1497b9258dc7ac445dbd6beb73e2f; from 05fe58fdc10df9ebea04c0eaed57adc47af5c184 before 4aead50caf67e01020c8be1945c3201e8a972a27; 2.6.30 (not affected: before 2.6.30; from 5.4.297 up to 5.4.*; from 5.10.241 up to 5.10.*; from 5.15.190 up to 5.15.*; from 6.1.148 up to 6.1.*; from 6.6.101 up to 6.6.*; from 6.12.41 up to 6.12.*; from 6.15.9 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 2.6.30 before 5.4.297; from 5.5 before 5.10.241; from 5.11 before 5.15.190; from 5.16 before 6.1.148; from 6.2 before 6.6.101; from 6.7 before 6.12.41; from 6.13 before 6.15.9; 6.16
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/dd298c0b889acd3ecaf48b6e840c9ab91882e342> (patch)
- <https://git.kernel.org/stable/c/2cf0c4130bf340be3935d097a3dcbfefdcf65815> (patch)
- <https://git.kernel.org/stable/c/98872a934ea6a95985fb6a3655a78a5f0c114e82> (patch)
- <https://git.kernel.org/stable/c/1a5c204e175a78556b8ef1f7683249fa5197295a> (patch)
- <https://git.kernel.org/stable/c/bf585ee198bba4ff25b0d80a0891df4656cb0d08> (patch)
- <https://git.kernel.org/stable/c/79663a15a1c70ca84f86f2dbba07b423fe7d5d4f> (patch)
- <https://git.kernel.org/stable/c/42cd46b3a8b1497b9258dc7ac445dbd6beb73e2f> (patch)
- <https://git.kernel.org/stable/c/4aead50caf67e01020c8be1945c3201e8a972a27> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2025-38663 · Whole record: https://cve.day/CVE-2025-38663.json · Rebuilt by cve.day 2026-11-25T22:59:03.550Z
