NFSv4: remove callback IDR entry on client allocation failure (Linux Linux)

CVE-2026-90151
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 0.75 % · centile 55 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: NFSv4: remove callback IDR entry on client allocation failure nfs4_alloc_client() allocates an NFSv4.0 callback identifier before it finishes setting up the client. If any later initialization step fails, the error path frees the nfs_client directly with nfs_free_client(). That bypasses nfs_put_client(), which is where the callback IDR entry is removed during normal teardown. A failed allocation can therefore leave cb_ident_idr pointing at a freed nfs_client. A later NFSv4.0 callback lookup by cb_ident would find the stale pointer and take a reference to it. Make the callback IDR removal helper callable by the allocation failure path, and remove the callback identifier before freeing the client. This was found by a local static-analysis checker for publish-before-free lifetime bugs and confirmed by manual inspection.

Références

Scores

VersionScoreVecteurÉvalué par
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)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected f4eecd5da3422e82e88e36c33cbd2595eebcacb1 < 68c721391b761dbe38d5b0094d2bb6e8489ad92b ; affected f4eecd5da3422e82e88e36c33cbd2595eebcacb1 < 9bfdd0f591307b5198826a0e7a5b2f35f87acd2d ; affected f4eecd5da3422e82e88e36c33cbd2595eebcacb1 < 7c4812eb96bdcafb31a65b12f2aa96659429d1d4 ; affected f4eecd5da3422e82e88e36c33cbd2595eebcacb1 < fc95ca82d5ae598c428ab5a00ae69f8526d59371 ; affected f4eecd5da3422e82e88e36c33cbd2595eebcacb1 < 80b1c3d5a881f7d9081aa9f46da9742878a0f893 ; affected f4eecd5da3422e82e88e36c33cbd2595eebcacb1 < 3f2387e8bfbc4efda5d77c3a11a028d0a119c48f
Linux · Linuxaffected 2.6.38 ; unaffected 0 < 2.6.38 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 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