In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: mvm: don't trust firmware n_channels
If the firmware sends us a corrupted MCC response with nchannels much larger than the command response can be, we might copy far too much (uninitialized) memory and even crash if the nchannels is large enough to make it run out of the one page allocated for the FW response.
Fix that by checking the lengths. Doing a < comparison would be sufficient, but the firmware should be doing it correctly, so check more strictly.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53589.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53589.json"
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"94349119567037534833814104728958868065",
"242612980763316446641648216500957597687",
"108385052258711180579429228530143864835",
"195161028307780867520421330083406946207",
"221484525071626171335617400040807137335",
"127050200678231783257541828281974891351",
"122118084989299008722006649124665215520",
"99071539558513006652988722838071634307"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@682b6dc29d98e857e6ca4bbc077c7dc2899b7473",
"signature_type": "Line",
"id": "CVE-2023-53589-402f9c11",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/mvm/nvm.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "118093103104747587073498009689409120389",
"length": 1825.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e519a404a5bbba37693cb10fa61794a5fce4fd9b",
"signature_type": "Function",
"id": "CVE-2023-53589-47c2800b",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/mvm/nvm.c",
"function": "iwl_mvm_update_mcc"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"94349119567037534833814104728958868065",
"242612980763316446641648216500957597687",
"108385052258711180579429228530143864835",
"195161028307780867520421330083406946207",
"221484525071626171335617400040807137335",
"127050200678231783257541828281974891351",
"122118084989299008722006649124665215520",
"99071539558513006652988722838071634307"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@05ad5a4d421ce65652fcb24d46b7e273130240d6",
"signature_type": "Line",
"id": "CVE-2023-53589-4cd49def",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/mvm/nvm.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"94349119567037534833814104728958868065",
"242612980763316446641648216500957597687",
"108385052258711180579429228530143864835",
"195161028307780867520421330083406946207",
"221484525071626171335617400040807137335",
"127050200678231783257541828281974891351",
"122118084989299008722006649124665215520",
"99071539558513006652988722838071634307"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d0d39bed9e95f27a246be91c5929254ac043ed30",
"signature_type": "Line",
"id": "CVE-2023-53589-61bf566d",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/mvm/nvm.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "119920311454715214829460688233709563859",
"length": 1846.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@05ad5a4d421ce65652fcb24d46b7e273130240d6",
"signature_type": "Function",
"id": "CVE-2023-53589-71ea7b8b",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/mvm/nvm.c",
"function": "iwl_mvm_update_mcc"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"94349119567037534833814104728958868065",
"242612980763316446641648216500957597687",
"108385052258711180579429228530143864835",
"195161028307780867520421330083406946207",
"221484525071626171335617400040807137335",
"127050200678231783257541828281974891351",
"122118084989299008722006649124665215520",
"99071539558513006652988722838071634307"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e519a404a5bbba37693cb10fa61794a5fce4fd9b",
"signature_type": "Line",
"id": "CVE-2023-53589-80dfc0a4",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/mvm/nvm.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "119920311454715214829460688233709563859",
"length": 1846.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@682b6dc29d98e857e6ca4bbc077c7dc2899b7473",
"signature_type": "Function",
"id": "CVE-2023-53589-d9bae291",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/mvm/nvm.c",
"function": "iwl_mvm_update_mcc"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "118093103104747587073498009689409120389",
"length": 1825.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d0d39bed9e95f27a246be91c5929254ac043ed30",
"signature_type": "Function",
"id": "CVE-2023-53589-ffd7502a",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/mvm/nvm.c",
"function": "iwl_mvm_update_mcc"
}
}
]