In the Linux kernel, the following vulnerability has been resolved:
amdkfd: use calloc instead of kzalloc to avoid integer overflow
This uses calloc instead of doing the multiplication which might overflow.
[ { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6721ea845fcb93a764a92bd40f1afc0d6c69751", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c" }, "digest": { "line_hashes": [ "153199067781186076697433006492454961467", "155603260937232300465345016250388231074", "60602586478397374937187158984623172544", "328756527621417798759271386371616383140", "250056577385259373086730270632303091612" ], "threshold": 0.9 }, "id": "CVE-2024-26817-0714ccdc", "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c", "function": "kfd_ioctl_get_process_apertures_new" }, "digest": { "function_hash": "74466321126537874382774370078193772229", "length": 1771.0 }, "id": "CVE-2024-26817-09f60108", "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6721ea845fcb93a764a92bd40f1afc0d6c69751", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c", "function": "kfd_ioctl_get_process_apertures_new" }, "digest": { "function_hash": "88903913372216697038094263557937974713", "length": 1903.0 }, "id": "CVE-2024-26817-180c3e68", "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b0daecfeac0103aba8b293df07a0cbaf8b43f29", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c", "function": "kfd_ioctl_get_process_apertures_new" }, "digest": { "function_hash": "74466321126537874382774370078193772229", "length": 1771.0 }, "id": "CVE-2024-26817-1c0e33f2", "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b0564704255c6b3c6a7188e86939f754e1577c0", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c", "function": "kfd_ioctl_get_process_apertures_new" }, "digest": { "function_hash": "88903913372216697038094263557937974713", "length": 1903.0 }, "id": "CVE-2024-26817-2f525297", "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fcbd99b3c73309107e3be71f20dff9414df64f91", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c", "function": "kfd_ioctl_get_process_apertures_new" }, "digest": { "function_hash": "96694370934087847775759604133640865405", "length": 1905.0 }, "id": "CVE-2024-26817-41df0bd0", "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fcbd99b3c73309107e3be71f20dff9414df64f91", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c" }, "digest": { "line_hashes": [ "153199067781186076697433006492454961467", "155603260937232300465345016250388231074", "60602586478397374937187158984623172544", "328756527621417798759271386371616383140", "250056577385259373086730270632303091612" ], "threshold": 0.9 }, "id": "CVE-2024-26817-45935525", "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0c33d11153949310d76631d8f4a4736519eacd3a", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c" }, "digest": { "line_hashes": [ "125032680368558676675110210476431686468", "155603260937232300465345016250388231074", "60602586478397374937187158984623172544", "328756527621417798759271386371616383140", "250056577385259373086730270632303091612" ], "threshold": 0.9 }, "id": "CVE-2024-26817-5d765bab", "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbac7de1d9901521e78cdc34e15451df3611f2ad", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c", "function": "kfd_ioctl_get_process_apertures_new" }, "digest": { "function_hash": "74466321126537874382774370078193772229", "length": 1771.0 }, "id": "CVE-2024-26817-79c0ed2a", "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6768c6737f4c02cba193a3339f0cc2907f0b86a", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c", "function": "kfd_ioctl_get_process_apertures_new" }, "digest": { "function_hash": "74466321126537874382774370078193772229", "length": 1771.0 }, "id": "CVE-2024-26817-82c68f7c", "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b0daecfeac0103aba8b293df07a0cbaf8b43f29", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c" }, "digest": { "line_hashes": [ "125032680368558676675110210476431686468", "155603260937232300465345016250388231074", "60602586478397374937187158984623172544", "328756527621417798759271386371616383140", "250056577385259373086730270632303091612" ], "threshold": 0.9 }, "id": "CVE-2024-26817-978b11e5", "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0c33d11153949310d76631d8f4a4736519eacd3a", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c", "function": "kfd_ioctl_get_process_apertures_new" }, "digest": { "function_hash": "74466321126537874382774370078193772229", "length": 1771.0 }, "id": "CVE-2024-26817-aab77f1f", "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b0564704255c6b3c6a7188e86939f754e1577c0", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c" }, "digest": { "line_hashes": [ "153199067781186076697433006492454961467", "155603260937232300465345016250388231074", "60602586478397374937187158984623172544", "328756527621417798759271386371616383140", "250056577385259373086730270632303091612" ], "threshold": 0.9 }, "id": "CVE-2024-26817-f01246c6", "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbac7de1d9901521e78cdc34e15451df3611f2ad", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c" }, "digest": { "line_hashes": [ "125032680368558676675110210476431686468", "155603260937232300465345016250388231074", "60602586478397374937187158984623172544", "328756527621417798759271386371616383140", "250056577385259373086730270632303091612" ], "threshold": 0.9 }, "id": "CVE-2024-26817-f4c352c1", "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c" }, "digest": { "line_hashes": [ "125032680368558676675110210476431686468", "155603260937232300465345016250388231074", "60602586478397374937187158984623172544", "328756527621417798759271386371616383140", "250056577385259373086730270632303091612" ], "threshold": 0.9 }, "id": "CVE-2024-26817-f7ad614f", "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6768c6737f4c02cba193a3339f0cc2907f0b86a", "deprecated": false, "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c" }, "digest": { "line_hashes": [ "125032680368558676675110210476431686468", "155603260937232300465345016250388231074", "60602586478397374937187158984623172544", "328756527621417798759271386371616383140", "250056577385259373086730270632303091612" ], "threshold": 0.9 }, "id": "CVE-2024-26817-f91053e3", "signature_type": "Line", "signature_version": "v1" } ]