Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2022-49666 — kernel

🟡 CVSS 5.5 — Medium ✅ No Known Exploit NVD
5.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

powerpc/memhotplug: Add add_pages override for PPC

In the Linux kernel, the following vulnerability has been resolved:

powerpc/memhotplug: Add add_pages override for PPC

With commit ffa0b64e3be5 ("powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit")

the kernel now validate the addr against high_memory value. This results

in the below BUG_ON with dax pfns.

[ 635.798741][T26531] kernel BUG at mm/page_alloc.c:5521!

1:mon> e

cpu 0x1: Vector: 700 (Program Check) at [c000000007287630]

pc: c00000000055ed48: free_pages.part.0+0x48/0x110

lr: c00000000053ca70: tlb_finish_mmu+0x80/0xd0

sp: c0000000072878d0

msr: 800000000282b033

current = 0xc00000000afabe00

paca = 0xc00000037ffff300 irqmask: 0x03 irq_happened: 0x05

pid = 26531, comm = 50-landscape-sy

kernel BUG at :5521!

Linux version 5.19.0-rc3-14659-g4ec05be7c2e1 (kvaneesh@ltc-boston8) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #625 SMP Thu Jun 23 00:35:43 CDT 2022

1:mon> t

[link register ] c00000000053ca70 tlb_finish_mmu+0x80/0xd0

[c0000000072878d0] c00000000053ca54 tlb_finish_mmu+0x64/0xd0 (unreliable)

[c000000007287900] c000000000539424 exit_mmap+0xe4/0x2a0

[c0000000072879e0] c00000000019fc1c mmput+0xcc/0x210

[c000000007287a20] c000000000629230 begin_new_exec+0x5e0/0xf40

[c000000007287ae0] c00000000070b3cc load_elf_binary+0x3ac/0x1e00

[c000000007287c10] c000000000627af0 bprm_execve+0x3b0/0xaf0

[c000000007287cd0] c000000000628414 do_execveat_common.isra.0+0x1e4/0x310

[c000000007287d80] c00000000062858c sys_execve+0x4c/0x60

[c000000007287db0] c00000000002c1b0 system_call_exception+0x160/0x2c0

[c000000007287e10] c00000000000c53c system_call_common+0xec/0x250

The fix is to make sure we update high_memory on memory hotplug.

This is similar to what x86 does in commit 3072e413e305 ("mm/memory_hotplug: introduce add_pages")

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

CVE-2022-49666 is recorded against 2 packages.

  • kernel (from 5.16.0 up to 5.18.10)
  • linux-kernel

Timeline and source

Published on 26 February 2025 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

Other advisories for this package

kernel has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2022-49666 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Medium
CVSS Score 5.5
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-02-26
Updated 2026-08-20
Modified 2026-08-12

Affected Packages

Software From version Fixed in
kernel 5.16.0 5.18.10
linux-kernel — —

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in kernel

CVE-2022-49666 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2022
✓