cbcvebase.
CVE-2021-47298
published 2024-05-21

CVE-2021-47298: 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…

PriorityP415medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.23%
14.2th percentile
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

12 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 5.14.6-1 (bookworm)linux 5.14.6-1 (bookworm)
linuxlinux
linuxlinux>= 4363023d2668e621b0743db351a9555d6e6ea57e < 715f378f42909c401ec043f5150c4fdf57fb8889715f378f42909c401ec043f5150c4fdf57fb8889
linuxlinux>= 4363023d2668e621b0743db351a9555d6e6ea57e < 6c508a1c6c62793dc6e6872cad4b200097bab7c96c508a1c6c62793dc6e6872cad4b200097bab7c9
linuxlinux>= 4363023d2668e621b0743db351a9555d6e6ea57e < 7e6b27a69167f97c56b5437871d29e9722c3e4707e6b27a69167f97c56b5437871d29e9722c3e470
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.70-15.10.70-1
linuxlinux_kernel>= 0 < 5.14.6-15.14.6-1
linuxlinux_kernel>= 0 < 5.14.6-15.14.6-1
linuxlinux_kernel>= 0 < 5.14.6-15.14.6-1
linuxlinux_kernel>= 5.10 < 5.10.545.10.54
linuxlinux_kernel>= 5.11 < 5.13.65.13.6

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.