In the Linux kernel, the following vulnerability has been resolved:
pinctrl: devicetree: fix refcount leak in pinctrldtto_map()
If we fail to allocate propname buffer, we need to drop the reference count we just took. Because the pinctrldtfree_maps() includes the droping operation, here we call it directly.
{ "vanir_signatures": [ { "signature_type": "Line", "target": { "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-08c1ae24", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47d253c485491caaf70d8cd8c0248ae26e42581f", "deprecated": false, "digest": { "line_hashes": [ "23165646074421206702893176363649239226", "271528604918932969866155715549469338567", "218910542429178116228522628615539210170", "23162972968859337204733261379529713747", "285793919520611217700675005276264448923", "309940051323137061580866053593068514061", "166416027586073741807257326976680661955", "284611276802282898536914677801286965394", "217671967738422690561963415122337892999", "359641825078289024075944051297270073", "310740553977934611220549268621759315340" ], "threshold": 0.9 }, "signature_version": "v1" }, { "signature_type": "Function", "target": { "function": "pinctrl_dt_to_map", "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-1b3e8965", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@518d5ddafeb084d6d9b1773ed85164300037d0e6", "deprecated": false, "digest": { "length": 1229.0, "function_hash": "144494095599410376200413608720771063881" }, "signature_version": "v1" }, { "signature_type": "Function", "target": { "function": "pinctrl_dt_to_map", "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-3d565b9f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@76aa2440deb9a35507590f2c981a69a57ecd305d", "deprecated": false, "digest": { "length": 1229.0, "function_hash": "144494095599410376200413608720771063881" }, "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-45000512", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@76aa2440deb9a35507590f2c981a69a57ecd305d", "deprecated": false, "digest": { "line_hashes": [ "23165646074421206702893176363649239226", "271528604918932969866155715549469338567", "218910542429178116228522628615539210170", "23162972968859337204733261379529713747", "285793919520611217700675005276264448923", "309940051323137061580866053593068514061", "166416027586073741807257326976680661955", "284611276802282898536914677801286965394", "217671967738422690561963415122337892999", "359641825078289024075944051297270073", "310740553977934611220549268621759315340" ], "threshold": 0.9 }, "signature_version": "v1" }, { "signature_type": "Function", "target": { "function": "pinctrl_dt_to_map", "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-4f81cbb6", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0cedbcc8852d6c77b00634b81e41f17f29d9404", "deprecated": false, "digest": { "length": 1229.0, "function_hash": "144494095599410376200413608720771063881" }, "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-58c12766", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@518d5ddafeb084d6d9b1773ed85164300037d0e6", "deprecated": false, "digest": { "line_hashes": [ "23165646074421206702893176363649239226", "271528604918932969866155715549469338567", "218910542429178116228522628615539210170", "23162972968859337204733261379529713747", "285793919520611217700675005276264448923", "309940051323137061580866053593068514061", "166416027586073741807257326976680661955", "284611276802282898536914677801286965394", "217671967738422690561963415122337892999", "359641825078289024075944051297270073", "310740553977934611220549268621759315340" ], "threshold": 0.9 }, "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-5caa68ab", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@06780473cb8a858d1d6cab2673e021b072a852d1", "deprecated": false, "digest": { "line_hashes": [ "23165646074421206702893176363649239226", "271528604918932969866155715549469338567", "218910542429178116228522628615539210170", "23162972968859337204733261379529713747", "285793919520611217700675005276264448923", "309940051323137061580866053593068514061", "166416027586073741807257326976680661955", "284611276802282898536914677801286965394", "217671967738422690561963415122337892999", "359641825078289024075944051297270073", "310740553977934611220549268621759315340" ], "threshold": 0.9 }, "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-6ab6f17b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@026e24cf31733dbd97f41cc9bc5273ace428eeec", "deprecated": false, "digest": { "line_hashes": [ "23165646074421206702893176363649239226", "271528604918932969866155715549469338567", "218910542429178116228522628615539210170", "23162972968859337204733261379529713747", "285793919520611217700675005276264448923", "309940051323137061580866053593068514061", "166416027586073741807257326976680661955", "284611276802282898536914677801286965394", "217671967738422690561963415122337892999", "359641825078289024075944051297270073", "310740553977934611220549268621759315340" ], "threshold": 0.9 }, "signature_version": "v1" }, { "signature_type": "Function", "target": { "function": "pinctrl_dt_to_map", "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-77a9a3ab", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@026e24cf31733dbd97f41cc9bc5273ace428eeec", "deprecated": false, "digest": { "length": 1229.0, "function_hash": "144494095599410376200413608720771063881" }, "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-a383db9f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0cedbcc8852d6c77b00634b81e41f17f29d9404", "deprecated": false, "digest": { "line_hashes": [ "23165646074421206702893176363649239226", "271528604918932969866155715549469338567", "218910542429178116228522628615539210170", "23162972968859337204733261379529713747", "285793919520611217700675005276264448923", "309940051323137061580866053593068514061", "166416027586073741807257326976680661955", "284611276802282898536914677801286965394", "217671967738422690561963415122337892999", "359641825078289024075944051297270073", "310740553977934611220549268621759315340" ], "threshold": 0.9 }, "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-c4cc1171", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c7e02ccc9fdc496fe51e440e3e66ac36509ca049", "deprecated": false, "digest": { "line_hashes": [ "23165646074421206702893176363649239226", "271528604918932969866155715549469338567", "218910542429178116228522628615539210170", "23162972968859337204733261379529713747", "285793919520611217700675005276264448923", "309940051323137061580866053593068514061", "166416027586073741807257326976680661955", "284611276802282898536914677801286965394", "217671967738422690561963415122337892999", "359641825078289024075944051297270073", "310740553977934611220549268621759315340" ], "threshold": 0.9 }, "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-cc551efa", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35ab679e8bb5a81a4f922d3efbd43e32bce69274", "deprecated": false, "digest": { "line_hashes": [ "23165646074421206702893176363649239226", "271528604918932969866155715549469338567", "218910542429178116228522628615539210170", "23162972968859337204733261379529713747", "285793919520611217700675005276264448923", "309940051323137061580866053593068514061", "166416027586073741807257326976680661955", "284611276802282898536914677801286965394", "217671967738422690561963415122337892999", "359641825078289024075944051297270073", "310740553977934611220549268621759315340" ], "threshold": 0.9 }, "signature_version": "v1" }, { "signature_type": "Function", "target": { "function": "pinctrl_dt_to_map", "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-d7fc6f31", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35ab679e8bb5a81a4f922d3efbd43e32bce69274", "deprecated": false, "digest": { "length": 1229.0, "function_hash": "144494095599410376200413608720771063881" }, "signature_version": "v1" }, { "signature_type": "Function", "target": { "function": "pinctrl_dt_to_map", "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-e3ca530c", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c7e02ccc9fdc496fe51e440e3e66ac36509ca049", "deprecated": false, "digest": { "length": 1229.0, "function_hash": "144494095599410376200413608720771063881" }, "signature_version": "v1" }, { "signature_type": "Function", "target": { "function": "pinctrl_dt_to_map", "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-ec56423c", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47d253c485491caaf70d8cd8c0248ae26e42581f", "deprecated": false, "digest": { "length": 1229.0, "function_hash": "144494095599410376200413608720771063881" }, "signature_version": "v1" }, { "signature_type": "Function", "target": { "function": "pinctrl_dt_to_map", "file": "drivers/pinctrl/devicetree.c" }, "id": "CVE-2024-36959-eed7a036", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@06780473cb8a858d1d6cab2673e021b072a852d1", "deprecated": false, "digest": { "length": 1211.0, "function_hash": "265609536904682568955593624964530300260" }, "signature_version": "v1" } ] }