<Vulnerability name="CVE-2026-31686">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-04-27T00:00:00</PublicDate>
    <Bugzilla id="2463262" url="https://bugzilla.redhat.com/show_bug.cgi?id=2463262" xml:lang="en:us">
kernel: mm/kasan: fix double free for kasan pXds
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>6.7</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-763</CWE>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in the Linux kernel. A double-free vulnerability exists in the Kernel Address Sanitizer (KASAN) component, specifically within the `kasan_free_pxd()` function. This issue arises because the function incorrectly assumes that page tables are always page-aligned, which is not consistent across all architectures. This can lead to a double-free when memory is deallocated, potentially causing a system crash and resulting in a Denial of Service (DoS).
    </Details>
    <Statement xml:lang="en:us">
This Moderate impact flaw in the Linux kernel's Kernel Address Sanitizer (KASAN) component can lead to a system crash due to a double-free vulnerability. The issue arises from incorrect assumptions about page table alignment across different architectures, potentially resulting in a Denial of Service. This flaw is exploited with a debug enable flag with needs a privileged user to exploit.
    </Statement>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:6">
        <ProductName>Red Hat Enterprise Linux 6</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel-rt</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>kernel-rt</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>kernel-rt</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-31686
https://nvd.nist.gov/vuln/detail/CVE-2026-31686
https://lore.kernel.org/linux-cve-announce/2026042722-CVE-2026-31686-df69@gregkh/T
    </References>
</Vulnerability>