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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49835.json",
"cna_assigner": "Linux"
}[
{
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-0a1cbce1",
"digest": {
"function_hash": "126202648874720990362381791669580699647",
"length": 424.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02dea987ec1cac712c78e75d224ceb9bb73519ed",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-119c4d67",
"digest": {
"function_hash": "126202648874720990362381791669580699647",
"length": 424.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@90b7d055e2b5f39429f9a9e3815b48a48530ef28",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-3c005ea3",
"digest": {
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02dea987ec1cac712c78e75d224ceb9bb73519ed",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-3e5c554b",
"digest": {
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@90b7d055e2b5f39429f9a9e3815b48a48530ef28",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-45e902fd",
"digest": {
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-471f6a76",
"digest": {
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-4a85874d",
"digest": {
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7140d7aaf93da6a665b454f91bb4dc6b1de218bd",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-73168bd3",
"digest": {
"function_hash": "126202648874720990362381791669580699647",
"length": 424.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b688a3ec235222d9a84e43a48a6f31acb95baf2d",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-82fda800",
"digest": {
"function_hash": "126202648874720990362381791669580699647",
"length": 424.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7140d7aaf93da6a665b454f91bb4dc6b1de218bd",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-8379dad2",
"digest": {
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b688a3ec235222d9a84e43a48a6f31acb95baf2d",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-88fe8846",
"digest": {
"function_hash": "126202648874720990362381791669580699647",
"length": 424.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-94f5174f",
"digest": {
"function_hash": "126202648874720990362381791669580699647",
"length": 424.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-bd721ed6",
"digest": {
"line_hashes": [
"293395291345700299398602159567552940575",
"259858350509095406749237791298951829700",
"295200191318098941942999115749134283789",
"147724643234869290702078682176478405576",
"299239513135359436666303325663886908309"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"function": "add_widget_node",
"file": "sound/hda/hdac_sysfs.c"
},
"id": "CVE-2022-49835-f491b60d",
"digest": {
"function_hash": "126202648874720990362381791669580699647",
"length": 424.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49835.json"