CVE-2026-98082

MediumCVSS 5.5/10Last modified Oct 19, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix the possible bioc_list memory leak during error

There are two possible ways to leak bioc memory on btrfs_ordered_extent::bioc_list:

- An error occurred for btrfs_insert_one_raid_extent() Then the function btrfs_insert_raid_extent() immediately return without freeing any bioc in the bioc_list.

- An ordered extent hit an IO error In that case the ordered extent will have BTRFS_ORDERED_IOERR set, and skip the call on btrfs_insert_raid_extent() completely.

Fix the problem by:

- Introduce a new helper, btrfs_cleanup_ordered_bioc_list() Which will remove all bioc from the bioc_list, and release the bioc.

- Call the above helper for btrfs_insert_raid_extent() So that the cleanup helper is always called no matter what.

- Call the above helper for btrfs_finish_one_ordered() This is called just before the final release on the ordered extent.

This was reported by Sashiko when reviewing another patch.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= ab69bf6f8970c09d3735c25094e9471d54365282, < d043c43d2b4ebcd75ee7f907948ef2847306d6b2; >= 02c372e1f016e5113217597ab37b399c4e407477, < 83f0c973cffb184d019390ffdb5d31de5c85bc61; >= 02c372e1f016e5113217597ab37b399c4e407477, < 1b4d4e890c2c85d0f6365b5a08c48b4bbf85deb0; >= 02c372e1f016e5113217597ab37b399c4e407477, < bb4da45766d16503821f167054db76b735d89e94; >= 02c372e1f016e5113217597ab37b399c4e407477, < afbe73778338e6d1ac8c4486fbdf33f0cc1f2624; >= 6.6.130, < 6.6.158
LinuxLinux6.7

References

Timeline

Published
Sep 25, 2026
Last modified
Oct 19, 2026
NVD status
Analyzed

Related CVEs from 2026

CVE-2026-980837.0In the Linux kernel, the following vulnerability has been resolved: btrfs: fix transaction use-after-free in raid stripe insertion If alloCVE-2026-980845.5In the Linux kernel, the following vulnerability has been resolved: bpf: backtracking shouldn't clear outer frame R1-R5 for callbacks WhenCVE-2026-980855.5In the Linux kernel, the following vulnerability has been resolved: bpf: backtrack_insn(): Handle ld_{abs,ind} subprog exit edge Nicholas CVE-2026-980865.5In the Linux kernel, the following vulnerability has been resolved: ALSA: ump: do not touch legacy_rmidi before it exists snd_ump_parse_enCVE-2026-980875.5In the Linux kernel, the following vulnerability has been resolved: sched/rt,dl: Skip migrate-disabled tasks when picking a push candidate CVE-2026-980887.1In the Linux kernel, the following vulnerability has been resolved: scsi: mpt3sas: Avoid out-of-bounds cpumask_of_node() call in _base_assiCVE-2026-980895.5In the Linux kernel, the following vulnerability has been resolved: bonding: alb: fix uninitialized transport header access in alb_determinCVE-2026-98097.6A stored Cross-Site Scripting (XSS) vulnerability exists in the Projects component of Mautic 7. When displaying project tags and popovers onCVE-2026-980905.5In the Linux kernel, the following vulnerability has been resolved: btrfs: restore active device pointers after failed sprout btrfs_init_nCVE-2026-980915.5In the Linux kernel, the following vulnerability has been resolved: btrfs: detach failed sprout device from transaction update list When cCVE-2026-980925.5In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: yc: fix memory leak in acp6x_pdm_dma_close() acp6x_pdm_dma_CVE-2026-980937.8In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl_micfil: balance mclk enable/disable hw_params() enables mclk
CVE-2026-98082: Medium severity, CVSS 5.5 | Vulnix