{"id":"CVE-2026-43045","aliases":["CVE-2026-43045"],"related":[],"kind":"vulnerability","state":"published","title":"mshv: Fix error handling in mshv_region_pin","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmshv: Fix error handling in mshv_region_pin\n\nThe current error handling has two issues:\n\nFirst, pin_user_pages_fast() can return a short pin count (less than\nrequested but greater than zero) when it cannot pin all requested pages.\nThis is treated as success, leading to partially pinned regions being\nused, which causes memory corruption.\n\nSecond, when an error occurs mid-loop, already pinned pages from the\ncurrent batch are not properly accounted for before calling\nmshv_region_invalidate_pages(), causing a page reference leak.\n\nTreat short pins as errors and fix partial batch accounting before\ncleanup.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmshv: Fix error handling in mshv_region_pin\n\nThe current error handling has two issues:\n\nFirst, pin_user_pages_fast() can return a short pin count (less than\nrequested but greater than zero) when it cannot pin all requested pages.\nThis is treated as success, leading to partially pinned regions being\nused, which causes memory corruption.\n\nSecond, when an error occurs mid-loop, already pinned pages from the\ncurrent batch are not properly accounted for before calling\nmshv_region_invalidate_pages(), causing a page reference leak.\n\nTreat short pins as errors and fix partial batch accounting before\ncleanup.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmshv: Corrección del manejo de errores en mshv_region_pin\n\nEl manejo de errores actual tiene dos problemas:\n\nPrimero, pin_user_pages_fast() puede devolver un recuento de anclaje corto (menor que lo solicitado pero mayor que cero) cuando no puede anclar todas las páginas solicitadas. Esto se trata como un éxito, lo que lleva al uso de regiones parcialmente ancladas, lo que causa corrupción de memoria.\n\nSegundo, cuando ocurre un error a mitad del bucle, las páginas ya ancladas del lote actual no se contabilizan correctamente antes de llamar a mshv_region_invalidate_pages(), lo que causa una fuga de referencia de página.\n\nTratar los anclajes cortos como errores y corregir la contabilidad parcial del lote antes de la limpieza.","source":"nvd"}],"published":"2026-05-01T14:15:40.976Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"621191d709b14882270dfd8ea5d7d6cdfebe2c35","fixed":"d14847cb7f65d419e43451d416a1f50c09a5f3be","status":"affected"},{"type":"git","introduced":"621191d709b14882270dfd8ea5d7d6cdfebe2c35","fixed":"a7d149152bc5a9119854331c57be35ad31fdf5cc","status":"affected"},{"type":"git","introduced":"621191d709b14882270dfd8ea5d7d6cdfebe2c35","fixed":"c0e296f257671ba10249630fe58026f29e4804d9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","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.15","fixed":"6.19.12"},{"status":"affected","version":"7.0"},{"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/d14847cb7f65d419e43451d416a1f50c09a5f3be","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a7d149152bc5a9119854331c57be35ad31fdf5cc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0e296f257671ba10249630fe58026f29e4804d9","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43045","url":"https://www.cve.org/CVERecord?id=CVE-2026-43045","licence":"CVE Terms of Use","modified":"2026-10-15T10:07:06.820Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43045","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43045","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:20.411Z","epss":{"score":0.00117,"percentile":0.01814,"date":"2026-12-01T12:00:22.000Z"}}