Bug 1882508 (CVE-2020-26088) - CVE-2020-26088 kernel: missing CAP_NET_RAW check in NFC socket creation in net/nfc/rawsock.c allows local attackers to create raw sockets
Summary: CVE-2020-26088 kernel: missing CAP_NET_RAW check in NFC socket creation in ne...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2020-26088
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: 1882509 1885471 1885472
Blocks: 1882510
TreeView+ depends on / blocked
 
Reported: 2020-09-24 18:53 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-06-14 02:03 UTC (History)
48 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A missing capabilities check when creating NFC raw sockets could be used by local attackers to create raw sockets, bypassing security mechanisms allowing them to create or listen to NFC communication frames.
Clone Of:
Environment:
Last Closed: 2020-10-08 02:21:16 UTC


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-09-24 18:53:49 UTC
A missing capabilities check when creating NFC raw sockets could be used by local attackers to create raw sockets, bypassing security mechanisms allowing them to create or listen to NFC communication frames.

This could give a local attacker advanced information about the systems environment and devices connected nearby.  It may also allow an attacker to impersonate an NFC device.

At this time no Red Hat product ships NFC enabled code is is not affected.

Reference and upstream patch:
https://github.com/torvalds/linux/commit/26896f01467a28651f7a536143fe5ac8449d4041

Comment 1 Guilherme de Almeida Suckevicz 2020-09-24 18:55:24 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1882509]

Comment 2 Justin M. Forbes 2020-09-24 20:04:06 UTC
This was fixed for Fedora with the 5.7.16 stable kernel updates.

Comment 6 Wade Mealing 2020-10-02 07:37:21 UTC
Mitigation:


As the nfc module will be auto-loaded when required, its use can be disabled  by preventing the module from loading with the following instructions:

# echo "install nfc /bin/true" >> /etc/modprobe.d/disable-nfc.conf 
 
The system will need to be restarted if the NFC module is loaded. In most circumstances, the NFC kernel modules will be unable to be unloaded while any interfaces are active and the protocol is in use.

If the system requires this module to work correctly, this mitigation may not be suitable.

If you need further assistance, see KCS article https://access.redhat.com/solutions/41278 or contact Red Hat Global Support Services.

Comment 11 Wade Mealing 2020-10-08 01:15:58 UTC
Removed affected state, updated comment #0.

Comment 12 Product Security DevOps Team 2020-10-08 02:21:16 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-2020-26088


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