# CVE-2026-98854: of/overlay: only treat a positive changeset id as registered

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2026-10-18T15:51:06.167Z
- **Modified:** 2026-10-30T13:21:30.980Z

## Who should check

- Anyone running Linux \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 71065f3d6864a101b77e7af84566757c4df415a0; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< cc688475c56d34a2b584141f9544cbe23360080d; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< c08a54df9d33dcd6ff089adc9434b2c008af3a39; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 0d1525fdcd3355672b7485d61e55df6824ab5ad1; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< c875407c34dadaef0599834ad9c815f4c9f50d15; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 44081d708b5b885487bac792db78324b7b4c267d
- Anyone running Linux 4.15

## Description

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

of/overlay: only treat a positive changeset id as registered

of\_overlay\_fdt\_apply() stores the idr\_alloc() return value in
ovcs-\>id before checking it. On failure the stored id is negative,
free\_overlay\_changeset()'s "if (ovcs-\>id)" check passes, idr\_remove()
is called with a negative id and list\_del() runs on ovcs-\>ovcs\_list,
which is not initialized until after the id allocation. An allocation
failure at that point dereferences NULL.

Make free\_overlay\_changeset() treat only a strict-positive id as
registered. The rest of the function already copes with a
partially-initialized ovcs, so the error path stays a plain
goto err\_free\_ovcs.

## Affected and fixed versions

- Linux: \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 71065f3d6864a101b77e7af84566757c4df415a0; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< cc688475c56d34a2b584141f9544cbe23360080d; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< c08a54df9d33dcd6ff089adc9434b2c008af3a39; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 0d1525fdcd3355672b7485d61e55df6824ab5ad1; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< c875407c34dadaef0599834ad9c815f4c9f50d15; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 44081d708b5b885487bac792db78324b7b4c267d (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 44081d708b5b885487bac792db78324b7b4c267d or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98854.md
Affected: Linux >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 71065f3d6864a101b77e7af84566757c4df415a0; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < cc688475c56d34a2b584141f9544cbe23360080d; >= 61b4de4e0b384f4a22c55c3…
Fixed in: Linux 7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a, Linux 71065f3d6864a101b77e7af84566757c4df415a0, Linux 0d1525fdcd3355672b7485d61e55df6824ab5ad1, Linux 44081d708b5b885487bac792db78324b7b4c267d

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-2026-98854 being exploited?

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

### How serious is CVE-2026-98854?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98854?

Linux \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 71065f3d6864a101b77e7af84566757c4df415a0; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< cc688475c56d34a2b584141f9544cbe23360080d; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< c08a54df9d33dcd6ff089adc9434b2c008af3a39; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 0d1525fdcd3355672b7485d61e55df6824ab5ad1; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< c875407c34dadaef0599834ad9c815f4c9f50d15; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 44081d708b5b885487bac792db78324b7b4c267d; Linux 4.15.

### Is there a fix for CVE-2026-98854?

Yes. Fixed in Linux 7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a, Linux 71065f3d6864a101b77e7af84566757c4df415a0, Linux 0d1525fdcd3355672b7485d61e55df6824ab5ad1, Linux 44081d708b5b885487bac792db78324b7b4c267d. Upgrade Linux to 44081d708b5b885487bac792db78324b7b4c267d or later.

### How do I check if I'm affected by CVE-2026-98854?

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

- other: <https://git.kernel.org/stable/c/7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a>
- other: <https://git.kernel.org/stable/c/71065f3d6864a101b77e7af84566757c4df415a0>
- other: <https://git.kernel.org/stable/c/cc688475c56d34a2b584141f9544cbe23360080d>
- other: <https://git.kernel.org/stable/c/c08a54df9d33dcd6ff089adc9434b2c008af3a39>
- other: <https://git.kernel.org/stable/c/0d1525fdcd3355672b7485d61e55df6824ab5ad1>
- other: <https://git.kernel.org/stable/c/c875407c34dadaef0599834ad9c815f4c9f50d15>
- other: <https://git.kernel.org/stable/c/44081d708b5b885487bac792db78324b7b4c267d>

## 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-2026-98854>

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