{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-47298","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-05-21T13:27:52.132Z","datePublished":"2024-05-21T14:35:20.622Z","dateUpdated":"2025-05-04T07:08:13.157Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T07:08:13.157Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, sockmap: Fix potential memory leak on unlikely error case\n\nIf skb_linearize is needed and fails we could leak a msg on the error\nhandling. To fix ensure we kfree the msg block before returning error.\nFound during code review."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/skmsg.c"],"versions":[{"version":"4363023d2668e621b0743db351a9555d6e6ea57e","lessThan":"715f378f42909c401ec043f5150c4fdf57fb8889","status":"affected","versionType":"git"},{"version":"4363023d2668e621b0743db351a9555d6e6ea57e","lessThan":"6c508a1c6c62793dc6e6872cad4b200097bab7c9","status":"affected","versionType":"git"},{"version":"4363023d2668e621b0743db351a9555d6e6ea57e","lessThan":"7e6b27a69167f97c56b5437871d29e9722c3e470","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/skmsg.c"],"versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.54","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.13.6","lessThanOrEqual":"5.13.*","status":"unaffected","versionType":"semver"},{"version":"5.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.10.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.13.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.14"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/715f378f42909c401ec043f5150c4fdf57fb8889"},{"url":"https://git.kernel.org/stable/c/6c508a1c6c62793dc6e6872cad4b200097bab7c9"},{"url":"https://git.kernel.org/stable/c/7e6b27a69167f97c56b5437871d29e9722c3e470"}],"title":"bpf, sockmap: Fix potential memory leak on unlikely error case","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-47298","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-21T18:46:05.294895Z"}}}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:14:39.485Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T05:32:08.559Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/715f378f42909c401ec043f5150c4fdf57fb8889","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/6c508a1c6c62793dc6e6872cad4b200097bab7c9","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/7e6b27a69167f97c56b5437871d29e9722c3e470","tags":["x_transferred"]}]}]}}