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:
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 1882509]
This was fixed for Fedora with the 5.7.16 stable kernel updates.
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.
Removed affected state, updated comment #0.
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):