Menu

Star on GitHub · 3.2k

CVE-2025-38266

5.5 · MEDIUM

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 sup…

Published Jul 10, 2025CWE-476EPSS 0.19%

Overview

CVE-2025-38266 is a medium-severity vulnerability. It was published on July 10, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-38266?

CVE-2025-38266 is a medium-severity vulnerability. It was published on July 10, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-38266?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38266?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38266?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-38266 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all