{"id":"CVE-2026-23432","aliases":["CVE-2026-23432"],"related":[],"kind":"vulnerability","state":"published","title":"mshv: Fix use-after-free in mshv_map_user_memory error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmshv: Fix use-after-free in mshv_map_user_memory error path\n\nIn the error path of mshv_map_user_memory(), calling vfree() directly on\nthe region leaves the MMU notifier registered. When userspace later unmaps\nthe memory, the notifier fires and accesses the freed region, causing a\nuse-after-free and potential kernel panic.\n\nReplace vfree() with mshv_partition_put() to properly unregister\nthe MMU notifier before freeing the region.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmshv: Fix use-after-free in mshv_map_user_memory error path\n\nIn the error path of mshv_map_user_memory(), calling vfree() directly on\nthe region leaves the MMU notifier registered. When userspace later unmaps\nthe memory, the notifier fires and accesses the freed region, causing a\nuse-after-free and potential kernel panic.\n\nReplace vfree() with mshv_partition_put() to properly unregister\nthe MMU notifier before freeing the region.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nmshv: Corrección de uso después de liberación en la ruta de error de mshv_map_user_memory\n\nEn la ruta de error de mshv_map_user_memory(), llamar a vfree() directamente sobre la región deja el notificador de MMU registrado. Cuando el espacio de usuario (userspace) desmapea la memoria más tarde, el notificador se activa y accede a la región liberada, causando un uso después de liberación y un potencial pánico del kernel.\n\nReemplace vfree() con mshv_partition_put() para anular correctamente el registro del notificador de MMU antes de liberar la región.","source":"nvd"}],"published":"2026-04-03T15:15:18.061Z","modified":"2026-08-05T12:21:43.430Z","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"},{"scorer":"NVD","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":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"b9a66cd5ccbb9fade15d0e427e19470d8ad35b75","fixed":"34861bdc0c0196b6c2dd48f7454029407704ff6e","status":"affected"},{"type":"git","introduced":"b9a66cd5ccbb9fade15d0e427e19470d8ad35b75","fixed":"6922db250422a0dfee34de322f86b7a73d713d33","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"6.19.10","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.19.1","fixed":"6.19.10"},{"status":"affected","version":"6.19"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"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/34861bdc0c0196b6c2dd48f7454029407704ff6e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6922db250422a0dfee34de322f86b7a73d713d33","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23432","url":"https://www.cve.org/CVERecord?id=CVE-2026-23432","licence":"CVE Terms of Use","modified":"2026-08-05T12:21:43.430Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23432","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23432","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:17.872Z","epss":{"score":0.0014,"percentile":0.03549,"date":"2026-12-01T12:00:22.000Z"}}