CVE-2021-47133 (GCVE-0-2021-47133)
Vulnerability from cvelistv5
Published
2024-03-15 20:14
Modified
2025-05-04 07:04
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
HID: amd_sfh: Fix memory leak in amd_sfh_work
Kmemleak tool detected a memory leak in the amd_sfh driver.
====================
unreferenced object 0xffff88810228ada0 (size 32):
comm "insmod", pid 3968, jiffies 4295056001 (age 775.792s)
hex dump (first 32 bytes):
00 20 73 1f 81 88 ff ff 00 01 00 00 00 00 ad de . s.............
22 01 00 00 00 00 ad de 01 00 02 00 00 00 00 00 "...............
backtrace:
[<000000007b4c8799>] kmem_cache_alloc_trace+0x163/0x4f0
[<0000000005326893>] amd_sfh_get_report+0xa4/0x1d0 [amd_sfh]
[<000000002a9e5ec4>] amdtp_hid_request+0x62/0x80 [amd_sfh]
[<00000000b8a95807>] sensor_hub_get_feature+0x145/0x270 [hid_sensor_hub]
[<00000000fda054ee>] hid_sensor_parse_common_attributes+0x215/0x460 [hid_sensor_iio_common]
[<0000000021279ecf>] hid_accel_3d_probe+0xff/0x4a0 [hid_sensor_accel_3d]
[<00000000915760ce>] platform_probe+0x6a/0xd0
[<0000000060258a1f>] really_probe+0x192/0x620
[<00000000fa812f2d>] driver_probe_device+0x14a/0x1d0
[<000000005e79f7fd>] __device_attach_driver+0xbd/0x110
[<0000000070d15018>] bus_for_each_drv+0xfd/0x160
[<0000000013a3c312>] __device_attach+0x18b/0x220
[<000000008c7b4afc>] device_initial_probe+0x13/0x20
[<00000000e6e99665>] bus_probe_device+0xfe/0x120
[<00000000833fa90b>] device_add+0x6a6/0xe00
[<00000000fa901078>] platform_device_add+0x180/0x380
====================
The fix is to freeing request_list entry once the processed entry is
removed from the request_list.
References
Impacted products
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2021-47133", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2024-06-21T16:09:29.896332Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-06-21T16:09:37.925Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" }, { "providerMetadata": { "dateUpdated": "2024-08-04T05:24:39.960Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/29beadea66a226d744d5ffdcde6b984623053d24" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/5ad755fd2b326aa2bc8910b0eb351ee6aece21b1" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "drivers/hid/amd-sfh-hid/amd_sfh_client.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "29beadea66a226d744d5ffdcde6b984623053d24", "status": "affected", "version": "4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93", "versionType": "git" }, { "lessThan": "5ad755fd2b326aa2bc8910b0eb351ee6aece21b1", "status": "affected", "version": "4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "drivers/hid/amd-sfh-hid/amd_sfh_client.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "5.11" }, { "lessThan": "5.11", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "5.12.*", "status": "unaffected", "version": "5.12.10", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "5.13", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.12.10", "versionStartIncluding": "5.11", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.13", "versionStartIncluding": "5.11", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: amd_sfh: Fix memory leak in amd_sfh_work\n\nKmemleak tool detected a memory leak in the amd_sfh driver.\n\n====================\nunreferenced object 0xffff88810228ada0 (size 32):\n comm \"insmod\", pid 3968, jiffies 4295056001 (age 775.792s)\n hex dump (first 32 bytes):\n 00 20 73 1f 81 88 ff ff 00 01 00 00 00 00 ad de . s.............\n 22 01 00 00 00 00 ad de 01 00 02 00 00 00 00 00 \"...............\n backtrace:\n [\u003c000000007b4c8799\u003e] kmem_cache_alloc_trace+0x163/0x4f0\n [\u003c0000000005326893\u003e] amd_sfh_get_report+0xa4/0x1d0 [amd_sfh]\n [\u003c000000002a9e5ec4\u003e] amdtp_hid_request+0x62/0x80 [amd_sfh]\n [\u003c00000000b8a95807\u003e] sensor_hub_get_feature+0x145/0x270 [hid_sensor_hub]\n [\u003c00000000fda054ee\u003e] hid_sensor_parse_common_attributes+0x215/0x460 [hid_sensor_iio_common]\n [\u003c0000000021279ecf\u003e] hid_accel_3d_probe+0xff/0x4a0 [hid_sensor_accel_3d]\n [\u003c00000000915760ce\u003e] platform_probe+0x6a/0xd0\n [\u003c0000000060258a1f\u003e] really_probe+0x192/0x620\n [\u003c00000000fa812f2d\u003e] driver_probe_device+0x14a/0x1d0\n [\u003c000000005e79f7fd\u003e] __device_attach_driver+0xbd/0x110\n [\u003c0000000070d15018\u003e] bus_for_each_drv+0xfd/0x160\n [\u003c0000000013a3c312\u003e] __device_attach+0x18b/0x220\n [\u003c000000008c7b4afc\u003e] device_initial_probe+0x13/0x20\n [\u003c00000000e6e99665\u003e] bus_probe_device+0xfe/0x120\n [\u003c00000000833fa90b\u003e] device_add+0x6a6/0xe00\n [\u003c00000000fa901078\u003e] platform_device_add+0x180/0x380\n====================\n\nThe fix is to freeing request_list entry once the processed entry is\nremoved from the request_list." } ], "providerMetadata": { "dateUpdated": "2025-05-04T07:04:47.360Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/29beadea66a226d744d5ffdcde6b984623053d24" }, { "url": "https://git.kernel.org/stable/c/5ad755fd2b326aa2bc8910b0eb351ee6aece21b1" } ], "title": "HID: amd_sfh: Fix memory leak in amd_sfh_work", "x_generator": { "engine": "bippy-1.2.0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2021-47133", "datePublished": "2024-03-15T20:14:36.044Z", "dateReserved": "2024-03-04T18:12:48.840Z", "dateUpdated": "2025-05-04T07:04:47.360Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2021-47133\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-03-15T21:15:07.733\",\"lastModified\":\"2025-01-07T17:30:18.143\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nHID: amd_sfh: Fix memory leak in amd_sfh_work\\n\\nKmemleak tool detected a memory leak in the amd_sfh driver.\\n\\n====================\\nunreferenced object 0xffff88810228ada0 (size 32):\\n comm \\\"insmod\\\", pid 3968, jiffies 4295056001 (age 775.792s)\\n hex dump (first 32 bytes):\\n 00 20 73 1f 81 88 ff ff 00 01 00 00 00 00 ad de . s.............\\n 22 01 00 00 00 00 ad de 01 00 02 00 00 00 00 00 \\\"...............\\n backtrace:\\n [\u003c000000007b4c8799\u003e] kmem_cache_alloc_trace+0x163/0x4f0\\n [\u003c0000000005326893\u003e] amd_sfh_get_report+0xa4/0x1d0 [amd_sfh]\\n [\u003c000000002a9e5ec4\u003e] amdtp_hid_request+0x62/0x80 [amd_sfh]\\n [\u003c00000000b8a95807\u003e] sensor_hub_get_feature+0x145/0x270 [hid_sensor_hub]\\n [\u003c00000000fda054ee\u003e] hid_sensor_parse_common_attributes+0x215/0x460 [hid_sensor_iio_common]\\n [\u003c0000000021279ecf\u003e] hid_accel_3d_probe+0xff/0x4a0 [hid_sensor_accel_3d]\\n [\u003c00000000915760ce\u003e] platform_probe+0x6a/0xd0\\n [\u003c0000000060258a1f\u003e] really_probe+0x192/0x620\\n [\u003c00000000fa812f2d\u003e] driver_probe_device+0x14a/0x1d0\\n [\u003c000000005e79f7fd\u003e] __device_attach_driver+0xbd/0x110\\n [\u003c0000000070d15018\u003e] bus_for_each_drv+0xfd/0x160\\n [\u003c0000000013a3c312\u003e] __device_attach+0x18b/0x220\\n [\u003c000000008c7b4afc\u003e] device_initial_probe+0x13/0x20\\n [\u003c00000000e6e99665\u003e] bus_probe_device+0xfe/0x120\\n [\u003c00000000833fa90b\u003e] device_add+0x6a6/0xe00\\n [\u003c00000000fa901078\u003e] platform_device_add+0x180/0x380\\n====================\\n\\nThe fix is to freeing request_list entry once the processed entry is\\nremoved from the request_list.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HID: amd_sfh: Reparar p\u00e9rdida de memoria en amd_sfh_work La herramienta Kmemleak detect\u00f3 una p\u00e9rdida de memoria en el controlador amd_sfh. ==================== objeto sin referencia 0xffff88810228ada0 (tama\u00f1o 32): comm \\\"insmod\\\", pid 3968, jiffies 4295056001 (edad 775,792 s) volcado hexadecimal (primeros 32 bytes) : 00 20 73 1f 81 88 ff ff 00 01 00 00 00 00 ad de . s................. 22 01 00 00 00 00 ad de 01 00 02 00 00 00 00 00 \\\"................. retroceso: [\u0026lt; 000000007b4c8799\u0026gt;] kmem_cache_alloc_trace+0x163/0x4f0 [\u0026lt;0000000005326893\u0026gt;] amd_sfh_get_report+0xa4/0x1d0 [amd_sfh] [\u0026lt;000000002a9e5ec4\u0026gt;] amdtp_hid_request+0x6 2/0x80 [amd_sfh] [\u0026lt;00000000b8a95807\u0026gt;] sensor_hub_get_feature+0x145/0x270 [hid_sensor_hub] [\u0026lt;00000000fda054ee \u0026gt;] hid_sensor_parse_common_attributes+0x215/0x460 [hid_sensor_iio_common] [\u0026lt;0000000021279ecf\u0026gt;] hid_accel_3d_probe+0xff/0x4a0 [hid_sensor_accel_3d] [\u0026lt;00000000915760ce\u0026gt;] platform_probe+0x6a/0xd0 [ \u0026lt;0000000060258a1f\u0026gt;] very_probe+0x192/0x620 [\u0026lt;00000000fa812f2d\u0026gt;] driver_probe_device+ 0x14a/0x1d0 [\u0026lt;000000005e79f7fd\u0026gt;] __device_attach_driver+0xbd/0x110 [\u0026lt;0000000070d15018\u0026gt;] bus_for_each_drv+0xfd/0x160 [\u0026lt;0000000013a3c312\u0026gt;] __device_attach+0x1 8b/0x220 [\u0026lt;000000008c7b4afc\u0026gt;] dispositivo_sonda_inicial+0x13/0x20 [\u0026lt;00000000e6e99665\u0026gt;] bus_probe_dispositivo+ 0xfe/0x120 [\u0026lt;00000000833fa90b\u0026gt;] device_add+0x6a6/0xe00 [\u0026lt;00000000fa901078\u0026gt;] platform_device_add+0x180/0x380 ===================== La soluci\u00f3n es liberar la entrada request_list una vez que la entrada procesada se elimina de request_list.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-401\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.12.10\",\"matchCriteriaId\":\"27384800-AB48-4C08-891E-34B66F5FC4AA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"0CBAD0FC-C281-4666-AB2F-F8E6E1165DF7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"96AC23B2-D46A-49D9-8203-8E1BEDCA8532\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"DA610E30-717C-4700-9F77-A3C9244F3BFD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"1ECD33F5-85BE-430B-8F86-8D7BD560311D\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/29beadea66a226d744d5ffdcde6b984623053d24\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5ad755fd2b326aa2bc8910b0eb351ee6aece21b1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/29beadea66a226d744d5ffdcde6b984623053d24\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5ad755fd2b326aa2bc8910b0eb351ee6aece21b1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47133\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-21T16:09:29.896332Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-21T16:09:34.931Z\"}}], \"cna\": {\"title\": \"HID: amd_sfh: Fix memory leak in amd_sfh_work\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4b2c53d93a4b\", \"lessThan\": \"29beadea66a2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4b2c53d93a4b\", \"lessThan\": \"5ad755fd2b32\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/hid/amd-sfh-hid/amd_sfh_client.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.11\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.11\", \"versionType\": \"custom\"}, {\"status\": \"unaffected\", \"version\": \"5.12.10\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"5.12.*\"}, {\"status\": \"unaffected\", \"version\": \"5.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/hid/amd-sfh-hid/amd_sfh_client.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/29beadea66a226d744d5ffdcde6b984623053d24\"}, {\"url\": \"https://git.kernel.org/stable/c/5ad755fd2b326aa2bc8910b0eb351ee6aece21b1\"}], \"x_generator\": {\"engine\": \"bippy-a5840b7849dd\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nHID: amd_sfh: Fix memory leak in amd_sfh_work\\n\\nKmemleak tool detected a memory leak in the amd_sfh driver.\\n\\n====================\\nunreferenced object 0xffff88810228ada0 (size 32):\\n comm \\\"insmod\\\", pid 3968, jiffies 4295056001 (age 775.792s)\\n hex dump (first 32 bytes):\\n 00 20 73 1f 81 88 ff ff 00 01 00 00 00 00 ad de . s.............\\n 22 01 00 00 00 00 ad de 01 00 02 00 00 00 00 00 \\\"...............\\n backtrace:\\n [\u003c000000007b4c8799\u003e] kmem_cache_alloc_trace+0x163/0x4f0\\n [\u003c0000000005326893\u003e] amd_sfh_get_report+0xa4/0x1d0 [amd_sfh]\\n [\u003c000000002a9e5ec4\u003e] amdtp_hid_request+0x62/0x80 [amd_sfh]\\n [\u003c00000000b8a95807\u003e] sensor_hub_get_feature+0x145/0x270 [hid_sensor_hub]\\n [\u003c00000000fda054ee\u003e] hid_sensor_parse_common_attributes+0x215/0x460 [hid_sensor_iio_common]\\n [\u003c0000000021279ecf\u003e] hid_accel_3d_probe+0xff/0x4a0 [hid_sensor_accel_3d]\\n [\u003c00000000915760ce\u003e] platform_probe+0x6a/0xd0\\n [\u003c0000000060258a1f\u003e] really_probe+0x192/0x620\\n [\u003c00000000fa812f2d\u003e] driver_probe_device+0x14a/0x1d0\\n [\u003c000000005e79f7fd\u003e] __device_attach_driver+0xbd/0x110\\n [\u003c0000000070d15018\u003e] bus_for_each_drv+0xfd/0x160\\n [\u003c0000000013a3c312\u003e] __device_attach+0x18b/0x220\\n [\u003c000000008c7b4afc\u003e] device_initial_probe+0x13/0x20\\n [\u003c00000000e6e99665\u003e] bus_probe_device+0xfe/0x120\\n [\u003c00000000833fa90b\u003e] device_add+0x6a6/0xe00\\n [\u003c00000000fa901078\u003e] platform_device_add+0x180/0x380\\n====================\\n\\nThe fix is to freeing request_list entry once the processed entry is\\nremoved from the request_list.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-05-29T05:02:41.369Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2021-47133\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-06-21T16:09:37.925Z\", \"dateReserved\": \"2024-03-04T18:12:48.840Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-03-15T20:14:36.044Z\", \"assignerShortName\": \"Linux\"}", "dataType": "CVE_RECORD", "dataVersion": "5.1" } } }
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.
Loading…
Loading…