---
id: CVE-2024-58020
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  HID: multitouch: Add NULL check in mt_input_configured

  devm_kasprintf() can return a NULL pointer on failure,but this
  returned value in mt_input_configured() is not ch…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  HID: multitouch: Add NULL check in mt_input_configured

  devm_kasprintf() can return a NULL pointer on failure,but this
  returned value in mt_input_configured() is not ch…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.14.326, < 4.15'
  - 'linux_kernel >= 4.19.295, < 4.20'
  - 'linux_kernel >= 5.4.257, < 5.5'
  - 'linux_kernel >= 5.10.195, < 5.11'
  - 'linux_kernel >= 5.15.132, < 5.16'
  - 'linux_kernel >= 6.1.53, < 6.1.129'
  - 'linux_kernel >= 6.4.16, < 6.5'
  - 'linux_kernel >= 6.5.3, < 6.6.79'
  - 'linux_kernel >= 6.7, < 6.12.16'
  - 'linux_kernel >= 6.13, < 6.13.4'
  - linux_kernel = 6.14
patched:
  - linux_kernel 6.13.4
published: '2025-02-27'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-58020'
references:
  - url: 'https://git.kernel.org/stable/c/2052b44cd0a62b6fdbe3371e5ba6029c56c400ca'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4e7113f591163d99adc7cbcd7295030c8c5d3fc7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/62f8bf06262b6fc55c58f4c5256140f1382f3b01'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/97c09cc2e72769edb6994b531edcfa313b96bade'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9b8e2220d3a052a690b1d1b23019673e612494c5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a04d96ef67a42165f93194eef22a270acba4b74c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a6bfd3856e9f3da083f177753c623d58ba935e0a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/aa879ef6d3acf96fa2c7122d0632061d4ea58d48'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00232
epssPercentile: 0.12633
ingestedAt: '2026-07-14T13:36:55.603Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

HID: multitouch: Add NULL check in mt_input_configured

devm_kasprintf() can return a NULL pointer on failure,but this
returned value in mt_input_configured() is not checked.
Add NULL check in mt_input_configured(), to handle kernel NULL
pointer dereference error.

## Affected

- `linux_kernel >= 4.14.326, < 4.15`
- `linux_kernel >= 4.19.295, < 4.20`
- `linux_kernel >= 5.4.257, < 5.5`
- `linux_kernel >= 5.10.195, < 5.11`
- `linux_kernel >= 5.15.132, < 5.16`
- `linux_kernel >= 6.1.53, < 6.1.129`
- `linux_kernel >= 6.4.16, < 6.5`
- `linux_kernel >= 6.5.3, < 6.6.79`
- `linux_kernel >= 6.7, < 6.12.16`
- `linux_kernel >= 6.13, < 6.13.4`
- `linux_kernel = 6.14`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.13.4`
