Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99177

published high CVSS 3.1 · 7.8

KVM: SEV: Fix page dirtying in sev_gmem_post_populate()

Published
28 Oct 2026, 10:35:31 UTC
Updated
31 Oct 2026, 12:44:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux97cd21d57e9bd2da79845178d9250cfd19289cd4 to < 184382f9852d433af21de96c334ecf43b8414ed8 · 97cd21d57e9bd2da79845178d9250cfd19289cd4 to < 97818b2fa7082e940ddd36dab12a68615300e798 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.2 (affected) · 0 to < 7.2 (unaffected · semver) · 7.2.13 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Fix page dirtying in sev_gmem_post_populate() set_page_dirty() requires that the caller holds some kind of lock to ensure that the page's mapping does not concurrently go away. That is not the case for a random page we got from get_user_pages_fast(), so use set_page_dirty_lock(). [sean: tag for stable]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Local ioctl(KVM_MEMORY_ENCRYPT_OP) follows kvm_vm_ioctl() → sev_mem_enc_ioctl() → snp_launch_update() → kvm_gmem_populate() → patched sev_gmem_post_populate(); the triggering CPUID page comes from the ioctl's userspace uaddr, not a network peer or guest. AC:L - The caller can supply a CPUID page that makes SEV_CMD_SNP_LAUNCH_UPDATE return SEV_RET_INVALID_PARAM and concurrently tear down its file-backed source mapping; the same attacker controls both sides of the set_page_dirty() race. PR:L - kvm_vm_ioctl() requires a same-mm VM fd and __sev_issue_cmd() requires a valid /dev/sev fd, but sev_mem_enc_ioctl() and snp_launch_update() perform no capability check; an unprivileged VMM account granted those device fds suffices. UI:N - The attacker creates and initializes the SNP VM, submits the rejected CPUID page, and races teardown of that page's mapping without any action by another user. S:U - The UAF occurs in the host kernel while servicing the host VMM's launch ioctl; it is not a guest-to-host escape because the guest has not begun executing on this pre-launch failure path. C:H - folio_mark_dirty() can invoke mapping->a_ops->dirty_folio through a freed inode-embedded address_space; grooming the stale object and exploiting the resulting kernel control-flow or mapping-state corruption can provide arbitrary host-kernel memory access. I:H - For buffer-backed pages, the stale callback can enter block_dirty_folio(), modify freed mapping locks and buffer state, then call __folio_mark_dirty() and __mark_inode_dirty() through reused objects, providing exploitable UAF writes and potential kernel code execution. A:H - The stale dirty_folio callback can dereference freed or poisoned a_ops, spinlocks, buffer heads, or host-inode state, causing a host kernel oops or panic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 97cd21d57e9bd2da79845178d9250cfd19289cd4 to < 184382f9852d433af21de96c334ecf43b8414ed8 (affected · git)97cd21d57e9bd2da79845178d9250cfd19289cd4 to < 97818b2fa7082e940ddd36dab12a68615300e798 (affected · git)Default: unaffected Linux · cna
Linux Linux 7.2 (affected)0 to < 7.2 (unaffected · semver)7.2.13 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

KVM: SEV: Fix page dirtying in sev_gmem_post_populate()

Provenance

Schema
5.2
Searchable
yes
Content hash
199f03fab30a68d3bad4fde17ecddc4423eb88832423645c39c66283ac9a8463
Ingested
31 Oct 2026, 12:46:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected