In the Linux kernel, the following vulnerability has been resolved:
HID: multitouch: Add NULL check in mtinputconfigured
devmkasprintf() can return a NULL pointer on failure,but this returned value in mtinputconfigured() is not checked. Add NULL check in mtinput_configured(), to handle kernel NULL pointer dereference error.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"111421277014508549318706359637899960992",
"75427858114143110438908362761800613343",
"127642512249658974704850461708309587790",
"338919579045658762526156157041923557163",
"18336064608580170697253786310403215458",
"87440452244718762670286959123687966480"
]
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-0322c08c",
"target": {
"file": "drivers/hid/hid-multitouch.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e7113f591163d99adc7cbcd7295030c8c5d3fc7",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"111421277014508549318706359637899960992",
"75427858114143110438908362761800613343",
"127642512249658974704850461708309587790",
"338919579045658762526156157041923557163",
"18336064608580170697253786310403215458",
"87440452244718762670286959123687966480"
]
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-055fa763",
"target": {
"file": "drivers/hid/hid-multitouch.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@97c09cc2e72769edb6994b531edcfa313b96bade",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"111421277014508549318706359637899960992",
"75427858114143110438908362761800613343",
"127642512249658974704850461708309587790",
"338919579045658762526156157041923557163",
"18336064608580170697253786310403215458",
"87440452244718762670286959123687966480"
]
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-1a0978aa",
"target": {
"file": "drivers/hid/hid-multitouch.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2052b44cd0a62b6fdbe3371e5ba6029c56c400ca",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"111421277014508549318706359637899960992",
"75427858114143110438908362761800613343",
"127642512249658974704850461708309587790",
"338919579045658762526156157041923557163",
"18336064608580170697253786310403215458",
"87440452244718762670286959123687966480"
]
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-1efbae66",
"target": {
"file": "drivers/hid/hid-multitouch.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9b8e2220d3a052a690b1d1b23019673e612494c5",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "31733755744718501794469238727997637628",
"length": 1150.0
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-23bc5606",
"target": {
"file": "drivers/hid/hid-multitouch.c",
"function": "mt_input_configured"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e7113f591163d99adc7cbcd7295030c8c5d3fc7",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"111421277014508549318706359637899960992",
"75427858114143110438908362761800613343",
"127642512249658974704850461708309587790",
"338919579045658762526156157041923557163",
"18336064608580170697253786310403215458",
"87440452244718762670286959123687966480"
]
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-3e4ae91d",
"target": {
"file": "drivers/hid/hid-multitouch.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@62f8bf06262b6fc55c58f4c5256140f1382f3b01",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "53937295751857935149526950052009539774",
"length": 1199.0
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-531654b2",
"target": {
"file": "drivers/hid/hid-multitouch.c",
"function": "mt_input_configured"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2052b44cd0a62b6fdbe3371e5ba6029c56c400ca",
"signature_type": "Function"
},
{
"digest": {
"function_hash": "31733755744718501794469238727997637628",
"length": 1150.0
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-8cac7bf8",
"target": {
"file": "drivers/hid/hid-multitouch.c",
"function": "mt_input_configured"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@62f8bf06262b6fc55c58f4c5256140f1382f3b01",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"111421277014508549318706359637899960992",
"75427858114143110438908362761800613343",
"127642512249658974704850461708309587790",
"338919579045658762526156157041923557163",
"18336064608580170697253786310403215458",
"87440452244718762670286959123687966480"
]
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-b7d3b393",
"target": {
"file": "drivers/hid/hid-multitouch.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aa879ef6d3acf96fa2c7122d0632061d4ea58d48",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"111421277014508549318706359637899960992",
"75427858114143110438908362761800613343",
"127642512249658974704850461708309587790",
"338919579045658762526156157041923557163",
"18336064608580170697253786310403215458",
"87440452244718762670286959123687966480"
]
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-bbd9d8e5",
"target": {
"file": "drivers/hid/hid-multitouch.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6bfd3856e9f3da083f177753c623d58ba935e0a",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "53937295751857935149526950052009539774",
"length": 1199.0
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-d581bdc9",
"target": {
"file": "drivers/hid/hid-multitouch.c",
"function": "mt_input_configured"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6bfd3856e9f3da083f177753c623d58ba935e0a",
"signature_type": "Function"
},
{
"digest": {
"function_hash": "31733755744718501794469238727997637628",
"length": 1150.0
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-e149c3e3",
"target": {
"file": "drivers/hid/hid-multitouch.c",
"function": "mt_input_configured"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@97c09cc2e72769edb6994b531edcfa313b96bade",
"signature_type": "Function"
},
{
"digest": {
"function_hash": "31733755744718501794469238727997637628",
"length": 1150.0
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-f5999eca",
"target": {
"file": "drivers/hid/hid-multitouch.c",
"function": "mt_input_configured"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aa879ef6d3acf96fa2c7122d0632061d4ea58d48",
"signature_type": "Function"
},
{
"digest": {
"function_hash": "31733755744718501794469238727997637628",
"length": 1150.0
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-58020-f5f3952e",
"target": {
"file": "drivers/hid/hid-multitouch.c",
"function": "mt_input_configured"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9b8e2220d3a052a690b1d1b23019673e612494c5",
"signature_type": "Function"
}
]