In the Linux kernel, the following vulnerability has been resolved:
platform/x86: mxm-wmi: fix memleak in mxmwmicall_mxds|mx
The ACPI buffer memory (out.pointer) returned by wmievaluatemethod() is not freed after the call, so it leads to memory leak.
The method results in ACPI buffer is not used, so just pass NULL to wmievaluatemethod() which fixes the memory leak.
[
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"173110927107285041011761398899390636619",
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"115798748141562529763277613781404908029"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-50521-0b4e7a72",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17cd8c46cbec4e6ad593fb9159928b8e7608c11a",
"target": {
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "170145976772070245933697082042836080269",
"length": 429.0
},
"deprecated": false,
"id": "CVE-2022-50521-15e97bde",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14bb4bde3b7b2584734b13747b345caeeb41bea3",
"target": {
"function": "mxm_wmi_call_mxmx",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "85704745068442345131086057823018584213",
"length": 419.0
},
"deprecated": false,
"id": "CVE-2022-50521-173dc908",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cf81501356c9e898ad94b2369ffc805f83f7d7b",
"target": {
"function": "mxm_wmi_call_mxds",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"173110927107285041011761398899390636619",
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"115798748141562529763277613781404908029"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-50521-1a307cd5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@727cc0147f5066e359aca65cc6cc5e6d64cc15d8",
"target": {
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "170145976772070245933697082042836080269",
"length": 429.0
},
"deprecated": false,
"id": "CVE-2022-50521-1ecbf72f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cf81501356c9e898ad94b2369ffc805f83f7d7b",
"target": {
"function": "mxm_wmi_call_mxmx",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "170145976772070245933697082042836080269",
"length": 429.0
},
"deprecated": false,
"id": "CVE-2022-50521-269f6a39",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17cd8c46cbec4e6ad593fb9159928b8e7608c11a",
"target": {
"function": "mxm_wmi_call_mxmx",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "170145976772070245933697082042836080269",
"length": 429.0
},
"deprecated": false,
"id": "CVE-2022-50521-2df7c6c9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@727cc0147f5066e359aca65cc6cc5e6d64cc15d8",
"target": {
"function": "mxm_wmi_call_mxmx",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "170145976772070245933697082042836080269",
"length": 429.0
},
"deprecated": false,
"id": "CVE-2022-50521-32e5c0fa",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@379e7794c5e7485193d25d73614fbbd1e1387f6f",
"target": {
"function": "mxm_wmi_call_mxmx",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "85704745068442345131086057823018584213",
"length": 419.0
},
"deprecated": false,
"id": "CVE-2022-50521-37c25b42",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14bb4bde3b7b2584734b13747b345caeeb41bea3",
"target": {
"function": "mxm_wmi_call_mxds",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "85704745068442345131086057823018584213",
"length": 419.0
},
"deprecated": false,
"id": "CVE-2022-50521-3b02407e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b0f81b0808235967868e01336c976e840217108",
"target": {
"function": "mxm_wmi_call_mxds",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"173110927107285041011761398899390636619",
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"115798748141562529763277613781404908029"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-50521-428b7485",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cf81501356c9e898ad94b2369ffc805f83f7d7b",
"target": {
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"173110927107285041011761398899390636619",
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"115798748141562529763277613781404908029"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-50521-433ad705",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14bb4bde3b7b2584734b13747b345caeeb41bea3",
"target": {
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "170145976772070245933697082042836080269",
"length": 429.0
},
"deprecated": false,
"id": "CVE-2022-50521-446ee3ef",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b0f81b0808235967868e01336c976e840217108",
"target": {
"function": "mxm_wmi_call_mxmx",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "170145976772070245933697082042836080269",
"length": 429.0
},
"deprecated": false,
"id": "CVE-2022-50521-57f458db",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50ac517d6f5348b276f1f663799cf85dce521518",
"target": {
"function": "mxm_wmi_call_mxmx",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "170145976772070245933697082042836080269",
"length": 429.0
},
"deprecated": false,
"id": "CVE-2022-50521-6d68bd56",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87426ce3bd57ad414b6e2436434ef8128986a9a5",
"target": {
"function": "mxm_wmi_call_mxmx",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "85704745068442345131086057823018584213",
"length": 419.0
},
"deprecated": false,
"id": "CVE-2022-50521-7bfd2188",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@379e7794c5e7485193d25d73614fbbd1e1387f6f",
"target": {
"function": "mxm_wmi_call_mxds",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"173110927107285041011761398899390636619",
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"115798748141562529763277613781404908029"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-50521-b1011cf7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50ac517d6f5348b276f1f663799cf85dce521518",
"target": {
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "85704745068442345131086057823018584213",
"length": 419.0
},
"deprecated": false,
"id": "CVE-2022-50521-bd931d0a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@727cc0147f5066e359aca65cc6cc5e6d64cc15d8",
"target": {
"function": "mxm_wmi_call_mxds",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "85704745068442345131086057823018584213",
"length": 419.0
},
"deprecated": false,
"id": "CVE-2022-50521-bed49900",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17cd8c46cbec4e6ad593fb9159928b8e7608c11a",
"target": {
"function": "mxm_wmi_call_mxds",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"173110927107285041011761398899390636619",
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"115798748141562529763277613781404908029"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-50521-cb365546",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@379e7794c5e7485193d25d73614fbbd1e1387f6f",
"target": {
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "85704745068442345131086057823018584213",
"length": 419.0
},
"deprecated": false,
"id": "CVE-2022-50521-e0032ec9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87426ce3bd57ad414b6e2436434ef8128986a9a5",
"target": {
"function": "mxm_wmi_call_mxds",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"173110927107285041011761398899390636619",
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"115798748141562529763277613781404908029"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-50521-e2a304fa",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87426ce3bd57ad414b6e2436434ef8128986a9a5",
"target": {
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "85704745068442345131086057823018584213",
"length": 419.0
},
"deprecated": false,
"id": "CVE-2022-50521-e8a17699",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50ac517d6f5348b276f1f663799cf85dce521518",
"target": {
"function": "mxm_wmi_call_mxds",
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"173110927107285041011761398899390636619",
"37103673612484382548407145414646815889",
"76687231729290826861201401193552775165",
"181770489074119939327331161686143410494",
"135390400550090538856027785279504310746",
"27139466637557327737910131332247039438",
"69028771909217047864852326544651251270",
"159930101936107191914474622450382096339",
"115798748141562529763277613781404908029"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-50521-f63a9e2e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b0f81b0808235967868e01336c976e840217108",
"target": {
"file": "drivers/platform/x86/mxm-wmi.c"
},
"signature_type": "Line"
}
]