# CVE-2025-38446: clk: imx: Fix an out-of-bounds access in dispmix_csr_clk_dev_data

- Severity: High 7.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/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.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-07-25T15:27:28.699Z
- Modified: 2026-08-05T12:01:57.158Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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

clk: imx: Fix an out-of-bounds access in dispmix_csr_clk_dev_data

When num_parents is 4, __clk_register() occurs an out-of-bounds
when accessing parent_names member. Use ARRAY_SIZE() instead of
hardcode number here.

 BUG: KASAN: global-out-of-bounds in __clk_register+0x1844/0x20d8
 Read of size 8 at addr ffff800086988e78 by task kworker/u24:3/59
  Hardware name: NXP i.MX95 19X19 board (DT)
  Workqueue: events_unbound deferred_probe_work_func
  Call trace:
    dump_backtrace+0x94/0xec
    show_stack+0x18/0x24
    dump_stack_lvl+0x8c/0xcc
    print_report+0x398/0x5fc
    kasan_report+0xd4/0x114
    __asan_report_load8_noabort+0x20/0x2c
    __clk_register+0x1844/0x20d8
    clk_hw_register+0x44/0x110
    __clk_hw_register_mux+0x284/0x3a8
    imx95_bc_probe+0x4f4/0xa70

(As written by CVE List.)

## Affected

- Linux Linux: from 5224b189462ff70df328f173b71acfd925092c3c before fcee75daecc5234ee3482d8cf3518bf021d8a0a5; from 5224b189462ff70df328f173b71acfd925092c3c before a956daad67cec454ee985e103e167711fab5b9b8; from 5224b189462ff70df328f173b71acfd925092c3c before aacc875a448d363332b9df0621dde6d3a225ea9f; 6.10 (not affected: before 6.10; from 6.12.39 up to 6.12.*; from 6.15.7 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.10 before 6.12.39; from 6.13 before 6.15.7; 6.16

## Every score

- Linux: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/fcee75daecc5234ee3482d8cf3518bf021d8a0a5> (patch)
- <https://git.kernel.org/stable/c/a956daad67cec454ee985e103e167711fab5b9b8> (patch)
- <https://git.kernel.org/stable/c/aacc875a448d363332b9df0621dde6d3a225ea9f> (patch)

## Sources

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

---

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