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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-08-22T16:02:55.856Z
- **Modified:** 2026-06-17T09:17:19.997Z

## Who should check

- Anyone running Linux \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< dd298c0b889acd3ecaf48b6e840c9ab91882e342; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 2cf0c4130bf340be3935d097a3dcbfefdcf65815; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 98872a934ea6a95985fb6a3655a78a5f0c114e82; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 1a5c204e175a78556b8ef1f7683249fa5197295a; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< bf585ee198bba4ff25b0d80a0891df4656cb0d08; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 79663a15a1c70ca84f86f2dbba07b423fe7d5d4f; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 42cd46b3a8b1497b9258dc7ac445dbd6beb73e2f; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 4aead50caf67e01020c8be1945c3201e8a972a27
- Anyone running Linux 2.6.30

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

## Affected and fixed versions

- Linux: \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< dd298c0b889acd3ecaf48b6e840c9ab91882e342; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 2cf0c4130bf340be3935d097a3dcbfefdcf65815; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 98872a934ea6a95985fb6a3655a78a5f0c114e82; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 1a5c204e175a78556b8ef1f7683249fa5197295a; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< bf585ee198bba4ff25b0d80a0891df4656cb0d08; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 79663a15a1c70ca84f86f2dbba07b423fe7d5d4f; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 42cd46b3a8b1497b9258dc7ac445dbd6beb73e2f; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 4aead50caf67e01020c8be1945c3201e8a972a27 (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- Upgrade Linux to 4aead50caf67e01020c8be1945c3201e8a972a27 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38663. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38663.md
Affected: Linux >= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, < dd298c0b889acd3ecaf48b6e840c9ab91882e342; >= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, < 2cf0c4130bf340be3935d097a3dcbfefdcf65815; >= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, < 98872a934ea6a95985fb6a3655a78a5f0c114e82; >= 05fe58fdc10df9ebea04c0e…
Fixed in: Linux 2cf0c4130bf340be3935d097a3dcbfefdcf65815, Linux 98872a934ea6a95985fb6a3655a78a5f0c114e82, Linux 1a5c204e175a78556b8ef1f7683249fa5197295a, Linux 79663a15a1c70ca84f86f2dbba07b423fe7d5d4f, Linux 42cd46b3a8b1497b9258dc7ac445dbd6beb73e2f, Linux 4aead50caf67e01020c8be1945c3201e8a972a27

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38663 being exploited?

There is no confirmed exploitation: CVE-2025-38663 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38663?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38663?

Linux \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< dd298c0b889acd3ecaf48b6e840c9ab91882e342; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 2cf0c4130bf340be3935d097a3dcbfefdcf65815; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 98872a934ea6a95985fb6a3655a78a5f0c114e82; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 1a5c204e175a78556b8ef1f7683249fa5197295a; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< bf585ee198bba4ff25b0d80a0891df4656cb0d08; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 79663a15a1c70ca84f86f2dbba07b423fe7d5d4f; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 42cd46b3a8b1497b9258dc7ac445dbd6beb73e2f; \>= 05fe58fdc10df9ebea04c0eaed57adc47af5c184, \< 4aead50caf67e01020c8be1945c3201e8a972a27; Linux 2.6.30.

### Is there a fix for CVE-2025-38663?

Yes. Fixed in Linux 2cf0c4130bf340be3935d097a3dcbfefdcf65815, Linux 98872a934ea6a95985fb6a3655a78a5f0c114e82, Linux 1a5c204e175a78556b8ef1f7683249fa5197295a, Linux 79663a15a1c70ca84f86f2dbba07b423fe7d5d4f, Linux 42cd46b3a8b1497b9258dc7ac445dbd6beb73e2f, Linux 4aead50caf67e01020c8be1945c3201e8a972a27. Upgrade Linux to 4aead50caf67e01020c8be1945c3201e8a972a27 or later.

### How do I check if I'm affected by CVE-2025-38663?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38663>

HTML: <https://flawdb.com/CVE-2025-38663> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38663>
