In the Linux kernel, the following vulnerability has been resolved:
leds: an30259a: Use devmmutexinit() for mutex initialization
In this driver LEDs are registered using devmledclassdevregister() so they are automatically unregistered after module's remove() is done. ledclassdevunregister() calls module's ledset_brightness() to turn off the LEDs and that callback uses mutex which was destroyed already in module's remove() so use devm API instead.
[
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"function_hash": "159438723325534291953285546746452375619",
"length": 108.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9dba44460bfca657ca43f03ea9bafa4f9f7dd077",
"id": "CVE-2024-42128-04d9a7e4",
"signature_version": "v1",
"target": {
"function": "an30259a_remove",
"file": "drivers/leds/leds-an30259a.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"function_hash": "159438723325534291953285546746452375619",
"length": 108.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c382e2e3eccb6b7ca8c7aff5092c1668428e7de6",
"id": "CVE-2024-42128-0d4f4029",
"signature_version": "v1",
"target": {
"function": "an30259a_remove",
"file": "drivers/leds/leds-an30259a.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"function_hash": "129358356207746220666744241165045085999",
"length": 1110.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9dba44460bfca657ca43f03ea9bafa4f9f7dd077",
"id": "CVE-2024-42128-38c6ca0c",
"signature_version": "v1",
"target": {
"function": "an30259a_probe",
"file": "drivers/leds/leds-an30259a.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"function_hash": "129358356207746220666744241165045085999",
"length": 1110.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c382e2e3eccb6b7ca8c7aff5092c1668428e7de6",
"id": "CVE-2024-42128-47b98a85",
"signature_version": "v1",
"target": {
"function": "an30259a_probe",
"file": "drivers/leds/leds-an30259a.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"133578819182113629326692211462748006742",
"179666604020814630774151138761406267515",
"272800587272490674326389586344111880882",
"126552491975947012853559729059681396771",
"87739354546787581335186897917880121972",
"210851589064109186537823775672017168432",
"296057613684468338000273970091810135206",
"13656239244128145877766458387092884338",
"73325455230919702684419869481658177435",
"306305064318294961156646641356806373682",
"288486192486356004068573778760668704557",
"211544900839302198881889440902802431053",
"21519983346472572664819724188068904724",
"251467353155009405210466780548672472295",
"8837425033844203992228200090229858976",
"311428508660628814206058520324961127864",
"207826439605745721981814038712253128808",
"238808682999282153011442099286832658821",
"289289142676586161112308308560936966725"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c382e2e3eccb6b7ca8c7aff5092c1668428e7de6",
"id": "CVE-2024-42128-650b92f5",
"signature_version": "v1",
"target": {
"file": "drivers/leds/leds-an30259a.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"function_hash": "159438723325534291953285546746452375619",
"length": 108.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ead19aa341de89a8c3d88a091d8093ebea622e8",
"id": "CVE-2024-42128-845b6aab",
"signature_version": "v1",
"target": {
"function": "an30259a_remove",
"file": "drivers/leds/leds-an30259a.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"function_hash": "129358356207746220666744241165045085999",
"length": 1110.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ead19aa341de89a8c3d88a091d8093ebea622e8",
"id": "CVE-2024-42128-a2f60c38",
"signature_version": "v1",
"target": {
"function": "an30259a_probe",
"file": "drivers/leds/leds-an30259a.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"133578819182113629326692211462748006742",
"179666604020814630774151138761406267515",
"272800587272490674326389586344111880882",
"126552491975947012853559729059681396771",
"87739354546787581335186897917880121972",
"210851589064109186537823775672017168432",
"296057613684468338000273970091810135206",
"13656239244128145877766458387092884338",
"73325455230919702684419869481658177435",
"306305064318294961156646641356806373682",
"288486192486356004068573778760668704557",
"211544900839302198881889440902802431053",
"21519983346472572664819724188068904724",
"251467353155009405210466780548672472295",
"8837425033844203992228200090229858976",
"311428508660628814206058520324961127864",
"207826439605745721981814038712253128808",
"238808682999282153011442099286832658821",
"289289142676586161112308308560936966725"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9dba44460bfca657ca43f03ea9bafa4f9f7dd077",
"id": "CVE-2024-42128-a640adc4",
"signature_version": "v1",
"target": {
"file": "drivers/leds/leds-an30259a.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"133578819182113629326692211462748006742",
"179666604020814630774151138761406267515",
"272800587272490674326389586344111880882",
"126552491975947012853559729059681396771",
"87739354546787581335186897917880121972",
"210851589064109186537823775672017168432",
"296057613684468338000273970091810135206",
"13656239244128145877766458387092884338",
"73325455230919702684419869481658177435",
"306305064318294961156646641356806373682",
"288486192486356004068573778760668704557",
"211544900839302198881889440902802431053",
"21519983346472572664819724188068904724",
"251467353155009405210466780548672472295",
"8837425033844203992228200090229858976",
"311428508660628814206058520324961127864",
"207826439605745721981814038712253128808",
"238808682999282153011442099286832658821",
"289289142676586161112308308560936966725"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ead19aa341de89a8c3d88a091d8093ebea622e8",
"id": "CVE-2024-42128-d1f9a5d2",
"signature_version": "v1",
"target": {
"file": "drivers/leds/leds-an30259a.c"
}
}
]