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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-38097— espintcp: remove encap socket caching to avoid reference leak

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存在安全漏洞,该漏洞源于espintcp封装套接字缓存可能导致引用泄漏。

CVSS 7.8 · High EPSS 0.20% · P9

Affected Version Matrix 16

VendorProduct Version RangeStatus
Linux Linux e27cca96cd68fa2c6814c90f9a1cfd36bb68c593< e32bafd08ee35feacd47b05cc5bfe9cd9659cd25 affected
e27cca96cd68fa2c6814c90f9a1cfd36bb68c593< 9673ca00e6c5503069dc98780e2e89db0e663c16 affected
e27cca96cd68fa2c6814c90f9a1cfd36bb68c593< e4cde54b46a87231c77256a633be1bef62687d69 affected
e27cca96cd68fa2c6814c90f9a1cfd36bb68c593< b58a295d10065960bcb9d60cb8ca6ead9837cd27 affected
e27cca96cd68fa2c6814c90f9a1cfd36bb68c593< 9cbca30102028f9ad3d2098f935c4368f581fd07 affected
e27cca96cd68fa2c6814c90f9a1cfd36bb68c593< 74fd327767fb784c5875cf7c4ba1217f26020943 affected
e27cca96cd68fa2c6814c90f9a1cfd36bb68c593< 028363685bd0b7a19b4a820f82dd905b1dc83999 affected
5.6 affected
… +8 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-38097

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
espintcp: remove encap socket caching to avoid reference leak
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: espintcp: remove encap socket caching to avoid reference leak The current scheme for caching the encap socket can lead to reference leaks when we try to delete the netns. The reference chain is: xfrm_state -> enacp_sk -> netns Since the encap socket is a userspace socket, it holds a reference on the netns. If we delete the espintcp state (through flush or individual delete) before removing the netns, the reference on the socket is dropped and the netns is correctly deleted. Otherwise, the netns may not be reachable anymore (if all processes within the ns have terminated), so we cannot delete the xfrm state to drop its reference on the socket. This patch results in a small (~2% in my tests) performance regression. A GC-type mechanism could be added for the socket cache, to clear references if the state hasn't been used "recently", but it's a lot more complex than just not caching the socket.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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存在安全漏洞,该漏洞源于espintcp封装套接字缓存可能导致引用泄漏。
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 e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 ~ e32bafd08ee35feacd47b05cc5bfe9cd9659cd25 -
Linux Linux 5.6 -

II. Public POCs for CVE-2025-38097

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

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

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

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

CVE-2025-38123 9.8 CRITICAL net: wwan: t7xx: Fix napi rx poll issue
CVE-2025-38139 9.8 CRITICAL netfs: Fix oops in write-retry from mis-resetting the subreq iterator
CVE-2025-38120 9.4 CRITICAL netfilter: nf_set_pipapo_avx2: fix initial map fill
CVE-2025-38146 9.4 CRITICAL net: openvswitch: Fix the dead loop of MPLS parse
CVE-2025-38116 7.8 HIGH wifi: ath12k: fix uaf in ath12k_core_init()
CVE-2025-38166 7.8 HIGH bpf: fix ktls panic with sockmap
CVE-2025-38154 7.8 HIGH bpf, sockmap: Avoid using sk_socket after free when sending
CVE-2025-38106 7.8 HIGH io_uring: fix use-after-free of sq->thread in __io_uring_show_fdinfo()
CVE-2025-38107 7.8 HIGH net_sched: ets: fix a race in ets_qdisc_change()
CVE-2025-38150 7.8 HIGH af_packet: move notifier's packet_dev_mc out of rcu critical section
CVE-2025-38110 7.8 HIGH net/mdiobus: Fix potential out-of-bounds clause 45 read/write access
CVE-2025-38111 7.8 HIGH net/mdiobus: Fix potential out-of-bounds read/write access
CVE-2025-38141 7.8 HIGH dm: fix dm_blk_report_zones
CVE-2025-38108 7.8 HIGH net_sched: red: fix a race in __red_change()
CVE-2025-38115 7.8 HIGH net_sched: sch_sfq: fix a potential crash on gso_skb handling
CVE-2025-38117 7.8 HIGH Bluetooth: MGMT: Protect mgmt_pending list with its own lock
CVE-2025-38118 7.8 HIGH Bluetooth: MGMT: Fix UAF on mgmt_remove_adv_monitor_complete
CVE-2025-38133 7.8 HIGH iio: adc: ad4851: fix ad4858 chan pointer handling
CVE-2025-38129 7.8 HIGH page_pool: Fix use-after-free in page_pool_recycle_in_ring
CVE-2025-38127 7.8 HIGH ice: fix Tx scheduler error handling in XDP callback

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-38097

No comments yet


Leave a comment