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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2024-05-30T15:35:44.482Z
- Modified: 2026-06-17T07:37:25.587Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from e41d237818598c0b17458b4d0416b091a7959e55 before 24dd9b08df718f20ccf2dd1519909fefd8c233ee; from e41d237818598c0b17458b4d0416b091a7959e55 before bd8f78c71defbcb7a9ed331e7f287507df972b00; from e41d237818598c0b17458b4d0416b091a7959e55 before db71ca93259dd1078bcfea3afafde2143cfc2da7; from e41d237818598c0b17458b4d0416b091a7959e55 before 02ee394a5d899d9bd2f0759382e9481cab6166f8; from e41d237818598c0b17458b4d0416b091a7959e55 before aa23317d0268b309bb3f0801ddd0d61813ff5afb; 5.13 (not affected: before 5.13; from 5.15.159 up to 5.15.*; from 6.1.91 up to 6.1.*; from 6.6.31 up to 6.6.*; from 6.8.10 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 5.13 before 5.15.159; from 5.16 before 6.1.91; from 6.2 before 6.6.31; from 6.7 before 6.8.10; 6.9

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2024-36947](https://www.cve.org/CVERecord?id=CVE-2024-36947), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-36947](https://nvd.nist.gov/vuln/detail/CVE-2024-36947), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-36947 · Whole record: https://cve.day/CVE-2024-36947.json · Rebuilt by cve.day 2026-11-25T22:58:41.296Z
