In the Linux kernel, the following vulnerability has been resolved:
iio: core: fix memleak in iiodeviceregister_sysfs
When iiodeviceregistersysfsgroup() fails, we should free iiodevopaque->chanattrgroup.attrs to prevent potential memleak.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52643.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52643.json"
[
{
"id": "CVE-2023-52643-01ff632c",
"target": {
"file": "drivers/iio/industrialio-core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@359f220d0e753bba840eac19ffedcdc816b532f2",
"digest": {
"threshold": 0.9,
"line_hashes": [
"12244015064708141524530948202599427977",
"178485474778644180383841201980130295511",
"131045858707948036984405811187196030364",
"166880207378001403237458393902369740385",
"112111657928132113731056838975823780687"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52643-0b369260",
"target": {
"file": "drivers/iio/industrialio-core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b90126c86d83912688501826643ea698f0df1728",
"digest": {
"threshold": 0.9,
"line_hashes": [
"12244015064708141524530948202599427977",
"178485474778644180383841201980130295511",
"131045858707948036984405811187196030364",
"166880207378001403237458393902369740385",
"112111657928132113731056838975823780687"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52643-182215e6",
"target": {
"function": "iio_device_register_sysfs",
"file": "drivers/iio/industrialio-core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@95a0d596bbd0552a78e13ced43f2be1038883c81",
"digest": {
"function_hash": "265787824584325864318618437547521296427",
"length": 1847.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52643-5961ae6d",
"target": {
"function": "iio_device_register_sysfs",
"file": "drivers/iio/industrialio-core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3db312e06851996e7fb27cb5a8ccab4c0f9cdb93",
"digest": {
"function_hash": "265787824584325864318618437547521296427",
"length": 1847.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52643-598300aa",
"target": {
"function": "iio_device_register_sysfs",
"file": "drivers/iio/industrialio-core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@359f220d0e753bba840eac19ffedcdc816b532f2",
"digest": {
"function_hash": "265787824584325864318618437547521296427",
"length": 1847.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52643-7778bee5",
"target": {
"function": "iio_device_register_sysfs",
"file": "drivers/iio/industrialio-core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b90126c86d83912688501826643ea698f0df1728",
"digest": {
"function_hash": "265787824584325864318618437547521296427",
"length": 1847.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52643-914dcead",
"target": {
"file": "drivers/iio/industrialio-core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363",
"digest": {
"threshold": 0.9,
"line_hashes": [
"12244015064708141524530948202599427977",
"178485474778644180383841201980130295511",
"131045858707948036984405811187196030364",
"166880207378001403237458393902369740385",
"112111657928132113731056838975823780687"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52643-b8814bb1",
"target": {
"file": "drivers/iio/industrialio-core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3db312e06851996e7fb27cb5a8ccab4c0f9cdb93",
"digest": {
"threshold": 0.9,
"line_hashes": [
"12244015064708141524530948202599427977",
"178485474778644180383841201980130295511",
"131045858707948036984405811187196030364",
"166880207378001403237458393902369740385",
"112111657928132113731056838975823780687"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52643-f45b3a55",
"target": {
"function": "iio_device_register_sysfs",
"file": "drivers/iio/industrialio-core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363",
"digest": {
"function_hash": "92448369188487233887388562471446836785",
"length": 1772.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52643-f5366c32",
"target": {
"file": "drivers/iio/industrialio-core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@95a0d596bbd0552a78e13ced43f2be1038883c81",
"digest": {
"threshold": 0.9,
"line_hashes": [
"12244015064708141524530948202599427977",
"178485474778644180383841201980130295511",
"131045858707948036984405811187196030364",
"166880207378001403237458393902369740385",
"112111657928132113731056838975823780687"
]
},
"signature_type": "Line"
}
]