CVE-2021-45095
Linux Kernel vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-45095 affects the Linux kernel through version 5.15.8, specifically in the pepsockaccept function within net/phonet/pep.c. This vulnerability was discovered in December 2021 and impacts the Phone Network protocol (PhoNet) implementation (NVD, Debian Security).

Technical details

The vulnerability is characterized by a reference count leak in the pepsockaccept() function. Specifically, sockhold(sk) is invoked in pepsockaccept(), but _sockput(sk) is not invoked in subsequent failure branches when pepaccept_conn() returns non-zero (Kernel Commit). The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The reference count leak in the PhoNet protocol implementation could potentially lead to memory exhaustion, resulting in a denial of service condition (Ubuntu Security).

Mitigation and workarounds

The vulnerability has been fixed in various Linux distributions through security updates. Debian has addressed this in version 5.10.92-1 for bullseye, 4.19.232-1 for buster, and 4.9.303-1 for stretch (Debian Security, Debian LTS). The fix involves adding the missing _sockput(sk) call in the error path of pepsockaccept() (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management