{"id":"CVE-2021-47570","state":"PUBLISHED","title":"staging: r8188eu: fix a memory leak in rtw_wx_read32()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: r8188eu: fix a memory leak in rtw_wx_read32()\n\nFree \"ptmp\" before returning -EINVAL.","publishedAt":"2024-05-24T15:12:56.032Z","updatedAt":"2026-05-11T13:57:10.795Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2b42bd58b32155a1be4dd78991845dec05aaef9e","status":"affected","lessThan":"c8d3775745adacf9784a7a80a82d047051752573","versionType":"git"},{"version":"2b42bd58b32155a1be4dd78991845dec05aaef9e","status":"affected","lessThan":"be4ea8f383551b9dae11b8dfff1f38b3b5436e9a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/r8188eu/os_dep/ioctl_linux.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.6","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/r8188eu/os_dep/ioctl_linux.c"]}],"references":["https://git.kernel.org/stable/c/c8d3775745adacf9784a7a80a82d047051752573","https://git.kernel.org/stable/c/be4ea8f383551b9dae11b8dfff1f38b3b5436e9a"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:19.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/47xxx/CVE-2021-47570.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47570","state":"PUBLISHED","datePublished":"2024-05-24T15:12:56.032Z","dateUpdated":"2026-05-11T13:57:10.795Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-24T15:11:00.729Z"},"containers":{"cna":{"title":"staging: r8188eu: fix a memory leak in rtw_wx_read32()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: r8188eu: fix a memory leak in rtw_wx_read32()\n\nFree \"ptmp\" before returning -EINVAL."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2b42bd58b32155a1be4dd78991845dec05aaef9e","status":"affected","lessThan":"c8d3775745adacf9784a7a80a82d047051752573","versionType":"git"},{"version":"2b42bd58b32155a1be4dd78991845dec05aaef9e","status":"affected","lessThan":"be4ea8f383551b9dae11b8dfff1f38b3b5436e9a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/r8188eu/os_dep/ioctl_linux.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.6","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/r8188eu/os_dep/ioctl_linux.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c8d3775745adacf9784a7a80a82d047051752573"},{"url":"https://git.kernel.org/stable/c/be4ea8f383551b9dae11b8dfff1f38b3b5436e9a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T13:57:10.795Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.16"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-12T19:36:08.708849Z","id":"CVE-2021-47570","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-12T19:36:18.413Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/c8d3775745adacf9784a7a80a82d047051752573","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/be4ea8f383551b9dae11b8dfff1f38b3b5436e9a","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:39:59.794Z"}}]}}}