CVE-2026-98831

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

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.

Key facts

Published
18 Oct 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.177% likely to be exploited in the next 30 days, higher than 7.351% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding c654f283d7db20648a5bbf979209f78d4fa9be3f (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding 64517aeaa3d8b158e4d01321a095be48cb551251 (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding bbe3dc64b28a14bd9ecb514bbf5115ac8472ed80 (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding 702b5db6e7b3865be70675d57d6fd7dde80d02b6 (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding 894573e2fdaeb1b15030b7eebc22615edf28a6cd (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding 7a46f1917b320cc8762183b802301da02a191b6a (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding 3a23fb158ba517b77a2e5258263bdfdaa480f758 (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding 1d62f0f2bc7edb12ed09f71203df0e47fa4efca4 (affected)
LinuxLinux
  • Default status: affected
  • 4.15 (affected)
  • 0 up to but excluding 4.15 (unaffected)
  • 5.10.273 up to and including 5.10.* (unaffected)
  • 5.15.224 up to and including 5.15.* (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.113 up to and including 6.12.* (unaffected)
  • 6.18.56 up to and including 6.18.* (unaffected)
  • 7.2.10 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References