CVE-2025-40262
Input: imx_sc_key - fix memory corruption on unload
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 768062fd1284529212daffd360314e9aa93abb62, < 3e96803b169dc948847f0fc2bae729a80914eb7b; >= 768062fd1284529212daffd360314e9aa93abb62, < 4ce5218b101205b3425099fe3df88a61b58f9cc2; >= 768062fd1284529212daffd360314e9aa93abb62, < a155292c3ce722036014da5477ee0e4c87b5e6b3; >= 768062fd1284529212daffd360314e9aa93abb62, < ca9a08de9b294422376f47ade323d69590dbc6f2; >= 768062fd1284529212daffd360314e9aa93abb62, < 56881294915a6e866d31a46f9bcb5e19167cfbaa; >= 768062fd1284529212daffd360314e9aa93abb62, < 6524a15d33951b18ac408ebbcb9c16e14e21c336; >= 768062fd1284529212daffd360314e9aa93abb62, < d83f1512758f4ef6fc5e83219fe7eeeb6b428ea4
- Anyone running Linux 5.8
Vulnerability facts
- Affected
- Linux >= 768062fd1284529212daffd360314e9aa93abb62, < 3e96803b169dc948847f0fc2bae729a80914eb7b; >= 768062fd1284529212daffd360314e9aa93abb62, < 4ce5218b101205b3425099fe3df88a61b58f9cc2; >= 768062fd1284529212daffd360314e9aa93abb62, < a155292c3ce722036014da5477ee0e4c87b5e6b3; >= 768062fd1284529212daffd360314e9aa93abb62, < ca9a08de9b294422376f47ade323d69590dbc6f2; >= 768062fd1284529212daffd360314e9aa93abb62, < 56881294915a6e866d31a46f9bcb5e19167cfbaa; >= 768062fd1284529212daffd360314e9aa93abb62, < 6524a15d33951b18ac408ebbcb9c16e14e21c336; >= 768062fd1284529212daffd360314e9aa93abb62, < d83f1512758f4ef6fc5e83219fe7eeeb6b428ea4; Linux 5.8
- Fixed in
- Linux 3e96803b169dc948847f0fc2bae729a80914eb7b, Linux 4ce5218b101205b3425099fe3df88a61b58f9cc2, Linux 56881294915a6e866d31a46f9bcb5e19167cfbaa, Linux 6524a15d33951b18ac408ebbcb9c16e14e21c336
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: Input: imx_sc_key - fix memory corruption on unload This is supposed to be "priv" but we accidentally pass "&priv" which is an address in the stack and so it will lead to memory corruption when the imx_sc_key_action() function is called. Remove the &.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 768062fd1284529212daffd360314e9aa93abb62, < 3e96803b169dc948847f0fc2bae729a80914eb7b; >= 768062fd1284529212daffd360314e9aa93abb62, < 4ce5218b101205b3425099fe3df88a61b58f9cc2; >= 768062fd1284529212daffd360314e9aa93abb62, < a155292c3ce722036014da5477ee0e4c87b5e6b3; >= 768062fd1284529212daffd360314e9aa93abb62, < ca9a08de9b294422376f47ade323d69590dbc6f2; >= 768062fd1284529212daffd360314e9aa93abb62, < 56881294915a6e866d31a46f9bcb5e19167cfbaa; >= 768062fd1284529212daffd360314e9aa93abb62, < 6524a15d33951b18ac408ebbcb9c16e14e21c336; >= 768062fd1284529212daffd360314e9aa93abb62, < d83f1512758f4ef6fc5e83219fe7eeeb6b428ea4 | — | cvelist |
| Linux | 5.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40262. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40262.md Affected: Linux >= 768062fd1284529212daffd360314e9aa93abb62, < 3e96803b169dc948847f0fc2bae729a80914eb7b; >= 768062fd1284529212daffd360314e9aa93abb62, < 4ce5218b101205b3425099fe3df88a61b58f9cc2; >= 768062fd1284529212daffd360314e9aa93abb62, < a155292c3ce722036014da5477ee0e4c87b5e6b3; >= 768062fd1284529212daffd… Fixed in: Linux 3e96803b169dc948847f0fc2bae729a80914eb7b, Linux 4ce5218b101205b3425099fe3df88a61b58f9cc2, Linux 56881294915a6e866d31a46f9bcb5e19167cfbaa, Linux 6524a15d33951b18ac408ebbcb9c16e14e21c336 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/3e96803b169dc948847f0fc2bae729a80914eb7b
- https://git.kernel.org/stable/c/4ce5218b101205b3425099fe3df88a61b58f9cc2
- https://git.kernel.org/stable/c/a155292c3ce722036014da5477ee0e4c87b5e6b3
- https://git.kernel.org/stable/c/ca9a08de9b294422376f47ade323d69590dbc6f2
- https://git.kernel.org/stable/c/56881294915a6e866d31a46f9bcb5e19167cfbaa
- https://git.kernel.org/stable/c/6524a15d33951b18ac408ebbcb9c16e14e21c336
- https://git.kernel.org/stable/c/d83f1512758f4ef6fc5e83219fe7eeeb6b428ea4
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html
FAQ
Is CVE-2025-40262 being exploited?
There is no confirmed exploitation: CVE-2025-40262 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40262?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-40262?
Linux >= 768062fd1284529212daffd360314e9aa93abb62, < 3e96803b169dc948847f0fc2bae729a80914eb7b; >= 768062fd1284529212daffd360314e9aa93abb62, < 4ce5218b101205b3425099fe3df88a61b58f9cc2; >= 768062fd1284529212daffd360314e9aa93abb62, < a155292c3ce722036014da5477ee0e4c87b5e6b3; >= 768062fd1284529212daffd360314e9aa93abb62, < ca9a08de9b294422376f47ade323d69590dbc6f2; >= 768062fd1284529212daffd360314e9aa93abb62, < 56881294915a6e866d31a46f9bcb5e19167cfbaa; >= 768062fd1284529212daffd360314e9aa93abb62, < 6524a15d33951b18ac408ebbcb9c16e14e21c336; >= 768062fd1284529212daffd360314e9aa93abb62, < d83f1512758f4ef6fc5e83219fe7eeeb6b428ea4; Linux 5.8.
Is there a fix for CVE-2025-40262?
Yes. Fixed in Linux 3e96803b169dc948847f0fc2bae729a80914eb7b, Linux 4ce5218b101205b3425099fe3df88a61b58f9cc2, Linux 56881294915a6e866d31a46f9bcb5e19167cfbaa, Linux 6524a15d33951b18ac408ebbcb9c16e14e21c336. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-40262?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.