Bug 2035338 (CVE-2021-45095) - CVE-2021-45095 kernel: refcount leak in pep_sock_accept() in net/phonet/pep.c
Summary: CVE-2021-45095 kernel: refcount leak in pep_sock_accept() in net/phonet/pep.c
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-45095
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2035339
Blocks: 2035340
TreeView+ depends on / blocked
 
Reported: 2021-12-23 17:06 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-01-06 12:21 UTC (History)
47 users (show)

Fixed In Version: Linux kernel 5.16-rc6
Doc Type: If docs needed, set a value
Doc Text:
A memory leak flaw in the Linux kernel's PhoNet (Phone Network protocol) functionality was found in the way user gets memory allocation fail inside function pep_sock_accept (for the failure branch). A local user could use this flaw to starve the resources causing a denial of service.
Clone Of:
Environment:
Last Closed: 2022-01-02 18:02:27 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-12-23 17:06:12 UTC
pep_sock_accept in net/phonet/pep.c in the Linux kernel through 5.15.8 has a refcount leak.

Reference and upstream patch:
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=bcd0f93353326954817a4f9fa55ec57fb38acbb0

Comment 1 Guilherme de Almeida Suckevicz 2021-12-23 17:06:58 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2035339]

Comment 2 Justin M. Forbes 2021-12-23 20:28:38 UTC
For fedora: # CONFIG_PHONET is not set


Note You need to log in before you can comment on or make changes to this bug.