Skip to content
Heist/ feed
Back to feed
MediumFix available

9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: 9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl We need to release directory fid if we fail halfway through open This fixes fid leaking with xfstests generic 531

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.51, 5.18.8
CVEs
CVE-2022-49705
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 00:53 UTC · Revision 1

Source evidence

9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl

core-osv · Original source

Published 26 Feb 2025, 02:24 UTC

In the Linux kernel, the following vulnerability has been resolved: 9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl We need to release directory fid if we fail halfway through open This fixes fid leaking with xfstests generic 531

osv:CVE-2022-49705

Kernel

Fixed versions: 5.15.51, 5.18.8

Complete source record
{
  "id": "d3abab88937d0e031d778de6a77a1b06332a7a83d0b2ecd7d93438516b26a145",
  "url": "https://osv.dev/vulnerability/CVE-2022-49705",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: 9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl We need to release directory fid if we fail halfway through open This fixes fid leaking with xfstests generic 531",
    "evidence": "osv:CVE-2022-49705",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.18.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-49705",
      "aliases": [
        "CVE-2022-49705"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6636b6dcc3db2258cd0585b8078c1c225c4b6dde"
                },
                {
                  "fixed": "22832ac3eb5be3f7168816a76b64c1284e12eb3c"
                },
                {
                  "fixed": "8bc5412ba1a45edfd1e451874c483c26a097af2b"
                },
                {
                  "fixed": "beca774fc51a9ba8abbc869cf0c3d965ff17cd24"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49705.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.18.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49705.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.933652664Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/22832ac3eb5be3f7168816a76b64c1284e12eb3c",
        "https://git.kernel.org/stable/c/8bc5412ba1a45edfd1e451874c483c26a097af2b",
        "https://git.kernel.org/stable/c/beca774fc51a9ba8abbc869cf0c3d965ff17cd24",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49705.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49705",
        "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/2022/49xxx/CVE-2022-49705.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49705",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 516770,
  "published_at": "2025-02-26T02:24:24.077+00:00"
}