{"id":"CVE-2026-45887","published":"2026-05-27T12:16:58Z","modified":"2026-05-27T12:16:58Z","title":"af_unix: Fix memleak of newsk in unix_stream_connect().","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Fix memleak of newsk in unix_stream_connect().\n\nWhen prepare_peercred() fails in unix_stream_connect(),\nunix_release_sock() is not called for newsk, and the memory\nis leaked.\n\nLet's move prepare_peercred() before unix_create1().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00154,"percentile":0.04459,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/365996a2b14d07caa9e33d367b67ea26c09d89b4","tags":[]},{"url":"https://git.kernel.org/stable/c/a5d95d7caba0160fb7b2b8d2bd96d5a1be861d9f","tags":[]},{"url":"https://git.kernel.org/stable/c/6884028cd7f275f8bcb854a347265cb1fb0e4bea","tags":[]}],"priority":{"score":0.9,"factors":[{"name":"EPSS percentile","points":0.89}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fd0a109a0f6b7524543d17520da92a44a9f5343c, < 365996a2b14d07caa9e33d367b67ea26c09d89b4",">= fd0a109a0f6b7524543d17520da92a44a9f5343c, < a5d95d7caba0160fb7b2b8d2bd96d5a1be861d9f",">= fd0a109a0f6b7524543d17520da92a44a9f5343c, < 6884028cd7f275f8bcb854a347265cb1fb0e4bea"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2026-32353","exploited":false,"provenance":"source"}}