In the Linux kernel, the following vulnerability has been resolved:
mmc: uniphier-sd: Fix a resource leak in the remove function
A ‘tmio_mmc_host_free()’ call is missing in the remove function, in order
to balance a ‘tmio_mmc_host_alloc()’ call in the probe.
This is done in the error handling path of the probe, but not in the remove
function.
Add the missing call.
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/mmc/host/uniphier-sd.c"
],
"versions": [
{
"version": "3fd784f745dd",
"lessThan": "0d8941b9b2d3",
"status": "affected",
"versionType": "git"
},
{
"version": "3fd784f745dd",
"lessThan": "25ac6ce65f1a",
"status": "affected",
"versionType": "git"
},
{
"version": "3fd784f745dd",
"lessThan": "ebe0f12cf4c0",
"status": "affected",
"versionType": "git"
},
{
"version": "3fd784f745dd",
"lessThan": "d6e7fda49697",
"status": "affected",
"versionType": "git"
},
{
"version": "3fd784f745dd",
"lessThan": "e29c84857e2d",
"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/mmc/host/uniphier-sd.c"
],
"versions": [
{
"version": "4.20",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.20",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.4.118",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.10.36",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.11.20",
"lessThanOrEqual": "5.11.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.12.3",
"lessThanOrEqual": "5.12.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.13",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/0d8941b9b2d3e7b3481fdf43b1a6189d162175b7
git.kernel.org/stable/c/25ac6ce65f1ab458982d15ec1caf441acd37106a
git.kernel.org/stable/c/d6e7fda496978f2763413b5523557b38dc2bf6c2
git.kernel.org/stable/c/e29c84857e2d51aa017ce04284b962742fb97d9e
git.kernel.org/stable/c/ebe0f12cf4c044f812c6d17011531582f9ac8bb3