CVEvulnerability

CVE-2026-45887

5.5 MEDIUM Published 2026-05-27 Modified 2026-06-25 Official page ↗
Status
Analyzed
Published
2026-05-27
Last modified
2026-06-25
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-401

Description

In the Linux kernel, the following vulnerability has been resolved: af_unix: Fix memleak of newsk in unix_stream_connect(). When prepare_peercred() fails in unix_stream_connect(), unix_release_sock() is not called for newsk, and the memory is leaked. Let's move prepare_peercred() before unix_create1().

Affected configurations

• linux linux kernel (>= 6.16 < 6.18.14) • linux linux kernel (>= 6.19 < 6.19.4)

Related

Weakness · CWE (1)

  • CWE-401 Missing Release of Memory after Effective Lifetime weakness

References