{"id":"CVE-2021-47298","details":"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.","modified":"2026-03-13T05:20:41.008773Z","published":"2024-05-21T15:15:17.657Z","references":[{"type":"FIX","url":"https://git.kernel.org/stable/c/6c508a1c6c62793dc6e6872cad4b200097bab7c9"},{"type":"FIX","url":"https://git.kernel.org/stable/c/715f378f42909c401ec043f5150c4fdf57fb8889"},{"type":"FIX","url":"https://git.kernel.org/stable/c/7e6b27a69167f97c56b5437871d29e9722c3e470"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47298.json","unresolved_ranges":[{"events":[{"introduced":"5.10"},{"fixed":"5.10.54"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.13.6"}]},{"events":[{"introduced":"0"},{"last_affected":"5.14-rc1"}]},{"events":[{"introduced":"0"},{"last_affected":"5.14-rc2"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}