CVE-2025-38318: perf: arm-ni: Fix missing platform_set_drvdata()

Published Jul 10, 2025
·
Updated

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

perf: arm-ni: Fix missing platformsetdrvdata()

Add missing platformsetdrvdata in armniprobe(), otherwise calling platformgetdrvdata() in remove returns NULL.

Affected Software

8 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=6.12<6.12.34
Linux Linux kernel>=6.13<6.15.3
debian/linux<6.12.35-1
6.12.35-1
debian/linux<6.12.35-1
6.12.35-1
linux/kernel>=6.12.0<6.12.34
6.12.34
linux/kernel>=6.13.0<6.15.3
6.15.3
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.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.12.35-1
  2. Upgrade

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

    Fixed in 6.12.34
  3. Upgrade

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

    Fixed in 6.15.3
  4. 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.15-1

Event History

Jul 10, 2025
CVE Published
via MITRE·07:42 AM
Data Sourced
via MITRE·07:42 AM
Description
Data Sourced
via OSV·07:42 AM
DescriptionAffected Software
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·08:15 AM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2025-38318?

The severity of CVE-2025-38318 is classified as moderate due to potential impacts on system stability.

2

How do I fix CVE-2025-38318?

To fix CVE-2025-38318, ensure you update the Linux kernel to version that includes the patch addressing the missing platform_set_drvdata() in arm_ni_probe().

3

Which systems are affected by CVE-2025-38318?

CVE-2025-38318 affects systems running the Linux kernel that utilize the arm-ni platform.

4

Can CVE-2025-38318 lead to data loss?

CVE-2025-38318 primarily relates to system stability rather than direct data loss, but instability could indirectly affect data integrity.

5

Is there a workaround for CVE-2025-38318?

Currently, the recommended approach for CVE-2025-38318 is to apply the available patch rather than rely on a workaround.

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