CVE-2026-98831

NameCVE-2026-98831
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4850-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bookworm6.1.176-1vulnerable
bookworm (security)6.1.190-1vulnerable
trixie6.12.107-1vulnerable
trixie (security)6.12.115-2fixed
forky7.2.15-1fixed
sid7.3.3-1fixed
linux-6.12 (PTS)bookworm (security)6.12.115-2~deb12u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcetrixie6.12.113-1
linuxsource(unstable)7.2.10-1
linux-6.12sourcebookworm6.12.113-1~deb12u1DLA-4850-1

Notes

https://git.kernel.org/linus/1d62f0f2bc7edb12ed09f71203df0e47fa4efca4 (7.3-rc6)

Search for package or bug name: Reporting problems