In the Linux kernel, the following vulnerability has been resolved:
drm/lima: fix a memleak in limaheapalloc
When limavmmap_bo fails, the resources need to be deallocated, or there will be memleaks.
{ "vanir_signatures": [ { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c", "function": "lima_heap_alloc" }, "signature_version": "v1", "digest": { "length": 1841.0, "function_hash": "225757020263125481338600950278178930343" }, "id": "CVE-2024-35829-0a5c296f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6d51a91b41704704e395de6839c667b0f810bbf" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "93396475037470364797389294581352123361", "215443457891699554792433374202314591408", "118459571788568581674168322158553907991", "107173262184334129860251359090959534096", "21728923946186714279272039938939686248", "65658651394260033148992560392274129253", "146820950245252533179011006800322381048", "146794768610538033305477740510244958943", "9068681444710032581317133163835333330", "115793445455638463013814880208893461450", "255210173849140113270012431810215789565", "144840233912052578995754207557873009450", "77917280212218291393942869868966125215", "12153229181490340493229768759571701878", "189505589596341177194580495660875003266", "16179984863015113750137685825503755527", "125648999910058674811000007892488564985", "98007381441337017662134262543020456755", "216762244769562932132650319369823689549", "118109930831944426816473368955445148131", "222748044634542465336287437688802037693", "202664478729010559326320464449947753689" ], "threshold": 0.9 }, "id": "CVE-2024-35829-204565b0", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec6bb037e4a35fcbb5cd7bc78242d034ed893fcd" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c", "function": "lima_heap_alloc" }, "signature_version": "v1", "digest": { "length": 1841.0, "function_hash": "225757020263125481338600950278178930343" }, "id": "CVE-2024-35829-34445d0b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f2e80ac9344aebbff576453d5c0290b332e187ed" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c", "function": "lima_heap_alloc" }, "signature_version": "v1", "digest": { "length": 1844.0, "function_hash": "46634337994073891276857500324998486043" }, "id": "CVE-2024-35829-44e52089", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ab14eccf5578af1dd5668a5f2d771df27683cab" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c", "function": "lima_heap_alloc" }, "signature_version": "v1", "digest": { "length": 1844.0, "function_hash": "46634337994073891276857500324998486043" }, "id": "CVE-2024-35829-488f4160", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04ae3eb470e52a3c41babe85ff8cee195e4dcbea" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "93396475037470364797389294581352123361", "215443457891699554792433374202314591408", "118459571788568581674168322158553907991", "107173262184334129860251359090959534096", "21728923946186714279272039938939686248", "65658651394260033148992560392274129253", "146820950245252533179011006800322381048", "146794768610538033305477740510244958943", "9068681444710032581317133163835333330", "115793445455638463013814880208893461450", "255210173849140113270012431810215789565", "144840233912052578995754207557873009450", "77917280212218291393942869868966125215", "12153229181490340493229768759571701878", "189505589596341177194580495660875003266", "16179984863015113750137685825503755527", "125648999910058674811000007892488564985", "98007381441337017662134262543020456755", "216762244769562932132650319369823689549", "118109930831944426816473368955445148131", "222748044634542465336287437688802037693", "202664478729010559326320464449947753689" ], "threshold": 0.9 }, "id": "CVE-2024-35829-4f1d323d", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6d51a91b41704704e395de6839c667b0f810bbf" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c", "function": "lima_heap_alloc" }, "signature_version": "v1", "digest": { "length": 1841.0, "function_hash": "225757020263125481338600950278178930343" }, "id": "CVE-2024-35829-6cc66481", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@746606d37d662c70ae1379fc658ee9c65f06880f" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "93396475037470364797389294581352123361", "215443457891699554792433374202314591408", "118459571788568581674168322158553907991", "107173262184334129860251359090959534096", "21728923946186714279272039938939686248", "65658651394260033148992560392274129253", "146820950245252533179011006800322381048", "146794768610538033305477740510244958943", "9068681444710032581317133163835333330", "115793445455638463013814880208893461450", "255210173849140113270012431810215789565", "144840233912052578995754207557873009450", "77917280212218291393942869868966125215", "12153229181490340493229768759571701878", "189505589596341177194580495660875003266", "16179984863015113750137685825503755527", "125648999910058674811000007892488564985", "98007381441337017662134262543020456755", "216762244769562932132650319369823689549", "118109930831944426816473368955445148131", "222748044634542465336287437688802037693", "202664478729010559326320464449947753689" ], "threshold": 0.9 }, "id": "CVE-2024-35829-8b024f0d", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ab14eccf5578af1dd5668a5f2d771df27683cab" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "93396475037470364797389294581352123361", "215443457891699554792433374202314591408", "118459571788568581674168322158553907991", "107173262184334129860251359090959534096", "21728923946186714279272039938939686248", "65658651394260033148992560392274129253", "146820950245252533179011006800322381048", "146794768610538033305477740510244958943", "9068681444710032581317133163835333330", "115793445455638463013814880208893461450", "255210173849140113270012431810215789565", "144840233912052578995754207557873009450", "77917280212218291393942869868966125215", "12153229181490340493229768759571701878", "189505589596341177194580495660875003266", "16179984863015113750137685825503755527", "125648999910058674811000007892488564985", "98007381441337017662134262543020456755", "216762244769562932132650319369823689549", "118109930831944426816473368955445148131", "222748044634542465336287437688802037693", "202664478729010559326320464449947753689" ], "threshold": 0.9 }, "id": "CVE-2024-35829-a67b1575", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@746606d37d662c70ae1379fc658ee9c65f06880f" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c", "function": "lima_heap_alloc" }, "signature_version": "v1", "digest": { "length": 1844.0, "function_hash": "46634337994073891276857500324998486043" }, "id": "CVE-2024-35829-a7b58dcb", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec6bb037e4a35fcbb5cd7bc78242d034ed893fcd" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "93396475037470364797389294581352123361", "215443457891699554792433374202314591408", "118459571788568581674168322158553907991", "107173262184334129860251359090959534096", "21728923946186714279272039938939686248", "65658651394260033148992560392274129253", "146820950245252533179011006800322381048", "146794768610538033305477740510244958943", "9068681444710032581317133163835333330", "115793445455638463013814880208893461450", "255210173849140113270012431810215789565", "144840233912052578995754207557873009450", "77917280212218291393942869868966125215", "12153229181490340493229768759571701878", "189505589596341177194580495660875003266", "16179984863015113750137685825503755527", "125648999910058674811000007892488564985", "98007381441337017662134262543020456755", "216762244769562932132650319369823689549", "118109930831944426816473368955445148131", "222748044634542465336287437688802037693", "202664478729010559326320464449947753689" ], "threshold": 0.9 }, "id": "CVE-2024-35829-d962a2b6", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f2e80ac9344aebbff576453d5c0290b332e187ed" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/gpu/drm/lima/lima_gem.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "93396475037470364797389294581352123361", "215443457891699554792433374202314591408", "118459571788568581674168322158553907991", "107173262184334129860251359090959534096", "21728923946186714279272039938939686248", "65658651394260033148992560392274129253", "146820950245252533179011006800322381048", "146794768610538033305477740510244958943", "9068681444710032581317133163835333330", "115793445455638463013814880208893461450", "255210173849140113270012431810215789565", "144840233912052578995754207557873009450", "77917280212218291393942869868966125215", "12153229181490340493229768759571701878", "189505589596341177194580495660875003266", "16179984863015113750137685825503755527", "125648999910058674811000007892488564985", "98007381441337017662134262543020456755", "216762244769562932132650319369823689549", "118109930831944426816473368955445148131", "222748044634542465336287437688802037693", "202664478729010559326320464449947753689" ], "threshold": 0.9 }, "id": "CVE-2024-35829-eca99e03", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04ae3eb470e52a3c41babe85ff8cee195e4dcbea" } ] }