{"id":"CVE-2026-43434","aliases":["CVE-2026-43434"],"related":[],"kind":"vulnerability","state":"published","title":"rust_binder: check ownership before using vma","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrust_binder: check ownership before using vma\n\nWhen installing missing pages (or zapping them), Rust Binder will look\nup the vma in the mm by address, and then call vm_insert_page (or\nzap_page_range_single). However, if the vma is closed and replaced with\na different vma at the same address, this can lead to Rust Binder\ninstalling pages into the wrong vma.\n\nBy installing the page into a writable vma, it becomes possible to write\nto your own binder pages, which are normally read-only. Although you're\nnot supposed to be able to write to those pages, the intent behind the\ndesign of Rust Binder is that even if you get that ability, it should not\nlead to anything bad. Unfortunately, due to another bug, that is not the\ncase.\n\nTo fix this, store a pointer in vm_private_data and check that the vma\nreturned by vma_lookup() has the right vm_ops and vm_private_data before\ntrying to use the vma. This should ensure that Rust Binder will refuse\nto interact with any other VMA. The plan is to introduce more vma\nabstractions to avoid this unsafe access to vm_ops and vm_private_data,\nbut for now let's start with the simplest possible fix.\n\nC Binder performs the same check in a slightly different way: it\nprovides a vm_ops->close that sets a boolean to true, then checks that\nboolean after calling vma_lookup(), but this is more fragile\nthan the solution in this patch. (We probably still want to do both, but\nthe vm_ops->close callback will be added later as part of the follow-up\nvma API changes.)\n\nIt's still possible to remap the vma so that pages appear in the right\nvma, but at the wrong offset, but this is a separate issue and will be\nfixed when Rust Binder gets a vm_ops->close callback.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrust_binder: check ownership before using vma\n\nWhen installing missing pages (or zapping them), Rust Binder will look\nup the vma in the mm by address, and then call vm_insert_page (or\nzap_page_range_single). However, if the vma is closed and replaced with\na different vma at the same address, this can lead to Rust Binder\ninstalling pages into the wrong vma.\n\nBy installing the page into a writable vma, it becomes possible to write\nto your own binder pages, which are normally read-only. Although you're\nnot supposed to be able to write to those pages, the intent behind the\ndesign of Rust Binder is that even if you get that ability, it should not\nlead to anything bad. Unfortunately, due to another bug, that is not the\ncase.\n\nTo fix this, store a pointer in vm_private_data and check that the vma\nreturned by vma_lookup() has the right vm_ops and vm_private_data before\ntrying to use the vma. This should ensure that Rust Binder will refuse\nto interact with any other VMA. The plan is to introduce more vma\nabstractions to avoid this unsafe access to vm_ops and vm_private_data,\nbut for now let's start with the simplest possible fix.\n\nC Binder performs the same check in a slightly different way: it\nprovides a vm_ops->close that sets a boolean to true, then checks that\nboolean after calling vma_lookup(), but this is more fragile\nthan the solution in this patch. (We probably still want to do both, but\nthe vm_ops->close callback will be added later as part of the follow-up\nvma API changes.)\n\nIt's still possible to remap the vma so that pages appear in the right\nvma, but at the wrong offset, but this is a separate issue and will be\nfixed when Rust Binder gets a vm_ops->close callback.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nrust_binder: comprobar la propiedad antes de usar vma\n\nAl 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.\n\nAl 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.\n\nPara 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.\n\nC 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).\n\nTodaví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.","source":"nvd"}],"published":"2026-05-08T14:22:05.269Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"eafedbc7c050c44744fbdf80bdf3315e860b7513","fixed":"20a01f20d1f4064d90a8627aa41b5987f0220bb9","status":"affected"},{"type":"git","introduced":"eafedbc7c050c44744fbdf80bdf3315e860b7513","fixed":"5a472d04fb4b9115fb7d1535bd885cea450f14db","status":"affected"},{"type":"git","introduced":"eafedbc7c050c44744fbdf80bdf3315e860b7513","fixed":"8ef2c15aeae07647f530d30f6daaf79eb801bcd1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.19","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.9","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.18","fixed":"6.18.19"},{"status":"affected","introduced":"6.19","fixed":"6.19.9"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/20a01f20d1f4064d90a8627aa41b5987f0220bb9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a472d04fb4b9115fb7d1535bd885cea450f14db","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ef2c15aeae07647f530d30f6daaf79eb801bcd1","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43434","url":"https://www.cve.org/CVERecord?id=CVE-2026-43434","licence":"CVE Terms of Use","modified":"2026-08-05T12:27:54.685Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43434","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43434","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.067Z","epss":{"score":0.00128,"percentile":0.02616,"date":"2026-12-01T12:00:22.000Z"}}