CVE-2024-42277: iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en

Published Aug 17, 2024
·
Updated

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

iommu: sprd: Avoid NULL deref in sprdiommuhwen

In sprdiommucleanup() before calling function sprdiommuhwen() dom->sdev is equal to NULL, which leads to null dereference.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected Software

11 affected componentsFixes available
Linux Linux kernel>=5.15.113<5.15.165
Linux Linux kernel>=6.1.81<6.1.103
Linux Linux kernel>=6.3.4<6.6.44
Linux Linux kernel>=6.7<6.10.3
Microsoft cbl2 kernel 5.15.164.1-1
Microsoft cbl2 kernel 5.15.167.1-1
Microsoft cbl2 kernel 5.15.164.1-1
debian/linux<6.1.106-1
6.1.106-1
debian/linux<6.10.3-1
6.10.3-1
debian/linux<6.10.3-1
6.10.3-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.106-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.10.3-1
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1

Event History

Aug 17, 2024
CVE Published
via MITRE·09:08 AM
Data Sourced
via MITRE·09:08 AM
Description
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:15 AM
DescriptionSeverityAffected Software
Oct 12, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-42277?

CVE-2024-42277 is considered a medium severity vulnerability due to the potential for NULL dereference in the Linux kernel.

2

How do I fix CVE-2024-42277?

To fix CVE-2024-42277, update your Linux kernel to versions 5.10.223-1, 6.1.123-1, or later secure releases.

3

Which Linux kernel versions are affected by CVE-2024-42277?

CVE-2024-42277 affects Linux kernel versions from 5.15.113 to 5.15.165, various 6.x versions up to 6.10.3, and other specific versions.

4

What causes CVE-2024-42277 in the Linux kernel?

CVE-2024-42277 is caused by a NULL dereference in the sprd_iommu_cleanup() function when dom->sdev is NULL.

5

Is CVE-2024-42277 present in Debian Linux distributions?

Yes, CVE-2024-42277 is present in affected versions of the Linux kernel used in Debian distributions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203