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.
[
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6721ea845fcb93a764a92bd40f1afc0d6c69751",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"153199067781186076697433006492454961467",
"155603260937232300465345016250388231074",
"60602586478397374937187158984623172544",
"328756527621417798759271386371616383140",
"250056577385259373086730270632303091612"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c"
},
"id": "CVE-2024-26817-0714ccdc"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7",
"signature_type": "Function",
"digest": {
"function_hash": "74466321126537874382774370078193772229",
"length": 1771.0
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c",
"function": "kfd_ioctl_get_process_apertures_new"
},
"id": "CVE-2024-26817-09f60108"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6721ea845fcb93a764a92bd40f1afc0d6c69751",
"signature_type": "Function",
"digest": {
"function_hash": "88903913372216697038094263557937974713",
"length": 1903.0
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c",
"function": "kfd_ioctl_get_process_apertures_new"
},
"id": "CVE-2024-26817-180c3e68"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b0daecfeac0103aba8b293df07a0cbaf8b43f29",
"signature_type": "Function",
"digest": {
"function_hash": "74466321126537874382774370078193772229",
"length": 1771.0
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c",
"function": "kfd_ioctl_get_process_apertures_new"
},
"id": "CVE-2024-26817-1c0e33f2"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b0564704255c6b3c6a7188e86939f754e1577c0",
"signature_type": "Function",
"digest": {
"function_hash": "88903913372216697038094263557937974713",
"length": 1903.0
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c",
"function": "kfd_ioctl_get_process_apertures_new"
},
"id": "CVE-2024-26817-2f525297"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fcbd99b3c73309107e3be71f20dff9414df64f91",
"signature_type": "Function",
"digest": {
"function_hash": "96694370934087847775759604133640865405",
"length": 1905.0
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c",
"function": "kfd_ioctl_get_process_apertures_new"
},
"id": "CVE-2024-26817-41df0bd0"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fcbd99b3c73309107e3be71f20dff9414df64f91",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"153199067781186076697433006492454961467",
"155603260937232300465345016250388231074",
"60602586478397374937187158984623172544",
"328756527621417798759271386371616383140",
"250056577385259373086730270632303091612"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c"
},
"id": "CVE-2024-26817-45935525"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0c33d11153949310d76631d8f4a4736519eacd3a",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"125032680368558676675110210476431686468",
"155603260937232300465345016250388231074",
"60602586478397374937187158984623172544",
"328756527621417798759271386371616383140",
"250056577385259373086730270632303091612"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c"
},
"id": "CVE-2024-26817-5d765bab"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbac7de1d9901521e78cdc34e15451df3611f2ad",
"signature_type": "Function",
"digest": {
"function_hash": "74466321126537874382774370078193772229",
"length": 1771.0
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c",
"function": "kfd_ioctl_get_process_apertures_new"
},
"id": "CVE-2024-26817-79c0ed2a"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6768c6737f4c02cba193a3339f0cc2907f0b86a",
"signature_type": "Function",
"digest": {
"function_hash": "74466321126537874382774370078193772229",
"length": 1771.0
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c",
"function": "kfd_ioctl_get_process_apertures_new"
},
"id": "CVE-2024-26817-82c68f7c"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b0daecfeac0103aba8b293df07a0cbaf8b43f29",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"125032680368558676675110210476431686468",
"155603260937232300465345016250388231074",
"60602586478397374937187158984623172544",
"328756527621417798759271386371616383140",
"250056577385259373086730270632303091612"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c"
},
"id": "CVE-2024-26817-978b11e5"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0c33d11153949310d76631d8f4a4736519eacd3a",
"signature_type": "Function",
"digest": {
"function_hash": "74466321126537874382774370078193772229",
"length": 1771.0
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c",
"function": "kfd_ioctl_get_process_apertures_new"
},
"id": "CVE-2024-26817-aab77f1f"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b0564704255c6b3c6a7188e86939f754e1577c0",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"153199067781186076697433006492454961467",
"155603260937232300465345016250388231074",
"60602586478397374937187158984623172544",
"328756527621417798759271386371616383140",
"250056577385259373086730270632303091612"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c"
},
"id": "CVE-2024-26817-f01246c6"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbac7de1d9901521e78cdc34e15451df3611f2ad",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"125032680368558676675110210476431686468",
"155603260937232300465345016250388231074",
"60602586478397374937187158984623172544",
"328756527621417798759271386371616383140",
"250056577385259373086730270632303091612"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c"
},
"id": "CVE-2024-26817-f4c352c1"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"125032680368558676675110210476431686468",
"155603260937232300465345016250388231074",
"60602586478397374937187158984623172544",
"328756527621417798759271386371616383140",
"250056577385259373086730270632303091612"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c"
},
"id": "CVE-2024-26817-f7ad614f"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6768c6737f4c02cba193a3339f0cc2907f0b86a",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"125032680368558676675110210476431686468",
"155603260937232300465345016250388231074",
"60602586478397374937187158984623172544",
"328756527621417798759271386371616383140",
"250056577385259373086730270632303091612"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c"
},
"id": "CVE-2024-26817-f91053e3"
}
]