In the Linux kernel, the following vulnerability has been resolved:
Input: sparcspkr - fix refcount leak in bbcbeepprobe
offindnodebypath() calls offindnodeoptsbypath(), which returns a node pointer with refcount incremented, we should use ofnodeput() on it when done. Add missing ofnode_put() to avoid refcount leak.
[
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"235516902792477214997483628316797378851",
"151912510024971726342295769287062261579",
"12953816481793608511419377354824820961",
"56648357618369896220117902514857068732"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f51db16cb740ff90086189a1ef2581eab665591",
"target": {
"file": "drivers/input/misc/sparcspkr.c"
},
"id": "CVE-2022-49438-a91f2cfc"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 841.0,
"function_hash": "302572773670576458896353817695855890743"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f51db16cb740ff90086189a1ef2581eab665591",
"target": {
"file": "drivers/input/misc/sparcspkr.c",
"function": "bbc_beep_probe"
},
"id": "CVE-2022-49438-ab9afe71"
}
]