In the Linux kernel, the following vulnerability has been resolved:
ata: pataocteoncf: Fix refcount leak in octeoncfprobe
offinddevicebynode() takes reference, we should use putdevice() to release it when not need anymore. Add missing putdevice() to avoid refcount leak.
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "148519246644668644093724828874713077416",
"length": 4523.0
},
"id": "CVE-2022-49354-02f50bfd",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bd85c5ba1687daf54e3b6907673c3604b1e75cf",
"target": {
"file": "drivers/ata/pata_octeon_cf.c",
"function": "octeon_cf_probe"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"327380205532574178939374549636762266755",
"115608340232568542763922499729978979132",
"185486267741778803890621786153533050810",
"55467495370606585778196326617199457874",
"89656414607550883360185097385988005459",
"204660538448055872962411712085816116319",
"14876629967190724774952744937737500560",
"10334445916081424488360769625484329992",
"326813112678338933811901122904610694439",
"166935512930305798685127709457502442348",
"150388071076215161457400641411117971913",
"117174264957827105345611098871555971233",
"286835864529401226930649785867558731402",
"179403560824724511658845594622096377879"
]
},
"id": "CVE-2022-49354-19d40799",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bd85c5ba1687daf54e3b6907673c3604b1e75cf",
"target": {
"file": "drivers/ata/pata_octeon_cf.c"
}
}
]