CVE-2024-58022

mailbox: th1520: Fix a NULL vs IS_ERR() bug

State
Published
Severity
5.5 Medium
Published
Feb 27, 2025
Updated
May 11, 2026
Reserved
Feb 27, 2025

Read the record on cve.org

Description

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

mailbox: th1520: Fix a NULL vs IS_ERR() bug

The devm_ioremap() function doesn't return error pointers, it returns NULL. Update the error checking to match.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 5d4d263e1c6b6b18acb4d67fd3b9af71b7404924 to before ecbde88e544ff016fa08bbf2156dc431bb123e9bAffected
  • 5d4d263e1c6b6b18acb4d67fd3b9af71b7404924 to before d0f98e14c010bcf27898b635a54c1994ac4110a8Affected
LinuxLinux
  • 6.13Affected
  • before 6.13Not affected
  • 6.13.2 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.