Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-27388

published critical CVSS 3.1 · 9.8

SUNRPC: fix some memleaks in gssx_dec_option_array

Published
01 May 2024, 13:05:05 UTC
Updated
05 Aug 2026, 11:29:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1d658336b05f8697d6445834f8867f8ad5e4f735 to < b97c37978ca825557d331c9012e0c1ddc0e42364 · 1d658336b05f8697d6445834f8867f8ad5e4f735 to < bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8 · 1d658336b05f8697d6445834f8867f8ad5e4f735 to < bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8 · 1d658336b05f8697d6445834f8867f8ad5e4f735 to < dd292e884c649f9b1c18af0ec75ca90b390cd044 · 1d658336b05f8697d6445834f8867f8ad5e4f735 to < 934212a623cbab851848b6de377eb476718c3e4c · 1d658336b05f8697d6445834f8867f8ad5e4f735 to < 5e6013ae2c8d420faea553d363935f65badd32c3 · 1d658336b05f8697d6445834f8867f8ad5e4f735 to < 9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4 · 1d658336b05f8697d6445834f8867f8ad5e4f735 to < 996997d1fb2126feda550d6adcedcbd94911fc69 · 1d658336b05f8697d6445834f8867f8ad5e4f735 to < 3cfcfc102a5e57b021b786a755a38935e357797d · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.10 (affected) · 0 to < 3.10 (unaffected · semver) · 4.19.311 through 4.19.* (unaffected · semver) · 5.4.273 through 5.4.* (unaffected · semver) · 5.10.214 through 5.10.* (unaffected · semver) · 5.15.153 through 5.15.* (unaffected · semver) · 6.1.83 through 6.1.* (unaffected · semver) · 6.6.23 through 6.6.* (unaffected · semver) · 6.7.11 through 6.7.* (unaffected · semver) · 6.8.2 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluationALAS2-2024-2549 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-054 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-075 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-041 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Debian bullseye linux Advisory build 5.10.216-1 DSA-5681-1
Show 101 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-057 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-067 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-696 Fixed Not stated Amazon Linux assessment
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
AlmaLinux 8 kernel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Debian buster linux Advisory build 4.19.316-1 DLA-3840-1
Debian buster linux-5.10 Advisory build 5.10.216-1~deb10u1 DLA-3842-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: fix some memleaks in gssx_dec_option_array The creds and oa->data need to be freed in the error-handling paths after their allocation. So this patch add these deallocations in the corresponding paths.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

71

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The vulnerable decoder is executed only as a direct consequence of an RPCSEC_GSS_INIT request arriving at in-kernel nfsd over TCP/2049, so a remote NFS client drives entry into the code and controls how often it runs. Although the malformed/short XDR reply is delivered by the local gssproxy daemon, the attacker's reach to the vulnerable function is purely over the network. AC:L - The attacker can invoke the upcall path an unlimited number of times pre-authentication, and each invocation pins 256 KB of receive pages plus the in-token pages, letting the attacker themselves create the slab/memory-pressure condition under which the `kzalloc(struct svc_cred)` fails and the dangling-pointer path is taken (trivially so for a memcg-limited/containerized nfsd). The attacker also influences gssproxy reply size via principal name length and group-list size, driving the `-ENOSPC` decode-error paths, so the required conditions are attacker-inducible rather than beyond their control. PR:N - `svcauth_gss_proxy_init()` is reached from `svcauth_gss_proc_init()` on the very first leg of the GSS handshake, before any Kerberos credential is validated — the upcall is performed even for a garbage input token. No account, key, or prior authentication on the NFS server is needed. UI:N - The path is triggered entirely by an inbound RPC from the attacker; no administrator or user of the target system needs to mount, click, or open anything. S:U - The corrupted objects (`gssx_option`, `svc_cred`) and the resulting heap damage are all inside the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - With `oa->count == 1` and `oa->data` dangling, `gssp_accept_sec_context_upcall()` reads `res.options.data[0].value` out of a freed kmalloc-32 object and then dereferences the pointer it finds there into `data->creds`, so freed/reallocated kernel memory contents are consumed and can populate `cr_uid`/`cr_gid`/`cr_principal` — a use-after-free read that both discloses kernel memory and can determine the identity the NFS client is authenticated as. I:H - The same path yields `kfree()` of a pointer taken from freed memory plus a double free of `oa->data`, and later `free_svc_cred()` performs `put_group_info()`, `gss_mech_put()` and further `kfree()`s on attacker-groomable pointers — an arbitrary-free and arbitrary-refcount-decrement primitive that is a well-established route to controlled heap corruption and control-flow hijack. A:H - The double free trips SLUB's free-object detection (`BUG`/panic, fatal with `panic_on_oops` on the appliance and NAS deployments where nfsd+gssproxy is typical), and the NULL `oa->data` variant of the same incoherent `oa->count` faults immediately in the caller. The unbounded, remotely repeatable leakage of the decoder's allocations additionally drives the server toward OOM.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1d658336b05f8697d6445834f8867f8ad5e4f735 to < b97c37978ca825557d331c9012e0c1ddc0e42364 (affected · git)1d658336b05f8697d6445834f8867f8ad5e4f735 to < bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8 (affected · git)1d658336b05f8697d6445834f8867f8ad5e4f735 to < bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8 (affected · git)1d658336b05f8697d6445834f8867f8ad5e4f735 to < dd292e884c649f9b1c18af0ec75ca90b390cd044 (affected · git)1d658336b05f8697d6445834f8867f8ad5e4f735 to < 934212a623cbab851848b6de377eb476718c3e4c (affected · git)1d658336b05f8697d6445834f8867f8ad5e4f735 to < 5e6013ae2c8d420faea553d363935f65badd32c3 (affected · git)1d658336b05f8697d6445834f8867f8ad5e4f735 to < 9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4 (affected · git)1d658336b05f8697d6445834f8867f8ad5e4f735 to < 996997d1fb2126feda550d6adcedcbd94911fc69 (affected · git)1d658336b05f8697d6445834f8867f8ad5e4f735 to < 3cfcfc102a5e57b021b786a755a38935e357797d (affected · git)Default: unaffected Linux · cna
Linux Linux 3.10 (affected)0 to < 3.10 (unaffected · semver)4.19.311 through 4.19.* (unaffected · semver)5.4.273 through 5.4.* (unaffected · semver)5.10.214 through 5.10.* (unaffected · semver)5.15.153 through 5.15.* (unaffected · semver)6.1.83 through 6.1.* (unaffected · semver)6.6.23 through 6.6.* (unaffected · semver)6.7.11 through 6.7.* (unaffected · semver)6.8.2 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

11

Provider assertions

3

Linux · cna

SUNRPC: fix some memleaks in gssx_dec_option_array

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
4cd1d10857cdf7729a3effbdee4ba901c0ebb3b0e2ac04c7f10a6cfcad3d3c50
Ingested
23 Sep 2026, 08:20:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected