CVE-2024-58022: 
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2024-58022 affects the Linux kernel's mailbox subsystem, specifically the T-head TH1520 Mailbox driver. The vulnerability was discovered on February 27, 2025, and involves an incorrect error handling in the devm_ioremap() function where it checks for IS_ERR() instead of NULL return value (NVD).

Technical details

The vulnerability stems from a mismatch in error checking logic in the mailbox-th1520.c driver. The devm_ioremap() function returns NULL on error, but the code incorrectly used IS_ERR() to check for errors. This has been fixed by updating the error checking to properly handle NULL returns and return ERR_PTR(-ENOMEM) in case of mapping failure (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability affects system availability through incorrect error handling in the mailbox driver. It has no impact on confidentiality or integrity, but could potentially lead to system instability or crashes when the mailbox driver fails to properly handle resource mapping errors (NVD).

Exploitability

The vulnerability requires local access with low complexity and low privileges to exploit. No user interaction is needed, but the attacker must have local access to the system to trigger the vulnerability (NVD).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel. The fix involves updating the error checking logic in the TH1520 mailbox driver to properly handle NULL returns from devm_ioremap(). The patch has been committed to the kernel repository and is available in version 6.13.2 (Kernel Patch).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

bullseye

linux

Fixed

sid

linux

Fixed

trixie

linux

Fixed

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-108985HIGH7.1
  • Linux Debian logoLinux Debian
  • libnfs
NoNoOct 12, 2026
CVE-2026-98385HIGH7
  • Linux Debian logoLinux Debian
  • linux
NoYesOct 12, 2026
CVE-2026-108978MEDIUM5.5
  • Linux Debian logoLinux Debian
  • rlottie
NoNoOct 11, 2026
CVE-2026-108735MEDIUM5.3
  • Linux Debian logoLinux Debian
  • miniflux
NoNoOct 11, 2026
CVE-2026-108981LOW3.6
  • Linux Debian logoLinux Debian
  • libnginx-mod-http-cache-purge
NoNoOct 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management