Skip to content
7.8 High

CVE-2026-43178 In the Linux kernel, the following vulnerability has been resolved: procfs: fix possible double mmput() in…

Description

In the Linux kernel, the following vulnerability has been resolved: procfs: fix possible double mmput() in do_procmap_query() When user provides incorrectly sized buffer for build ID for PROCMAP_QUERY we return with -ENAMETOOLONG error. After recent changes this condition happens later, after we unlocked mmap_lock/per-VMA lock and did mmput(), so original goto out is now wrong and will double-mmput() mm_struct. Fix by jumping further to clean up only vm_file and name_buf.

Affected products and versions

Product Affected versions Fixed in
Linux 7.0 earliest → < 7.0 7.0
Linux 6.19 6.19.6
Linux 6.18 earliest → < 6.18.16 6.18.16
Linux 6.12 earliest → < 6.12.75 6.12.75
Red Hat Enterprise Linux 10 Versions not published
Red Hat Enterprise Linux 7 Versions not published
Red Hat Enterprise Linux 8 Versions not published
Red Hat Enterprise Linux 9 Versions not published
Red Hat Enterprise Linux 6 Versions not published
The 18286 CVEs of Linux →
Track this CVE