powerpc/memhotplug: Add add_pages override for PPC
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 3 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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")
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.15.34 to before 5.15.53; 5.4.190 to before 5.5; 5.10.111 to before 5.11; 5.16.20 to before 5.17; 5.17.3 to before 5.18 | 5.15.53, 5.5, 5.11, 5.17, 5.18 | Patch available | CNA |
| Linux | Linux | 5.18 and later | 5.15.53, 5.18.10, 5.19 | Patch available | CNA |
- Linux VendorLinux Affected 5.15.34 to before 5.15.53; 5.4.190 to before 5.5; 5.10.111 to before 5.11; 5.16.20 to before 5.17; 5.17.3 to before 5.18 Fixed in 5.15.53, 5.5, 5.11, 5.17, 5.18 Patch available CNA
- Linux VendorLinux Affected 5.18 and later Fixed in 5.15.53, 5.18.10, 5.19 Patch available CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.4.190 to before 5.5; 5.10.111 to before 5.11; 5.15.34 to before 5.15.53; 5.16.20 to before 5.17; 5.17.3 to before 5.18; 5.18.1 to before 5.18.10 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.18:-:*:*:*:*:*:* | 5.18 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.18:rc2:*:*:*:*:*:* | 5.18 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.18:rc3:*:*:*:*:*:* | 5.18 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.18:rc4:*:*:*:*:*:* | 5.18 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.18:rc5:*:*:*:*:*:* | 5.18 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.18:rc6:*:*:*:*:*:* | 5.18 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.18:rc7:*:*:*:*:*:* | 5.18 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:* | 5.19 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:* | 5.19 rc2 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.4.190 to before 5.5; 5.10.111 to before 5.11; 5.15.34 to before 5.15.53; 5.16.20 to before 5.17; 5.17.3 to before 5.18; 5.18.1 to before 5.18.10 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.18:-:*:*:*:*:*:* Versions 5.18 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.18:rc2:*:*:*:*:*:* Versions 5.18 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.18:rc3:*:*:*:*:*:* Versions 5.18 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.18:rc4:*:*:*:*:*:* Versions 5.18 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.18:rc5:*:*:*:*:*:* Versions 5.18 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.18:rc6:*:*:*:*:*:* Versions 5.18 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.18:rc7:*:*:*:*:*:* Versions 5.18 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:* Versions 5.19 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:* Versions 5.19 rc2 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.15.53, 5.5, 5.11, 5.17, 5.18
- Fix · CNA Linux (Linux) Fixed in 5.15.53, 5.18.10, 5.19
Red Hat 1 advisory
- RHSA-2023:2458 Released 2023-05-09 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-284.11.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.11.1.el9_2, kernel-64k-devel-5.14.0-284.11.1.el9_2 +10
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.0.0-284.11.1.el9_2, kernel-5.14.0-284.11.1.el9_2, kernel-64k-5.14.0-284.11.1.el9_2 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-284.11.1.el9_2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2023:2458 |
Not affected: 2 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2022-49666
- 2026-10-03 Alias added: GHSA-r6x5-vqv8-8gvx
References
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2022-49666 · CVE Program
- CVE-2022-49666 · NVD
- FIRST EPSS
- GHSA-r6x5-vqv8-8gvx · GitHub Advisory Database · CC BY 4.0
- CVE-2022-49666 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences