---
id: CVE-2026-99177
title: 'KVM: SEV: Fix page dirtying in sev_gmem_post_populate()'
summary: |-
  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 co…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 97cd21d57e9bd2da79845178d9250cfd19289cd4 <
    184382f9852d433af21de96c334ecf43b8414ed8
  - >-
    Linux >= 97cd21d57e9bd2da79845178d9250cfd19289cd4 <
    97818b2fa7082e940ddd36dab12a68615300e798
  - Linux 7.2
published: '2026-10-28'
updated: '2026-10-28'
sourceUpdated: '2026-10-28T10:35:31.315Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-99177'
references:
  - url: 'https://git.kernel.org/stable/c/184382f9852d433af21de96c334ecf43b8414ed8'
  - url: 'https://git.kernel.org/stable/c/97818b2fa7082e940ddd36dab12a68615300e798'
tags:
  - cve.org
ingestedAt: '2026-10-28T11:09:40.385Z'
---

## Overview

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]

## Affected

- `Linux >= 97cd21d57e9bd2da79845178d9250cfd19289cd4 < 184382f9852d433af21de96c334ecf43b8414ed8`
- `Linux >= 97cd21d57e9bd2da79845178d9250cfd19289cd4 < 97818b2fa7082e940ddd36dab12a68615300e798`
- `Linux 7.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
