cve.bz

CVE-2025-37894 linux linux kernel: NULL Pointer Dereference

5.5 mediumEPSS 0.5%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: net: use sock_gen_put() when sk_state is TCP_TIME_WAIT It is possible for a pointer of type struct inet_timewait_sock to be returned from the functions __inet_lookup_established() and __inet6_lookup_established(). This can cause a crash when the returned pointer is of type struct inet_timewait_sock and sock_put() is called on it. The following is a crash call stack that shows sk->sk_wmem_alloc being accessed in sk_free() during the call to sock_put() on a struct inet_timewait_sock pointer. To avoid this issue, use sock_gen_put() instead of sock_put() when sk->sk_state is TCP_TIME_WAIT. mrdump.ko ipanic() + 120 vmlinux notifier_call_chain(nr_to_call=-1, nr_calls=0) + 132 vmlinux atomic_notifier_call_chain(val=0) + 56 vmlinux panic() + 344 vmlinux add_taint() + 164 vmlinux end_report() + 136 vmlinux kasan_report(size=0) + 236 vmlinux report_tag_fault() + 16 vmlinux do_tag_recovery() + 16 vmlinux __do_kernel_fault() + 88 vmlinux do_bad_area() + 28 vmlinux do_tag_check_fault() + 60 vmlinux do_mem_abort() + 80 vmlinux el1_abort() + 56 vmlinux el1h_64_sync_handler() + 124 vmlinux > 0xFFFFFFC080011294() vmlinux __lse_atomic_fetch_add_release(v=0xF2FFFF82A896087C) vmlinux __lse_atomic_fetch_sub_release(v=0xF2FFFF82A896087C) vmlinux arch_atomic_fetch_sub_release(i=1, v=0xF2FFFF82A896087C) + 8 vmlinux raw_atomic_fetch_sub_release(i=1, v=0xF2FFFF82A896087C) + 8 vmlinux atomic_fetch_sub_release(i=1, v=0xF2FFFF82A896087C) + 8 vmlinux __refcount_sub_and_test(i=1, r=0xF2FFFF82A896087C, oldp=0) + 8 vmlinux __refcount_dec_and_test(r=0xF2FFFF82A896087C, oldp=0) + 8 vmlinux refcount_dec_and_test(r=0xF2FFFF82A896087C) + 8 vmlinux sk_free(sk=0xF2FFFF82A8960700) + 28 vmlinux sock_put() + 48 vmlinux tcp6_check_fraglist_gro() + 236 vmlinux tcp6_gro_receive() + 624 vmlinux ipv6_gro_receive() + 912 vmlinux dev_gro_receive() + 1116 vmlinux napi_gro_receive() + 196 ccmni.ko ccmni_rx_callback() + 208 ccmni.ko ccmni_queue_recv_skb() + 388 ccci_dpmaif.ko dpmaif_rxq_push_thread() + 1088 vmlinux kthread() + 268 vmlinux 0xFFFFFFC08001F30C()

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-37894 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-37894?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-37894?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-37894 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux6.10 and later

Fixed in

ProductRelease lineFixed in
Linux6.126.12.28
Linux6.146.14.6
Linuxlater releases6.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14linux6.12.29-1DEBIAN-CVE-2025-37894
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-37894
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-37894
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-37894
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 moreno fix listedUBUNTU-CVE-2025-37894
Ubuntu24.04:LTSlinux-aws-6.14, linux-oracle-6.146.14.0-1009.9~24.04.1UBUNTU-CVE-2025-37894 USN-7665-2
Ubuntu24.04:LTSlinux-gcp-6.11, linux-hwe-6.11, linux-oem-6.11 and 5 moreno fix listedUBUNTU-CVE-2025-37894
Ubuntu24.04:LTSlinux-gcp-6.146.14.0-1011.11~24.04.1UBUNTU-CVE-2025-37894
Ubuntu24.04:LTSlinux-oem-6.146.14.0-1007.7UBUNTU-CVE-2025-37894 USN-7650-1
Ubuntu24.04:LTSlinux-riscv-6.146.14.0-24.24.1~24.04.1UBUNTU-CVE-2025-37894
Ubuntu25.04linux6.14.0-24.24USN-7649-1
Ubuntu25.04linux-aws6.14.0-1009.9USN-7649-2
Ubuntu25.04linux-azure6.14.0-1010.10USN-7721-1
6 more for Ubuntu in the JSON and on Ubuntu's page.
Alpaquita25linux-lts6.12.41-r0BELL-CVE-2025-37894
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-37894

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A moderate use-after-free flaw was found in the Linux kernel networking subsystem, affecting the kernel component in Red Hat Enterprise Linux 10. The lookup functions __inet_lookup_established() and __inet6_lookup_established() can return a struct inet_timewait_sock pointer when a socket is in the TCP_TIME_WAIT state; calling sock_put() on such a pointer, as can occur in the IPv6 GRO receive path (tcp6_check_fraglist_gro()), causes incorrect memory access in sk_free() and can crash the kernel, resulting in a local denial of service. Red Hat assesses this flaw as moderate severity, CVSS 3.1 score 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), because exploitation requires local privileges and only availability is impacted; this differs significantly from the CVEORG score of 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), which assumes an unauthenticated remote attack vector with confidentiality and integrity impact that the flaw's technical evidence does not support. The vulnerable code is not present in Red Hat Enterprise Linux 6, 8, and 9 (including kernel-rt), in Red Hat In-Vehicle OS, or in the Hosted OpenShift (ARO/OSD) environments, so those products are not affected. Red Hat Enterprise Linux 7 kernel and kernel-rt are out of support scope (OOSS) and no fix is planned for them. For the affected Red Hat Enterprise Linux 10 streams, the fix is deferred, so the vulnerable code remains and the residual risk is a local denial of service through a kernel crash.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernelFix deferred
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-37894.

References

Check your stackJSON