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