Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-48797

HIGH 7.1EPSS 17%

mm: don't try to NUMA-migrate COW pages that have other uses

Mitigation

  • Upgrade Linux to 80d47f5de5e311cbc0d01ebb6ee684e8f4c196c6 or later.

Who should check

  • Anyone running Linux >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < 254090925e16abd914c87b4ad1b489440d89c4c3; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < b3dc4b9d3ca68b370c4aeab5355007eedf948849; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < d187eeb02d18446e5e54ed6bcbf8b47e6551daea; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < 80d47f5de5e311cbc0d01ebb6ee684e8f4c196c6
  • Anyone running Linux 5.9

Vulnerability facts

Affected
Linux >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < 254090925e16abd914c87b4ad1b489440d89c4c3; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < b3dc4b9d3ca68b370c4aeab5355007eedf948849; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < d187eeb02d18446e5e54ed6bcbf8b47e6551daea; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < 80d47f5de5e311cbc0d01ebb6ee684e8f4c196c6; Linux 5.9
Fixed in
Linux 254090925e16abd914c87b4ad1b489440d89c4c3, Linux 80d47f5de5e311cbc0d01ebb6ee684e8f4c196c6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: High
EPSS
0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: mm: don't try to NUMA-migrate COW pages that have other uses Oded Gabbay reports that enabling NUMA balancing causes corruption with his Gaudi accelerator test load: "All the details are in the bug, but the bottom line is that somehow, this patch causes corruption when the numa balancing feature is enabled AND we don't use process affinity AND we use GUP to pin pages so our accelerator can DMA to/from system memory. Either disabling numa balancing, using process affinity to bind to specific numa-node or reverting this patch causes the bug to disappear" and Oded bisected the issue to commit 09854ba94c6a ("mm: do_wp_page() simplification"). Now, the NUMA balancing shouldn't actually be changing the writability of a page, and as such shouldn't matter for COW. But it appears it does. Suspicious. However, regardless of that, the condition for enabling NUMA faults in change_pte_range() is nonsensical. It uses "page_mapcount(page)" to decide if a COW page should be NUMA-protected or not, and that makes absolutely no sense. The number of mappings a page has is irrelevant: not only does GUP get a reference to a page as in Oded's case, but the other mappings migth be paged out and the only reference to them would be in the page count. Since we should never try to NUMA-balance a page that we can't move anyway due to other references, just fix the code to use 'page_count()'. Oded confirms that that fixes his issue. Now, this does imply that something in NUMA balancing ends up changing page protections (other than the obvious one of making the page inaccessible to get the NUMA faulting information). Otherwise the COW simplification wouldn't matter - since doing the GUP on the page would make sure it's writable. The cause of that permission change would be good to figure out too, since it clearly results in spurious COW events - but fixing the nonsensical test that just happened to work before is obviously the CorrectThing(tm) to do regardless.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < 254090925e16abd914c87b4ad1b489440d89c4c3; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < b3dc4b9d3ca68b370c4aeab5355007eedf948849; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < d187eeb02d18446e5e54ed6bcbf8b47e6551daea; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < 80d47f5de5e311cbc0d01ebb6ee684e8f4c196c6—cvelist
Linux5.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-48797. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48797.md
Affected: Linux >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < 254090925e16abd914c87b4ad1b489440d89c4c3; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < b3dc4b9d3ca68b370c4aeab5355007eedf948849; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < d187eeb02d18446e5e54ed6bcbf8b47e6551daea; >= 09854ba94c6aad7886996bf…
Fixed in: Linux 254090925e16abd914c87b4ad1b489440d89c4c3, Linux 80d47f5de5e311cbc0d01ebb6ee684e8f4c196c6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-48797 being exploited?

There is no confirmed exploitation: CVE-2022-48797 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-48797?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-48797?

Linux >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < 254090925e16abd914c87b4ad1b489440d89c4c3; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < b3dc4b9d3ca68b370c4aeab5355007eedf948849; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < d187eeb02d18446e5e54ed6bcbf8b47e6551daea; >= 09854ba94c6aad7886996bfbee2530b3d8a7f4f4, < 80d47f5de5e311cbc0d01ebb6ee684e8f4c196c6; Linux 5.9.

Is there a fix for CVE-2022-48797?

Yes. Fixed in Linux 254090925e16abd914c87b4ad1b489440d89c4c3, Linux 80d47f5de5e311cbc0d01ebb6ee684e8f4c196c6. Upgrade Linux to 80d47f5de5e311cbc0d01ebb6ee684e8f4c196c6 or later.

How do I check if I'm affected by CVE-2022-48797?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors