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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-21840— thermal/netlink: Prevent userspace segmentation fault by adjusting UAPI header

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存在安全漏洞,该漏洞源于UAPI头未调整导致用户空间段错误。

AI Predicted 3.3 Difficulty: Moderate EPSS 0.21% · P10

Possible ATT&CK Techniques 1 AI

T1205.003

Affected Version Matrix 6

VendorProduct Version RangeStatus
Linux Linux 1773572863c43a14a3e45f0591f28b7dec1ee52a< 3a4ca365c51729143a2cab693cd40fe0bb585ef0 affected
1773572863c43a14a3e45f0591f28b7dec1ee52a< c195b9c6ab9c383d7aa3f4a65879b3ca90cb378b affected
6.13 affected
< 6.13 unaffected
6.13.4≤ 6.13.* unaffected
6.14≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-21840

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
thermal/netlink: Prevent userspace segmentation fault by adjusting UAPI header
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: thermal/netlink: Prevent userspace segmentation fault by adjusting UAPI header The intel-lpmd tool [1], which uses the THERMAL_GENL_ATTR_CPU_CAPABILITY attribute to receive HFI events from kernel space, encounters a segmentation fault after commit 1773572863c4 ("thermal: netlink: Add the commands and the events for the thresholds"). The issue arises because the THERMAL_GENL_ATTR_CPU_CAPABILITY raw value was changed while intel_lpmd still uses the old value. Although intel_lpmd can be updated to check the THERMAL_GENL_VERSION and use the appropriate THERMAL_GENL_ATTR_CPU_CAPABILITY value, the commit itself is questionable. The commit introduced a new element in the middle of enum thermal_genl_attr, which affects many existing attributes and introduces potential risks and unnecessary maintenance burdens for userspace thermal netlink event users. Solve the issue by moving the newly introduced THERMAL_GENL_ATTR_TZ_PREV_TEMP attribute to the end of the enum thermal_genl_attr. This ensures that all existing thermal generic netlink attributes remain unaffected. [ rjw: Subject edits ]
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存在安全漏洞,该漏洞源于UAPI头未调整导致用户空间段错误。
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 1773572863c43a14a3e45f0591f28b7dec1ee52a ~ 3a4ca365c51729143a2cab693cd40fe0bb585ef0 -
Linux Linux 6.13 -

II. Public POCs for CVE-2025-21840

# 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-21840

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

Patches & Fixes for CVE-2025-21840 (2)

Same Patch Batch · Linux · 2025-03-07 · 8 CVEs total

CVE-2025-21836 7.8 HIGH io_uring/kbuf: reallocate buf lists on upgrade
CVE-2025-21842 7.8 HIGH amdkfd: properly free gang_ctx_bo when failed to init user queue
CVE-2025-21839 7.3 HIGH KVM: x86: Load DR6 with guest value only before entering .vcpu_run() loop
CVE-2025-21835 usb: gadget: f_midi: fix MIDI Streaming descriptor lengths
CVE-2025-21838 usb: gadget: core: flush gadget workqueue after device removal
CVE-2025-21841 cpufreq/amd-pstate: Fix cpufreq_policy ref counting
CVE-2025-21843 drm/panthor: avoid garbage value in panthor_ioctl_dev_query()

IV. Related Vulnerabilities

V. Comments for CVE-2025-21840

No comments yet


Leave a comment