CVE-2026-89668

Source
https://cve.org/CVERecord?id=CVE-2026-89668
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89668.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-89668
Downstream
Published
2026-09-11T19:45:54Z
Modified
2026-09-13T03:47:20Z
Summary
nfsd: move nfsd_debugfs_init() after nfsd4_init_slabs() in init_nfsd()
Details

In the Linux kernel, the following vulnerability has been resolved:

nfsd: move nfsd_debugfs_init() after nfsd4_init_slabs() in init_nfsd()

nfsd_debugfs_init() runs before nfsd4_init_slabs() in init_nfsd(). If the slab allocation fails, the bare "return retval" bypasses nfsd_debugfs_exit(), leaving orphan debugfs files with stale fops pointers into the freed module text.

Move nfsd_debugfs_init() to after the slab init succeeds, so the early return has no debugfs state to clean up.

Since debugfs is now the more recently initialized of the two, also update the unwind paths to match reverse-initialization (LIFO) order: run nfsd_debugfs_exit() before nfsd4_free_slabs() in both the init_nfsd() error path and exit_nfsd(). The nfsd debugfs files only reference module-global state and have no dependency on the slab caches, so that reordering is a cleanup with no functional change.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89668.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9fe5ea760e64f04412dbed51645a0dac7220d40a
Fixed
4ae5d7490ae6a7b83b3d607f88c499f4f85e753a
Fixed
ab43ff94f5dfc2b6a080b167b69855eb7655c98b
Fixed
2c390c8a1764d67095fe444401861fac4c049362

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89668.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.50
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89668.json"