{"id":"CVE-2022-50278","aliases":["CVE-2022-50278"],"related":[],"kind":"vulnerability","state":"published","title":"PNP: fix name memory leak in pnp_alloc_dev()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nPNP: fix name memory leak in pnp_alloc_dev()\n\nAfter commit 1fa5ae857bb1 (\"driver core: get rid of struct device's\nbus_id string array\"), the name of device is allocated dynamically,\nmove dev_set_name() after pnp_add_id() to avoid memory leak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPNP: fix name memory leak in pnp_alloc_dev()\n\nAfter commit 1fa5ae857bb1 (\"driver core: get rid of struct device's\nbus_id string array\"), the name of device is allocated dynamically,\nmove dev_set_name() after pnp_add_id() to avoid memory leak.","source":"cvelist"}],"published":"2025-09-15T14:21:15.208Z","modified":"2026-11-05T20:17:31.800Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"1fa5ae857bb14f6046205171d98506d8112dd74e","fixed":"ea77b4b761cd75e5456f677311babfa0418f289a","status":"affected"},{"type":"git","introduced":"1fa5ae857bb14f6046205171d98506d8112dd74e","fixed":"693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa","status":"affected"},{"type":"git","introduced":"1fa5ae857bb14f6046205171d98506d8112dd74e","fixed":"bbcf772216aa237036cc3ae3158288d0a95aaf4d","status":"affected"},{"type":"git","introduced":"1fa5ae857bb14f6046205171d98506d8112dd74e","fixed":"81b024df4755e6bb6993b786584eca6eabbb9791","status":"affected"},{"type":"git","introduced":"1fa5ae857bb14f6046205171d98506d8112dd74e","fixed":"dac87e295cddc8ab316cff14ab2071b5221d84fa","status":"affected"},{"type":"git","introduced":"1fa5ae857bb14f6046205171d98506d8112dd74e","fixed":"c12b314bb23dc0c83e03402cc84574700947e3b2","status":"affected"},{"type":"git","introduced":"1fa5ae857bb14f6046205171d98506d8112dd74e","fixed":"1f50c7497a5f89de0c31f2edf086af41ff834320","status":"affected"},{"type":"git","introduced":"1fa5ae857bb14f6046205171d98506d8112dd74e","fixed":"290dd73b943c95c006df973257076ff163adf4d0","status":"affected"},{"type":"git","introduced":"1fa5ae857bb14f6046205171d98506d8112dd74e","fixed":"110d7b0325c55ff3620073ba4201845f59e22ebf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"4.9.337","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.30","fixed":"4.9.337"},{"status":"affected","introduced":"4.10","fixed":"4.14.303"},{"status":"affected","introduced":"4.15","fixed":"4.19.270"},{"status":"affected","introduced":"4.20","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ea77b4b761cd75e5456f677311babfa0418f289a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bbcf772216aa237036cc3ae3158288d0a95aaf4d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81b024df4755e6bb6993b786584eca6eabbb9791","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dac87e295cddc8ab316cff14ab2071b5221d84fa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c12b314bb23dc0c83e03402cc84574700947e3b2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f50c7497a5f89de0c31f2edf086af41ff834320","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/290dd73b943c95c006df973257076ff163adf4d0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/110d7b0325c55ff3620073ba4201845f59e22ebf","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:08:43.741Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50278","url":"https://www.cve.org/CVERecord?id=CVE-2022-50278","licence":"CVE Terms of Use","modified":"2026-11-05T20:10:32.599Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50278","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50278","licence":"Public domain","modified":"2026-11-05T20:17:31.800Z"}],"updatedAt":"2026-11-25T22:58:21.144Z","epss":{"score":0.0017,"percentile":0.06734,"date":"2026-12-01T12:00:22.000Z"}}