CVE-2021-47298

bpf, sockmap: Fix potential memory leak on unlikely error case

published May 21, 2024

CVSS
—
EPSS
0%
Percentile
13.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00232 · 13.3th percentile
Published
2024-05-21T14:35Z
EPSS history
Timeline
  • 21 MAY 14:35Z
    bpf, sockmap: Fix potential memory leak on unlikely error case
    cvelistv5