CVE-2026-142849

Source
https://cve.org/CVERecord?id=CVE-2026-142849
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142849.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142849
Published
2026-12-03T03:20:56Z
Modified
2026-12-03T05:00:56Z
Summary
xfarray: don't crash when sorting if array element crosses a folio
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142849.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf36f4f64c2d4e928b6fdfff06d8e21561e3e32f
Fixed
a9be490d66302df78797ea8f0243851f09459815
Fixed
ee0798f0ec8149774acd78dc54ce3b928210dad3
Fixed
04123ffb185934183944befdc5cbbb67ec8bb5b1
Fixed
329750292e9dfbb594b375d7b30cf5ddb58b7bb9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142849.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.12.118
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142849.json"