CVE-2023-52507
nfc: nci: assert requested protocol is valid
Mitigation
- Upgrade Linux to 354a6e707e29cb0c007176ee5b8db8be7bd2dee0 or later.
Who should check
- Anyone running Linux >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 2c231a247a1d1628e41fa1eefd1a5307c41c5f53; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < a686f84101680b8442181a8846fbd3c934653729; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 95733ea130e35ef9ec5949a5908dde3feaba92cb; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < a424807d860ba816aaafc3064b46b456361c0802; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 25dd54b95abfdca423b65a4ee620a774777d8213; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 853dda54ba59ea70d5580a298b7ede4707826848; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 6584eba7688dcf999542778b07f63828c21521da; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 354a6e707e29cb0c007176ee5b8db8be7bd2dee0
- Anyone running Linux 3.2
Vulnerability facts
- Affected
- Linux >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 2c231a247a1d1628e41fa1eefd1a5307c41c5f53; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < a686f84101680b8442181a8846fbd3c934653729; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 95733ea130e35ef9ec5949a5908dde3feaba92cb; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < a424807d860ba816aaafc3064b46b456361c0802; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 25dd54b95abfdca423b65a4ee620a774777d8213; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 853dda54ba59ea70d5580a298b7ede4707826848; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 6584eba7688dcf999542778b07f63828c21521da; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 354a6e707e29cb0c007176ee5b8db8be7bd2dee0; Linux 3.2
- Fixed in
- Linux 2c231a247a1d1628e41fa1eefd1a5307c41c5f53, Linux 95733ea130e35ef9ec5949a5908dde3feaba92cb, Linux 25dd54b95abfdca423b65a4ee620a774777d8213, Linux 853dda54ba59ea70d5580a298b7ede4707826848, Linux 6584eba7688dcf999542778b07f63828c21521da, Linux 354a6e707e29cb0c007176ee5b8db8be7bd2dee0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-125
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 2c231a247a1d1628e41fa1eefd1a5307c41c5f53; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < a686f84101680b8442181a8846fbd3c934653729; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 95733ea130e35ef9ec5949a5908dde3feaba92cb; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < a424807d860ba816aaafc3064b46b456361c0802; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 25dd54b95abfdca423b65a4ee620a774777d8213; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 853dda54ba59ea70d5580a298b7ede4707826848; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 6584eba7688dcf999542778b07f63828c21521da; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 354a6e707e29cb0c007176ee5b8db8be7bd2dee0 | — | cvelist |
| Linux | 3.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-52507. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52507.md Affected: Linux >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 2c231a247a1d1628e41fa1eefd1a5307c41c5f53; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < a686f84101680b8442181a8846fbd3c934653729; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 95733ea130e35ef9ec5949a5908dde3feaba92cb; >= 6a2968aaf50c7a22fced77a… Fixed in: Linux 2c231a247a1d1628e41fa1eefd1a5307c41c5f53, Linux 95733ea130e35ef9ec5949a5908dde3feaba92cb, Linux 25dd54b95abfdca423b65a4ee620a774777d8213, Linux 853dda54ba59ea70d5580a298b7ede4707826848, Linux 6584eba7688dcf999542778b07f63828c21521da, Linux 354a6e707e29cb0c007176ee5b8db8be7bd2dee0 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/2c231a247a1d1628e41fa1eefd1a5307c41c5f53
- https://git.kernel.org/stable/c/a686f84101680b8442181a8846fbd3c934653729
- https://git.kernel.org/stable/c/95733ea130e35ef9ec5949a5908dde3feaba92cb
- https://git.kernel.org/stable/c/a424807d860ba816aaafc3064b46b456361c0802
- https://git.kernel.org/stable/c/25dd54b95abfdca423b65a4ee620a774777d8213
- https://git.kernel.org/stable/c/853dda54ba59ea70d5580a298b7ede4707826848
- https://git.kernel.org/stable/c/6584eba7688dcf999542778b07f63828c21521da
- https://git.kernel.org/stable/c/354a6e707e29cb0c007176ee5b8db8be7bd2dee0
FAQ
Is CVE-2023-52507 being exploited?
There is no confirmed exploitation: CVE-2023-52507 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52507?
High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-52507?
Linux >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 2c231a247a1d1628e41fa1eefd1a5307c41c5f53; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < a686f84101680b8442181a8846fbd3c934653729; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 95733ea130e35ef9ec5949a5908dde3feaba92cb; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < a424807d860ba816aaafc3064b46b456361c0802; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 25dd54b95abfdca423b65a4ee620a774777d8213; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 853dda54ba59ea70d5580a298b7ede4707826848; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 6584eba7688dcf999542778b07f63828c21521da; >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 354a6e707e29cb0c007176ee5b8db8be7bd2dee0; Linux 3.2.
Is there a fix for CVE-2023-52507?
Yes. Fixed in Linux 2c231a247a1d1628e41fa1eefd1a5307c41c5f53, Linux 95733ea130e35ef9ec5949a5908dde3feaba92cb, Linux 25dd54b95abfdca423b65a4ee620a774777d8213, Linux 853dda54ba59ea70d5580a298b7ede4707826848, Linux 6584eba7688dcf999542778b07f63828c21521da, Linux 354a6e707e29cb0c007176ee5b8db8be7bd2dee0. Upgrade Linux to 354a6e707e29cb0c007176ee5b8db8be7bd2dee0 or later.
How do I check if I'm affected by CVE-2023-52507?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.