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.
{ "vanir_signatures": [ { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a424807d860ba816aaafc3064b46b456361c0802", "deprecated": false, "id": "CVE-2023-52507-0a6960cf", "signature_type": "Function", "digest": { "length": 1637.0, "function_hash": "300937104837104653950749620750740509178" }, "target": { "file": "net/nfc/nci/core.c", "function": "nci_activate_target" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@25dd54b95abfdca423b65a4ee620a774777d8213", "deprecated": false, "id": "CVE-2023-52507-1931947d", "signature_type": "Function", "digest": { "length": 1624.0, "function_hash": "195386841380094395376763631382468738805" }, "target": { "file": "net/nfc/nci/core.c", "function": "nci_activate_target" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@354a6e707e29cb0c007176ee5b8db8be7bd2dee0", "deprecated": false, "id": "CVE-2023-52507-1f857e49", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "118763240685054687693410917257360814102", "40482971519347326557325320884661443073", "232239162351042455128987774570180161646" ] }, "target": { "file": "net/nfc/nci/core.c" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6584eba7688dcf999542778b07f63828c21521da", "deprecated": false, "id": "CVE-2023-52507-726ce590", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "118763240685054687693410917257360814102", "40482971519347326557325320884661443073", "232239162351042455128987774570180161646" ] }, "target": { "file": "net/nfc/nci/core.c" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2c231a247a1d1628e41fa1eefd1a5307c41c5f53", "deprecated": false, "id": "CVE-2023-52507-7c4b861d", "signature_type": "Function", "digest": { "length": 1637.0, "function_hash": "300937104837104653950749620750740509178" }, "target": { "file": "net/nfc/nci/core.c", "function": "nci_activate_target" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@354a6e707e29cb0c007176ee5b8db8be7bd2dee0", "deprecated": false, "id": "CVE-2023-52507-82e4dbb3", "signature_type": "Function", "digest": { "length": 1624.0, "function_hash": "195386841380094395376763631382468738805" }, "target": { "file": "net/nfc/nci/core.c", "function": "nci_activate_target" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a686f84101680b8442181a8846fbd3c934653729", "deprecated": false, "id": "CVE-2023-52507-86f377b5", "signature_type": "Function", "digest": { "length": 1637.0, "function_hash": "300937104837104653950749620750740509178" }, "target": { "file": "net/nfc/nci/core.c", "function": "nci_activate_target" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@853dda54ba59ea70d5580a298b7ede4707826848", "deprecated": false, "id": "CVE-2023-52507-89c8e731", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "118763240685054687693410917257360814102", "40482971519347326557325320884661443073", "232239162351042455128987774570180161646" ] }, "target": { "file": "net/nfc/nci/core.c" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@95733ea130e35ef9ec5949a5908dde3feaba92cb", "deprecated": false, "id": "CVE-2023-52507-ae5afbad", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "118763240685054687693410917257360814102", "40482971519347326557325320884661443073", "232239162351042455128987774570180161646" ] }, "target": { "file": "net/nfc/nci/core.c" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2c231a247a1d1628e41fa1eefd1a5307c41c5f53", "deprecated": false, "id": "CVE-2023-52507-ba5fabae", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "118763240685054687693410917257360814102", "40482971519347326557325320884661443073", "232239162351042455128987774570180161646" ] }, "target": { "file": "net/nfc/nci/core.c" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a686f84101680b8442181a8846fbd3c934653729", "deprecated": false, "id": "CVE-2023-52507-bc6985da", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "118763240685054687693410917257360814102", "40482971519347326557325320884661443073", "232239162351042455128987774570180161646" ] }, "target": { "file": "net/nfc/nci/core.c" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@95733ea130e35ef9ec5949a5908dde3feaba92cb", "deprecated": false, "id": "CVE-2023-52507-bffcbdd1", "signature_type": "Function", "digest": { "length": 1637.0, "function_hash": "300937104837104653950749620750740509178" }, "target": { "file": "net/nfc/nci/core.c", "function": "nci_activate_target" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a424807d860ba816aaafc3064b46b456361c0802", "deprecated": false, "id": "CVE-2023-52507-dd648cd0", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "118763240685054687693410917257360814102", "40482971519347326557325320884661443073", "232239162351042455128987774570180161646" ] }, "target": { "file": "net/nfc/nci/core.c" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@853dda54ba59ea70d5580a298b7ede4707826848", "deprecated": false, "id": "CVE-2023-52507-e49b0db8", "signature_type": "Function", "digest": { "length": 1624.0, "function_hash": "195386841380094395376763631382468738805" }, "target": { "file": "net/nfc/nci/core.c", "function": "nci_activate_target" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6584eba7688dcf999542778b07f63828c21521da", "deprecated": false, "id": "CVE-2023-52507-ecb4d0c5", "signature_type": "Function", "digest": { "length": 1624.0, "function_hash": "195386841380094395376763631382468738805" }, "target": { "file": "net/nfc/nci/core.c", "function": "nci_activate_target" } }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@25dd54b95abfdca423b65a4ee620a774777d8213", "deprecated": false, "id": "CVE-2023-52507-f702d19e", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "118763240685054687693410917257360814102", "40482971519347326557325320884661443073", "232239162351042455128987774570180161646" ] }, "target": { "file": "net/nfc/nci/core.c" } } ] }