CVE-2026-43178

HIGH

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0001
EPSS Percentile 2.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-415
Status published
Products (14)
Linux/Linux < 6.19
Linux/Linux 6.12.70 - 6.12.75
Linux/Linux 6.12.75 - 6.12.*
Linux/Linux 6.18.10 - 6.18.16
Linux/Linux 6.18.16 - 6.18.*
Linux/Linux 6.19
Linux/Linux 6.19.6 - 6.19.*
Linux/Linux 7.0
Linux/Linux b5cbacd7f86f4f62b8813688c8e73be94e8e1951 - 61dc9f776705d6db6847c101b98fa4f0e9eb6fa3
Linux/Linux b5cbacd7f86f4f62b8813688c8e73be94e8e1951 - 90f5e87c9b75833b9ef3a4415b92c0247f28ab2f
... and 4 more
Published May 06, 2026
Tracked Since May 06, 2026