Bug 1758256 (CVE-2019-17056) - CVE-2019-17056 kernel: unprivileged access to llcp_sock_create in net/nfc/llcp_sock.c in the AF_NFC socket type.
Summary: CVE-2019-17056 kernel: unprivileged access to llcp_sock_create in net/nfc/llc...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-17056
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: 1758257
Blocks: 1758258
TreeView+ depends on / blocked
 
Reported: 2019-10-03 16:57 UTC by Dhananjay Arunesh
Modified: 2019-12-04 07:04 UTC (History)
47 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-04 07:04:51 UTC


Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-10-03 16:57:02 UTC
A vulnerability was found in llcp_sock_create in net/nfc/llcp_sock.c in the AF_NFC network module in the Linux kernel does not enforce CAP_NET_RAW, which means that unprivileged users can create a raw socket.

Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0edc3f703f7bcaf550774b5d43ab727bcd0fe06b
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3a359798b176183ef09efb7a3dc59abad1cc7104

Comment 1 Dhananjay Arunesh 2019-10-03 16:59:00 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1758257]

Comment 2 Fedora Update System 2019-10-25 18:06:49 UTC
kernel-5.3.6-100.fc29, kernel-headers-5.3.6-100.fc29, kernel-tools-5.3.6-100.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 3 Wade Mealing 2019-12-04 02:32:25 UTC
Its kinda hard to consider this to be privilege escalation.  It may be expected that raw sockets are not available to all users most people think of "networked" sockets, not this NFC protocol.

In addition, no shipping versions of RHEL support this protocol.

Comment 4 Product Security DevOps Team 2019-12-04 07:04:51 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-17056


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