cve.bz

CVE-2026-23097 linux linux kernel: Race Condition

5.5 mediumEPSS 0.1%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: migrate: correct lock ordering for hugetlb file folios Syzbot has found a deadlock (analyzed by Lance Yang): 1) Task (5749): Holds folio_lock, then tries to acquire i_mmap_rwsem(read lock). 2) Task (5754): Holds i_mmap_rwsem(write lock), then tries to acquire folio_lock. migrate_pages() -> migrate_hugetlbs() -> unmap_and_move_huge_page() <- Takes folio_lock! -> remove_migration_ptes() -> __rmap_walk_file() -> i_mmap_lock_read() <- Waits for i_mmap_rwsem(read lock)! hugetlbfs_fallocate() -> hugetlbfs_punch_hole() <- Takes i_mmap_rwsem(write lock)! -> hugetlbfs_zero_partial_page() -> filemap_lock_hugetlb_folio() -> filemap_lock_folio() -> __filemap_get_folio <- Waits for folio_lock! The migration path is the one taking locks in the wrong order according to the documentation at the top of mm/rmap.c. So expand the scope of the existing i_mmap_lock to cover the calls to remove_migration_ptes() too. This is (mostly) how it used to be after commit c0d0381ade79. That was removed by 336bf30eb765 for both file & anon hugetlb pages when it should only have been removed for anon hugetlb pages.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 1st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-23097 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-23097?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-23097?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-23097 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-23097

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-23097](https://cve.bz/cve/badge/CVE-2026-23097.svg)](https://cve.bz/cve/CVE-2026-23097)

HTML:

<a href="https://cve.bz/cve/CVE-2026-23097"><img src="https://cve.bz/cve/badge/CVE-2026-23097.svg" alt="CVE-2026-23097"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 5.9.9 before 5.10
Linux5.10 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.249
Linux5.155.15.199
Linux6.16.1.162
Linux6.66.6.122
Linux6.126.12.68
Linux6.186.18.8
Linuxlater releases6.19

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.249-1DLA-4475-1
Debian11linux-6.16.1.162-1~deb11u1DLA-4476-1
Debian12linux6.1.162-1DEBIAN-CVE-2026-23097 DSA-6127-1
Debian13linux6.12.69-1DEBIAN-CVE-2026-23097 DSA-6126-1
Debian14linux6.18.8-1DEBIAN-CVE-2026-23097
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2026-23097
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2026-23097
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2026-23097
Ubuntu22.04:LTSlinux5.15.0-176.186UBUNTU-CVE-2026-23097 USN-8180-1
Ubuntu22.04:LTSlinux-aws5.15.0-1105.112UBUNTU-CVE-2026-23097 USN-8180-1
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1057.60~22.04.1UBUNTU-CVE-2026-23097
Ubuntu22.04:LTSlinux-azure5.15.0-1110.119UBUNTU-CVE-2026-23097 USN-8180-3
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1059.65~22.04.1UBUNTU-CVE-2026-23097 USN-8440-1
Ubuntu22.04:LTSlinux-azure-fde5.15.0-1114.123UBUNTU-CVE-2026-23097
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1058.65~22.04.1UBUNTU-CVE-2026-23097
Ubuntu22.04:LTSlinux-gcp5.15.0-1105.114UBUNTU-CVE-2026-23097 USN-8180-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1060.63~22.04.1UBUNTU-CVE-2026-23097
71 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.109.1.el8_10RHSA-2026:3464
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.109.1.el8_10RHSA-2026:3464
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.109.1.rt7.450.el8_10RHSA-2026:3463
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.109.1.rt7.450.el8_10RHSA-2026:3463
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-611.36.1.el9_7RHSA-2026:3488
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-611.36.1.el9_7RHSA-2026:3488
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-611.36.1.el9_7RHSA-2026:3488
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-611.36.1.el9_7RHSA-2026:3488
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-611.36.1.el9_7RHSA-2026:3488
Red Hatenterprise_linux:10.1rv, perf, rtla and 87 more0:6.12.0-124.43.1.el10_1RHSA-2026:4012
Red Hatenterprise_linux_eus:10.0rv, perf, rtla and 88 more0:6.12.0-55.72.1.el10_0RHSA-2026:15883
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.194.1.el8_4RHSA-2026:26535
26 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.78.1SUSE-SU-2026:3790-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7-RT_Update_191-150700.1.5.1SUSE-SU-2026:3810-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7_Update_201-150700.15.3.2SUSE-SU-2026:3790-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150700.53.78.1SUSE-SU-2026:3790-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-default-base6.4.0-150700.53.78.1.150700.17.43.2SUSE-SU-2026:3790-1
SUSELinux Enterprise Module for Development Tools 15 SP7kernel-docs, kernel-syms, kernel-source and 1 more6.4.0-150700.53.78.1SUSE-SU-2026:3790-1
SUSELinux Enterprise Module for Public Cloud 15 SP7kernel-azure6.4.0-150700.53.78.1SUSE-SU-2026:3790-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0kernel-64kb, kernel-docs, kernel-syms and 6 more6.12.0-160000.27.1SUSE-SU-2026:20931-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0kernel-default-base6.12.0-160000.27.1.160000.2.8SUSE-SU-2026:20931-1
SUSELinux Micro 6.0kernel-rt, kernel-source-rt6.4.0-51.1SUSE-SU-2026:23241-1
SUSELinux Micro 6.0kernel-source, kernel-default, kernel-kvmsmall6.4.0-51.1SUSE-SU-2026:23244-1
SUSELinux Micro 6.1kernel-rt, kernel-source-rt6.4.0-51.1SUSE-SU-2026:23193-1
5 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0kernel-default-base6.12.0-160000.27.1.160000.2.8openSUSE-SU-2026:20416-1
openSUSELeap 16.0kernel-rt, dtb-aarch64, kernel-64kb and 9 more6.12.0-160000.27.1openSUSE-SU-2026:20416-1
AlmaLinux8kernel-rt, kernel-rt-core, kernel-rt-debug and 7 more4.18.0-553.109.1.rt7.450.el8_10ALSA-2026:3463
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.109.1.el8_10ALSA-2026:3464
AlmaLinux9rv, perf, rtla and 71 more5.14.0-611.36.1.el9_7ALSA-2026:3488
AlmaLinux10kernel-doc, kernel-abi-stablelists6.12.0-124.43.1.el10_1ALSA-2026:4012
Rocky Linux8kernel0:4.18.0-553.109.1.el8_10RLSA-2026:3464
Rocky Linux8kernel-rt0:4.18.0-553.109.1.rt7.450.el8_10RLSA-2026:3463
Rocky Linux9kernel0:5.14.0-611.36.1.el9_7RLSA-2026:3488
Azure Linux3kernel6.6.126.1-1AZL-77181
Alpaquita23linux-lts6.1.163-r0BELL-CVE-2026-23097
Alpaquita25linux-lts6.12.73-r0BELL-CVE-2026-23097
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2026-23097

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A deadlock can occur when migrating hugetlb file backed folios due to incorrect lock ordering between folio_lock and the mapping i_mmap_rwsem. One task in the migration path can hold folio_lock and then block on i_mmap_lock_read. Another task such as hugetlbfs fallocate or punch hole can hold i_mmap_lock_write and then block on folio_lock. This ABBA pattern can hang tasks indefinitely and lead to a denial of service. For the CVSS the PR is N because the involved operations can be triggered by normal users who can access hugetlbfs and run memory pressure and file operations. The issue is not network reachable. Impact is denial of service due to hung tasks and potential system wide stalls.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernel-0:6.12.0-124.43.1.el10_1Fixed 2026-03-09RHSA-2026:4012
Red Hat Enterprise Linux 10.0 Extended Update Supportkernel-0:6.12.0-55.72.1.el10_0Fixed 2026-05-11RHSA-2026:15883
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.109.1.rt7.450.el8_10Fixed 2026-03-02RHSA-2026:3463
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.109.1.el8_10Fixed 2026-03-02RHSA-2026:3464
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.194.1.el8_4Fixed 2026-06-17RHSA-2026:26535
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-305.194.1.el8_4Fixed 2026-06-17RHSA-2026:26535
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.190.1.el8_6Fixed 2026-05-05RHSA-2026:13664
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.190.1.el8_6Fixed 2026-05-05RHSA-2026:13664
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.190.1.el8_6Fixed 2026-05-05RHSA-2026:13664
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicekernel-0:4.18.0-477.139.1.el8_8Fixed 2026-05-05RHSA-2026:13681
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionskernel-0:4.18.0-477.139.1.el8_8Fixed 2026-05-05RHSA-2026:13681
Red Hat Enterprise Linux 9kernel-0:5.14.0-611.36.1.el9_7Fixed 2026-03-02RHSA-2026:3488
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.178.1.el9_0Fixed 2026-05-06RHSA-2026:13936
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.178.1.rt21.250.el9_0Fixed 2026-05-06RHSA-2026:14137
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.169.1.el9_2Fixed 2026-05-05RHSA-2026:13734
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.169.1.rt14.454.el9_2Fixed 2026-05-06RHSA-2026:14301
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-23097.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON