CVE-2026-43434

In the Linux kernel, the following vulnerability has been resolved: rust_binder: check ownership before using vma When installing missing pages (or zapping them), Rust Binder will look up the vma in the mm by address, and then call vm_insert_page (or zap_page_range_single). However, if the vma is closed and replaced with a different vma at the same address, this can lead to Rust Binder installing pages into the wrong vma. By installing the page into a writable vma, it becomes possible to write to your own binder pages, which are normally read-only. Although you're not supposed to be able to write to those pages, the intent behind the design of Rust Binder is that even if you get that ability, it should not lead to anything bad. Unfortunately, due to another bug, that is not the case. To fix this, store a pointer in vm_private_data and check that the vma returned by vma_lookup() has the right vm_ops and vm_private_data before trying to use the vma. This should ensure that Rust Binder will refuse to interact with any other VMA. The plan is to introduce more vma abstractions to avoid this unsafe access to vm_ops and vm_private_data, but for now let's start with the simplest possible fix. C Binder performs the same check in a slightly different way: it provides a vm_ops->close that sets a boolean to true, then checks that boolean after calling vma_lookup(), but this is more fragile than the solution in this patch. (We probably still want to do both, but the vm_ops->close callback will be added later as part of the follow-up vma API changes.) It's still possible to remap the vma so that pages appear in the right vma, but at the wrong offset, but this is a separate issue and will be fixed when Rust Binder gets a vm_ops->close callback.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: rust_binder: comprobar la propiedad antes de usar vma Al instalar páginas faltantes (o eliminarlas), Rust Binder buscará el vma en el mm por dirección, y luego llamará a vm_insert_page (o zap_page_range_single). Sin embargo, si el vma se cierra y se reemplaza con un vma diferente en la misma dirección, esto puede llevar a que Rust Binder instale páginas en el vma incorrecto. Al instalar la página en un vma escribible, se hace posible escribir en sus propias páginas de binder, que normalmente son de solo lectura. Aunque no se supone que se pueda escribir en esas páginas, la intención detrás del diseño de Rust Binder es que incluso si se obtiene esa capacidad, no debería conducir a nada malo. Desafortunadamente, debido a otro error, ese no es el caso. Para solucionar esto, almacene un puntero en vm_private_data y compruebe que el vma devuelto por vma_lookup() tiene los vm_ops y vm_private_data correctos antes de intentar usar el vma. Esto debería asegurar que Rust Binder se negará a interactuar con cualquier otro VMA. El plan es introducir más abstracciones de vma para evitar este acceso inseguro a vm_ops y vm_private_data, pero por ahora, comencemos con la solución más simple posible. C Binder realiza la misma comprobación de una manera ligeramente diferente: proporciona un vm_ops -> close que establece un booleano en verdadero, luego comprueba ese booleano después de llamar a vma_lookup(), pero esto es más frágil que la solución en este parche. (Probablemente todavía queramos hacer ambas cosas, pero la devolución de llamada vm_ops -> close se añadirá más tarde como parte de los cambios posteriores de la API de vma). Todavía es posible reasignar el vma para que las páginas aparezcan en el vma correcto, pero con el desplazamiento incorrecto, pero este es un problema separado y se solucionará cuando Rust Binder obtenga una devolución de llamada vm_ops -> close.

Information

Published : 2026-05-08 15:16

Updated : 2026-11-11 20:10


NVD link : CVE-2026-43434

Mitre link : CVE-2026-43434

CVE.ORG link : CVE-2026-43434


JSON object : View

Products Affected

linux

  • linux_kernel