---
id: CVE-2025-38318
title: 'perf: arm-ni: Fix missing platform_set_drvdata()'
summary: |-
  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.
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 <
    8e43fa9c713a6d084a5732aa6dd41c734845f25e
  - >-
    Linux >= 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 <
    498129a868ce966af277841f7e32e9f76b3779ad
  - >-
    Linux >= 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 <
    fc5106088d6db75df61308ef6de314d1f7959646
  - Linux 6.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:54:24.608710Z'
published: '2025-07-10'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:02:32.727Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-38318'
references:
  - url: 'https://git.kernel.org/stable/c/8e43fa9c713a6d084a5732aa6dd41c734845f25e'
  - url: 'https://git.kernel.org/stable/c/498129a868ce966af277841f7e32e9f76b3779ad'
  - url: 'https://git.kernel.org/stable/c/fc5106088d6db75df61308ef6de314d1f7959646'
tags:
  - cve.org
epss: 0.00174
epssPercentile: 0.0688
ingestedAt: '2026-11-05T22:38:31.965Z'
---

## Overview

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.

## Affected

- `Linux >= 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 < 8e43fa9c713a6d084a5732aa6dd41c734845f25e`
- `Linux >= 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 < 498129a868ce966af277841f7e32e9f76b3779ad`
- `Linux >= 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 < fc5106088d6db75df61308ef6de314d1f7959646`
- `Linux 6.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
