cvelo
P4 · InfoEPSS 0.4%

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

  • CVE-2026-142849
  • GHSA-w5gh-wh7v-68xr
  • EUVD-2026-142099

Description

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, xfile_get_folio returns a NULL folio pointer. If this happens, si->folio is also set to NULL, and calling folio_pos/folio_address will just crash the kernel. Teach this function to handle this condition by falling back to reading the array element into scratchpad memory.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.6none stated
    before 6.6: not affectednone stated
    from 6.12.118 up to 6.12.*: not affectednone stated
    from 6.18.64 up to 6.18.*: not affectednone stated
    from 7.3.4 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.