In the Linux kernel, the following vulnerability has been resolved:
EDAC/highbank: Fix memory leak in highbankmcprobe()
When devresopengroup() fails, it returns -ENOMEM without freeing memory allocated by edacmcalloc().
Call edacmcfree() on the error handling path to avoid a memory leak.
[ bp: Massage commit message. ]
[
{
"id": "CVE-2022-49757-80e00fad",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208754614530646653069152229294214269814",
"57522806399628905810983593962248786265",
"304908349432456959991221745575661971572",
"256186207953622223582479696641523343912",
"62996336474698644355417605297298869833",
"306728774409279567547307124521940044287",
"123047446185303957418387075538620668221",
"318690229438820347319489711320965927056",
"280184934319500632066652614455083653790"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@caffa7fed1397d1395052272c93900176de86557",
"target": {
"file": "drivers/edac/highbank_mc_edac.c"
}
},
{
"id": "CVE-2022-49757-9370e308",
"signature_version": "v1",
"digest": {
"function_hash": "329793948582989549483383503564238515357",
"length": 2543.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@caffa7fed1397d1395052272c93900176de86557",
"target": {
"file": "drivers/edac/highbank_mc_edac.c",
"function": "highbank_mc_probe"
}
}
]