Read the docs
TI-2025-15881 Aliases CVE-2025-21931GHSA-g2g9-6hgr-7f52

hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio

Priority LOW 24CWE-667Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 5 fixed, 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-667 and the CVSS impact.

Summary

In the Linux kernel, the following vulnerability has been resolved: hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio Commit b15c87263a69 ("hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined) add page poison checks in do_migrate_range in order to make offline hwpoisoned page possible by introducing isolate_lru_page and try_to_unmap for hwpoisoned page. However folio lock must be held before calling try_to_unmap. Add it to fix this problem. Warning will be produced if folio is not locked during unmap: ------------[ cut here ]------------ kernel BUG at ./include/linux/swapops.h:400! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 4 UID: 0 PID: 411 Comm: bash Tainted: G W 6.13.0-rc1-00016-g3c434c7ee82a-dirty #41 Tainted: [W]=WARN Hardware name: QEMU QEMU Virtual Machine, BIOS 0.0.0 02/06/2015 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : try_to_unmap_one+0xb08/0xd3c lr : try_to_unmap_one+0x3dc/0xd3c Call trace: try_to_unmap_one+0xb08/0xd3c (P) try_to_unmap_one+0x3dc/0xd3c (L) rmap_walk_anon+0xdc/0x1f8 rmap_walk+0x3c/0x58 try_to_unmap+0x88/0x90 unmap_poisoned_folio+0x30/0xa8 do_migrate_range+0x4a0/0x568 offline_pages+0x5a4/0x670 memory_block_action+0x17c/0x374 memory_subsys_offline+0x3c/0x78 device_offline+0xa4/0xd0 state_store+0x8c/0xf0 dev_attr_store+0x18/0x2c sysfs_kf_write+0x44/0x54 kernfs_fop_write_iter+0x118/0x1a8 vfs_write+0x3a8/0x4bc ksys_write+0x6c/0xf8 __arm64_sys_write+0x1c/0x28 invoke_syscall+0x44/0x100 el0_svc_common.constprop.0+0x40/0xe0 do_el0_svc+0x1c/0x28 el0_svc+0x30/0xd0 el0t_64_sync_handler+0xc8/0xcc el0t_64_sync+0x198/0x19c Code: f9407be0 b5fff320 d4210000 17ffff97 (d4210000) ---[ end trace 0000000000000000 ]---

Why it matters now

EPSS 0.00158 4th percentileScored 2026-11-07
Fix Partial Linux (Linux): 3.17, 4.5, 4.10 +8Red Hat: 1 advisoryRed Hat: 5 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux3.16.65 to before 3.17; 4.4.170 to before 4.5; 4.9.150 to before 4.10; 4.14.93 to before 4.15; 4.19.15 to before 4.20; 4.20.2 to before 4.213.17, 4.5, 4.10, 4.15, 4.20, 4.21Patch availableCNA
LinuxLinux5.0 and later6.1.140, 6.6.92, 6.12.19, 6.13.7, 6.14Patch availableCNA
  • Linux VendorLinux Affected 3.16.65 to before 3.17; 4.4.170 to before 4.5; 4.9.150 to before 4.10; 4.14.93 to before 4.15; 4.19.15 to before 4.20; 4.20.2 to before 4.21 Fixed in 3.17, 4.5, 4.10, 4.15, 4.20, 4.21 Patch available CNA
  • Linux VendorLinux Affected 5.0 and later Fixed in 6.1.140, 6.6.92, 6.12.19, 6.13.7, 6.14 Patch available CNA

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*3.16.65 to before 3.17; 4.4.170 to before 4.5; 4.9.150 to before 4.10; 4.14.93 to before 4.15; 4.19.15 to before 4.20; 4.20.2 to before 6.1.140; 6.2 to before 6.6.92; 6.7 to before 6.12.19; 6.13 to before 6.13.7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*6.14 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*6.14 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*6.14 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*6.14 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*6.14 rc5VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 3.16.65 to before 3.17; 4.4.170 to before 4.5; 4.9.150 to before 4.10; 4.14.93 to before 4.15; 4.19.15 to before 4.20; 4.20.2 to before 6.1.140; 6.2 to before 6.6.92; 6.7 to before 6.12.19; 6.13 to before 6.13.7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:* Versions 6.14 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:* Versions 6.14 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:* Versions 6.14 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:* Versions 6.14 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:* Versions 6.14 rc5 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 3.17, 4.5, 4.10, 4.15, 4.20, 4.21
  • Fix · CNA Linux (Linux) Fixed in 6.1.140, 6.6.92, 6.12.19, 6.13.7, 6.14

Red Hat 1 advisory

  • RHSA-2025:20095 Released 2025-11-11 · Red Hat rating Moderate
    kernel security update
    • Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-124.8.1.el10_1, kernel-64k-debug-devel-matched-6.12.0-124.8.1.el10_1, kernel-64k-devel-6.12.0-124.8.1.el10_1 +12
    • Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-124.8.1.el10_1, kernel-64k-6.12.0-124.8.1.el10_1, kernel-64k-core-6.12.0-124.8.1.el10_1 +29
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-124.8.1.el10_1, libperf-6.12.0-124.8.1.el10_1
    • Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-124.8.1.el10_1, kernel-rt-64k-6.12.0-124.8.1.el10_1, kernel-rt-64k-core-6.12.0-124.8.1.el10_1 +21
    • Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-124.8.1.el10_1, kernel-rt-core-6.12.0-124.8.1.el10_1, kernel-rt-debug-6.12.0-124.8.1.el10_1 +9

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 8AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2025:20095
Red Hat Enterprise Linux BaseOS (v. 10)Fixed RHSA-2025:20095
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)Fixed RHSA-2025:20095
Red Hat Enterprise Linux Real Time (v. 10)Fixed RHSA-2025:20095
Red Hat Enterprise Linux Real Time for NFV (v. 10)Fixed RHSA-2025:20095
Not affected: 3 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-21931
  2. 2026-10-03 Alias added: GHSA-g2g9-6hgr-7f52

References

  • 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
See all 15278 →

Sources