CVE 7.8 HIGH

procfs: fix possible double mmput() in do_procmap_query()_CVE-2026-43178

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-43178
Source Linux
Published May 6, 2026 at 11:27
Modified May 8, 2026 at 12:40

Affected Product

Vendor Linux
Product Linux
Version b9b97e6aeb534315f9646b2090d1a5024c6a4e82
Affected Versions Linux Linux b9b97e6aeb534315f9646b2090d1a5024c6a4e82
Linux Linux cbc03ce3e6ce7e21214c3f02218213574c1a2d08
Linux Linux b5cbacd7f86f4f62b8813688c8e73be94e8e1951
Linux Linux b5cbacd7f86f4f62b8813688c8e73be94e8e1951
Linux Linux 6.19

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.