In the Linux kernel, the following vulnerability has been resolved:
net: dsa: microchip: ksz_common: Fix refcount leak bug
In kszswitchregister(), we should call ofnodeput() for the reference returned by ofgetchildbyname() which has increased the refcount.
[
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"246035264378274748816609508712067603970",
"74984748077984529950175094052476843587",
"73210838379187462642610484864530122137",
"127710791970752240581559447638737969727",
"240368309099586346432415463798388989980",
"149087285374766116714713838407145358485",
"334608969921625218496214998072617961952",
"15497787798785980754407841734024387734",
"309142734172216333329171666900358865064",
"25086380597096839624643835169740557556",
"137413086412584138295007854238086665107",
"125663070611465837170185902875543404536",
"97601423702324502703365104150378549103",
"309632333503132348368023104306394640654",
"155701932101475724651617727912896111937"
]
},
"target": {
"file": "drivers/net/dsa/microchip/ksz_common.c"
},
"signature_version": "v1",
"id": "CVE-2022-49591-064f5f5d",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88ec2ff42da3ac93b2437dc52fe25cd4372148e6"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"246035264378274748816609508712067603970",
"74984748077984529950175094052476843587",
"73210838379187462642610484864530122137",
"127710791970752240581559447638737969727",
"240368309099586346432415463798388989980",
"149087285374766116714713838407145358485",
"334608969921625218496214998072617961952",
"15497787798785980754407841734024387734",
"309142734172216333329171666900358865064",
"25086380597096839624643835169740557556",
"137413086412584138295007854238086665107",
"125663070611465837170185902875543404536",
"97601423702324502703365104150378549103",
"309632333503132348368023104306394640654",
"196740618685242380190829217884660192184"
]
},
"target": {
"file": "drivers/net/dsa/microchip/ksz_common.c"
},
"signature_version": "v1",
"id": "CVE-2022-49591-10f50bf1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4165e02716518bbbe9c9104b39530d40928bc7ce"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "101992302477660434514599232633724816881",
"length": 1981.0
},
"target": {
"file": "drivers/net/dsa/microchip/ksz_common.c",
"function": "ksz_switch_register"
},
"signature_version": "v1",
"id": "CVE-2022-49591-267e00df",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4165e02716518bbbe9c9104b39530d40928bc7ce"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "58044688641348519513025097223941049105",
"length": 1740.0
},
"target": {
"file": "drivers/net/dsa/microchip/ksz_common.c",
"function": "ksz_switch_register"
},
"signature_version": "v1",
"id": "CVE-2022-49591-46eec3bd",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88ec2ff42da3ac93b2437dc52fe25cd4372148e6"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "123719990890526392910174959092803808764",
"length": 2735.0
},
"target": {
"file": "drivers/net/dsa/microchip/ksz_common.c",
"function": "ksz_switch_register"
},
"signature_version": "v1",
"id": "CVE-2022-49591-9261fe6a",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a14bd7475452c51835dd5a0cee4c8fa48dd0b539"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"246035264378274748816609508712067603970",
"74984748077984529950175094052476843587",
"73210838379187462642610484864530122137",
"127710791970752240581559447638737969727",
"240368309099586346432415463798388989980",
"149087285374766116714713838407145358485",
"334608969921625218496214998072617961952",
"15497787798785980754407841734024387734",
"309142734172216333329171666900358865064",
"25086380597096839624643835169740557556",
"137413086412584138295007854238086665107",
"125663070611465837170185902875543404536",
"97601423702324502703365104150378549103",
"309632333503132348368023104306394640654",
"196740618685242380190829217884660192184"
]
},
"target": {
"file": "drivers/net/dsa/microchip/ksz_common.c"
},
"signature_version": "v1",
"id": "CVE-2022-49591-fe5994e2",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a14bd7475452c51835dd5a0cee4c8fa48dd0b539"
}
]