CVE-2026-31703

linux: In the Linux kernel, the following vulnerability has been resolved: writeback: Fix use after free in inode_switch_wb...

CVE-2026-31703 is fixed in 34 products on 1 platform, first by ALAS2023-2026-1693, released May 8, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0012
1st percentile

In the Linux kernel, the following vulnerability has been resolved: writeback: Fix use after free in inode_switch_wbs_work_fn() inode_switch_wbs_work_fn() has a loop like: wb_get(new_wb); while (1) { list = llist_del_all(&new_wb->switch_wbs_ctxs); /* Nothing to do? */ if (!list) break; ... process the items ... } Now adding of items to the list looks like: wb_queue_isw() if (llist_add(&isw->list, &wb->switch_wbs_ctxs)) queue_work(isw_wq, &wb->switch_work); Because inode_switch_wbs_work_fn() loops when processing isw items, it can happen that wb->switch_work is pending while wb->switch_wbs_ctxs is empty. This is a problem because in that case wb can get freed (no isw items -> no wb reference) while the work is still pending causing use-after-free issues. We cannot just fix this by cancelling work when freeing wb because that could still trigger problematic 0 -> 1 transitions on wb refcount due to wb_get() in inode_switch_wbs_work_fn(). It could be all handled with more careful code but that seems unnecessarily complex so let's avoid that until it is proven that the looping actually brings practical benefit. Just remove the loop from inode_switch_wbs_work_fn() instead. That way when wb_queue_isw() queues work, we are guaranteed we have added the first item to wb->switch_wbs_ctxs and nobody is going to remove it (and drop the wb reference it holds) until the queued work runs.

Where it's fixed

ProductFixed inFixReleased
Linux
bpftool6.18 · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
bpftool6.18-debuginfo · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
dtb-aarch64 · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-64kb · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-64kb · sles 15.7 6.4.0-150700.53.60.1 SUSE-SU-2026:2482-1 Jun 22, 2026
kernel-64kb · sles 16.0 6.12.0-160000.35.1 SUSE-SU-2026:22127-1 Jun 15, 2026
kernel-azure · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-azure · sles 15.7 6.4.0-150700.53.60.1 SUSE-SU-2026:2482-1 Jun 22, 2026
kernel-azure · sles 16.0 6.12.0-160000.35.1 SUSE-SU-2026:22127-1 Jun 15, 2026
kernel-default · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-default · sles 15.7 6.4.0-150700.53.60.1 SUSE-SU-2026:2482-1 Jun 22, 2026
kernel-default · sles 16.0 6.12.0-160000.35.1 SUSE-SU-2026:22127-1 Jun 15, 2026
kernel-default-base · opensuse-leap 16.0 6.12.0-160000.35.1.160000.2.16 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-default-base · sles 15.7 6.4.0-150700.53.60.1.150700.17.35.4 SUSE-SU-2026:2482-1 Jun 22, 2026
kernel-default-base · sles 16.0 6.12.0-160000.35.1.160000.2.16 SUSE-SU-2026:22127-1 Jun 15, 2026
kernel-docs · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-docs · sles 15.7 6.4.0-150700.53.60.1 SUSE-SU-2026:2482-1 Jun 22, 2026
kernel-docs · sles 16.0 6.12.0-160000.35.1 SUSE-SU-2026:22127-1 Jun 15, 2026
kernel-kvmsmall · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-kvmsmall · sles 16.0 6.12.0-160000.35.1 SUSE-SU-2026:22127-1 Jun 15, 2026
kernel-livepatch-6.18.25-55.108 · amzn 2023 1:1.0-0.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel-livepatch-SLE15-SP7-RT_Update_16 · sles 15.7 1-150700.1.5.2 SUSE-SU-2026:2591-1 Jun 23, 2026
kernel-livepatch-SLE15-SP7_Update_16 · sles 15.7 1-150700.15.3.2 SUSE-SU-2026:2482-1 Jun 22, 2026
kernel-obs-build · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-obs-build · sles 15.7 6.4.0-150700.53.60.2 SUSE-SU-2026:2482-1 Jun 22, 2026
kernel-obs-qa · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-obs-qa · sles 16.0 6.12.0-160000.35.1 SUSE-SU-2026:22127-1 Jun 15, 2026
kernel-rt · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-source · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-source · sles 15.7 6.4.0-150700.53.60.1 SUSE-SU-2026:2482-1 Jun 22, 2026
kernel-source · sles 16.0 6.12.0-160000.35.1 SUSE-SU-2026:22127-1 Jun 15, 2026
kernel-syms · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-syms · sles 15.7 6.4.0-150700.53.60.1 SUSE-SU-2026:2482-1 Jun 22, 2026
kernel-syms · sles 16.0 6.12.0-160000.35.1 SUSE-SU-2026:22127-1 Jun 15, 2026
kernel-zfcpdump · opensuse-leap 16.0 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1 Jun 15, 2026
kernel-zfcpdump · sles 15.7 6.4.0-150700.53.60.1 SUSE-SU-2026:2482-1 Jun 22, 2026
kernel-zfcpdump · sles 16.0 6.12.0-160000.35.1 SUSE-SU-2026:22127-1 Jun 15, 2026
kernel6.18 · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel6.18-debuginfo · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel6.18-debuginfo-common-aarch64 · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel6.18-debuginfo-common-x86_64 · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel6.18-devel · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel6.18-headers · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel6.18-modules-extra · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel6.18-modules-extra-common · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel6.18-tools · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel6.18-tools-debuginfo · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
kernel6.18-tools-devel · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
linux · Debian 14 7.0.3-1 DEBIAN-CVE-2026-31703 May 15, 2026
perf6.18 · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
perf6.18-debuginfo · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
python3-perf6.18 · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026
python3-perf6.18-debuginfo · amzn 2023 1:6.18.25-55.108.amzn2023 ALAS2023-2026-1693 May 8, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.