In the Linux kernel, the following vulnerability has been resolved:
wifi: wilc1000: use vmm_table as array in wilc struct
Enabling KASAN and running some iperf tests raises some memory issues with vmm_table:
BUG: KASAN: slab-out-of-bounds in wilcwlanhandle_txq+0x6ac/0xdb4 Write of size 4 at addr c3a61540 by task wlan0-tx/95
KASAN detects that we are writing data beyond range allocated to vmmtable. There is indeed a mismatch between the size passed to allocator in wilcwlan_init, and the range of possible indexes used later: allocation size is missing a multiplication by sizeof(u32)
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52768.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52768.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@05ac1a198a63ad66bf5ae8b7321407c102d40ef3",
"digest": {
"line_hashes": [
"277753604470019685315593480003981747746",
"253494156948495194918566654838165790387",
"157757990071228881291101410039338823987",
"26733355517609291691874339060089937923"
],
"threshold": 0.9
},
"id": "CVE-2023-52768-6a6672f8",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/microchip/wilc1000/wlan.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ce1c2c3999b232258f7aabab311d47dda75605c",
"digest": {
"line_hashes": [
"277753604470019685315593480003981747746",
"253494156948495194918566654838165790387",
"157757990071228881291101410039338823987",
"26733355517609291691874339060089937923"
],
"threshold": 0.9
},
"id": "CVE-2023-52768-81635b5e",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/microchip/wilc1000/wlan.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@05ac1a198a63ad66bf5ae8b7321407c102d40ef3",
"digest": {
"function_hash": "273063660181847697313790291758089387922",
"length": 1065.0
},
"id": "CVE-2023-52768-83937e1c",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/microchip/wilc1000/wlan.c",
"function": "wilc_wlan_init"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b0d6ddb6466d10df878a7787f175a0e4adc3e27",
"digest": {
"function_hash": "273063660181847697313790291758089387922",
"length": 1065.0
},
"id": "CVE-2023-52768-a550e6d0",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/microchip/wilc1000/wlan.c",
"function": "wilc_wlan_init"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b0d6ddb6466d10df878a7787f175a0e4adc3e27",
"digest": {
"line_hashes": [
"277753604470019685315593480003981747746",
"253494156948495194918566654838165790387",
"157757990071228881291101410039338823987",
"26733355517609291691874339060089937923"
],
"threshold": 0.9
},
"id": "CVE-2023-52768-aa1ec7fb",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/microchip/wilc1000/wlan.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ce1c2c3999b232258f7aabab311d47dda75605c",
"digest": {
"function_hash": "273063660181847697313790291758089387922",
"length": 1065.0
},
"id": "CVE-2023-52768-e1b7c29c",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/microchip/wilc1000/wlan.c",
"function": "wilc_wlan_init"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6aaf7cd8bdfe245d3c9a8b48fe70c2011965948e",
"digest": {
"function_hash": "273063660181847697313790291758089387922",
"length": 1065.0
},
"id": "CVE-2023-52768-f4396f59",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/microchip/wilc1000/wlan.c",
"function": "wilc_wlan_init"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6aaf7cd8bdfe245d3c9a8b48fe70c2011965948e",
"digest": {
"line_hashes": [
"277753604470019685315593480003981747746",
"253494156948495194918566654838165790387",
"157757990071228881291101410039338823987",
"26733355517609291691874339060089937923"
],
"threshold": 0.9
},
"id": "CVE-2023-52768-f5655fc3",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/microchip/wilc1000/wlan.c"
}
}
]