CVE-2026-79979

Source
https://cve.org/CVERecord?id=CVE-2026-79979
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-79979.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-79979
Aliases
  • GHSA-6pqm-hfxf-48qv
Downstream
Published
2026-10-23T19:56:16Z
Modified
2026-11-04T13:05:57Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Stale TLB entries after demand-paging page-out let arm64 user threads access reused physical frames
Details

The arm64 MMU backend invalidates a single virtual address from the TLB with invalidate_tlb_page() in arch/arm64/core/mmu.c, which issued TLBI VAE1{IS} with an operand of virt >> 12. That operand encodes the ASID in bits [63:48], so the invalidation only ever matched ASID 0 (the kernel page tables) and global entries. Memory domains, however, are allocated ASIDs starting at 1 in arch_mem_domain_init(), and every domain-private leaf created by private_map() is mapped with MT_NG, i.e. non-global. A domain's cached translation therefore survived the invalidation.

All callers of invalidate_tlb_page() are demand-paging paths. When the eviction algorithm reclaims a frame, page_frame_prepare_locked() in kernel/mmu.c calls arch_mem_page_out(), which marks the kernel leaf invalid, propagates the invalid descriptor into every domain via sync_domains(), and then flushes only ASID 0. do_page_fault() immediately reuses the very same page frame for the incoming mapping through arch_mem_page_in(). A user thread that had already touched the evicted page — a k_mem_partition added with arch_mem_domain_partition_add(), or its own stack mapped by map_thread_stack() — retains a valid EL0 read/write translation to that physical frame under its own ASID.

Unprivileged code running in a user thread can drive memory pressure to force eviction and then keep accessing the stale address, obtaining read and write access to whatever the kernel subsequently placed in that frame: supervisor data, another memory domain's partition, or another thread's stack. This defeats the isolation that CONFIG_USERSPACE is meant to enforce, allowing information disclosure and memory corruption up to full compromise of the system.

The fix switches the implementation to TLBI VAAE1{IS}, which matches every ASID and both global and non-global entries, so no domain-tagged translation survives a page out, dirty-bit update or access-flag clear. Exploitation requires an arm64 build with both CONFIG_USERSPACE and CONFIG_DEMAND_PAGING enabled, an active backing store, and at least one demand-paged page that is also privately mapped into a user memory domain. The same commit additionally stops globalize_table() from stripping EL0 permission and non-global attributes off domain-private leaves during paging synchronization, which previously caused user threads to lose access to their own partitions and stacks.

Database specific
{
    "cna_assigner":  "zephyr",
    "cwe_ids":  [
        "CWE-416"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/79xxx/CVE-2026-79979.json"
}
References

Affected packages

Git / github.com/zephyrproject-rtos/zephyr

Affected ranges

Type
GIT
Repo
https://github.com/zephyrproject-rtos/zephyr
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "4.3.0"
                },
                {
                    "fixed":  "4.5.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "d732e9f808f16911d06769b3f756246f3528669f"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v4.*
v4.3.0
v4.4.0
v4.4.0-rc1
v4.4.0-rc2
v4.4.0-rc3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-79979.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "30554736485564587931478614680959027237",
                "55604815900499274248235385325457050325",
                "212148200319978893615154225454442237477",
                "137399290503540173520760857611855173420",
                "60252124410421579093379113539938449168",
                "115657862348614707524537052028436674299",
                "71473976276869373531761480936880697255",
                "47376534440407758202886355708152118073",
                "86782506223648473556443723091422300364",
                "325288346616874265686862755061500979417",
                "324033241506225816487703070674328382",
                "243868890711426460594952459323571402223",
                "196451318133315720077072605485724938096",
                "216297320583476710834927208385916892913",
                "311510307456461946214726908202806030303",
                "200094456629746888190170806470519141403",
                "237243287451746229025352329703559401928",
                "333485314769612350551614256861072216821",
                "26779408214691944688038754117933328717",
                "186051416225323010363808797893897453172",
                "318963699380549571729248205921607567697",
                "24000402988492593925445727455033633438",
                "10112832776656568199319758218405315200",
                "143045624740495761122162135401167605096",
                "92024487890120408335546282319515863790",
                "171869842019901683838028162517388549746",
                "91645354449063103745632250829698724109",
                "30486952064678070480036375210160683457",
                "205567321831988498474333994082304396655",
                "12428364849113681444152858955026343490",
                "96779469804459582139000216976636754114",
                "270073495641435629594166856107582667482",
                "191421525271931846573884924292861939345",
                "255610290838344881148899114271427866923",
                "184782880716952234391292205009517420812",
                "73642482986610229254295976008047732464",
                "32742718852287608238236427546447307295",
                "167938191507018381056863656094501022712",
                "229729993284271442675963396198181481642",
                "243427989821425422898100636038507879760",
                "6365674527795013279211389013912678540",
                "201044141257499473788538387201173929439",
                "113032886769380444823958023795313307501",
                "80782585214956936055048455856350586638",
                "11456091490181790944749498025042967939",
                "115522872588660353185725074843943534202",
                "207751328064779949681802183537502708548",
                "226004311627610339813436172494196014074",
                "204573662362367949209839567665023908038",
                "85934370011596627221391609342412902850",
                "7435566865404830475123330006989951828"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-79979-1c124319",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/zephyrproject-rtos/zephyr/commit/d732e9f808f16911d06769b3f756246f3528669f",
        "target":  {
            "file":  "arch/arm64/core/mmu.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "225986250195443741918079175034819227235",
            "length":  272
        },
        "id":  "CVE-2026-79979-890a59d3",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/zephyrproject-rtos/zephyr/commit/d732e9f808f16911d06769b3f756246f3528669f",
        "target":  {
            "file":  "arch/arm64/core/mmu.c",
            "function":  "reset_map"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "73808630150455906435988190287159820129",
            "length":  396
        },
        "id":  "CVE-2026-79979-91f84f5b",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/zephyrproject-rtos/zephyr/commit/d732e9f808f16911d06769b3f756246f3528669f",
        "target":  {
            "file":  "arch/arm64/core/mmu.c",
            "function":  "globalize_page_range"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "239546044363654108656709079348490519022",
            "length":  1528
        },
        "id":  "CVE-2026-79979-a8eb6d93",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/zephyrproject-rtos/zephyr/commit/d732e9f808f16911d06769b3f756246f3528669f",
        "target":  {
            "file":  "arch/arm64/core/mmu.c",
            "function":  "globalize_table"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "44710538113502182136070023039477126887",
            "length":  304
        },
        "id":  "CVE-2026-79979-a9164f83",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/zephyrproject-rtos/zephyr/commit/d732e9f808f16911d06769b3f756246f3528669f",
        "target":  {
            "file":  "arch/arm64/core/mmu.c",
            "function":  "invalidate_tlb_page"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "161326066103118254152126105838494785864",
            "length":  519
        },
        "id":  "CVE-2026-79979-cdad28fc",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/zephyrproject-rtos/zephyr/commit/d732e9f808f16911d06769b3f756246f3528669f",
        "target":  {
            "file":  "arch/arm64/core/mmu.c",
            "function":  "sync_domains"
        }
    }
]
vanir_signatures_modified
"2026-11-04T13:05:57Z"