CVE-2026-53398

NFSD: Fix SECINFO_NO_NAME decode error cleanup

CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.54 % · percentile 45 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: NFSD: Fix SECINFO_NO_NAME decode error cleanup nfsd4_decode_secinfo_no_name() currently initializes sin_exp after decoding sin_style. If the XDR stream is truncated, the decoder returns nfserr_bad_xdr before sin_exp is initialized. Since commit 3fdc54646234 ("NFSD: Reduce amount of struct nfsd4_compoundargs that needs clearing"), the inline iops array is not cleared between RPC calls. A failed SECINFO_NO_NAME decode can therefore leave sin_exp holding stale union contents from a previous operation. The error response path still invokes nfsd4_secinfo_no_name_release(), which calls exp_put() on a non-NULL sin_exp. Initialize sin_exp before the first failable decode step, matching nfsd4_decode_secinfo().

Weaknesses (CWE)

  • CWE-665 — Improper Initialization

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 configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5e76b25d7cc82c148d391c0c43b884e6427cb302 < 8836405abdc53ca3dd5fc68b2cf6f8f012fad011 ; affected 07b68ff5c71cf4ed5443016d8eb116863c0a4d88 < 49de5d31dd8fdebf78bdeaf196b0ca5cd5c75439 ; affected 3fdc546462348b8a497c72bc894e0cde9f10fc40 < 5ec37edcb534f3fc92304be236d37f08e6545585 ; affected 3fdc546462348b8a497c72bc894e0cde9f10fc40 < 1e04be34cafae119e82bcaccd6d28a20f72a3647 ; affected 3fdc546462348b8a497c72bc894e0cde9f10fc40 < 161d1aaeb04d620d3692639700512bb5038c1e10 ; affected 3fdc546462348b8a497c72bc894e0cde9f10fc40 < c8a24effd96d4779e2ad779654682304491c55a5
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 5.10.260 ≤ 5.10.* ; unaffected 5.15.211 ≤ 5.15.* ; unaffected 6.1.177 ≤ 6.1.* ; unaffected 6.6.144 ≤ 6.6.*

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