CVE-2021-45095 json
pep_sock_accept in net/phonet/pep.c in the Linux kernel through 5.15.8 has a refcount leak.
published 2021-12-16 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-31886
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
Summary
pep_sock_accept in net/phonet/pep.c in the Linux kernel through 5.15.8 has a refcount leak.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 5.15.15-1
debian advisories DEBIAN-CVE-2021-45095
- linux Ubuntu 18.04 LTS 4.15.0-173.182
- linux Ubuntu 20.04 LTS 5.4.0-105.119
- linux-aws Ubuntu 18.04 LTS 4.15.0-1124.133
- linux-aws Ubuntu 20.04 LTS 5.4.0-1069.73
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1068.72
- linux-gke Ubuntu 20.04 LTS 5.4.0-1066.69
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1018.20
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1110.113
ubuntu advisories UBUNTU-CVE-2021-45095
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.91.1
- kernel-syms-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.91.1
- kernel-source-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.91.1
- kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.113.1
- kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.113.1
- kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.113.1
- kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.113.1
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.78.1
suse advisories SUSE-SU-2022:0765-1SUSE-SU-2022:0767-1SUSE-SU-2022:14905-1SUSE-SU-2022:0555-1SUSE-SU-2022:0544-1SUSE-SU-2022:0543-1
- dtb-aarch64 openSUSE Leap 15.3 5.3.18-150300.59.49.1
- kernel-64kb openSUSE Leap 15.3 5.3.18-150300.59.49.1
- kernel-syms openSUSE Leap 15.3 5.3.18-150300.59.49.1
- kernel-obs-qa openSUSE Leap 15.3 5.3.18-150300.59.49.1
- kernel-source openSUSE Leap 15.3 5.3.18-150300.59.49.1
- kernel-default openSUSE Leap 15.3 5.3.18-150300.59.49.1
- kernel-preempt openSUSE Leap 15.3 5.3.18-150300.59.49.1
- kernel-kvmsmall openSUSE Leap 15.3 5.3.18-150300.59.49.1
opensuse advisories openSUSE-SU-2022:0370-1openSUSE-SU-2022:0366-1openSUSE-SU-2022:0363-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-45095 updated cvss 5.5
kernel: refcount leak in pep_sock_accept() in net/phonet/pep.c
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=bcd0f93353326954817a4f9fa55ec57fb38acbb0
patch, vendor-advisory
-
github.com
/torvalds/linux/commit/bcd0f93353326954817a4f9fa55ec57fb38acbb0
patch, third-party-advisory
-
debian.org
/security/2022/dsa-5050
vendor-advisory, third-party-advisory
-
debian.org
/security/2022/dsa-5096
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/03/msg00011.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/03/msg00012.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-45095
- NVD CVE-2021-45095
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.