ghsa-x77f-2wpm-x48r
Vulnerability from github
Published
2025-09-15 15:31
Modified
2025-09-15 15:31
Details

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

media: dvbdev: adopts refcnt to avoid UAF

dvb_unregister_device() is known that prone to use-after-free. That is, the cleanup from dvb_unregister_device() releases the dvb_device even if there are pointers stored in file->private_data still refer to it.

This patch adds a reference counter into struct dvb_device and delays its deallocation until no pointer refers to the object.

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2022-50274"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-09-15T15:15:38Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvbdev: adopts refcnt to avoid UAF\n\ndvb_unregister_device() is known that prone to use-after-free.\nThat is, the cleanup from dvb_unregister_device() releases the dvb_device\neven if there are pointers stored in file-\u003eprivate_data still refer to it.\n\nThis patch adds a reference counter into struct dvb_device and delays its\ndeallocation until no pointer refers to the object.",
  "id": "GHSA-x77f-2wpm-x48r",
  "modified": "2025-09-15T15:31:25Z",
  "published": "2025-09-15T15:31:25Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-50274"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/219b44bf94203bd433aa91b7796475bf656348e5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2abd73433872194bccdf1432a0980e4ec5273c2a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/88a6f8a72d167294c0931c7874941bf37a41b6dd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9945d05d6693710574f354c5dbddc47f5101eb77"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a2f0a08aa613176c9688c81d7b598a7779974991"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ac521bbe3d00fa574e66a9361763f2b37725bc97"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…