CVE-2026-45887

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().
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

25 Jun 2026, 21:13

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/365996a2b14d07caa9e33d367b67ea26c09d89b4 - () https://git.kernel.org/stable/c/365996a2b14d07caa9e33d367b67ea26c09d89b4 - Patch
References () https://git.kernel.org/stable/c/6884028cd7f275f8bcb854a347265cb1fb0e4bea - () https://git.kernel.org/stable/c/6884028cd7f275f8bcb854a347265cb1fb0e4bea - Patch
References () https://git.kernel.org/stable/c/a5d95d7caba0160fb7b2b8d2bd96d5a1be861d9f - () https://git.kernel.org/stable/c/a5d95d7caba0160fb7b2b8d2bd96d5a1be861d9f - Patch
CWE CWE-401
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

27 May 2026, 14:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-27 14:17

Updated : 2026-06-25 21:13


NVD link : CVE-2026-45887

Mitre link : CVE-2026-45887

CVE.ORG link : CVE-2026-45887


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime