Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

KVM: arm64: Fix host stage-2 PGD refcount

CVSS 3.1 8.8 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2021-47450

Published

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Fix host stage-2 PGD refcount The KVM page-table library refcounts the pages of concatenated stage-2 PGDs individually. However, when running KVM in protected mode, the host's stage-2 PGD is currently managed by EL2 as a single high-order compound page, which can cause the refcount of the tail pages to reach 0 when they shouldn't, hence corrupting the page-table. Fix this by introducing a new hyp_split_page() helper in the EL2 page allocator (matching the kernel's split_page() function), and make use of it from host_s2_zalloc_pages_exact().

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2021-47450

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/arm64/kvm/hyp/include/nvhe/gfp.h",
                        "arch/arm64/kvm/hyp/nvhe/mem_protect.c",
                        "arch/arm64/kvm/hyp/nvhe/page_alloc.c"
                    ],
                    "versions": [
                        {
                            "version": "1025c8c0c6accfcbdc8f52ca1940160f65cd87d6",
                            "lessThan": "b372264c66ef78f2cab44e877fbd765ad6d24c39",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1025c8c0c6accfcbdc8f52ca1940160f65cd87d6",
                            "lessThan": "1d58a17ef54599506d44c45ac95be27273a4d2b1",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/arm64/kvm/hyp/include/nvhe/gfp.h",
                        "arch/arm64/kvm/hyp/nvhe/mem_protect.c",
                        "arch/arm64/kvm/hyp/nvhe/page_alloc.c"
                    ],
                    "versions": [
                        {
                            "version": "5.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.13",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.14.15",
                            "lessThanOrEqual": "5.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 07:22 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current