Skip to main content
← All vulnerabilities
CVE-2026-43178

procfs: fix possible double mmput() in do_procmap_query()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.75, 6.18.16
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.12.70 · fixed in 6.12.75; From 6.18.10 · fixed in 6.18.16

  • Linux Linux

    6.19

References 4

git.kernel.org