AI Score
Confidence
Low
EPSS
Percentile
15.5%
SSVC
Exploitation
none
Automatable
no
Technical Impact
partial
In the Linux kernel, the following vulnerability has been resolved:
net: sparx5: Fix use after free inside sparx5_del_mact_entry
Based on the static analyzis of the code it looks like when an entry
from the MAC table was removed, the entry was still used after being
freed. More precise the vid of the mac_entry was used after calling
devm_kfree on the mac_entry.
The fix consists in first using the vid of the mac_entry to delete the
entry from the HW and after that to free it.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "b37a1bae742f",
"lessThan": "e46274df1100",
"versionType": "git"
},
{
"status": "affected",
"version": "b37a1bae742f",
"lessThan": "0de693d68b0a",
"versionType": "git"
},
{
"status": "affected",
"version": "b37a1bae742f",
"lessThan": "e83bebb718fd",
"versionType": "git"
},
{
"status": "affected",
"version": "b37a1bae742f",
"lessThan": "71809805b950",
"versionType": "git"
},
{
"status": "affected",
"version": "b37a1bae742f",
"lessThan": "89d72d4125e9",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.14"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.14",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "5.15.152",
"versionType": "custom",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.82",
"versionType": "custom",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.22",
"versionType": "custom",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.7.10",
"versionType": "custom",
"lessThanOrEqual": "6.7.*"
},
{
"status": "unaffected",
"version": "6.8",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c"
],
"defaultStatus": "affected"
}
]
git.kernel.org/stable/c/0de693d68b0a18d5e256556c7c62d92cca35ad52
git.kernel.org/stable/c/71809805b95052ff551922f11660008fb3666025
git.kernel.org/stable/c/89d72d4125e94aa3c2140fedd97ce07ba9e37674
git.kernel.org/stable/c/e46274df1100fb0c06704195bfff5bfbd418bf64
git.kernel.org/stable/c/e83bebb718fd1f42549358730e1206164e0861d6