CVE-2026-98831

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

No CVSS score yet EPSS 0.18%

Published 18 Oct 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98831

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98831 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.63% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 61b4de4e0b384f4a22c55c3bada604da49cec4e1, before c654f283d7db20648a5bbf979209f78d4fa9be3f
affected from 61b4de4e0b384f4a22c55c3bada604da49cec4e1, before 64517aeaa3d8b158e4d01321a095be48cb551251
affected from 61b4de4e0b384f4a22c55c3bada604da49cec4e1, before bbe3dc64b28a14bd9ecb514bbf5115ac8472ed80
affected from 61b4de4e0b384f4a22c55c3bada604da49cec4e1, before 702b5db6e7b3865be70675d57d6fd7dde80d02b6
affected from 61b4de4e0b384f4a22c55c3bada604da49cec4e1, before 894573e2fdaeb1b15030b7eebc22615edf28a6cd
affected from 61b4de4e0b384f4a22c55c3bada604da49cec4e1, before 7a46f1917b320cc8762183b802301da02a191b6a
affected from 61b4de4e0b384f4a22c55c3bada604da49cec4e1, before 3a23fb158ba517b77a2e5258263bdfdaa480f758
affected from 61b4de4e0b384f4a22c55c3bada604da49cec4e1, before 1d62f0f2bc7edb12ed09f71203df0e47fa4efca4
Other versions: unaffected
Linux
affected 4.15
unaffected before 4.15
unaffected from 5.10.273 up to and including 5.10.*
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.113 up to and including 6.12.*
unaffected from 6.18.56 up to and including 6.18.*
unaffected from 7.2.10 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98831 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98831

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98831
trivy image --scanners vuln IMAGE | grep CVE-2026-98831

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98831 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.