In the Linux kernel, the following vulnerability has been resolved:
HID: amdsfh: Switch to device-managed dmamalloc_coherent()
Using the device-managed version allows to simplify clean-up in probe() error path.
Additionally, this device-managed ensures proper cleanup, which helps to resolve memory errors, page faults, btrfs going read-only, and btrfs disk corruption.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c56f9ecb7fb6a3a90079c19eb4c8daf3bbf514b3",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/hid/amd-sfh-hid/amd_sfh_client.c"
},
"id": "CVE-2024-50189-0ce43c2f",
"digest": {
"line_hashes": [
"182026446494753960664910019042805714750",
"210367281263179795999575131962525890471",
"224905578663321063373007597631179047710",
"187064283870235299815296096839495026996",
"182743075906301428218689847296275072496",
"38036040782076060237249390525019968608",
"9772229458411875478559064037042610215",
"85577032691795249217465259425212648592",
"276376564990479925997011968477513120659",
"290645062388249384744315924283556907696",
"116838113240797610610993837400240239995",
"195255218339219173544983358963247185163",
"319607885387546341141086047202896117612",
"38038036742529461956800238118304357752",
"301359133055026665848988758137596611547",
"201047263718691053568706040664630625038",
"136398238874857654811993298127950742332",
"239826397047282539557167372269061290370",
"267868390585593816517915983992887850017"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c3b4c90479aa0375ec98fe1a802993ff96a5f47",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/hid/amd-sfh-hid/amd_sfh_client.c"
},
"id": "CVE-2024-50189-1790492c",
"digest": {
"line_hashes": [
"182026446494753960664910019042805714750",
"210367281263179795999575131962525890471",
"224905578663321063373007597631179047710",
"187064283870235299815296096839495026996",
"182743075906301428218689847296275072496",
"38036040782076060237249390525019968608",
"9772229458411875478559064037042610215",
"85577032691795249217465259425212648592",
"276376564990479925997011968477513120659",
"290645062388249384744315924283556907696",
"116838113240797610610993837400240239995",
"195255218339219173544983358963247185163",
"319607885387546341141086047202896117612",
"38038036742529461956800238118304357752",
"301359133055026665848988758137596611547",
"201047263718691053568706040664630625038",
"136398238874857654811993298127950742332",
"239826397047282539557167372269061290370",
"267868390585593816517915983992887850017"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c6ad37e5882073cab84901a31da9cb22f316276",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/hid/amd-sfh-hid/amd_sfh_client.c"
},
"id": "CVE-2024-50189-41d1168e",
"digest": {
"line_hashes": [
"246208603110950239096426423472118514756",
"210367281263179795999575131962525890471",
"224905578663321063373007597631179047710",
"187064283870235299815296096839495026996",
"182743075906301428218689847296275072496",
"38036040782076060237249390525019968608",
"9772229458411875478559064037042610215",
"85577032691795249217465259425212648592",
"276376564990479925997011968477513120659",
"290645062388249384744315924283556907696",
"116838113240797610610993837400240239995",
"195255218339219173544983358963247185163",
"319607885387546341141086047202896117612",
"38038036742529461956800238118304357752",
"301359133055026665848988758137596611547",
"201047263718691053568706040664630625038",
"136398238874857654811993298127950742332",
"239826397047282539557167372269061290370",
"267868390585593816517915983992887850017"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4cd9c5a0fcadc39a05c978a01e15e0d1edc4be93",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/hid/amd-sfh-hid/amd_sfh_client.c"
},
"id": "CVE-2024-50189-639748c3",
"digest": {
"line_hashes": [
"182026446494753960664910019042805714750",
"210367281263179795999575131962525890471",
"224905578663321063373007597631179047710",
"187064283870235299815296096839495026996",
"182743075906301428218689847296275072496",
"38036040782076060237249390525019968608",
"9772229458411875478559064037042610215",
"85577032691795249217465259425212648592",
"276376564990479925997011968477513120659",
"290645062388249384744315924283556907696",
"116838113240797610610993837400240239995",
"195255218339219173544983358963247185163",
"319607885387546341141086047202896117612",
"38038036742529461956800238118304357752",
"301359133055026665848988758137596611547",
"201047263718691053568706040664630625038",
"136398238874857654811993298127950742332",
"239826397047282539557167372269061290370",
"267868390585593816517915983992887850017"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c3b4c90479aa0375ec98fe1a802993ff96a5f47",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "amd_sfh_hid_client_deinit",
"file": "drivers/hid/amd-sfh-hid/amd_sfh_client.c"
},
"id": "CVE-2024-50189-6a0760a7",
"digest": {
"length": 940.0,
"function_hash": "109670552138327814087148550632115789748"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c56f9ecb7fb6a3a90079c19eb4c8daf3bbf514b3",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "amd_sfh_hid_client_deinit",
"file": "drivers/hid/amd-sfh-hid/amd_sfh_client.c"
},
"id": "CVE-2024-50189-84ee27c8",
"digest": {
"length": 940.0,
"function_hash": "109670552138327814087148550632115789748"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c6ad37e5882073cab84901a31da9cb22f316276",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "amd_sfh_hid_client_deinit",
"file": "drivers/hid/amd-sfh-hid/amd_sfh_client.c"
},
"id": "CVE-2024-50189-9cb1d464",
"digest": {
"length": 894.0,
"function_hash": "133352371831456836232041443506856438724"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4cd9c5a0fcadc39a05c978a01e15e0d1edc4be93",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "amd_sfh_hid_client_deinit",
"file": "drivers/hid/amd-sfh-hid/amd_sfh_client.c"
},
"id": "CVE-2024-50189-de190bbc",
"digest": {
"length": 940.0,
"function_hash": "109670552138327814087148550632115789748"
},
"deprecated": false
}
]