CVE-2026-142849: xfarray: don't crash when sorting if array element crosses a folio

Published Dec 3, 2026
·
Updated

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

xfarray: don't crash when sorting if array element crosses a folio

LOLLM points out that if an array element crosses a folio boundary, xfilegetfolio returns a NULL folio pointer. If this happens, si->folio is also set to NULL, and calling foliopos/folioaddress will just crash the kernel. Teach this function to handle this condition by falling back to reading the array element into scratchpad memory.

Affected Software

4 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.6.0<6.12.118
6.12.118
linux/kernel>=6.13.0<6.18.64
6.18.64
linux/kernel>=6.19.0<7.3.4
7.3.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.118
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.64
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4

Event History

Dec 3, 2026
CVE Published
via MITRE·03:20 AM
Data Sourced
via MITRE·03:20 AM
Description
Data Sourced
via OSV·03:20 AM
DescriptionAffected Software
Data Sourced
via NVD·04:18 AM
Description

Frequently Asked Questions

1

What runtime condition is required for the crash to occur?

The failure occurs while sorting an xfarray when an array element crosses a folio boundary. In that condition, xfile_get_folio can return a NULL folio pointer, and subsequent folio_pos or folio_address calls can crash the kernel.

2

What does the resolved fix change?

The fix handles the missing folio condition by reading the array element into scratchpad memory instead of operating on the NULL folio pointer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203