CVE
CVE-2023-52507
CNA 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 versions
All Linux kernel vulnerabilities →
- 6.6-rc5This version only
- 6.6-rc4This version only
- 6.6-rc3This version only
- 6.6-rc2This version only
- 6.6-rc1This version only
- ≥ 6.2, < 6.5.8Fixed in 6.5.8
- ≥ 5.16, < 6.1.59Fixed in 6.1.59
- ≥ 5.11, < 5.15.136Fixed in 5.15.136
- ≥ 5.5, < 5.10.199Fixed in 5.10.199
- ≥ 4.20, < 5.4.259Fixed in 5.4.259
- ≥ 4.15, < 4.19.297Fixed in 4.19.297
- ≥ 3.2, < 4.14.328Fixed in 4.14.328
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/25dd54b95abfdca423b65a4ee620a774777d8213 · Patch
- git.kernel.org/stable/c/2c231a247a1d1628e41fa1eefd1a5307c41c5f53 · Patch
- git.kernel.org/stable/c/354a6e707e29cb0c007176ee5b8db8be7bd2dee0 · Patch
- git.kernel.org/stable/c/6584eba7688dcf999542778b07f63828c21521da · Patch
- git.kernel.org/stable/c/853dda54ba59ea70d5580a298b7ede4707826848 · Patch
- git.kernel.org/stable/c/95733ea130e35ef9ec5949a5908dde3feaba92cb · Patch
- git.kernel.org/stable/c/a424807d860ba816aaafc3064b46b456361c0802 · Patch
- git.kernel.org/stable/c/a686f84101680b8442181a8846fbd3c934653729 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.