CVE-2023-52507

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52507
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52507.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52507
Downstream
Related
Published
2024-03-02T21:52:20.724Z
Modified
2025-11-26T19:35:13.470390Z
Summary
nfc: nci: assert requested protocol is valid
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/9c3874e559580d6c6ec8d449812ac11277724770/cves/2023/52xxx/CVE-2023-52507.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a2968aaf50c7a22fced77a5e24aa636281efca8
Fixed
2c231a247a1d1628e41fa1eefd1a5307c41c5f53
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a2968aaf50c7a22fced77a5e24aa636281efca8
Fixed
a686f84101680b8442181a8846fbd3c934653729
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a2968aaf50c7a22fced77a5e24aa636281efca8
Fixed
95733ea130e35ef9ec5949a5908dde3feaba92cb
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a2968aaf50c7a22fced77a5e24aa636281efca8
Fixed
a424807d860ba816aaafc3064b46b456361c0802
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a2968aaf50c7a22fced77a5e24aa636281efca8
Fixed
25dd54b95abfdca423b65a4ee620a774777d8213
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a2968aaf50c7a22fced77a5e24aa636281efca8
Fixed
853dda54ba59ea70d5580a298b7ede4707826848
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a2968aaf50c7a22fced77a5e24aa636281efca8
Fixed
6584eba7688dcf999542778b07f63828c21521da
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a2968aaf50c7a22fced77a5e24aa636281efca8
Fixed
354a6e707e29cb0c007176ee5b8db8be7bd2dee0

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.2.0
Fixed
4.14.328
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.297
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.259
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.199
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.136
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.59
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.5.8