* CVE-2026-143185: Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages()
@ 2026-12-03 9:20 Greg Kroah-Hartman
0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-12-03 9:20 UTC (permalink / raw)
To: linux-cve-announce; +Cc: Greg Kroah-Hartman
From: Greg Kroah-Hartman <gregkh@kernel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages()
Both decrease-reservation and populate-physmap can succeed partially. For
the former this may be pretty unlikely, but clearly the latter can hit
both out-of-memory conditions in the hypervisor or denial because of the
allocation exceeding the domain's allowance (there's no interaction with
the balloon driver here either).
In gnttab_dma_free_pages() we simply can't give back to the system what
hasn't been re-filled with backing memory. For gnttab_dma_alloc_pages()
both parts of the overall region need dealing with differently.
While no present caller of gnttab_dma_free_pages() checks its return
value, also don't use -EFAULT there: It really is an out-of-memory
condition. (In gnttab_dma_alloc_pages() -EFAULT doesn't look quite right
either, but I couldn't think of a clearly better error code there.)
The Linux kernel CVE team has assigned CVE-2026-143185 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 5.10.276 with commit b698e22b3db1ea263db29ab32ca14a134cfa2bb0
Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 5.15.227 with commit de3a48f4db7610aa5df8e08838285317f4b40c82
Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 6.12.120 with commit 4e2ce0ed4032aeb7b6f8c6b75b48bca537ed8205
Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 6.18.66 with commit fa60c9c122aafc06dff48f451ad550630587a0bb
Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 7.3.7 with commit 8cf0bde5988c8a5550dbfaf2959cf60ddd4a2220
Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 7.4-rc3 with commit 2b66f2cc753243a6adb3e9a5c038b0fc59ba7ec9
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-143185
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/xen/grant-table.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/b698e22b3db1ea263db29ab32ca14a134cfa2bb0
https://git.kernel.org/stable/c/de3a48f4db7610aa5df8e08838285317f4b40c82
https://git.kernel.org/stable/c/4e2ce0ed4032aeb7b6f8c6b75b48bca537ed8205
https://git.kernel.org/stable/c/fa60c9c122aafc06dff48f451ad550630587a0bb
https://git.kernel.org/stable/c/8cf0bde5988c8a5550dbfaf2959cf60ddd4a2220
https://git.kernel.org/stable/c/2b66f2cc753243a6adb3e9a5c038b0fc59ba7ec9
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-03 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 9:20 CVE-2026-143185: Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages() Greg Kroah-Hartman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.