CVE-2021-47298: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Fix potential memory leak on unlikely error case If skb_linearize is needed and fails we could leak a msg on the error handling. To fix ensure we kfree the msg block before returning error. Found during code review.

Affected products

  • Linux Linux Kernel: from 5.10, before 5.10.54 (fixed in 5.10.54); from 5.11, before 5.13.6 (fixed in 5.13.6); version 5.14 only

Published 2024-05-21. Last modified 2026-06-17.