CVE-2025-38318: perf: arm-ni: Fix missing platform_set_drvdata()
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.35-1 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.34 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.15.3 - Upgrade
Upgrade
debian/linuxto 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
Frequently Asked Questions
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.
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().
Which systems are affected by CVE-2025-38318?
CVE-2025-38318 affects systems running the Linux kernel that utilize the arm-ni platform.
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.
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.