{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48661","id":"CVE-2022-48661","title":"gpio: mockup: Fix potential resource leakage when register a chip","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: mockup: Fix potential resource leakage when register a chip\n\nIf creation of software node fails, the locally allocated string\narray is left unfreed. Free it on error path.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: mockup: Fix potential resource leakage when register a chip\n\nIf creation of software node fails, the locally allocated string\narray is left unfreed. Free it on error path.","published":"2024-04-28T13:01:26.940Z","updated":"2026-10-28T02:31:01.608154735Z","reserved":"2024-02-25T13:44:28.319Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6fda593f3082ef1aa783ac13e89f673fd69a2cb6","lessThan":"9b26723e058faaf11b532fb4aa16d6849d581790","status":"affected","versionType":"git"},{"version":"6fda593f3082ef1aa783ac13e89f673fd69a2cb6","lessThan":"41f857033c44442a27f591fda8d986e7c9e42872","status":"affected","versionType":"git"},{"version":"6fda593f3082ef1aa783ac13e89f673fd69a2cb6","lessThan":"02743c4091ccfb246f5cdbbe3f44b152d5d12933","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.71","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.12","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-404"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/9b26723e058faaf11b532fb4aa16d6849d581790","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/41f857033c44442a27f591fda8d986e7c9e42872","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/02743c4091ccfb246f5cdbbe3f44b152d5d12933","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48661.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48661","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00223,"epssPercentile":0.13041,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48661","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48661","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48661","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48661","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}