# CVE-2023-52507: nfc: nci: assert requested protocol is valid

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-03-02T21:52:20.724Z
- Modified: 2026-06-17T06:42:53.367Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

nfc: nci: assert requested protocol is valid

The protocol is used in a bit mask to determine if the protocol is
supported. Assert the provided protocol is less than the maximum
defined so it doesn't potentially perform a shift-out-of-bounds and
provide a clearer error for undefined protocols vs unsupported ones.

(As written by CVE List.)

## Affected

- Linux Linux: from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 2c231a247a1d1628e41fa1eefd1a5307c41c5f53; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before a686f84101680b8442181a8846fbd3c934653729; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 95733ea130e35ef9ec5949a5908dde3feaba92cb; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before a424807d860ba816aaafc3064b46b456361c0802; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 25dd54b95abfdca423b65a4ee620a774777d8213; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 853dda54ba59ea70d5580a298b7ede4707826848; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 6584eba7688dcf999542778b07f63828c21521da; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 354a6e707e29cb0c007176ee5b8db8be7bd2dee0; 3.2 (not affected: before 3.2; from 4.14.328 up to 4.14.*; from 4.19.297 up to 4.19.*; from 5.4.259 up to 5.4.*; from 5.10.199 up to 5.10.*; from 5.15.136 up to 5.15.*; from 6.1.59 up to 6.1.*; from 6.5.8 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 3.2 before 4.14.328; from 4.15 before 4.19.297; from 4.20 before 5.4.259; from 5.5 before 5.10.199; from 5.11 before 5.15.136; from 5.16 before 6.1.59; from 6.2 before 6.5.8; 6.6

## References

- <https://git.kernel.org/stable/c/2c231a247a1d1628e41fa1eefd1a5307c41c5f53> (patch)
- <https://git.kernel.org/stable/c/a686f84101680b8442181a8846fbd3c934653729> (patch)
- <https://git.kernel.org/stable/c/95733ea130e35ef9ec5949a5908dde3feaba92cb> (patch)
- <https://git.kernel.org/stable/c/a424807d860ba816aaafc3064b46b456361c0802> (patch)
- <https://git.kernel.org/stable/c/25dd54b95abfdca423b65a4ee620a774777d8213> (patch)
- <https://git.kernel.org/stable/c/853dda54ba59ea70d5580a298b7ede4707826848> (patch)
- <https://git.kernel.org/stable/c/6584eba7688dcf999542778b07f63828c21521da> (patch)
- <https://git.kernel.org/stable/c/354a6e707e29cb0c007176ee5b8db8be7bd2dee0> (patch)

## Sources

- CVE List: [CVE-2023-52507](https://www.cve.org/CVERecord?id=CVE-2023-52507), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52507](https://nvd.nist.gov/vuln/detail/CVE-2023-52507), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52507 · Whole record: https://cve.day/CVE-2023-52507.json · Rebuilt by cve.day 2026-11-25T22:58:33.155Z
