Bug 2467227 (CVE-2026-43178) - CVE-2026-43178 kernel: procfs: fix possible double mmput() in do_procmap_query()
Summary: CVE-2026-43178 kernel: procfs: fix possible double mmput() in do_procmap_query()
Keywords:
Status: NEW
Alias: CVE-2026-43178
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-06 13:11 UTC by OSIDB Bzimport
Modified: 2026-05-06 20:15 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-06 13:11:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.