# CVE-2026-97949: configfs: unhash the dentry before dropping the item in rmdir

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2026-09-25T10:22:58.375Z
- **Modified:** 2026-11-23T08:17:23.007Z

## Who should check

- Anyone running Linux \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 3d3a0b7ee3baaae7d76d868256fbf2324662beca; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< b315d865660766d45ecdbf7433a4e3d36a554b3b; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 446720051d44eebaa81b33969173160057b73a33; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 5d7cbfb65e47cc71d5d94d87d5d0d1679080f3eb; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 925d8564f1b2d9b46c5ab63b9bc942cea006da9b; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< f06c2d26d1999d37e93299db0ecead04ca7d0b9f
- Anyone running Linux 2.6.16

## Description

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

configfs: unhash the dentry before dropping the item in rmdir

configfs\_get\_config\_item() treats a hashed dentry as proof that
sd-\>s\_element is a live config\_item.  configfs\_rmdir() breaks that:
simple\_rmdir() leaves the dentry hashed, the last reference to the item is
dropped right after, and the dentry is only unhashed by d\_delete() once
-\>rmdir() has returned.  configfs\_symlink() resolves its target holding no
lock on it, so get\_target() can land in that window:

  BUG: KASAN: slab-use-after-free in config\_item\_get+0x26/0x90
   get\_target fs/configfs/symlink.c:128 \[inline\]
   configfs\_symlink+0x4ab/0x1030 fs/configfs/symlink.c:185

Unhash in configfs\_remove\_dir(), while the item is still guaranteed to be
there.  A reference obtained just before that stays harmless, as
create\_link() rechecks CONFIGFS\_USET\_DROPPING, already set by
configfs\_detach\_prep().  Both configfs\_unregister\_subsystem() paths
d\_drop() after detaching, so this only makes rmdir match them.

## Affected and fixed versions

- Linux: \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 3d3a0b7ee3baaae7d76d868256fbf2324662beca; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< b315d865660766d45ecdbf7433a4e3d36a554b3b; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 446720051d44eebaa81b33969173160057b73a33; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 5d7cbfb65e47cc71d5d94d87d5d0d1679080f3eb; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 925d8564f1b2d9b46c5ab63b9bc942cea006da9b; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< f06c2d26d1999d37e93299db0ecead04ca7d0b9f (cvelist)
- Linux: 2.6.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97949. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97949.md
Affected: Linux >= 7063fbf2261194f72ee75afca67b3b38b554b5fa, < 3d3a0b7ee3baaae7d76d868256fbf2324662beca; >= 7063fbf2261194f72ee75afca67b3b38b554b5fa, < b315d865660766d45ecdbf7433a4e3d36a554b3b; >= 7063fbf2261194f72ee75afca67b3b38b554b5fa, < 446720051d44eebaa81b33969173160057b73a33; >= 7063fbf2261194f72ee75af…
Fixed in: Linux 3d3a0b7ee3baaae7d76d868256fbf2324662beca, Linux 446720051d44eebaa81b33969173160057b73a33, Linux 5d7cbfb65e47cc71d5d94d87d5d0d1679080f3eb, Linux 925d8564f1b2d9b46c5ab63b9bc942cea006da9b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97949 being exploited?

There is no confirmed exploitation: CVE-2026-97949 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-97949?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97949?

Linux \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 3d3a0b7ee3baaae7d76d868256fbf2324662beca; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< b315d865660766d45ecdbf7433a4e3d36a554b3b; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 446720051d44eebaa81b33969173160057b73a33; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 5d7cbfb65e47cc71d5d94d87d5d0d1679080f3eb; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< 925d8564f1b2d9b46c5ab63b9bc942cea006da9b; \>= 7063fbf2261194f72ee75afca67b3b38b554b5fa, \< f06c2d26d1999d37e93299db0ecead04ca7d0b9f; Linux 2.6.16.

### Is there a fix for CVE-2026-97949?

Yes. Fixed in Linux 3d3a0b7ee3baaae7d76d868256fbf2324662beca, Linux 446720051d44eebaa81b33969173160057b73a33, Linux 5d7cbfb65e47cc71d5d94d87d5d0d1679080f3eb, Linux 925d8564f1b2d9b46c5ab63b9bc942cea006da9b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-97949?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3d3a0b7ee3baaae7d76d868256fbf2324662beca>
- other: <https://git.kernel.org/stable/c/b315d865660766d45ecdbf7433a4e3d36a554b3b>
- other: <https://git.kernel.org/stable/c/446720051d44eebaa81b33969173160057b73a33>
- other: <https://git.kernel.org/stable/c/5d7cbfb65e47cc71d5d94d87d5d0d1679080f3eb>
- other: <https://git.kernel.org/stable/c/925d8564f1b2d9b46c5ab63b9bc942cea006da9b>
- other: <https://git.kernel.org/stable/c/f06c2d26d1999d37e93299db0ecead04ca7d0b9f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97949>

HTML: <https://flawdb.com/CVE-2026-97949> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97949>
