# CVE-2026-142847: mm/page\_isolation: fix UBSAN shift-out-of-bounds warning

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:20:55.873Z
- **Modified:** 2026-12-03T04:18:21.273Z

## Who should check

- Anyone running Linux \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< 13d15873655030010b615b0e96675effcf621d4a; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< 85b18d50afca50166976362e822cde31d5f187e4; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< 252b493a49b0848c763aae0184155a95d52a6bec; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< a793ea58f4a0f4797dabc8d57d92a143e02a9267; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< ff51185900dd9accc8842a3f1bf85530ce501496; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< eba0e6297edd60a85bc96ff5cfb734d066af62dd
- Anyone running Linux 5.19

## Description

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

mm/page\_isolation: fix UBSAN shift-out-of-bounds warning

Patch series "mm/page\_isolation: fix UBSAN shift-out-of-bounds in
isolate\_single\_pageblock", v3.

Patch 1 fixes a UBSAN shift-out-of-bounds warning in the PageBuddy branch
of isolate\_single\_pageblock() triggered by concurrent buddy allocation.

Patch 2 addresses the same class of issue in the PageCompound branch,
where racy compound\_order() and compound\_head() reads could lead to
out-of-range shifts or incorrect page skipping.


This patch (of 2):

A contig-range allocation racing with buddy allocation on the adjacent
pageblock can trigger:

 UBSAN: shift-out-of-bounds in mm/page\_isolation.c:393:15
 shift exponent -749042176 is negative
 Call trace:
  isolate\_single\_pageblock
  start\_isolate\_page\_range
  alloc\_contig\_frozen\_range\_noprof
  alloc\_contig\_range\_noprof

isolate\_single\_pageblock() first calls set\_migratetype\_isolate() with
zone-\>lock held, which marks the pageblock MIGRATE\_ISOLATE and moves any
free page straddling the boundary out of the way.  Once the lock is
dropped, it scans the MAX\_ORDER\_NR\_PAGES-aligned window \[start\_pfn,
boundary\_pfn) locklessly, only to skip the free pages already handled
above and to detect in-use pages straddling the boundary.  Since this
scan only reads page state to decide how far to skip and returns -EBUSY
on a straddling in-use page, it does not take the lock.

The window also covers the adjacent pageblock, whose free pages stay on
the normal movable/CMA freelist and can be allocated concurrently.  So
after the scan observes PageBuddy(page), another CPU can allocate the
page, leaving a stale value in page-\>private that makes "1 \<\< order" shift
out of range.

Use buddy\_order\_unsafe() with READ\_ONCE to read the order, and validate
it is within MAX\_PAGE\_ORDER before shifting to prevent UBSAN warnings.

Since pageblock\_isolate\_and\_move\_free\_pages() already handles free pages
straddling boundary\_pfn under zone-\>lock, bail out with -EBUSY instead
of VM\_WARN\_ON\_ONCE() when a PageBuddy page appears to cross the boundary
during the lockless scan.

## Affected and fixed versions

- Linux: \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< 13d15873655030010b615b0e96675effcf621d4a; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< 85b18d50afca50166976362e822cde31d5f187e4; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< 252b493a49b0848c763aae0184155a95d52a6bec; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< a793ea58f4a0f4797dabc8d57d92a143e02a9267; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< ff51185900dd9accc8842a3f1bf85530ce501496; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< eba0e6297edd60a85bc96ff5cfb734d066af62dd (cvelist)
- Linux: 5.19 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142847. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142847.md
Affected: Linux >= b2c9e2fbba32539626522b6aed30d1dde7b7e971, < 13d15873655030010b615b0e96675effcf621d4a; >= b2c9e2fbba32539626522b6aed30d1dde7b7e971, < 85b18d50afca50166976362e822cde31d5f187e4; >= b2c9e2fbba32539626522b6aed30d1dde7b7e971, < 252b493a49b0848c763aae0184155a95d52a6bec; >= b2c9e2fbba32539626522b6…
Fixed in: Linux 13d15873655030010b615b0e96675effcf621d4a, Linux 85b18d50afca50166976362e822cde31d5f187e4, Linux 252b493a49b0848c763aae0184155a95d52a6bec

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.
```

## FAQ

### Is CVE-2026-142847 being exploited?

There is no confirmed exploitation: CVE-2026-142847 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142847?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142847?

Linux \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< 13d15873655030010b615b0e96675effcf621d4a; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< 85b18d50afca50166976362e822cde31d5f187e4; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< 252b493a49b0848c763aae0184155a95d52a6bec; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< a793ea58f4a0f4797dabc8d57d92a143e02a9267; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< ff51185900dd9accc8842a3f1bf85530ce501496; \>= b2c9e2fbba32539626522b6aed30d1dde7b7e971, \< eba0e6297edd60a85bc96ff5cfb734d066af62dd; Linux 5.19.

### Is there a fix for CVE-2026-142847?

Yes. Fixed in Linux 13d15873655030010b615b0e96675effcf621d4a, Linux 85b18d50afca50166976362e822cde31d5f187e4, Linux 252b493a49b0848c763aae0184155a95d52a6bec. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142847?

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.

## References

- other: <https://git.kernel.org/stable/c/13d15873655030010b615b0e96675effcf621d4a>
- other: <https://git.kernel.org/stable/c/85b18d50afca50166976362e822cde31d5f187e4>
- other: <https://git.kernel.org/stable/c/252b493a49b0848c763aae0184155a95d52a6bec>
- other: <https://git.kernel.org/stable/c/a793ea58f4a0f4797dabc8d57d92a143e02a9267>
- other: <https://git.kernel.org/stable/c/ff51185900dd9accc8842a3f1bf85530ce501496>
- other: <https://git.kernel.org/stable/c/eba0e6297edd60a85bc96ff5cfb734d066af62dd>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142847>

HTML: <https://flawdb.com/CVE-2026-142847> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142847>
