CVE-2025-38266pinctrl: mediatek: eint: Fix invalid pointer dereference for v1 platforms
- 5.5MediumCVSS base score
- 0.19%Exploitation in 30 daysEPSS · top 91% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: pinctrl: mediatek: eint: Fix invalid pointer dereference for v1 platforms Commit 3ef9f710efcb ("pinctrl: mediatek: Add EINT support for multiple addresses") introduced an access to the 'soc' field of struct mtk_pinctrl in mtk_eint_do_init() and for that an include of pinctrl-mtk-common-v2.h. However, pinctrl drivers relying on the v1 common driver include pinctrl-mtk-common.h instead, which provides another definition of struct mtk_pinctrl that does not contain an 'soc' field. Since mtk_eint_do_init() can be called both by v1 and v2 drivers, it will now try to dereference an invalid pointer when called on v1 platforms. This has been observed on Genio 350 EVK (MT8365), which crashes very early in boot (the kernel trace can only be seen with earlycon). In order to fix this, since 'struct mtk_pinctrl' was only needed to get a 'struct mtk_eint_pin', make 'struct mtk_eint_pin' a parameter of mtk_eint_do_init() so that callers need to supply it, removing mtk_eint_do_init()'s dependency on any particular 'struct mtk_pinctrl'.
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.19% · top 91% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 3cc64c13deb38080afc6b37060e825d4fe0a4737 – < eae2b12df3aac874566f7025799ca4219572e44c
- affected 7586766229354983cf5572f81295e69bf5abccf5 – < e578bbff985822573a27d4b7c9ec858e6014d033
- affected 00f864b4b5ce3c50f3217626c8de97fbda1b2ea6 – < abe8ad6a1a00c5c7be28b038d0ede0bdcacd8610
- affected 3ef9f710efcb5cc1335b5b09c16c757f703d7e5f – < 9ebe21ede792cef851847648962c363cac67d17f
- affected 3ef9f710efcb5cc1335b5b09c16c757f703d7e5f – < 1c9977b263475373b31bbf86af94a5c9ae2be42c
- affected 6.15
- unaffected < 6.15
- unaffected 6.15.2 – ≤ 6.15.*
- unaffected 6.16 – ≤ *
References
References5
- https://git.kernel.org/stable/c/eae2b12df3aac874566f7025799ca4219572e44c (opens in a new tab)
- https://git.kernel.org/stable/c/e578bbff985822573a27d4b7c9ec858e6014d033 (opens in a new tab)
- https://git.kernel.org/stable/c/abe8ad6a1a00c5c7be28b038d0ede0bdcacd8610 (opens in a new tab)
- https://git.kernel.org/stable/c/9ebe21ede792cef851847648962c363cac67d17f (opens in a new tab)
- https://git.kernel.org/stable/c/1c9977b263475373b31bbf86af94a5c9ae2be42c (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-20982 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-38266)Record last updated .