Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

NFS: Fix use-after-free in nfs4_init_client()

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2021-47259

Published

In the Linux kernel, the following vulnerability has been resolved: NFS: Fix use-after-free in nfs4_init_client() KASAN reports a use-after-free when attempting to mount two different exports through two different NICs that belong to the same server. Olga was able to hit this with kernels starting somewhere between 5.7 and 5.10, but I traced the patch that introduced the clear_bit() call to 4.13. So something must have changed in the refcounting of the clp pointer to make this call to nfs_put_client() the very last one.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2021-47259

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/nfs/nfs4client.c"
                    ],
                    "versions": [
                        {
                            "version": "8dcbec6d20eb881ba368d0aebc3a8a678aebb1da",
                            "lessThan": "c7eab9e2d7b4e983ce280276fb920af649955897",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8dcbec6d20eb881ba368d0aebc3a8a678aebb1da",
                            "lessThan": "42c10b0db064e45f5c5ae7019bbf2168ffab766c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8dcbec6d20eb881ba368d0aebc3a8a678aebb1da",
                            "lessThan": "3e3c7ebbfac152d08be75c92802a64a1f6471a15",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8dcbec6d20eb881ba368d0aebc3a8a678aebb1da",
                            "lessThan": "c3b6cf64dfe4ef96e7341508d50d6998da7062c7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8dcbec6d20eb881ba368d0aebc3a8a678aebb1da",
                            "lessThan": "72651c6579a25317a90536181d311c663d0329ab",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8dcbec6d20eb881ba368d0aebc3a8a678aebb1da",
                            "lessThan": "476bdb04c501fc64bf3b8464ffddefc8dbe01577",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/nfs/nfs4client.c"
                    ],
                    "versions": [
                        {
                            "version": "4.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.13",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.237",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.195",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.126",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.44",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.12.11",
                            "lessThanOrEqual": "5.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.13",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 07:22 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current