CVE-2026-98082
btrfs: fix the possible bioc_list memory leak during error
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.
INFO
Published Date :
Sept. 25, 2026, 11:17 a.m.
Last Modified :
Oct. 19, 2026, 10:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to the latest version.
- Apply the specific patch for btrfs memory leak.
- Reboot the system after applying updates.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-98082.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-98082 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-98082
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-98082 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-98082 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 19, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98082.json">CVE-2026-98082</a> -
Initial Analysis by [email protected]
Oct. 06, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-401 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.2.7 *cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.53 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.111 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6.130 up to (excluding) 6.6.158 Added Reference Type kernel.org: https://git.kernel.org/stable/c/1b4d4e890c2c85d0f6365b5a08c48b4bbf85deb0 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/83f0c973cffb184d019390ffdb5d31de5c85bc61 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/afbe73778338e6d1ac8c4486fbdf33f0cc1f2624 Types: Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/1b4d4e890c2c85d0f6365b5a08c48b4bbf85deb0 Types: Permissions Required nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/1b4d4e890c2c85d0f6365b5a08c48b4bbf85deb0 Types: Patch, Permissions Required Added Reference Type kernel.org: https://git.kernel.org/stable/c/bb4da45766d16503821f167054db76b735d89e94 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d043c43d2b4ebcd75ee7f907948ef2847306d6b2 Types: Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/83f0c973cffb184d019390ffdb5d31de5c85bc61 Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/83f0c973cffb184d019390ffdb5d31de5c85bc61 Types: Broken Link, Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/afbe73778338e6d1ac8c4486fbdf33f0cc1f2624 Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/afbe73778338e6d1ac8c4486fbdf33f0cc1f2624 Types: Broken Link, Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/bb4da45766d16503821f167054db76b735d89e94 Types: Permissions Required nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/bb4da45766d16503821f167054db76b735d89e94 Types: Patch, Permissions Required -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 03, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98082.json">CVE-2026-98082</a> Added Reference https://git.kernel.org/stable/c/d043c43d2b4ebcd75ee7f907948ef2847306d6b2 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 25, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98082.json">CVE-2026-98082</a> Added Reference https://git.kernel.org/stable/c/1b4d4e890c2c85d0f6365b5a08c48b4bbf85deb0 Added Reference https://git.kernel.org/stable/c/83f0c973cffb184d019390ffdb5d31de5c85bc61 Added Reference https://git.kernel.org/stable/c/afbe73778338e6d1ac8c4486fbdf33f0cc1f2624 Added Reference https://git.kernel.org/stable/c/bb4da45766d16503821f167054db76b735d89e94