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

9 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
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
Microsoft cbl2 kernel 5.15.164.1-1
Microsoft cbl2 kernel 5.15.167.1-1
Microsoft cbl2 kernel 5.15.164.1-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
Oct 12, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
May 11, 2025
Data Sourced
via Ubuntu·06:24 AM
RemedyDescriptionSeverityAffected Software

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