VYPR
Medium severity5.5NVD Advisory· Published May 27, 2026· Updated Jun 25, 2026

CVE-2026-45887

CVE-2026-45887

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 products

3
  • Linux/Kernel2 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.16,<6.18.14
    • (no CPE)
  • osv-coords
    Range: >= 6.16.0, < 6.18.14

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.