In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: once more fix the call oder in amdgpu_ttm_move() v2
This reverts drm/amdgpu: fix ftrace event amdgpu_bo_move always move
on same heap. The basic problem here is that after the move the old
location is simply not available any more.
Some fixes were suggested, but essentially we should call the move
notification before actually moving things because only this way we have
the correct order for DMA-buf and VM move notifications as well.
Also rework the statistic handling so that we don’t update the eviction
counter before the move.
v2: add missing NULL check
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_object.c",
"drivers/gpu/drm/amd/amdgpu/amdgpu_object.h",
"drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c"
],
"versions": [
{
"version": "d443fb67ca5a",
"lessThan": "5c25b169f9a0",
"status": "affected",
"versionType": "git"
},
{
"version": "e7a0ee45c653",
"lessThan": "0c7ed3ed35ee",
"status": "affected",
"versionType": "git"
},
{
"version": "94aeb4117343",
"lessThan": "9a4f6e138720",
"status": "affected",
"versionType": "git"
},
{
"version": "94aeb4117343",
"lessThan": "d3a9331a6591",
"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/amd/amdgpu/amdgpu_object.c",
"drivers/gpu/drm/amd/amdgpu/amdgpu_object.h",
"drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c"
],
"versions": [
{
"version": "6.8",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.8",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.91",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.31",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.8.10",
"lessThanOrEqual": "6.8.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.9",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/0c7ed3ed35eec9138b88d42217b5a6b9a62bda4d
git.kernel.org/stable/c/5c25b169f9a0b34ee410891a96bc9d7b9ed6f9be
git.kernel.org/stable/c/9a4f6e138720b6e9adf7b82a71d0292f3f276480
git.kernel.org/stable/c/d3a9331a6591e9df64791e076f6591f440af51c3
lists.fedoraproject.org/archives/list/[email protected]/message/DW2MIOIMOFUSNLHLRYX23AFR36BMKD65/
lists.fedoraproject.org/archives/list/[email protected]/message/OTB4HWU2PTVW5NEYHHLOCXDKG3PYA534/