{"id":"CVE-2024-36947","state":"PUBLISHED","title":"qibfs: fix dentry leak","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nqibfs: fix dentry leak\n\nsimple_recursive_removal() drops the pinning references to all positives\nin subtree.  For the cases when its argument has been kept alive by\nthe pinning alone that's exactly the right thing to do, but here\nthe argument comes from dcache lookup, that needs to be balanced by\nexplicit dput().\n\nFucked-up-by: Al Viro <viro@zeniv.linux.org.uk>","publishedAt":"2024-05-30T15:35:44.482Z","updatedAt":"2026-05-11T20:17:34.408Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e41d237818598c0b17458b4d0416b091a7959e55","status":"affected","lessThan":"24dd9b08df718f20ccf2dd1519909fefd8c233ee","versionType":"git"},{"version":"e41d237818598c0b17458b4d0416b091a7959e55","status":"affected","lessThan":"bd8f78c71defbcb7a9ed331e7f287507df972b00","versionType":"git"},{"version":"e41d237818598c0b17458b4d0416b091a7959e55","status":"affected","lessThan":"db71ca93259dd1078bcfea3afafde2143cfc2da7","versionType":"git"},{"version":"e41d237818598c0b17458b4d0416b091a7959e55","status":"affected","lessThan":"02ee394a5d899d9bd2f0759382e9481cab6166f8","versionType":"git"},{"version":"e41d237818598c0b17458b4d0416b091a7959e55","status":"affected","lessThan":"aa23317d0268b309bb3f0801ddd0d61813ff5afb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/qib/qib_fs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"5.15.159","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.91","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.31","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.10","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/qib/qib_fs.c"]}],"references":["https://git.kernel.org/stable/c/24dd9b08df718f20ccf2dd1519909fefd8c233ee","https://git.kernel.org/stable/c/bd8f78c71defbcb7a9ed331e7f287507df972b00","https://git.kernel.org/stable/c/db71ca93259dd1078bcfea3afafde2143cfc2da7","https://git.kernel.org/stable/c/02ee394a5d899d9bd2f0759382e9481cab6166f8","https://git.kernel.org/stable/c/aa23317d0268b309bb3f0801ddd0d61813ff5afb"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/36xxx/CVE-2024-36947.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-36947","state":"PUBLISHED","datePublished":"2024-05-30T15:35:44.482Z","dateUpdated":"2026-05-11T20:17:34.408Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-30T15:25:07.079Z"},"containers":{"cna":{"title":"qibfs: fix dentry leak","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nqibfs: fix dentry leak\n\nsimple_recursive_removal() drops the pinning references to all positives\nin subtree.  For the cases when its argument has been kept alive by\nthe pinning alone that's exactly the right thing to do, but here\nthe argument comes from dcache lookup, that needs to be balanced by\nexplicit dput().\n\nFucked-up-by: Al Viro <viro@zeniv.linux.org.uk>"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e41d237818598c0b17458b4d0416b091a7959e55","status":"affected","lessThan":"24dd9b08df718f20ccf2dd1519909fefd8c233ee","versionType":"git"},{"version":"e41d237818598c0b17458b4d0416b091a7959e55","status":"affected","lessThan":"bd8f78c71defbcb7a9ed331e7f287507df972b00","versionType":"git"},{"version":"e41d237818598c0b17458b4d0416b091a7959e55","status":"affected","lessThan":"db71ca93259dd1078bcfea3afafde2143cfc2da7","versionType":"git"},{"version":"e41d237818598c0b17458b4d0416b091a7959e55","status":"affected","lessThan":"02ee394a5d899d9bd2f0759382e9481cab6166f8","versionType":"git"},{"version":"e41d237818598c0b17458b4d0416b091a7959e55","status":"affected","lessThan":"aa23317d0268b309bb3f0801ddd0d61813ff5afb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/qib/qib_fs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"5.15.159","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.91","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.31","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.10","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/qib/qib_fs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/24dd9b08df718f20ccf2dd1519909fefd8c233ee"},{"url":"https://git.kernel.org/stable/c/bd8f78c71defbcb7a9ed331e7f287507df972b00"},{"url":"https://git.kernel.org/stable/c/db71ca93259dd1078bcfea3afafde2143cfc2da7"},{"url":"https://git.kernel.org/stable/c/02ee394a5d899d9bd2f0759382e9481cab6166f8"},{"url":"https://git.kernel.org/stable/c/aa23317d0268b309bb3f0801ddd0d61813ff5afb"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:17:34.408Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.15.159"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.1.91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.6.31"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.8.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-06-07T16:31:52.904125Z","id":"CVE-2024-36947","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-07T17:54:49.575Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/24dd9b08df718f20ccf2dd1519909fefd8c233ee","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/bd8f78c71defbcb7a9ed331e7f287507df972b00","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/db71ca93259dd1078bcfea3afafde2143cfc2da7","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/02ee394a5d899d9bd2f0759382e9481cab6166f8","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/aa23317d0268b309bb3f0801ddd0d61813ff5afb","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:43:50.138Z"}}]}}}