{"id":"CVE-2023-52507","summary":"nfc: nci: assert requested protocol is valid","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: nci: assert requested protocol is valid\n\nThe protocol is used in a bit mask to determine if the protocol is\nsupported. Assert the provided protocol is less than the maximum\ndefined so it doesn't potentially perform a shift-out-of-bounds and\nprovide a clearer error for undefined protocols vs unsupported ones.","modified":"2026-04-02T09:42:55.364822Z","published":"2024-03-02T21:52:20.724Z","related":["SUSE-SU-2024:1320-1","SUSE-SU-2024:1321-1","SUSE-SU-2024:1466-1","SUSE-SU-2024:1480-1","SUSE-SU-2024:1490-1","SUSE-SU-2024:2493-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2901-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52507.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/25dd54b95abfdca423b65a4ee620a774777d8213"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2c231a247a1d1628e41fa1eefd1a5307c41c5f53"},{"type":"WEB","url":"https://git.kernel.org/stable/c/354a6e707e29cb0c007176ee5b8db8be7bd2dee0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6584eba7688dcf999542778b07f63828c21521da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/853dda54ba59ea70d5580a298b7ede4707826848"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95733ea130e35ef9ec5949a5908dde3feaba92cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a424807d860ba816aaafc3064b46b456361c0802"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a686f84101680b8442181a8846fbd3c934653729"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52507.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52507"},{"type":"PACKAGE","url":"https://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"},{"fixed":"a686f84101680b8442181a8846fbd3c934653729"},{"fixed":"95733ea130e35ef9ec5949a5908dde3feaba92cb"},{"fixed":"a424807d860ba816aaafc3064b46b456361c0802"},{"fixed":"25dd54b95abfdca423b65a4ee620a774777d8213"},{"fixed":"853dda54ba59ea70d5580a298b7ede4707826848"},{"fixed":"6584eba7688dcf999542778b07f63828c21521da"},{"fixed":"354a6e707e29cb0c007176ee5b8db8be7bd2dee0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52507.json"}}],"schema_version":"1.7.5"}