PT-2026-117050 · Linux · Linux

CVE-2026-98831

·

Published

2026-10-18

·

Updated

2026-10-18

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-98831

Affected Products

Linux