5.5
MEDIUM CVSS 3.1
CVE-2025-38266
pinctrl: mediatek: eint: Fix invalid pointer dereference for v1 platforms
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'.

INFO

Published Date :

July 10, 2025, 8:15 a.m.

Last Modified :

Sept. 14, 2026, 12:17 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-38266 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Update the Linux kernel to fix an invalid pointer dereference vulnerability.
  • Update the Linux kernel to the latest version.
  • Apply the fix for the invalid pointer dereference.
  • Ensure EINT support is correctly configured.
  • Test the system for stability after the update.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-38266 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-38266 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-38266 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-38266 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 14, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/38xxx/CVE-2025-38266.json">CVE-2025-38266</a>
    Added Reference https://git.kernel.org/stable/c/1c9977b263475373b31bbf86af94a5c9ae2be42c
    Added Reference https://git.kernel.org/stable/c/9ebe21ede792cef851847648962c363cac67d17f
    Added Reference https://git.kernel.org/stable/c/abe8ad6a1a00c5c7be28b038d0ede0bdcacd8610
    Added Reference https://git.kernel.org/stable/c/e578bbff985822573a27d4b7c9ec858e6014d033
    Added Reference https://git.kernel.org/stable/c/eae2b12df3aac874566f7025799ca4219572e44c
    Removed Reference https://git.kernel.org/stable/c/1c9977b263475373b31bbf86af94a5c9ae2be42c
    Removed Reference https://git.kernel.org/stable/c/9ebe21ede792cef851847648962c363cac67d17f
    Removed Reference Type https://git.kernel.org/stable/c/1c9977b263475373b31bbf86af94a5c9ae2be42c Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/9ebe21ede792cef851847648962c363cac67d17f Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3ef9f710efcb5cc1335b5b09c16c757f703d7e5f', 'lessThan': '9ebe21ede792cef851847648962c363cac67d17f', 'versionType': 'git'}, {'status': 'affected', 'version': '3ef9f710efcb5cc1335b5b09c16c757f703d7e5f', 'lessThan': '1c9977b263475373b31bbf86af94a5c9ae2be42c', 'versionType': 'git'}], 'programFiles': ['drivers/pinctrl/mediatek/mtk-eint.c', 'drivers/pinctrl/mediatek/mtk-eint.h', 'drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c', 'drivers/pinctrl/mediatek/pinctrl-mtk-common.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.15.2', 'versionType': 'semver', 'lessThanOrEqual': '6.15.*'}, {'status': 'unaffected', 'version': '6.16', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/pinctrl/mediatek/mtk-eint.c', 'drivers/pinctrl/mediatek/mtk-eint.h', 'drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c', 'drivers/pinctrl/mediatek/pinctrl-mtk-common.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    Nov. 18, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.15 up to (excluding) 6.15.2
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1c9977b263475373b31bbf86af94a5c9ae2be42c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9ebe21ede792cef851847648962c363cac67d17f Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 10, 2025

    Action Type Old Value New Value
    Added 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'.
    Added Reference https://git.kernel.org/stable/c/1c9977b263475373b31bbf86af94a5c9ae2be42c
    Added Reference https://git.kernel.org/stable/c/9ebe21ede792cef851847648962c363cac67d17f
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.