In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Fix bo leak in intelfbboframebufferinit
Add a unreference bo in the error path, to prevent leaking a bo ref.
Return 0 on success to clarify the success path.
(cherry picked from commit a2f3d731be3893e730417ae3190760fcaffdf549)
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/display/intel_fb_bo.c",
"function": "intel_fb_bo_framebuffer_init"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d8ac0942c312abda43b407eff72d31747a7b472",
"digest": {
"length": 501.0,
"function_hash": "214831045358257555402346392662873962013"
},
"id": "CVE-2024-26985-1cb54abd"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/display/intel_fb_bo.c",
"function": "intel_fb_bo_framebuffer_init"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@652ead9b746a63e4e79d7ad66d3edf0a8a5b0c2f",
"digest": {
"length": 501.0,
"function_hash": "214831045358257555402346392662873962013"
},
"id": "CVE-2024-26985-686999d8"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/display/intel_fb_bo.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d8ac0942c312abda43b407eff72d31747a7b472",
"digest": {
"line_hashes": [
"330436156431439550254915348566513193745",
"23925511490000863965938242956532020499",
"311191273555380752783115576323583844890",
"237450689746250632456560296999610558773",
"51466926195973424660977239308945214826",
"53553767751709809975362008453386483527",
"99859741041473202319178764748206346984",
"10185680222464731163105175228971589256",
"43720763836205753683128789390326884961",
"182451180953439630084162447527351628766",
"311480398504190389532574437730503428291",
"1264537195476640114383209426340175543"
],
"threshold": 0.9
},
"id": "CVE-2024-26985-ca046f7c"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/display/intel_fb_bo.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@652ead9b746a63e4e79d7ad66d3edf0a8a5b0c2f",
"digest": {
"line_hashes": [
"330436156431439550254915348566513193745",
"23925511490000863965938242956532020499",
"311191273555380752783115576323583844890",
"237450689746250632456560296999610558773",
"51466926195973424660977239308945214826",
"53553767751709809975362008453386483527",
"99859741041473202319178764748206346984",
"10185680222464731163105175228971589256",
"43720763836205753683128789390326884961",
"182451180953439630084162447527351628766",
"311480398504190389532574437730503428291",
"1264537195476640114383209426340175543"
],
"threshold": 0.9
},
"id": "CVE-2024-26985-db843b0d"
}
]