In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: range check cp bad op exception interrupts
Due to a CP interrupt bug, bad packet garbage exception codes are raised. Do a range check so that the debugger and runtime do not receive garbage codes. Update the user api to guard exception code type checking as well.
[
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 4470.0,
"function_hash": "231622048275760597472302072925927993284"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41dc6791596656dd41100b85647ed489e1d5c2f2",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c",
"function": "event_interrupt_wq_v10"
},
"id": "CVE-2024-36951-08fb518e"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 2430.0,
"function_hash": "161028600821378951686588066225265190564"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41dc6791596656dd41100b85647ed489e1d5c2f2",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c",
"function": "event_interrupt_wq_v11"
},
"id": "CVE-2024-36951-1f11907c"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 4736.0,
"function_hash": "153509465079226259780331114986197162595"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41dc6791596656dd41100b85647ed489e1d5c2f2",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c",
"function": "event_interrupt_wq_v9"
},
"id": "CVE-2024-36951-22fa78a9"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"301044919848863483526324004460230132304",
"108249422810239780687471120659919073575",
"217831300239137287511511584617737347701",
"168228609596442677245746852291627765115"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0cac183b98d8a8c692c98e8dba37df15a9e9210d",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c"
},
"id": "CVE-2024-36951-3ab40680"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 4736.0,
"function_hash": "153509465079226259780331114986197162595"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0cac183b98d8a8c692c98e8dba37df15a9e9210d",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c",
"function": "event_interrupt_wq_v9"
},
"id": "CVE-2024-36951-4e34afa6"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"236547912842434362110158783677212553202",
"120923045398078926121482913821951634419",
"294602956738386369319787257537419839088",
"292374904225468744654312995505082468482",
"204047812537363140203551757172002187054",
"314697044843976272122918834588639542265",
"38031481167213908846196548917489140167"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0cac183b98d8a8c692c98e8dba37df15a9e9210d",
"target": {
"file": "include/uapi/linux/kfd_ioctl.h"
},
"id": "CVE-2024-36951-57b5387c"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 4470.0,
"function_hash": "231622048275760597472302072925927993284"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b6735bfe941486c5dfc9c3085d2d75d4923f9449",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c",
"function": "event_interrupt_wq_v10"
},
"id": "CVE-2024-36951-5b25267a"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"301044919848863483526324004460230132304",
"108249422810239780687471120659919073575",
"217831300239137287511511584617737347701",
"168228609596442677245746852291627765115"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b6735bfe941486c5dfc9c3085d2d75d4923f9449",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c"
},
"id": "CVE-2024-36951-6468df10"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"320081191872073982210511584278029386946",
"46739817603533417254257631070597839566",
"254668869813617049531336607410365389601",
"77381744293180022098977383418493476793"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41dc6791596656dd41100b85647ed489e1d5c2f2",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c"
},
"id": "CVE-2024-36951-77431f20"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"320081191872073982210511584278029386946",
"46739817603533417254257631070597839566",
"254668869813617049531336607410365389601",
"77381744293180022098977383418493476793"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b6735bfe941486c5dfc9c3085d2d75d4923f9449",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c"
},
"id": "CVE-2024-36951-7b5a8912"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 4470.0,
"function_hash": "231622048275760597472302072925927993284"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0cac183b98d8a8c692c98e8dba37df15a9e9210d",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c",
"function": "event_interrupt_wq_v10"
},
"id": "CVE-2024-36951-80712d1e"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"301044919848863483526324004460230132304",
"108249422810239780687471120659919073575",
"217831300239137287511511584617737347701",
"168228609596442677245746852291627765115"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41dc6791596656dd41100b85647ed489e1d5c2f2",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c"
},
"id": "CVE-2024-36951-84587dd7"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"236547912842434362110158783677212553202",
"120923045398078926121482913821951634419",
"294602956738386369319787257537419839088",
"292374904225468744654312995505082468482",
"204047812537363140203551757172002187054",
"314697044843976272122918834588639542265",
"38031481167213908846196548917489140167"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b6735bfe941486c5dfc9c3085d2d75d4923f9449",
"target": {
"file": "include/uapi/linux/kfd_ioctl.h"
},
"id": "CVE-2024-36951-8a75f33a"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 4736.0,
"function_hash": "153509465079226259780331114986197162595"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b6735bfe941486c5dfc9c3085d2d75d4923f9449",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c",
"function": "event_interrupt_wq_v9"
},
"id": "CVE-2024-36951-9348138d"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"236547912842434362110158783677212553202",
"120923045398078926121482913821951634419",
"294602956738386369319787257537419839088",
"292374904225468744654312995505082468482",
"204047812537363140203551757172002187054",
"314697044843976272122918834588639542265",
"38031481167213908846196548917489140167"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41dc6791596656dd41100b85647ed489e1d5c2f2",
"target": {
"file": "include/uapi/linux/kfd_ioctl.h"
},
"id": "CVE-2024-36951-94c51144"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"224502517288622269571667454783826753333",
"277150395562146031269182799020964717474",
"146591647432328463709844760573182586697",
"168228609596442677245746852291627765115"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0cac183b98d8a8c692c98e8dba37df15a9e9210d",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c"
},
"id": "CVE-2024-36951-9deb3d38"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 2430.0,
"function_hash": "161028600821378951686588066225265190564"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0cac183b98d8a8c692c98e8dba37df15a9e9210d",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c",
"function": "event_interrupt_wq_v11"
},
"id": "CVE-2024-36951-a36c947d"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"224502517288622269571667454783826753333",
"277150395562146031269182799020964717474",
"146591647432328463709844760573182586697",
"168228609596442677245746852291627765115"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41dc6791596656dd41100b85647ed489e1d5c2f2",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c"
},
"id": "CVE-2024-36951-b5eb1101"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"320081191872073982210511584278029386946",
"46739817603533417254257631070597839566",
"254668869813617049531336607410365389601",
"77381744293180022098977383418493476793"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0cac183b98d8a8c692c98e8dba37df15a9e9210d",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c"
},
"id": "CVE-2024-36951-da8a775a"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 2430.0,
"function_hash": "161028600821378951686588066225265190564"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b6735bfe941486c5dfc9c3085d2d75d4923f9449",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c",
"function": "event_interrupt_wq_v11"
},
"id": "CVE-2024-36951-f62f7464"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"224502517288622269571667454783826753333",
"277150395562146031269182799020964717474",
"146591647432328463709844760573182586697",
"168228609596442677245746852291627765115"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b6735bfe941486c5dfc9c3085d2d75d4923f9449",
"target": {
"file": "drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c"
},
"id": "CVE-2024-36951-fc9d44e9"
}
]