CVE-2026-98831

Not scored yetLast modified Oct 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < c654f283d7db20648a5bbf979209f78d4fa9be3f; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 64517aeaa3d8b158e4d01321a095be48cb551251; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < bbe3dc64b28a14bd9ecb514bbf5115ac8472ed80; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 702b5db6e7b3865be70675d57d6fd7dde80d02b6; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 894573e2fdaeb1b15030b7eebc22615edf28a6cd; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 7a46f1917b320cc8762183b802301da02a191b6a; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 3a23fb158ba517b77a2e5258263bdfdaa480f758; >= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 1d62f0f2bc7edb12ed09f71203df0e47fa4efca4
LinuxLinux4.15

References

Timeline

Published
Oct 18, 2026
Last modified
Oct 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-98832In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: save IRQ state in blkg_tryget_closest() bio_set_dev() assoCVE-2026-98833In the Linux kernel, the following vulnerability has been resolved: mtd: core: call _get_device() with the master MTD __get_mtd_device() cCVE-2026-98834In the Linux kernel, the following vulnerability has been resolved: mtd: core: avoid double-free of OTP NVMEM device If factory OTP setup CVE-2026-98835In the Linux kernel, the following vulnerability has been resolved: iio: accel: kionix-kx022a: Fix array boundary check The driver performCVE-2026-98836In the Linux kernel, the following vulnerability has been resolved: ALSA: line6: reject oversized playback packets Each playback URB is haCVE-2026-98837In the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: unregister the input device when probe fails setup_card()CVE-2026-98838In the Linux kernel, the following vulnerability has been resolved: vt: skip screen update for DEC alignment test on backgroup consoles [BCVE-2026-98839In the Linux kernel, the following vulnerability has been resolved: vt: selection: Fix unsigned underflow and slab-out-of-bounds read in paCVE-2026-98848.8Use after free in Browser in Google Chrome on Mac prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code via a crafted CVE-2026-98840In the Linux kernel, the following vulnerability has been resolved: vc_screen: reload vc pointer before if (ret) in vcs_write() to avoid UACVE-2026-98841In the Linux kernel, the following vulnerability has been resolved: virt: vmgenid: set driver_data before registering notification handlersCVE-2026-98842In the Linux kernel, the following vulnerability has been resolved: module: fix lost error code from codetag_load_module() If codetag_load
CVE-2026-98831: Unscored | Vulnix