In the Linux kernel, the following vulnerability has been resolved:
cpufreq: Avoid a bad reference count on CPU node
In the parseperfdomain function, if the call to ofparsephandlewithargs returns an error, then the reference to the CPU device node that was acquired at the start of the function would not be properly decremented.
Address this by declaring the variable with the _free(devicenode) cleanup attribute.
[
{
"id": "CVE-2024-50012-6968ecbf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47cb1d9278f179df8250304ec41009e3e836a926",
"digest": {
"length": 303.0,
"function_hash": "266395896331679828978551296136755618679"
},
"target": {
"file": "include/linux/cpufreq.h",
"function": "parse_perf_domain"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function"
},
{
"id": "CVE-2024-50012-698358d4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77f88b17387a017416babf1e6488fa17682287e2",
"digest": {
"line_hashes": [
"310130288597727655655155638697009591865",
"30241294275382206610163700100761995389",
"336066104523223957383670596036203655053",
"84611268181509748186109033366841034865",
"56311960323765248878112222269051160966",
"220194902605390927924083050265127417954",
"53206264687437675709467741099267078843",
"173321960543032833467679792112486239009",
"95149509126977220415836251331788910428",
"70549665695833940700943985372500659014"
],
"threshold": 0.9
},
"target": {
"file": "include/linux/cpufreq.h"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line"
},
{
"id": "CVE-2024-50012-6fd4d502",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c0f02536fffbbec71aced36d52a765f8c4493dc2",
"digest": {
"line_hashes": [
"310130288597727655655155638697009591865",
"30241294275382206610163700100761995389",
"336066104523223957383670596036203655053",
"84611268181509748186109033366841034865",
"56311960323765248878112222269051160966",
"220194902605390927924083050265127417954",
"53206264687437675709467741099267078843",
"173321960543032833467679792112486239009",
"95149509126977220415836251331788910428",
"70549665695833940700943985372500659014"
],
"threshold": 0.9
},
"target": {
"file": "include/linux/cpufreq.h"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line"
},
{
"id": "CVE-2024-50012-9ebd2ef9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c3d8387839252f1a0fc6367f314446e4a2ebd0b",
"digest": {
"length": 303.0,
"function_hash": "266395896331679828978551296136755618679"
},
"target": {
"file": "include/linux/cpufreq.h",
"function": "parse_perf_domain"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function"
},
{
"id": "CVE-2024-50012-9fcc4c45",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0f41f383b5a61a2bf6429a449ebba7fb08179d81",
"digest": {
"length": 303.0,
"function_hash": "266395896331679828978551296136755618679"
},
"target": {
"file": "include/linux/cpufreq.h",
"function": "parse_perf_domain"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function"
},
{
"id": "CVE-2024-50012-a9445805",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77f88b17387a017416babf1e6488fa17682287e2",
"digest": {
"length": 303.0,
"function_hash": "266395896331679828978551296136755618679"
},
"target": {
"file": "include/linux/cpufreq.h",
"function": "parse_perf_domain"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function"
},
{
"id": "CVE-2024-50012-d1c492d8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47cb1d9278f179df8250304ec41009e3e836a926",
"digest": {
"line_hashes": [
"310130288597727655655155638697009591865",
"30241294275382206610163700100761995389",
"336066104523223957383670596036203655053",
"84611268181509748186109033366841034865",
"56311960323765248878112222269051160966",
"220194902605390927924083050265127417954",
"53206264687437675709467741099267078843",
"173321960543032833467679792112486239009",
"95149509126977220415836251331788910428",
"70549665695833940700943985372500659014"
],
"threshold": 0.9
},
"target": {
"file": "include/linux/cpufreq.h"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line"
},
{
"id": "CVE-2024-50012-d93e641f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c3d8387839252f1a0fc6367f314446e4a2ebd0b",
"digest": {
"line_hashes": [
"310130288597727655655155638697009591865",
"30241294275382206610163700100761995389",
"336066104523223957383670596036203655053",
"84611268181509748186109033366841034865",
"56311960323765248878112222269051160966",
"220194902605390927924083050265127417954",
"53206264687437675709467741099267078843",
"173321960543032833467679792112486239009",
"95149509126977220415836251331788910428",
"70549665695833940700943985372500659014"
],
"threshold": 0.9
},
"target": {
"file": "include/linux/cpufreq.h"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line"
},
{
"id": "CVE-2024-50012-f4e4c778",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c0f02536fffbbec71aced36d52a765f8c4493dc2",
"digest": {
"length": 303.0,
"function_hash": "266395896331679828978551296136755618679"
},
"target": {
"file": "include/linux/cpufreq.h",
"function": "parse_perf_domain"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function"
},
{
"id": "CVE-2024-50012-f6c85ddc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0f41f383b5a61a2bf6429a449ebba7fb08179d81",
"digest": {
"line_hashes": [
"310130288597727655655155638697009591865",
"30241294275382206610163700100761995389",
"336066104523223957383670596036203655053",
"84611268181509748186109033366841034865",
"56311960323765248878112222269051160966",
"220194902605390927924083050265127417954",
"53206264687437675709467741099267078843",
"173321960543032833467679792112486239009",
"95149509126977220415836251331788910428",
"70549665695833940700943985372500659014"
],
"threshold": 0.9
},
"target": {
"file": "include/linux/cpufreq.h"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line"
}
]