cve.bz

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

5.5 mediumExploit referenceEPSS 0.6%Fix available

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

On this page
In the Linux kernel, the following vulnerability has been resolved: sunrpc: handle SVC_GARBAGE during svc auth processing as auth error tianshuo han reported a remotely-triggerable crash if the client sends a kernel RPC server a specially crafted packet. If decoding the RPC reply fails in such a way that SVC_GARBAGE is returned without setting the rq_accept_statp pointer, then that pointer can be dereferenced and a value stored there. If it's the first time the thread has processed an RPC, then that pointer will be set to NULL and the kernel will crash. In other cases, it could create a memory scribble. The server sunrpc code treats a SVC_GARBAGE return from svc_authenticate or pg_authenticate as if it should send a GARBAGE_ARGS reply. RFC 5531 says that if authentication fails that the RPC should be rejected instead with a status of AUTH_ERR. Handle a SVC_GARBAGE return as an AUTH_ERROR, with a reason of AUTH_BADCRED instead of returning GARBAGE_ARGS in that case. This sidesteps the whole problem of touching the rpc_accept_statp pointer in this situation and avoids the crash.

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.6% (unchanged from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
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-38089 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-38089?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-38089?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-38089 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
Linuxfrom 6.3.4 before 6.4
Linux6.4 and later

Fixed in

ProductRelease lineFixed in
Linux6.66.6.95
Linux6.126.12.35
Linux6.156.15.4
Linuxlater releases6.16

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14linux6.12.35-1DEBIAN-CVE-2025-38089
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-38089
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-38089
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-38089
Ubuntu22.04:LTSlinux-aws-6.8, linux-nvidia-6.86.8.0-1046.49~22.04.1UBUNTU-CVE-2025-38089 USN-8028-5
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1051.57~22.04.1UBUNTU-CVE-2025-38089 USN-8126-1
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1046.53~22.04.1UBUNTU-CVE-2025-38089
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1047.50~22.04.2UBUNTU-CVE-2025-38089 USN-8031-1
Ubuntu22.04:LTSlinux-hwe-6.8, linux-riscv-6.86.8.0-100.100~22.04.1UBUNTU-CVE-2025-38089 USN-8028-6
Ubuntu22.04:LTSlinux-ibm-6.86.8.0-1044.44~22.04.1UBUNTU-CVE-2025-38089 USN-8028-8
Ubuntu22.04:LTSlinux-lowlatency-hwe-6.86.8.0-100.100.1~22.04.1UBUNTU-CVE-2025-38089 USN-8028-6
Ubuntu22.04:LTSlinux-oracle-6.86.8.0-1043.44~22.04.1UBUNTU-CVE-2025-38089 USN-8028-5
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 moreno fix listedUBUNTU-CVE-2025-38089
33 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-570.28.1.el9_6RHSA-2025:11411
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-570.28.1.el9_6RHSA-2025:11411
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-570_17_1, kpatch-patch-5_14_0-570_17_1-debuginfo, kpatch-patch-5_14_0-570_17_1-debugsource0:1-5.el9_6RHSA-2025:12976
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-570.28.1.el9_6RHSA-2025:11411
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-570.28.1.el9_6RHSA-2025:11411
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-570.28.1.el9_6RHSA-2025:11411
Red Hatenterprise_linux:10.0rv, perf, rtla and 88 more0:6.12.0-55.22.1.el10_0RHSA-2025:11428
Red Hatrhel_eus:9.4::appstreamrv, perf, rtla and 26 more0:5.14.0-427.79.1.el9_4RHSA-2025:11810
Red Hatrhel_eus:9.4::appstream, rhel_eus:9.4::crb, rhel_eus:9.4::nfv and 1 morebpftool-debuginfo0:7.3.0-427.79.1.el9_4RHSA-2025:11810
Red Hatrhel_eus:9.4::baseosbpftool, bpftool-debuginfo0:7.3.0-427.79.1.el9_4RHSA-2025:11810
Red Hatrhel_eus:9.4::baseoskernel, kernel-64k, kernel-core and 43 more0:5.14.0-427.79.1.el9_4RHSA-2025:11810
Red Hatrhel_eus:9.4::baseoskpatch-patch-5_14_0-427_13_1, kpatch-patch-5_14_0-427_13_1-debuginfo, kpatch-patch-5_14_0-427_13_1-debugsource0:1-11.el9_4RHSA-2025:12977
7 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.65.1SUSE-SU-2025:02996-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.11.1SUSE-SU-2025:02997-1
SUSELinux Enterprise High Availability Extension 16.0kernel-default6.12.0-160000.6.1SUSE-SU-2025:21179-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_107-150600.2.1SUSE-SU-2025:03495-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_116-150600.2.1SUSE-SU-2025:03470-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_141-150600.1.5.1SUSE-SU-2025:03023-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_218-150600.2.1SUSE-SU-2025:03465-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_318-150600.2.1SUSE-SU-2025:03494-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_417-150600.2.1SUSE-SU-2025:03468-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_613-150600.2.1SUSE-SU-2025:03469-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_713-150600.2.1SUSE-SU-2025:03472-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_98-150600.2.1SUSE-SU-2025:03476-1
63 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.65.1SUSE-SU-2025:02996-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.48.1SUSE-SU-2025:02969-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.65.1.150600.12.28.4SUSE-SU-2025:02996-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.49.1SUSE-SU-2025:03023-1
openSUSELeap 16.0kernel-default-base6.12.0-160000.6.1.160000.2.4openSUSE-SU-2025:20081-1
openSUSELeap 16.0kernel-rt, dtb-aarch64, kernel-64kb and 8 more6.12.0-160000.6.1openSUSE-SU-2025:20081-1
AlmaLinux9rv, perf, rtla and 73 more5.14.0-570.28.1.el9_6ALSA-2025:11411
AlmaLinux10kernel-doc, kernel-abi-stablelists6.12.0-55.22.1.el10_0ALSA-2025:11428
Rocky Linux9kernel0:5.14.0-570.28.1.el9_6RLSA-2025:11411
Rocky Linux10kernel0:6.12.0-55.22.1.el10_0RLSA-2025:11428
Azure Linux3kernel6.6.96.1-1AZL-64398
Alpaquita25linux-lts6.12.41-r0BELL-CVE-2025-38089
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-38089

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is caused by incorrect error handling in the Linux kernel's RPC code. When a malformed packet is sent during RPC authentication, the kernel does not correctly set an authorization status field pointer to a sensible value. When that pointer is later dereferenced, an affected system might either crash due to a NULL pointer dereference, or garbage data might be written to another memory address, impacting system integrity.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible. Additionally, to protect against this and other similar vulnerabilities, ensure appropriate access controls are in place to prevent unauthorized use of RPC-based services.

If SunRPC not being used, then to mitigate this issue to prevent the sunrpc module from being loaded. Please see https://access.redhat.com/solutions/41278 for information on how to blacklist a kernel module to prevent it from loading automatically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernel-0:6.12.0-55.22.1.el10_0Fixed 2025-07-21RHSA-2025:11428
Red Hat Enterprise Linux 9kernel-0:5.14.0-570.28.1.el9_6Fixed 2025-07-21RHSA-2025:11411
Red Hat Enterprise Linux 9kpatch-patchFixed 2025-08-05RHSA-2025:12976
Red Hat Enterprise Linux 9.4 Extended Update Supportkernel-0:5.14.0-427.79.1.el9_4Fixed 2025-07-28RHSA-2025:11810
Red Hat Enterprise Linux 9.4 Extended Update Supportkpatch-patchFixed 2025-08-05RHSA-2025:12977
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

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-38089.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

References

Check your stackJSON