Bug 2379214 (CVE-2025-38318)

Summary: CVE-2025-38318 kernel: Linux kernel: Denial of Service in perf: arm-ni due to null pointer dereference
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's `perf: arm-ni` subsystem. This vulnerability stems from a missing call to `platform_set_drvdata()` during device probing, which can cause a subsequent call to `platform_get_drvdata()` to return a null value. A local attacker could exploit this null pointer dereference to trigger a system crash, leading to a Denial of Service (DoS). While primarily leading to a system crash, under specific conditions, this flaw could potentially be leveraged for information disclosure or arbitrary code execution.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-07-10 08:03:59 UTC
In the Linux kernel, the following vulnerability has been resolved:

perf: arm-ni: Fix missing platform_set_drvdata()

Add missing platform_set_drvdata in arm_ni_probe(), otherwise
calling platform_get_drvdata() in remove returns NULL.

Comment 1 Avinash Hanwate 2025-07-11 07:35:14 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025071016-CVE-2025-38318-81bc@gregkh/T