cve-2021-47499
Vulnerability from cvelistv5
Published
2024-05-24 15:01
Modified
2024-11-04 12:07
Severity ?
EPSS score ?
Summary
iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-04T05:39:59.597Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/60a55b9d91ba99eb8cf015bc46dc2de05e168a15" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/3899700ddacbf7aaafadf44464fff3ff0d4e3307" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/a3730f74159ad00a28960c0efe2a931fe6fe6b45" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/8c163a14277115ca962103910ab4cce55e862ffb" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/ee86d0bad80bdcd11a87e188a596727f41b62320" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/14508fe13b1c578b3d2ba574f1d48b351975860c" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/70c9774e180d151abaab358108e3510a8e615215" } ], "title": "CVE Program Container" }, { "metrics": [ { "other": { "content": { "id": "CVE-2021-47499", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2024-09-10T15:35:49.142206Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-09-11T17:33:23.165Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "drivers/iio/accel/kxcjk-1013.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "8c1d43f3a3fc", "status": "affected", "version": "a25691c1f967", "versionType": "git" }, { "lessThan": "60a55b9d91ba", "status": "affected", "version": "a25691c1f967", "versionType": "git" }, { "lessThan": "3899700ddacb", "status": "affected", "version": "a25691c1f967", "versionType": "git" }, { "lessThan": "a3730f74159a", "status": "affected", "version": "a25691c1f967", "versionType": "git" }, { "lessThan": "8c163a142771", "status": "affected", "version": "a25691c1f967", "versionType": "git" }, { "lessThan": "ee86d0bad80b", "status": "affected", "version": "a25691c1f967", "versionType": "git" }, { "lessThan": "14508fe13b1c", "status": "affected", "version": "a25691c1f967", "versionType": "git" }, { "lessThan": "70c9774e180d", "status": "affected", "version": "a25691c1f967", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "drivers/iio/accel/kxcjk-1013.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "4.2" }, { "lessThan": "4.2", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "4.4.*", "status": "unaffected", "version": "4.4.295", "versionType": "semver" }, { "lessThanOrEqual": "4.9.*", "status": "unaffected", "version": "4.9.293", "versionType": "semver" }, { "lessThanOrEqual": "4.14.*", "status": "unaffected", "version": "4.14.258", "versionType": "semver" }, { "lessThanOrEqual": "4.19.*", "status": "unaffected", "version": "4.19.221", "versionType": "semver" }, { "lessThanOrEqual": "5.4.*", "status": "unaffected", "version": "5.4.165", "versionType": "semver" }, { "lessThanOrEqual": "5.10.*", "status": "unaffected", "version": "5.10.85", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.8", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "5.16", "versionType": "original_commit_for_fix" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: kxcjk-1013: Fix possible memory leak in probe and remove\n\nWhen ACPI type is ACPI_SMO8500, the data-\u003edready_trig will not be set, the\nmemory allocated by iio_triggered_buffer_setup() will not be freed, and cause\nmemory leak as follows:\n\nunreferenced object 0xffff888009551400 (size 512):\n comm \"i2c-SMO8500-125\", pid 911, jiffies 4294911787 (age 83.852s)\n hex dump (first 32 bytes):\n 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................\n 00 00 00 00 00 00 00 00 20 e2 e5 c0 ff ff ff ff ........ .......\n backtrace:\n [\u003c0000000041ce75ee\u003e] kmem_cache_alloc_trace+0x16d/0x360\n [\u003c000000000aeb17b0\u003e] iio_kfifo_allocate+0x41/0x130 [kfifo_buf]\n [\u003c000000004b40c1f5\u003e] iio_triggered_buffer_setup_ext+0x2c/0x210 [industrialio_triggered_buffer]\n [\u003c000000004375b15f\u003e] kxcjk1013_probe+0x10c3/0x1d81 [kxcjk_1013]\n\nFix it by remove data-\u003edready_trig condition in probe and remove." } ], "providerMetadata": { "dateUpdated": "2024-11-04T12:07:06.649Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc" }, { "url": "https://git.kernel.org/stable/c/60a55b9d91ba99eb8cf015bc46dc2de05e168a15" }, { "url": "https://git.kernel.org/stable/c/3899700ddacbf7aaafadf44464fff3ff0d4e3307" }, { "url": "https://git.kernel.org/stable/c/a3730f74159ad00a28960c0efe2a931fe6fe6b45" }, { "url": "https://git.kernel.org/stable/c/8c163a14277115ca962103910ab4cce55e862ffb" }, { "url": "https://git.kernel.org/stable/c/ee86d0bad80bdcd11a87e188a596727f41b62320" }, { "url": "https://git.kernel.org/stable/c/14508fe13b1c578b3d2ba574f1d48b351975860c" }, { "url": "https://git.kernel.org/stable/c/70c9774e180d151abaab358108e3510a8e615215" } ], "title": "iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove", "x_generator": { "engine": "bippy-9e1c9544281a" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2021-47499", "datePublished": "2024-05-24T15:01:42.684Z", "dateReserved": "2024-05-22T06:20:56.204Z", "dateUpdated": "2024-11-04T12:07:06.649Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2021-47499\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-24T15:15:09.607\",\"lastModified\":\"2024-05-24T18:09:20.027\",\"vulnStatus\":\"Awaiting Analysis\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\niio: accel: kxcjk-1013: Fix possible memory leak in probe and remove\\n\\nWhen ACPI type is ACPI_SMO8500, the data-\u003edready_trig will not be set, the\\nmemory allocated by iio_triggered_buffer_setup() will not be freed, and cause\\nmemory leak as follows:\\n\\nunreferenced object 0xffff888009551400 (size 512):\\n comm \\\"i2c-SMO8500-125\\\", pid 911, jiffies 4294911787 (age 83.852s)\\n hex dump (first 32 bytes):\\n 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................\\n 00 00 00 00 00 00 00 00 20 e2 e5 c0 ff ff ff ff ........ .......\\n backtrace:\\n [\u003c0000000041ce75ee\u003e] kmem_cache_alloc_trace+0x16d/0x360\\n [\u003c000000000aeb17b0\u003e] iio_kfifo_allocate+0x41/0x130 [kfifo_buf]\\n [\u003c000000004b40c1f5\u003e] iio_triggered_buffer_setup_ext+0x2c/0x210 [industrialio_triggered_buffer]\\n [\u003c000000004375b15f\u003e] kxcjk1013_probe+0x10c3/0x1d81 [kxcjk_1013]\\n\\nFix it by remove data-\u003edready_trig condition in probe and remove.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: iio: accel: kxcjk-1013: corrija la posible p\u00e9rdida de memoria en la sonda y elim\u00ednela. Cuando el tipo ACPI es ACPI_SMO8500, data-\u0026gt;dready_trig no se configurar\u00e1, la memoria asignada por iio_triggered_buffer_setup( ) no se liberar\u00e1 y provocar\u00e1 una p\u00e9rdida de memoria de la siguiente manera: objeto sin referencia 0xffff888009551400 (tama\u00f1o 512): comm \\\"i2c-SMO8500-125\\\", pid 911, jiffies 4294911787 (edad 83,852 s) volcado hexadecimal (primeros 32 bytes): 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 20 e2 e5 c0 ff ff ff ff .... .... ....... retroceso: [\u0026lt;0000000041ce75ee\u0026gt;] kmem_cache_alloc_trace+0x16d/0x360 [\u0026lt;000000000aeb17b0\u0026gt;] iio_kfifo_allocate+0x41/0x130 [kfifo_buf] [\u0026lt;000000004b40c1f5\u0026gt;] ed_buffer_setup_ext+0x2c/0x210 [industrialio_triggered_buffer] [ \u0026lt;000000004375b15f\u0026gt;] kxcjk1013_probe+0x10c3/0x1d81 [kxcjk_1013] Solucionarlo eliminando la condici\u00f3n data-\u0026gt;dready_trig en la sonda y elimin\u00e1ndola.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/14508fe13b1c578b3d2ba574f1d48b351975860c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3899700ddacbf7aaafadf44464fff3ff0d4e3307\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/60a55b9d91ba99eb8cf015bc46dc2de05e168a15\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/70c9774e180d151abaab358108e3510a8e615215\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8c163a14277115ca962103910ab4cce55e862ffb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a3730f74159ad00a28960c0efe2a931fe6fe6b45\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ee86d0bad80bdcd11a87e188a596727f41b62320\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.