CVE-2025-38266
BaseFortify
Publication date: 2025-07-10
Last updated on: 2025-11-18
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is an invalid pointer dereference in the Linux kernel's pinctrl driver for Mediatek platforms (v1). A function called mtk_eint_do_init() accesses a 'soc' field in a struct that does not exist in the v1 driver, causing the kernel to dereference an invalid pointer. This leads to a crash early in the boot process on affected devices like the Genio 350 EVK (MT8365). The fix involved changing the function to accept a parameter that removes the dependency on the problematic struct, preventing the invalid pointer access.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash very early during the boot process on affected Mediatek v1 platforms. This results in system instability or failure to boot, potentially rendering the device unusable until the issue is fixed.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the invalid pointer dereference in the pinctrl mediatek driver. The fix involves modifying the mtk_eint_do_init() function to accept a struct mtk_eint_pin parameter, removing dependency on struct mtk_pinctrl, thus preventing crashes on v1 platforms. Avoid using affected kernel versions on Mediatek v1 platforms such as Genio 350 EVK (MT8365) until patched.