CVEvulnerability

CVE-2026-43178

7.8 HIGH Published 2026-05-06 Modified 2026-07-15 Official page ↗
Status
Modified
Published
2026-05-06
Last modified
2026-07-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
7.0 HIGH — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1341, CWE-415

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.

Affected configurations

• linux linux kernel (>= 6.12.70 < 6.12.75) • linux linux kernel (>= 6.18.10 < 6.18.16) • linux linux kernel (>= 6.19.1 < 6.19.6) • linux linux kernel 6.19

Related

Weakness · CWE (2)

  • CWE-1341 Multiple Releases of Same Resource or Handle weakness
  • CWE-415 Double Free weakness

References