SUNRPC: Zero rpc_gss_wire_cred at svcauth_gss_decode_credbody() entry (Linux Linux)

CVE-2026-93207
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.47 % · percentile 40 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Zero rpc_gss_wire_cred at svcauth_gss_decode_credbody() entry svcauth_gss_decode_credbody() writes the caller's rpc_gss_wire_cred field by field and assigns gc_ctx.len only on the success tail. The caller storage is svcdata->clcred, which lives in the per-svc_rqst gss_svc_data and is reused across requests. Early decode failures leave partially decoded state mixed with residue from the prior request. The trailing body_len tightness check is the sharpest case: xdr_stream_decode_opaque_inline() has already written gc_ctx.data with a borrowed inline pointer into the current request's XDR pages, but gc_ctx.len retains its prior value. Once the request pages are released the pooled clcred carries a dangling pointer paired with a stale length. Zero the caller's rpc_gss_wire_cred at function entry so that every early-return path leaves a deterministic all-zero cred. On the trailing tightness-check path, gc_ctx.len is now zero instead of stale, which neuters length-driven consumers such as gss_svc_searchbyctx() that would otherwise walk the dangling data pointer.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected b0bc53470d1af01f62a0fe2d405cf56477804863 < 56b29d62017c7dd1718d060dd5b3a2ce61095d0c ; affected b0bc53470d1af01f62a0fe2d405cf56477804863 < 0e18641708eaa8bc3c1ff338cd844aeadbd52bac ; affected b0bc53470d1af01f62a0fe2d405cf56477804863 < e0778464049b0238f2915a40007a4154f86cf351 ; affected b0bc53470d1af01f62a0fe2d405cf56477804863 < 0fa8a8acae57e6373962741d5b06d13f44aba6a9 ; affected b0bc53470d1af01f62a0fe2d405cf56477804863 < 11539e8fcce0b0af062ae5fecf7b3676c2f7aeed
Linux · Linuxaffected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.* ; unaffected 7.2.4 ≤ 7.2.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD