Skip to content
Heist/ feed
Back to feed
MediumFix available

qibfs: fix dentry leak

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.159, 6.1.91, 6.6.31, 6.8.10
CVEs
CVE-2024-36947
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:03 UTC · Revision 1

Source evidence

qibfs: fix dentry leak

core-osv · Original source

Published 30 May 2024, 15:35 UTC

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

osv:CVE-2024-36947

Kernel

Fixed versions: 5.15.159, 6.1.91, 6.6.31, 6.8.10

Complete source record
{
  "id": "5dd906835e8bd431a0450dac86ea8c72586f3607ce91805daf79a224fa9f008a",
  "url": "https://osv.dev/vulnerability/CVE-2024-36947",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "qibfs: fix dentry leak",
    "summary": "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",
    "evidence": "osv:CVE-2024-36947",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.159",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.91",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.31",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.8.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-36947",
      "aliases": [
        "CVE-2024-36947"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e41d237818598c0b17458b4d0416b091a7959e55"
                },
                {
                  "fixed": "24dd9b08df718f20ccf2dd1519909fefd8c233ee"
                },
                {
                  "fixed": "bd8f78c71defbcb7a9ed331e7f287507df972b00"
                },
                {
                  "fixed": "db71ca93259dd1078bcfea3afafde2143cfc2da7"
                },
                {
                  "fixed": "02ee394a5d899d9bd2f0759382e9481cab6166f8"
                },
                {
                  "fixed": "aa23317d0268b309bb3f0801ddd0d61813ff5afb"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36947.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.13.0"
                },
                {
                  "fixed": "5.15.159"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.91"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.31"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.8.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36947.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.694205579Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/02ee394a5d899d9bd2f0759382e9481cab6166f8",
        "https://git.kernel.org/stable/c/24dd9b08df718f20ccf2dd1519909fefd8c233ee",
        "https://git.kernel.org/stable/c/aa23317d0268b309bb3f0801ddd0d61813ff5afb",
        "https://git.kernel.org/stable/c/bd8f78c71defbcb7a9ed331e7f287507df972b00",
        "https://git.kernel.org/stable/c/db71ca93259dd1078bcfea3afafde2143cfc2da7",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36947.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-36947",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36947.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-36947",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505967,
  "published_at": "2024-05-30T15:35:44.482+00:00"
}