Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-38240— drm/mediatek: dp: drm_err => dev_err in HPD path to avoid NULL ptr

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于HPD路径使用drm_err而非dev_err,可能导致空指针取消引用。

AI Predicted 5.5 Difficulty: Easy EPSS 0.26% · P17

Affected Version Matrix 12

VendorProduct Version RangeStatus
Linux Linux 7eacba9a083be65c0f251c19380ec01147c01ebc< 13ec849fd2eab808ee8eba2625df7ebea3b85edf affected
7eacba9a083be65c0f251c19380ec01147c01ebc< 57a9fb47551b33cde7b76d17c0072c3b394f4620 affected
7eacba9a083be65c0f251c19380ec01147c01ebc< 2fda391ef7a701748abd7fa32232981b522c1e07 affected
7eacba9a083be65c0f251c19380ec01147c01ebc< 149a5c38436c229950cf1020992ce65c9549bc19 affected
7eacba9a083be65c0f251c19380ec01147c01ebc< 106a6de46cf4887d535018185ec528ce822d6d84 affected
6.6 affected
< 6.6 unaffected
6.6.87≤ 6.6.* unaffected
… +4 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-38240

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
drm/mediatek: dp: drm_err => dev_err in HPD path to avoid NULL ptr
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: dp: drm_err => dev_err in HPD path to avoid NULL ptr The function mtk_dp_wait_hpd_asserted() may be called before the `mtk_dp->drm_dev` pointer is assigned in mtk_dp_bridge_attach(). Specifically it can be called via this callpath: - mtk_edp_wait_hpd_asserted - [panel probe] - dp_aux_ep_probe Using "drm" level prints anywhere in this callpath causes a NULL pointer dereference. Change the error message directly in mtk_dp_wait_hpd_asserted() to dev_err() to avoid this. Also change the error messages in mtk_dp_parse_capabilities(), which is called by mtk_dp_wait_hpd_asserted(). While touching these prints, also add the error code to them to make future debugging easier.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于HPD路径使用drm_err而非dev_err,可能导致空指针取消引用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 7eacba9a083be65c0f251c19380ec01147c01ebc ~ 13ec849fd2eab808ee8eba2625df7ebea3b85edf -
Linux Linux 6.6 -

II. Public POCs for CVE-2025-38240

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38240

请登录查看更多情报信息。

Other References for CVE-2025-38240 (4)

Same Patch Batch · Linux · 2025-04-18 · 23 CVEs total

CVE-2025-39930 8.4 HIGH ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai()
CVE-2025-40364 7.8 HIGH io_uring: fix io_req_prep_async with provided buffers
CVE-2025-37785 7.8 HIGH ext4: fix OOB read when checking dotdot dir
CVE-2025-37893 7.8 HIGH LoongArch: BPF: Fix off-by-one error in build_prologue()
CVE-2025-37838 7.8 HIGH HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Con
CVE-2025-39688 7.5 HIGH nfsd: allow SC_STATUS_FREEABLE when searching via nfs4_lookup_stateid()
CVE-2025-39735 7.1 HIGH jfs: fix slab-out-of-bounds read in ea_get()
CVE-2025-38575 ksmbd: use aead_request_free to match aead_request_alloc
CVE-2025-37860 sfc: fix NULL dereferences in ef100_process_design_param()
CVE-2025-37925 jfs: reject on-disk inodes of an unsupported type
CVE-2025-40325 md/raid10: wait barrier before returning discard request with REQ_NOWAIT
CVE-2025-38049 x86/resctrl: Fix allocation of cleanest CLOSID on platforms with no monitors
CVE-2025-38104 drm/amdgpu: Replace Mutex with Spinlock for RLCG register access to avoid Priority Inversi
CVE-2025-38152 remoteproc: core: Clear table_sz when rproc_shutdown
CVE-2025-38479 dmaengine: fsl-edma: free irq correctly in remove path
CVE-2025-40014 objtool, spi: amd: Fix out-of-bounds stack access in amd_set_spi_freq()
CVE-2025-38637 net_sched: skbprio: Remove overly strict queue assertions
CVE-2025-39728 clk: samsung: Fix UBSAN panic in samsung_clk_init()
CVE-2025-39755 staging: gpib: Fix cb7210 pcmcia Oops
CVE-2025-39778 objtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show()

Showing top 20 of 23 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38240

No comments yet


Leave a comment