CVE & CISA-KEV Catalog

CVE-2022-49171

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: don't BUG if someone dirty pages without asking ext4 first [un]pin_user_pages_remote is dirtying pages without properly warning the file system in advance. A related race was noted by Jan Kara in 2018[1]; however, more recently instead of it being a very hard-to-hit race, it could be reliably triggered by process_vm_writev(2) which was discovered by Syzbot[2]. This is technically a bug in mm/gup.c, but arguably ext4 is fragile in that if some other kernel subsystem dirty pages without properly notifying the file system using page_mkwrite(), ext4 will BUG, while other file systems will not BUG (although data will still be lost). So instead of crashing with a BUG, issue a warning (since there may be potential data loss) and just mark the page as clean to avoid unprivileged denial of service attacks until the problem can be properly fixed. More discussion and background can be found in the thread starting at [2]. [1] https://lore.kernel.org/linux-mm/[email protected] [2] https://lore.kernel.org/r/[email protected]

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.113-1CVE-2022-49171
Fixed in:5.17.3-1CVE-2022-49171
Fixed in:5.17.3-1CVE-2022-49171
Fixed in:5.17.3-1CVE-2022-49171

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.26%probability of exploitation in 30 days
17thpercentile

Low risk: more likely to be exploited than 17% of all known CVEs.

References

Related Vulnerabilities

Other CWE-617 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-8617High7.593%-Fix
CVE-2020-36222High7.578%-Fix
CVE-2006-5779High7.575%-Fix
CVE-2021-27212High7.564%-Fix
CVE-2018-5740High7.559%-Fix
CVE-2023-28425Medium5.555%-Fix
Embed a live status badge for CVE-2022-49171
CVE-2022-49171 severity badge

Markdown

[![CVE-2022-49171](https://tridentstack.com/cve/badge/CVE-2022-49171.svg)](https://tridentstack.com/cve/CVE-2022-49171)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-49171"><img src="https://tridentstack.com/cve/badge/CVE-2022-49171.svg" alt="CVE-2022-49171"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-23.