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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-07-10T07:42:24.461Z
- Modified: 2026-11-05T21:18:26.477Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 before 8e43fa9c713a6d084a5732aa6dd41c734845f25e; from 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 before 498129a868ce966af277841f7e32e9f76b3779ad; from 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 before fc5106088d6db75df61308ef6de314d1f7959646; 6.12 (not affected: before 6.12; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.12 before 6.12.34; from 6.13 before 6.15.3

## References

- <https://git.kernel.org/stable/c/8e43fa9c713a6d084a5732aa6dd41c734845f25e> (patch)
- <https://git.kernel.org/stable/c/498129a868ce966af277841f7e32e9f76b3779ad> (patch)
- <https://git.kernel.org/stable/c/fc5106088d6db75df61308ef6de314d1f7959646> (patch)

## Sources

- CVE List: [CVE-2025-38318](https://www.cve.org/CVERecord?id=CVE-2025-38318), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38318](https://nvd.nist.gov/vuln/detail/CVE-2025-38318), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38318 · Whole record: https://cve.day/CVE-2025-38318.json · Rebuilt by cve.day 2026-11-25T22:59:01.072Z
