{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50474","published":"2025-10-04T16:15:43.910000Z","last_modified":"2026-06-17T05:23:37.590000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-401"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"2.6.30","version_end_excluding":"4.9.337"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.10","version_end_excluding":"4.14.303"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.270"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.229"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.163"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.86"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.0.16"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.1","version_end_excluding":"6.1.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.00225,"percentile":0.07853,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-50474/","html_en":"/en/cve/CVE-2022-50474/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50474","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50474"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nmacintosh: fix possible memory leak in macio_add_one_device()\n\nAfer commit 1fa5ae857bb1 (\"driver core: get rid of struct device's\nbus_id string array\"), the name of device is allocated dynamically. It\nneeds to be freed when of_device_register() fails. Call put_device() to\ngive up the reference that's taken in device_initialize(), so that it\ncan be freed in kobject_cleanup() when the refcount hits 0.\n\nmacio device is freed in macio_release_dev(), so the kfree() can be\nremoved.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/19ded60b40e86b0903c8d5bd0161437ed5107a8b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/2ac0a7059b7bcbed35bfffa34a82c9a9e99638ef","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/35858b87a943917fa30172aa4bf01ce7adbcb42c","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/3a866ff6fc2232c8e393cdb55ffb8ce947349e03","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5ca86eae55a2f006e6c1edd2029b2cacb6979515","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/76837e7f6b30da72ad59f56291e22804a219e015","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/aa9054267366ff0a382d403d17728e21951ddbb9","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b29a2f1dd33ae9b94821ab2f4d398b9081786748","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ca765257feb89dacf604ced9cd233db5f865dee0","tags":["Patch"]}]}}