{"id":"CVE-2026-43178","aliases":["CVE-2026-43178"],"related":[],"kind":"vulnerability","state":"published","title":"procfs: fix possible double mmput() in do_procmap_query()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nprocfs: fix possible double mmput() in do_procmap_query()\n\nWhen user provides incorrectly sized buffer for build ID for PROCMAP_QUERY\nwe return with -ENAMETOOLONG error.  After recent changes this condition\nhappens later, after we unlocked mmap_lock/per-VMA lock and did mmput(),\nso original goto out is now wrong and will double-mmput() mm_struct.  Fix\nby jumping further to clean up only vm_file and name_buf.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nprocfs: fix possible double mmput() in do_procmap_query()\n\nWhen user provides incorrectly sized buffer for build ID for PROCMAP_QUERY\nwe return with -ENAMETOOLONG error.  After recent changes this condition\nhappens later, after we unlocked mmap_lock/per-VMA lock and did mmput(),\nso original goto out is now wrong and will double-mmput() mm_struct.  Fix\nby jumping further to clean up only vm_file and name_buf.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nprocfs: soluciona una posible doble llamada a mmput() en do_procmap_query()\n\nCuando el usuario proporciona un búfer de tamaño incorrecto para el ID de compilación para PROCMAP_QUERY, devolvemos un error -ENAMETOOLONG. Después de cambios recientes, esta condición ocurre más tarde, después de que desbloqueamos mmap_lock/per-VMA lock e hicimos mmput(), por lo que el goto out original ahora es incorrecto y realizará una doble llamada a mmput() en mm_struct. Se soluciona saltando más allá para limpiar solo vm_file y name_buf.","source":"nvd"}],"published":"2026-05-06T11:27:51.524Z","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"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"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-415","CWE-1341"],"affected":[{"ranges":[{"type":"git","introduced":"b9b97e6aeb534315f9646b2090d1a5024c6a4e82","fixed":"f9fe092084cd04deea18747f58a2304026e76aaa","status":"affected"},{"type":"git","introduced":"cbc03ce3e6ce7e21214c3f02218213574c1a2d08","fixed":"8adaff87db143583e08eec4f4e7788f1ef8af94d","status":"affected"},{"type":"git","introduced":"b5cbacd7f86f4f62b8813688c8e73be94e8e1951","fixed":"90f5e87c9b75833b9ef3a4415b92c0247f28ab2f","status":"affected"},{"type":"git","introduced":"b5cbacd7f86f4f62b8813688c8e73be94e8e1951","fixed":"61dc9f776705d6db6847c101b98fa4f0e9eb6fa3","status":"affected"},{"type":"semver","introduced":"6.12.70","fixed":"6.12.75","status":"affected"},{"type":"semver","introduced":"6.18.10","fixed":"6.18.16","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.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","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":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"kernel-rt","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"kernel-rt","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"kernel-rt","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.12.70","fixed":"6.12.75"},{"status":"affected","introduced":"6.18.10","fixed":"6.18.16"},{"status":"affected","introduced":"6.19.1","fixed":"6.19.6"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f9fe092084cd04deea18747f58a2304026e76aaa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8adaff87db143583e08eec4f4e7788f1ef8af94d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90f5e87c9b75833b9ef3a4415b92c0247f28ab2f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/61dc9f776705d6db6847c101b98fa4f0e9eb6fa3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-43178","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467227","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43178.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43178","url":"https://www.cve.org/CVERecord?id=CVE-2026-43178","licence":"CVE Terms of Use","modified":"2026-08-05T12:26:20.039Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43178","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43178","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.715Z","epss":{"score":0.00168,"percentile":0.0344,"date":"2026-11-30T12:00:22.000Z"}}