{"id":"CVE-2022-48669","state":"PUBLISHED","title":"powerpc/pseries: Fix potential memleak in papr_get_attr()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/pseries: Fix potential memleak in papr_get_attr()\n\n`buf` is allocated in papr_get_attr(), and krealloc() of `buf`\ncould fail. We need to free the original `buf` in the case of failure.","publishedAt":"2024-05-01T13:03:55.005Z","updatedAt":"2026-05-11T18:44:51.123Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3c14b73454cf9f6e2146443fdfbdfb912c0efed3","status":"affected","lessThan":"a3f22feb2220a945d1c3282e34199e8bcdc5afc4","versionType":"git"},{"version":"3c14b73454cf9f6e2146443fdfbdfb912c0efed3","status":"affected","lessThan":"1699fb915b9f61794d559b55114c09a390aaf234","versionType":"git"},{"version":"3c14b73454cf9f6e2146443fdfbdfb912c0efed3","status":"affected","lessThan":"7f7d39fe3d80d6143404940b2413010cf6527029","versionType":"git"},{"version":"3c14b73454cf9f6e2146443fdfbdfb912c0efed3","status":"affected","lessThan":"d0647c3e81eff62b66d46fd4e475318cb8cb3610","versionType":"git"},{"version":"3c14b73454cf9f6e2146443fdfbdfb912c0efed3","status":"affected","lessThan":"cda9c0d556283e2d4adaa9960b2dc19b16156bae","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/powerpc/platforms/pseries/papr_platform_attributes.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.83","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.23","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.11","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8.2","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/powerpc/platforms/pseries/papr_platform_attributes.c"]}],"references":["https://git.kernel.org/stable/c/a3f22feb2220a945d1c3282e34199e8bcdc5afc4","https://git.kernel.org/stable/c/1699fb915b9f61794d559b55114c09a390aaf234","https://git.kernel.org/stable/c/7f7d39fe3d80d6143404940b2413010cf6527029","https://git.kernel.org/stable/c/d0647c3e81eff62b66d46fd4e475318cb8cb3610","https://git.kernel.org/stable/c/cda9c0d556283e2d4adaa9960b2dc19b16156bae"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/48xxx/CVE-2022-48669.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-48669","state":"PUBLISHED","datePublished":"2024-05-01T13:03:55.005Z","dateUpdated":"2026-05-11T18:44:51.123Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-25T13:44:28.321Z"},"containers":{"cna":{"title":"powerpc/pseries: Fix potential memleak in papr_get_attr()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/pseries: Fix potential memleak in papr_get_attr()\n\n`buf` is allocated in papr_get_attr(), and krealloc() of `buf`\ncould fail. We need to free the original `buf` in the case of failure."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3c14b73454cf9f6e2146443fdfbdfb912c0efed3","status":"affected","lessThan":"a3f22feb2220a945d1c3282e34199e8bcdc5afc4","versionType":"git"},{"version":"3c14b73454cf9f6e2146443fdfbdfb912c0efed3","status":"affected","lessThan":"1699fb915b9f61794d559b55114c09a390aaf234","versionType":"git"},{"version":"3c14b73454cf9f6e2146443fdfbdfb912c0efed3","status":"affected","lessThan":"7f7d39fe3d80d6143404940b2413010cf6527029","versionType":"git"},{"version":"3c14b73454cf9f6e2146443fdfbdfb912c0efed3","status":"affected","lessThan":"d0647c3e81eff62b66d46fd4e475318cb8cb3610","versionType":"git"},{"version":"3c14b73454cf9f6e2146443fdfbdfb912c0efed3","status":"affected","lessThan":"cda9c0d556283e2d4adaa9960b2dc19b16156bae","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/powerpc/platforms/pseries/papr_platform_attributes.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.83","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.23","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.11","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8.2","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/powerpc/platforms/pseries/papr_platform_attributes.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a3f22feb2220a945d1c3282e34199e8bcdc5afc4"},{"url":"https://git.kernel.org/stable/c/1699fb915b9f61794d559b55114c09a390aaf234"},{"url":"https://git.kernel.org/stable/c/7f7d39fe3d80d6143404940b2413010cf6527029"},{"url":"https://git.kernel.org/stable/c/d0647c3e81eff62b66d46fd4e475318cb8cb3610"},{"url":"https://git.kernel.org/stable/c/cda9c0d556283e2d4adaa9960b2dc19b16156bae"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:44:51.123Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.83"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.6.23"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.7.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.8.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-06-06T18:28:26.103975Z","id":"CVE-2022-48669","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-29T18:03:14.971Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/a3f22feb2220a945d1c3282e34199e8bcdc5afc4","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/1699fb915b9f61794d559b55114c09a390aaf234","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/7f7d39fe3d80d6143404940b2413010cf6527029","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d0647c3e81eff62b66d46fd4e475318cb8cb3610","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/cda9c0d556283e2d4adaa9960b2dc19b16156bae","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T15:17:55.805Z"}}]}}}