Lucene search

K
nvd416baaa9-dc9f-4396-8d5f-8c081fb06d67NVD:CVE-2021-47285
HistoryMay 21, 2024 - 3:15 p.m.

CVE-2021-47285

2024-05-2115:15:16
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
linux kernel
cve-2021-47285
net/nfc/rawsock.c
permission check
bug fix
ns_capable

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.2%

In the Linux kernel, the following vulnerability has been resolved:

net/nfc/rawsock.c: fix a permission check bug

The function rawsock_create() calls a privileged function sk_alloc(), which requires a ns-aware check to check net->user_ns, i.e., ns_capable(). However, the original code checks the init_user_ns using capable(). So we replace the capable() with ns_capable().

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.2%