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

Package Linux Kernel
Published 2026-05-27
Last modified 2026-05-27
Patch available
Yes

Affected versions

Linux kernel versions 6.16 and later are affected. Fixed in 6.18.14, 6.19.4, 7.0 and their respective stable series.

Affected from
≥ 6.16
Fixed in
✓ 6.18.14 6.18.x ✓ 6.19.4 6.19.x ✓ 7.0

References

The following references provide additional information about CVE-2026-45887 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2026-45887?

    CVE-2026-45887 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.16 onward and has been patched in 6.18.14, 6.19.4 and 7.0. CVE-2026-45887 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-45887?

    Yes — CVE-2026-45887 has been patched. Fixed versions include 6.18.14, 6.19.4 and 7.0. If you are running Linux kernel 6.16 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-45887 actively exploited?

    No — CVE-2026-45887 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.