CVE-2025-40316
BaseFortify
Publication date: 2025-12-08
Last updated on: 2025-12-08
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free issue in the Linux kernel's drm/mediatek driver. It occurs due to a reference imbalance caused by a partial fix that was not fully removed. Specifically, when binding or unbinding the device, the driver data references are not managed correctly, leading to a situation where the device's driver data can be accessed after it has been freed, which is unsafe.
How can this vulnerability impact me? :
The use-after-free vulnerability can lead to undefined behavior such as crashes, data corruption, or potential escalation of privileges if exploited. It may allow an attacker to execute arbitrary code or cause denial of service by manipulating the device driver data improperly.
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 drm/mediatek device use-after-free issue on unbind. This fix ensures proper reference handling during component bind() and unbind() operations, preventing user-after-free conditions.