{"id":"CVE-2022-50274","published":"2025-09-15T14:21:10Z","modified":"2026-08-05T08:58:01Z","title":"media: dvbdev: adopts refcnt to avoid UAF","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->private_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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0017,"percentile":0.06466,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ac521bbe3d00fa574e66a9361763f2b37725bc97","tags":[]},{"url":"https://git.kernel.org/stable/c/219b44bf94203bd433aa91b7796475bf656348e5","tags":[]},{"url":"https://git.kernel.org/stable/c/6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2","tags":[]},{"url":"https://git.kernel.org/stable/c/2abd73433872194bccdf1432a0980e4ec5273c2a","tags":[]},{"url":"https://git.kernel.org/stable/c/88a6f8a72d167294c0931c7874941bf37a41b6dd","tags":[]},{"url":"https://git.kernel.org/stable/c/a2f0a08aa613176c9688c81d7b598a7779974991","tags":[]},{"url":"https://git.kernel.org/stable/c/9945d05d6693710574f354c5dbddc47f5101eb77","tags":[]},{"url":"https://git.kernel.org/stable/c/0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":1.29},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ac521bbe3d00fa574e66a9361763f2b37725bc97",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 219b44bf94203bd433aa91b7796475bf656348e5",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2abd73433872194bccdf1432a0980e4ec5273c2a",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 88a6f8a72d167294c0931c7874941bf37a41b6dd",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a2f0a08aa613176c9688c81d7b598a7779974991",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9945d05d6693710574f354c5dbddc47f5101eb77",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"euvd":{"id":"EUVD-2022-55581","exploited":false,"provenance":"source"}}