In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: fix a memleak in vmw_gmrid_man_get_node
When ida_alloc_max fails, resources allocated before should be freed,
including *res allocated by kmalloc and ttm_resource_init.
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c"
],
"versions": [
{
"version": "d3bcb4b02fe9",
"lessThan": "03b1072616a8",
"status": "affected",
"versionType": "git"
},
{
"version": "d3bcb4b02fe9",
"lessThan": "40624af66747",
"status": "affected",
"versionType": "git"
},
{
"version": "d3bcb4b02fe9",
"lessThan": "83e0f220d1e9",
"status": "affected",
"versionType": "git"
},
{
"version": "d3bcb4b02fe9",
"lessThan": "6fc6233f6db1",
"status": "affected",
"versionType": "git"
},
{
"version": "d3bcb4b02fe9",
"lessThan": "d1e546ab91c6",
"status": "affected",
"versionType": "git"
},
{
"version": "d3bcb4b02fe9",
"lessThan": "89709105a609",
"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/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c"
],
"versions": [
{
"version": "5.14",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.14",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.153",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.83",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.23",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.7.11",
"lessThanOrEqual": "6.7.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.8.2",
"lessThanOrEqual": "6.8.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.9",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/03b1072616a8f7d6e8594f643b416a9467c83fbf
git.kernel.org/stable/c/40624af6674745e174c754a20d7c53c250e65e7a
git.kernel.org/stable/c/6fc6233f6db1579b69b54b44571f1a7fde8186e6
git.kernel.org/stable/c/83e0f220d1e992fa074157fcf14945bf170ffbc5
git.kernel.org/stable/c/89709105a6091948ffb6ec2427954cbfe45358ce
git.kernel.org/stable/c/d1e546ab91c670e536a274a75481034ab7534876