In the Linux kernel, the following vulnerability has been resolved:
mtd: maps: Fix refcount leak in apflashinit
offindmatchingnode() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnode_put() to avoid refcount leak.
[
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5730780e9ea84e5476752a47c749036c6a74af5",
"id": "CVE-2022-50160-0cce607b",
"digest": {
"line_hashes": [
"73389913537446907870277254701622033676",
"338693018491866705708696527984235462268",
"67525369526423429497392848671306585350",
"36688756505439324418786919150086011253"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@babd7b0124650ab71a6487e38588b8659b3aa2dc",
"id": "CVE-2022-50160-2ed26cd1",
"digest": {
"function_hash": "269396930845509610806288873734074283253",
"length": 728.0
},
"target": {
"function": "ap_flash_init",
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77087a04c8fd554134bddcb8a9ff87b21f357926",
"id": "CVE-2022-50160-4c285327",
"digest": {
"line_hashes": [
"73389913537446907870277254701622033676",
"338693018491866705708696527984235462268",
"67525369526423429497392848671306585350",
"36688756505439324418786919150086011253"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a74322d4b897ddc268b340c4a397f6066c2f945d",
"id": "CVE-2022-50160-532ff0d1",
"digest": {
"line_hashes": [
"73389913537446907870277254701622033676",
"338693018491866705708696527984235462268",
"67525369526423429497392848671306585350",
"36688756505439324418786919150086011253"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d10855876a6f47add6ff621cef25cc0171dac162",
"id": "CVE-2022-50160-70bc738c",
"digest": {
"function_hash": "269396930845509610806288873734074283253",
"length": 728.0
},
"target": {
"function": "ap_flash_init",
"file": "drivers/mtd/maps/physmap_of_versatile.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@941ef6997f9db704fe4fd62fc01e420fdd5048b2",
"id": "CVE-2022-50160-77a304a8",
"digest": {
"function_hash": "269396930845509610806288873734074283253",
"length": 728.0
},
"target": {
"function": "ap_flash_init",
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77087a04c8fd554134bddcb8a9ff87b21f357926",
"id": "CVE-2022-50160-8a1d2ebf",
"digest": {
"function_hash": "269396930845509610806288873734074283253",
"length": 728.0
},
"target": {
"function": "ap_flash_init",
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f",
"id": "CVE-2022-50160-8bb679a1",
"digest": {
"line_hashes": [
"73389913537446907870277254701622033676",
"338693018491866705708696527984235462268",
"67525369526423429497392848671306585350",
"36688756505439324418786919150086011253"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@941ef6997f9db704fe4fd62fc01e420fdd5048b2",
"id": "CVE-2022-50160-a49d2a46",
"digest": {
"line_hashes": [
"73389913537446907870277254701622033676",
"338693018491866705708696527984235462268",
"67525369526423429497392848671306585350",
"36688756505439324418786919150086011253"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a74322d4b897ddc268b340c4a397f6066c2f945d",
"id": "CVE-2022-50160-a9f29da3",
"digest": {
"function_hash": "269396930845509610806288873734074283253",
"length": 728.0
},
"target": {
"function": "ap_flash_init",
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5730780e9ea84e5476752a47c749036c6a74af5",
"id": "CVE-2022-50160-c3e55a6e",
"digest": {
"function_hash": "269396930845509610806288873734074283253",
"length": 728.0
},
"target": {
"function": "ap_flash_init",
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d10855876a6f47add6ff621cef25cc0171dac162",
"id": "CVE-2022-50160-d1f003c7",
"digest": {
"line_hashes": [
"73389913537446907870277254701622033676",
"338693018491866705708696527984235462268",
"67525369526423429497392848671306585350",
"36688756505439324418786919150086011253"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mtd/maps/physmap_of_versatile.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@995fb2874bb5696357846a91e59181c600e6aac8",
"id": "CVE-2022-50160-d81cbbb0",
"digest": {
"function_hash": "269396930845509610806288873734074283253",
"length": 728.0
},
"target": {
"function": "ap_flash_init",
"file": "drivers/mtd/maps/physmap_of_versatile.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f",
"id": "CVE-2022-50160-f0253086",
"digest": {
"function_hash": "269396930845509610806288873734074283253",
"length": 728.0
},
"target": {
"function": "ap_flash_init",
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@babd7b0124650ab71a6487e38588b8659b3aa2dc",
"id": "CVE-2022-50160-f2059ef5",
"digest": {
"line_hashes": [
"73389913537446907870277254701622033676",
"338693018491866705708696527984235462268",
"67525369526423429497392848671306585350",
"36688756505439324418786919150086011253"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@995fb2874bb5696357846a91e59181c600e6aac8",
"id": "CVE-2022-50160-f5fc00fc",
"digest": {
"line_hashes": [
"73389913537446907870277254701622033676",
"338693018491866705708696527984235462268",
"67525369526423429497392848671306585350",
"36688756505439324418786919150086011253"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mtd/maps/physmap_of_versatile.c"
},
"signature_type": "Line",
"signature_version": "v1"
}
]