# CVE-2024-36947: qibfs: fix dentry leak

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

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.85% (percentile 55, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-05-30T15:35:44.482Z
- **Modified:** 2026-06-17T07:37:25.587Z

## Who should check

- Anyone running Linux \>= e41d237818598c0b17458b4d0416b091a7959e55, \< 24dd9b08df718f20ccf2dd1519909fefd8c233ee; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< bd8f78c71defbcb7a9ed331e7f287507df972b00; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< db71ca93259dd1078bcfea3afafde2143cfc2da7; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< 02ee394a5d899d9bd2f0759382e9481cab6166f8; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< aa23317d0268b309bb3f0801ddd0d61813ff5afb
- Anyone running Linux 5.13

## Description

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

qibfs: fix dentry leak

simple\_recursive\_removal() drops the pinning references to all positives
in subtree.  For the cases when its argument has been kept alive by
the pinning alone that's exactly the right thing to do, but here
the argument comes from dcache lookup, that needs to be balanced by
explicit dput().

Fucked-up-by: Al Viro \<viro@zeniv.linux.org.uk\>

## Affected and fixed versions

- Linux: \>= e41d237818598c0b17458b4d0416b091a7959e55, \< 24dd9b08df718f20ccf2dd1519909fefd8c233ee; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< bd8f78c71defbcb7a9ed331e7f287507df972b00; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< db71ca93259dd1078bcfea3afafde2143cfc2da7; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< 02ee394a5d899d9bd2f0759382e9481cab6166f8; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< aa23317d0268b309bb3f0801ddd0d61813ff5afb (cvelist)
- Linux: 5.13 (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-2024-36947. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36947.md
Affected: Linux >= e41d237818598c0b17458b4d0416b091a7959e55, < 24dd9b08df718f20ccf2dd1519909fefd8c233ee; >= e41d237818598c0b17458b4d0416b091a7959e55, < bd8f78c71defbcb7a9ed331e7f287507df972b00; >= e41d237818598c0b17458b4d0416b091a7959e55, < db71ca93259dd1078bcfea3afafde2143cfc2da7; >= e41d237818598c0b17458b4…
Fixed in: Linux 24dd9b08df718f20ccf2dd1519909fefd8c233ee, Linux 02ee394a5d899d9bd2f0759382e9481cab6166f8

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-2024-36947 being exploited?

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

### How serious is CVE-2024-36947?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-36947?

Linux \>= e41d237818598c0b17458b4d0416b091a7959e55, \< 24dd9b08df718f20ccf2dd1519909fefd8c233ee; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< bd8f78c71defbcb7a9ed331e7f287507df972b00; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< db71ca93259dd1078bcfea3afafde2143cfc2da7; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< 02ee394a5d899d9bd2f0759382e9481cab6166f8; \>= e41d237818598c0b17458b4d0416b091a7959e55, \< aa23317d0268b309bb3f0801ddd0d61813ff5afb; Linux 5.13.

### Is there a fix for CVE-2024-36947?

Yes. Fixed in Linux 24dd9b08df718f20ccf2dd1519909fefd8c233ee, Linux 02ee394a5d899d9bd2f0759382e9481cab6166f8. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-36947?

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

- patch: <https://git.kernel.org/stable/c/24dd9b08df718f20ccf2dd1519909fefd8c233ee>
- patch: <https://git.kernel.org/stable/c/bd8f78c71defbcb7a9ed331e7f287507df972b00>
- patch: <https://git.kernel.org/stable/c/db71ca93259dd1078bcfea3afafde2143cfc2da7>
- patch: <https://git.kernel.org/stable/c/02ee394a5d899d9bd2f0759382e9481cab6166f8>
- patch: <https://git.kernel.org/stable/c/aa23317d0268b309bb3f0801ddd0d61813ff5afb>

## 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-2024-36947>

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