CVE-2026-43178

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

High · published May 6, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
5.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00168 · 5.8th percentile
Published
2026-05-06T11:27Z
EPSS history
Timeline
  • 06 MAY 11:27Z
    procfs: fix possible double mmput() in do_procmap_query()
    cvelistv5