CVE-2026-142879

Not scored yetLast modified Dec 3, 2026

Description

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

mm/migrate: snapshot the source nid before the misplaced migration

A successful migration frees the source folio before the promotion counter update, so the folio_nid() read there operates on a freed folio — which may already have been reallocated. It happens to work today, as Zi explained:

: Strictly speaking, it can be seen as a benign UAF. It works, because : 1. folio->flags happens to be the same as page->flags, : 2. folio/page nid is stored in the ->flags and never changed. : : In memdesc world, after a folio is freed, I assume folio->flags would be : zeroed since struct folio is freed and calling folio_nid() on a freed : folio would give a bogus result (yeah, it can be mitigated by not : zeroing node field and each node has its own struct folio pool, but that : makes folio_nid() implementation dependent).

and Matthew explained further:

: once struct folio is separately allocated, it's a UAF. It could be : recycled to a different NID or maybe the slab containing the folio could : be freed (assuming we're not holding the RCU read lock at this point in : migration, and I don't see why we would be).

A separate concern is memory hot-removal. With memory-tiering mode enabled, successful migration can release the source before the promotion-accounting folio_nid() read. If the task is preempted there, an otherwise-free source block can be offlined and removed first. On the x86 path, removal can unmap the source's vmemmap, so the later read can fault. The snapshot avoids that read.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= e39bb6be9f2b39a6dbaeff484361de76021b175d, < 4a843e3d55d194fb1e49fb85b579028e80392cec; >= e39bb6be9f2b39a6dbaeff484361de76021b175d, < 7643b5e6aabda50f5b3475b4917af157b4fe83d2; >= e39bb6be9f2b39a6dbaeff484361de76021b175d, < f9a41150ec9720ea1b140f5fd0d8a3466560baae; >= e39bb6be9f2b39a6dbaeff484361de76021b175d, < 0dfdc739e124badfaeefa63dddde51ea7b6db214; >= e39bb6be9f2b39a6dbaeff484361de76021b175d, < 632853f04454fd1f424996070f636856796a8efb; >= e39bb6be9f2b39a6dbaeff484361de76021b175d, < fe623a81ad9eddf10059b4e44bca0440d9120613
LinuxLinux5.18

References

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142883.1GitLab has remediated an issue in GitLab EE affecting all versions from 17.4 before 19.3.6, 19.4 before 19.4.3, and 19.5 before 19.5.1 that CVE-2026-142880In the Linux kernel, the following vulnerability has been resolved: mm/page_alloc: mark pages freed by __free_pages_core() as not tagged OCVE-2026-142881In the Linux kernel, the following vulnerability has been resolved: 9p: fix caches_show() out-of-bounds write The sysfs show handler for /CVE-2026-142882In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: clear stale request context after abort usb9pfs_clear_tx(CVE-2026-142883In the Linux kernel, the following vulnerability has been resolved: io_uring/sqpoll: don't set IO_SQ_THREAD_SHOULD_STOP on thread exit io_CVE-2026-142884In the Linux kernel, the following vulnerability has been resolved: NFSD: Complete a cld upcall when the daemon closes the pipe Once nfsdcCVE-2026-142885In the Linux kernel, the following vulnerability has been resolved: xfs: check for buffer overruns when examining local/remote xattr entrieCVE-2026-142886In the Linux kernel, the following vulnerability has been resolved: media: ipu6: Fix firmware config leak on stream start ipu6_isys_fwcom_CVE-2026-142887In the Linux kernel, the following vulnerability has been resolved: PCI: cadence: Store the core controller in platform drvdata cdns_plat_CVE-2026-142888In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: resize Rx head buffers when rx-copybreak changes Since rx-cCVE-2026-142889In the Linux kernel, the following vulnerability has been resolved: apparmor: remove unconfined_profile() check in inet socket mediation WCVE-2026-142899.0The FacturaONE para WooCommerce con VeriFactu WordPress plugin before 5.37 does not authenticate one of its request handlers, whose only pro
CVE-2026-142879: Unscored | Vulnix