In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda: fix potential memleak in 'addwidgetnode'
As 'kobjectadd' may allocated memory for 'kobject->name' when return error. And in this function, if call 'kobjectadd' failed didn't free kobject. So call 'kobject_put' to recycling resources.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02dea987ec1cac712c78e75d224ceb9bb73519ed",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-0a1cbce1",
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Function",
"digest": {
"length": 424.0,
"function_hash": "126202648874720990362381791669580699647"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@90b7d055e2b5f39429f9a9e3815b48a48530ef28",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-119c4d67",
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Function",
"digest": {
"length": 424.0,
"function_hash": "126202648874720990362381791669580699647"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02dea987ec1cac712c78e75d224ceb9bb73519ed",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-3c005ea3",
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@90b7d055e2b5f39429f9a9e3815b48a48530ef28",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-3e5c554b",
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-45e902fd",
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-471f6a76",
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7140d7aaf93da6a665b454f91bb4dc6b1de218bd",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-4a85874d",
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b688a3ec235222d9a84e43a48a6f31acb95baf2d",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-73168bd3",
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Function",
"digest": {
"length": 424.0,
"function_hash": "126202648874720990362381791669580699647"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@455d99bd6baf19688048b6d42d9fa74eae27f93b",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-754d5dc7",
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Function",
"digest": {
"length": 424.0,
"function_hash": "126202648874720990362381791669580699647"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@455d99bd6baf19688048b6d42d9fa74eae27f93b",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-7eb72650",
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7140d7aaf93da6a665b454f91bb4dc6b1de218bd",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-82fda800",
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Function",
"digest": {
"length": 424.0,
"function_hash": "126202648874720990362381791669580699647"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b688a3ec235222d9a84e43a48a6f31acb95baf2d",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-8379dad2",
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-88fe8846",
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Function",
"digest": {
"length": 424.0,
"function_hash": "126202648874720990362381791669580699647"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-94f5174f",
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Function",
"digest": {
"length": 424.0,
"function_hash": "126202648874720990362381791669580699647"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-bd721ed6",
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49835-f491b60d",
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"signature_type": "Function",
"digest": {
"length": 424.0,
"function_hash": "126202648874720990362381791669580699647"
}
}
]