CVE-2026-23161
linux linux kernel
Patch priority
RegularFix with the next regular update.
- CVSS
- 4.7
- Severity
- 4.7
- EPSS
- 0.1 %
- Percentile
- 1
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: mm/shmem, swap: fix race of truncate and swap entry split The helper for shmem swap freeing is not handling the order of swap entries correctly. It uses xa_cmpxchg_irq to erase the swap entry, but it gets the entry order before that using xa_get_order without lock protection, and it may get an outdated order value if the entry is split or changed in other ways after the xa_get_order and before the xa_cmpxchg_irq. And besides, the order could grow and be larger than expected, and cause truncation to erase data beyond the end border. For example, if the target entry and following entries are swapped in or freed, then a large folio was added in place and swapped out, using the same entry, the xa_cmpxchg_irq will still succeed, it's very unlikely to happen though. To fix that, open code the Xarray cmpxchg and put the order retrieval and value checking in the same critical section. Also, ensure the order won't exceed the end border, skip it if the entry goes across the border. Skipping large swap entries crosses the end border is safe here. Shmem truncate iterates the range twice, in the first iteration, find_lock_entries already filtered such entries, and shmem will swapin the entries that cross the end border and partially truncate the folio (split the folio or at least zero part of it). So in the second loop here, if we see a swap entry that crosses the end order, it must at least have its content erased already. I observed random swapoff hangs and kernel panics when stress testing ZSWAP with shmem. After applying this patch, all problems are gone.
- Vendor / product
- linux linux kernel
- Published
- 14.02.2026
- Modified
- 17.06.2026
- CWE
- CWE-362
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Vendor updates
28- SUSE: SUSE-SU-2026:23337-1 – Security update for the Linux Kernel (Live Patch 5 for SUSE Linux Enterprise 16) 31.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23338-1 – Security update for the Linux Kernel (Live Patch 4 for SUSE Linux Enterprise 16) 31.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23339-1 – Security update for the Linux Kernel (Live Patch 3 for SUSE Linux Enterprise 16) 31.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23340-1 – Security update for the Linux Kernel (Live Patch 2 for SUSE Linux Enterprise 16) 31.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23341-1 – Security update for the Linux Kernel (Live Patch 0 for SUSE Linux Enterprise 16) 31.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23343-1 – Security update for the Linux Kernel (Live Patch 1 for SUSE Linux Enterprise 16) 31.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23288-1 – Security update for the Linux Kernel (Live Patch 5 for SUSE Linux Enterprise 16) 28.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23290-1 – Security update for the Linux Kernel (Live Patch 4 for SUSE Linux Enterprise 16) 28.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23291-1 – Security update for the Linux Kernel (Live Patch 3 for SUSE Linux Enterprise 16) 28.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23292-1 – Security update for the Linux Kernel (Live Patch 2 for SUSE Linux Enterprise 16) 28.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23293-1 – Security update for the Linux Kernel (Live Patch 0 for SUSE Linux Enterprise 16) 28.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23296-1 – Security update for the Linux Kernel (Live Patch 1 for SUSE Linux Enterprise 16) 28.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23267-1 – Security update for the Linux Kernel RT (Live Patch 5 for SUSE Linux Enterprise 16) 26.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23268-1 – Security update for the Linux Kernel RT (Live Patch 4 for SUSE Linux Enterprise 16) 26.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23269-1 – Security update for the Linux Kernel RT (Live Patch 3 for SUSE Linux Enterprise 16) 26.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23270-1 – Security update for the Linux Kernel RT (Live Patch 2 for SUSE Linux Enterprise 16) 26.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23271-1 – Security update for the Linux Kernel RT (Live Patch 1 for SUSE Linux Enterprise 16) 26.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23272-1 – Security update for the Linux Kernel RT (Live Patch 0 for SUSE Linux Enterprise 16) 26.08.2026 · Critical · Patch day
- Ubuntu: USN-8669-1 – Linux kernel (NVIDIA) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8570-2 – Linux kernel (Oracle) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8605-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8604-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8594-1 – Linux kernel (OEM) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8570-1 – Linux kernel vulnerabilities 20.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21284-1 – Security update for google-guest-agent 27.04.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20931-1 – Security update for the Linux Kernel 01.04.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20838-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20873-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.