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 wilc_wlan_handle_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 vmm_table.
There is indeed a mismatch between the size passed to allocator in
wilc_wlan_init, and the range of possible indexes used later: allocation
size is missing a multiplication by sizeof(u32)
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/wireless/microchip/wilc1000/wlan.c"
],
"versions": [
{
"version": "32dd0b22a5ba",
"lessThan": "541b3757fd44",
"status": "affected",
"versionType": "git"
},
{
"version": "40b717bfcefa",
"lessThan": "4b0d6ddb6466",
"status": "affected",
"versionType": "git"
},
{
"version": "40b717bfcefa",
"lessThan": "6aaf7cd8bdfe",
"status": "affected",
"versionType": "git"
},
{
"version": "40b717bfcefa",
"lessThan": "3ce1c2c3999b",
"status": "affected",
"versionType": "git"
},
{
"version": "40b717bfcefa",
"lessThan": "05ac1a198a63",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/wireless/microchip/wilc1000/wlan.c"
],
"versions": [
{
"version": "6.0",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.0",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.140",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.64",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.5.13",
"lessThanOrEqual": "6.5.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.3",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.7",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/05ac1a198a63ad66bf5ae8b7321407c102d40ef3
git.kernel.org/stable/c/3ce1c2c3999b232258f7aabab311d47dda75605c
git.kernel.org/stable/c/4b0d6ddb6466d10df878a7787f175a0e4adc3e27
git.kernel.org/stable/c/541b3757fd443a68ed8d25968eae511a8275e7c8
git.kernel.org/stable/c/6aaf7cd8bdfe245d3c9a8b48fe70c2011965948e