Bug 2482042 (CVE-2026-45887) - CVE-2026-45887 kernel: af_unix: Fix memleak of newsk in unix_stream_connect()
Summary: CVE-2026-45887 kernel: af_unix: Fix memleak of newsk in unix_stream_connect()
Keywords:
Status: NEW
Alias: CVE-2026-45887
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 15:08 UTC by OSIDB Bzimport
Modified: 2026-05-28 03:05 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-27 15:08:28 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.