# CVE-2026-98831: of/overlay: don't leak fragment references when changeset init fails

> 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.22% (percentile 7, 2026-11-28)
- **Published:** 2026-10-18T15:49:32.909Z
- **Modified:** 2026-10-30T13:21:29.530Z

## Who should check

- Anyone running Linux \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< c654f283d7db20648a5bbf979209f78d4fa9be3f; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 64517aeaa3d8b158e4d01321a095be48cb551251; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< bbe3dc64b28a14bd9ecb514bbf5115ac8472ed80; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 702b5db6e7b3865be70675d57d6fd7dde80d02b6; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 894573e2fdaeb1b15030b7eebc22615edf28a6cd; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 7a46f1917b320cc8762183b802301da02a191b6a; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 3a23fb158ba517b77a2e5258263bdfdaa480f758; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 1d62f0f2bc7edb12ed09f71203df0e47fa4efca4
- Anyone running Linux 4.15

## Description

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

of/overlay: don't leak fragment references when changeset init fails

init\_overlay\_changeset() stores the number of initialized fragments
in ovcs-\>count only on full success. When find\_target() or the
\_\_symbols\_\_ lookup fails partway through, the target and overlay
references taken for the fragments initialized so far are never
dropped: free\_overlay\_changeset() bounds its cleanup loop by
ovcs-\>count, which is still 0.

Store the running count on the error path so free\_overlay\_changeset()
puts whatever was set up. The store is guarded by ovcs-\>fragments
because on the allocation-failure path cnt still holds the counting
pass total while there is no fragments array; everywhere else cnt
only counts fully-initialized fragments.

## Affected and fixed versions

- Linux: \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< c654f283d7db20648a5bbf979209f78d4fa9be3f; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 64517aeaa3d8b158e4d01321a095be48cb551251; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< bbe3dc64b28a14bd9ecb514bbf5115ac8472ed80; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 702b5db6e7b3865be70675d57d6fd7dde80d02b6; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 894573e2fdaeb1b15030b7eebc22615edf28a6cd; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 7a46f1917b320cc8762183b802301da02a191b6a; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 3a23fb158ba517b77a2e5258263bdfdaa480f758; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 1d62f0f2bc7edb12ed09f71203df0e47fa4efca4 (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 1d62f0f2bc7edb12ed09f71203df0e47fa4efca4 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-98831. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98831.md
Affected: Linux >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < c654f283d7db20648a5bbf979209f78d4fa9be3f; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 64517aeaa3d8b158e4d01321a095be48cb551251; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < bbe3dc64b28a14bd9ecb514bbf5115ac8472ed80; >= 61b4de4e0b384f4a22c55c3…
Fixed in: Linux 64517aeaa3d8b158e4d01321a095be48cb551251, Linux 702b5db6e7b3865be70675d57d6fd7dde80d02b6, Linux 894573e2fdaeb1b15030b7eebc22615edf28a6cd, Linux 7a46f1917b320cc8762183b802301da02a191b6a, Linux 3a23fb158ba517b77a2e5258263bdfdaa480f758, Linux 1d62f0f2bc7edb12ed09f71203df0e47fa4efca4

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-98831 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< c654f283d7db20648a5bbf979209f78d4fa9be3f; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 64517aeaa3d8b158e4d01321a095be48cb551251; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< bbe3dc64b28a14bd9ecb514bbf5115ac8472ed80; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 702b5db6e7b3865be70675d57d6fd7dde80d02b6; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 894573e2fdaeb1b15030b7eebc22615edf28a6cd; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 7a46f1917b320cc8762183b802301da02a191b6a; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 3a23fb158ba517b77a2e5258263bdfdaa480f758; \>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, \< 1d62f0f2bc7edb12ed09f71203df0e47fa4efca4; Linux 4.15.

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

Yes. Fixed in Linux 64517aeaa3d8b158e4d01321a095be48cb551251, Linux 702b5db6e7b3865be70675d57d6fd7dde80d02b6, Linux 894573e2fdaeb1b15030b7eebc22615edf28a6cd, Linux 7a46f1917b320cc8762183b802301da02a191b6a, Linux 3a23fb158ba517b77a2e5258263bdfdaa480f758, Linux 1d62f0f2bc7edb12ed09f71203df0e47fa4efca4. Upgrade Linux to 1d62f0f2bc7edb12ed09f71203df0e47fa4efca4 or later.

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

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/c654f283d7db20648a5bbf979209f78d4fa9be3f>
- other: <https://git.kernel.org/stable/c/64517aeaa3d8b158e4d01321a095be48cb551251>
- other: <https://git.kernel.org/stable/c/bbe3dc64b28a14bd9ecb514bbf5115ac8472ed80>
- other: <https://git.kernel.org/stable/c/702b5db6e7b3865be70675d57d6fd7dde80d02b6>
- other: <https://git.kernel.org/stable/c/894573e2fdaeb1b15030b7eebc22615edf28a6cd>
- other: <https://git.kernel.org/stable/c/7a46f1917b320cc8762183b802301da02a191b6a>
- other: <https://git.kernel.org/stable/c/3a23fb158ba517b77a2e5258263bdfdaa480f758>
- other: <https://git.kernel.org/stable/c/1d62f0f2bc7edb12ed09f71203df0e47fa4efca4>

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

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