{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-46251 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-46251 is a high-severity memory corruption vulnerability in Linux kernel, published on 3 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-46251 and fix it if it is affected.\n\nWhat it is: CVE-2026-46251 is a high-severity memory corruption vulnerability in Linux kernel, published on 3 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-46251 in the wild and no public exploit code.\n\nAffected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-46251/ (Markdown: https://insights.sbomify.com/CVE-2026-46251/index.md)","id":"CVE-2026-46251","markdown":"https://insights.sbomify.com/CVE-2026-46251/index.md","name":"CVE-2026-46251","record":{"aliases":["BELL-CVE-2026-46251","DEBIAN-CVE-2026-46251","GHSA-c5jw-wr2h-vpj4","UBUNTU-CVE-2026-46251"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Linux kernel filesystem","requires_auth":"none","summary":"A memory corruption vulnerability in the Linux kernel's btrfs filesystem allows attackers to cause system crashes or potentially execute code when specific features are enabled.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix block_group_tree dirty_list corruption\n\nWhen the incompat flag EXTENT_TREE_V2 is set, we unconditionally add the\nblock group tree to the switch_commits list before calling\nswitch_commit_roots, as we do for the tree root and the chunk root.\nHowever, the block group tree uses normal root dirty tracking and in any\ntransaction that does an allocation and dirties a block group, the block\ngroup root will already be linked to a list by the dirty_list field and\nthis use of list_add_tail() is invalid and corrupts the prev/next\nmembers of block_group_root-\u003edirty_list.\n\nThis is apparent on a subsequent list_del on the prev if we enable\nCONFIG_DEBUG_LIST:\n\n  [32.1571] ------------[ cut here ]------------\n  [32.1572] list_del corruption. next-\u003eprev should beffff958890202538, but was ffff9588992bd538. (next=ffff958890201538)\n  [32.1575] WARNING: lib/list_debug.c:65 at 0x0, CPU#3: sync/607\n  [32.1583] CPU: 3 UID: 0 PID: 607 Comm: sync Not tainted 6.18.0 #24PREEMPT(none)\n  [32.1585] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS1.17.0-4.fc41 04/01/2014\n  [32.1587] RIP: 0010:__list_del_entry_valid_or_report+0x108/0x120\n  [32.1593] RSP: 0018:ffffaa288287fdd0 EFLAGS: 00010202\n  [32.1594] RAX: 0000000000000001 RBX: ffff95889326e800 RCX:ffff958890201538\n  [32.1596] RDX: ffff9588992bd538 RSI: ffff958890202538 RDI:ffffffff82a41e00\n  [32.1597] RBP: ffff958890202538 R08: ffffffff828fc1e8 R09:00000000ffffefff\n  [32.1599] R10: ffffffff8288c200 R11: ffffffff828e4200 R12:ffff958890201538\n  [32.1601] R13: ffff95889326e958 R14: ffff958895c24000 R15:ffff958890202538\n  [32.1603] FS:  00007f0c28eb5740(0000) GS:ffff958af2bd2000(0000)knlGS:0000000000000000\n  [32.1605] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n  [32.1607] CR2: 00007f0c28e8a3cc CR3: 0000000109942005 CR4:0000000000370ef0\n  [32.1609] Call Trace:\n  [32.1610]  \u003cTASK\u003e\n  [32.1611]  switch_commit_roots+0x82/0x1d0 [btrfs]\n  [32.1615]  btrfs_commit_transaction+0x968/0x1550 [btrfs]\n  [32.1618]  ? btrfs_attach_transaction_barrier+0x23/0x60 [btrfs]\n  [32.1621]  __iterate_supers+0xe8/0x190\n  [32.1622]  ? __pfx_sync_fs_one_sb+0x10/0x10\n  [32.1623]  ksys_sync+0x63/0xb0\n  [32.1624]  __do_sys_sync+0xe/0x20\n  [32.1625]  do_syscall_64+0x73/0x450\n  [32.1626]  entry_SYSCALL_64_after_hwframe+0x76/0x7e\n  [32.1627] RIP: 0033:0x7f0c28d05d2b\n  [32.1632] RSP: 002b:00007ffc9d988048 EFLAGS: 00000246 ORIG_RAX:00000000000000a2\n  [32.1634] RAX: ffffffffffffffda RBX: 00007ffc9d988228 RCX:00007f0c28d05d2b\n  [32.1636] RDX: 00007f0c28e02301 RSI: 00007ffc9d989b21 RDI:00007f0c28dba90d\n  [32.1637] RBP: 0000000000000001 R08: 0000000000000001 R09:0000000000000000\n  [32.1639] R10: 0000000000000000 R11: 0000000000000246 R12:000055b96572cb80\n  [32.1641] R13: 000055b96572b19f R14: 00007f0c28dfa434 R15:000055b96572b034\n  [32.1643]  \u003c/TASK\u003e\n  [32.1644] irq event stamp: 0\n  [32.1644] hardirqs last  enabled at (0): [\u003c0000000000000000\u003e] 0x0\n  [32.1646] hardirqs last disabled at (0): [\u003cffffffff81298817\u003e]copy_process+0xb37/0x2260\n  [32.1648] softirqs last  enabled at (0): [\u003cffffffff81298817\u003e]copy_process+0xb37/0x2260\n  [32.1650] softirqs last disabled at (0): [\u003c0000000000000000\u003e] 0x0\n  [32.1652] ---[ end trace 0000000000000000 ]---\n\nFurthermore, this list corruption eventually (when we happen to add a\nnew block group) results in getting the switch_commits and\ndirty_cowonly_roots lists mixed up and attempting to call update_root\non the tree root which can't be found in the tree root, resulting in a\ntransaction abort:\n\n  [87.8269] BTRFS critical (device nvme1n1): unable to find root key (1 0 0) in tree 1\n  [87.8272] ------------[ cut here ]------------\n  [87.8274] BTRFS: Transaction aborted (error -117)\n  [87.8275] WARNING: fs/btrfs/root-tree.c:153 at 0x0, CPU#4: sync/703\n  [87.8285] CPU: 4 UID: 0 PID: 703 Comm: sync Not tainted 6.18.0 #25 PREEMPT(none)\n  [87.8287] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.17.0-4.fc41 0\n---truncated---","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"btrfs: fix block_group_tree dirty_list corruption","id":"CVE-2026-46251","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"regulator: core: fix locking in regulator_resolve_supply() error path","id":"CVE-2026-46252"},"packages":[],"prev":{"headline":"MIPS: Work around LLVM bug when gp is used as global register variable","id":"CVE-2026-46250"},"products":["Linux"],"published":"2026-06-03","related":[{"cvss_score":8.8,"headline":"Linux Kernel Out-of-Bounds Write","id":"CVE-2026-53266","kev_date_added":"2026-09-18","published":"2026-06-25"},{"cvss_score":8.8,"headline":"Linux Kernel Improper Input Validation","id":"CVE-2013-6282","kev_date_added":"2022-09-15","published":"2013-11-19"},{"cvss_score":8.4,"headline":"Linux Kernel Heap-Based Buffer Overflow","id":"CVE-2022-0185","kev_date_added":"2024-08-21","published":"2022-02-11"},{"cvss_score":8.4,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2013-2094","kev_date_added":"2022-09-15","published":"2013-05-14"},{"cvss_score":7.8,"headline":"Linux Kernel Unspecified","id":"CVE-2026-53362","kev_date_added":"2026-08-27","published":"2026-07-04"},{"cvss_score":7.8,"headline":"Linux Kernel Missing Initialization of a Variable","id":"CVE-2026-46300","kev_date_added":"2026-10-28","published":"2026-05-23"},{"cvss_score":7.8,"headline":"Linux Kernel Race Condition","id":"CVE-2025-39964","kev_date_added":"2026-09-18","published":"2025-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-08-05","vendors":["Linux"]},"summary":"A memory corruption vulnerability in the Linux kernel's btrfs filesystem allows attackers to cause system crashes or potentially execute code when specific features are enabled.","url":"https://insights.sbomify.com/CVE-2026-46251/"}