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.
[
{
"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"
}
]
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47298.json"