In the Linux kernel, the following vulnerability has been resolved:
irqchip/realtek-rtl: Fix refcount leak in map_interrupts
offindnodebyphandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. This function doesn't call ofnodeput() in error path. Call ofnodeput() directly after ofpropertyread_u32() to cover both normal path and error path.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e85b1b797de0e7a271b906291ce28245822820b8",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "map_interrupts",
"file": "drivers/irqchip/irq-realtek-rtl.c"
},
"id": "CVE-2022-49714-01b8919f",
"signature_type": "Function",
"digest": {
"length": 1150.0,
"function_hash": "234743716808975685259209063869395586173"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/irqchip/irq-realtek-rtl.c"
},
"id": "CVE-2022-49714-1b07ad8a",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"303273964052786095960596145144342167962",
"299108738768463880581668216230964093788",
"157719566300311162616140120304712506722",
"45661820007913366436942884686067715480",
"255021028811540772493779172909215020718",
"36820622426479145378926306289763874669",
"39720206268620431982183215475781990180"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6d6223df0666fbc054e3a8c6ac14eb0af37c286",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/irqchip/irq-realtek-rtl.c"
},
"id": "CVE-2022-49714-7d533f04",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"303273964052786095960596145144342167962",
"299108738768463880581668216230964093788",
"157719566300311162616140120304712506722",
"45661820007913366436942884686067715480",
"255021028811540772493779172909215020718",
"36820622426479145378926306289763874669",
"39720206268620431982183215475781990180"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e85b1b797de0e7a271b906291ce28245822820b8",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/irqchip/irq-realtek-rtl.c"
},
"id": "CVE-2022-49714-db2133a2",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"303273964052786095960596145144342167962",
"299108738768463880581668216230964093788",
"157719566300311162616140120304712506722",
"45661820007913366436942884686067715480",
"255021028811540772493779172909215020718",
"36820622426479145378926306289763874669",
"39720206268620431982183215475781990180"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6d6223df0666fbc054e3a8c6ac14eb0af37c286",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "map_interrupts",
"file": "drivers/irqchip/irq-realtek-rtl.c"
},
"id": "CVE-2022-49714-f0b05af0",
"signature_type": "Function",
"digest": {
"length": 1150.0,
"function_hash": "234743716808975685259209063869395586173"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "map_interrupts",
"file": "drivers/irqchip/irq-realtek-rtl.c"
},
"id": "CVE-2022-49714-fd5294ec",
"signature_type": "Function",
"digest": {
"length": 1150.0,
"function_hash": "234743716808975685259209063869395586173"
}
}
]