cve-2021-47088
Vulnerability from cvelistv5
Published
2024-03-04 18:10
Modified
2024-11-04 11:59
Severity ?
EPSS score ?
Summary
mm/damon/dbgfs: protect targets destructions with kdamond_lock
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-04T05:24:39.821Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/330c6117a82c16a9a365a51cec5c9ab30b13245c" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/34796417964b8d0aef45a99cf6c2d20cebe33733" } ], "title": "CVE Program Container" }, { "metrics": [ { "other": { "content": { "id": "CVE-2021-47088", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2024-09-10T15:56:11.291300Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-09-11T17:33:34.176Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "mm/damon/dbgfs.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "330c6117a82c", "status": "affected", "version": "4bc05954d007", "versionType": "git" }, { "lessThan": "34796417964b", "status": "affected", "version": "4bc05954d007", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "mm/damon/dbgfs.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "5.15" }, { "lessThan": "5.15", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.12", "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\nmm/damon/dbgfs: protect targets destructions with kdamond_lock\n\nDAMON debugfs interface iterates current monitoring targets in\n\u0027dbgfs_target_ids_read()\u0027 while holding the corresponding\n\u0027kdamond_lock\u0027. However, it also destructs the monitoring targets in\n\u0027dbgfs_before_terminate()\u0027 without holding the lock. This can result in\na use_after_free bug. This commit avoids the race by protecting the\ndestruction with the corresponding \u0027kdamond_lock\u0027." } ], "providerMetadata": { "dateUpdated": "2024-11-04T11:59:10.376Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/330c6117a82c16a9a365a51cec5c9ab30b13245c" }, { "url": "https://git.kernel.org/stable/c/34796417964b8d0aef45a99cf6c2d20cebe33733" } ], "title": "mm/damon/dbgfs: protect targets destructions with kdamond_lock", "x_generator": { "engine": "bippy-9e1c9544281a" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2021-47088", "datePublished": "2024-03-04T18:10:26.511Z", "dateReserved": "2024-02-29T22:33:44.299Z", "dateUpdated": "2024-11-04T11:59:10.376Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2021-47088\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-03-04T18:15:07.510\",\"lastModified\":\"2024-03-05T13:41:01.900\",\"vulnStatus\":\"Awaiting Analysis\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmm/damon/dbgfs: protect targets destructions with kdamond_lock\\n\\nDAMON debugfs interface iterates current monitoring targets in\\n\u0027dbgfs_target_ids_read()\u0027 while holding the corresponding\\n\u0027kdamond_lock\u0027. However, it also destructs the monitoring targets in\\n\u0027dbgfs_before_terminate()\u0027 without holding the lock. This can result in\\na use_after_free bug. This commit avoids the race by protecting the\\ndestruction with the corresponding \u0027kdamond_lock\u0027.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mm/damon/dbgfs: protege las destrucciones de objetivos con kdamond_lock La interfaz DAMON debugfs itera los objetivos de monitoreo actuales en \u0027dbgfs_target_ids_read()\u0027 mientras mantiene el correspondiente \u0027kdamond_lock\u0027. Sin embargo, tambi\u00e9n destruye los objetivos de monitoreo en \u0027dbgfs_before_terminate()\u0027 sin mantener el bloqueo. Esto puede provocar un error use_after_free. Este compromiso evita la ejecuci\u00f3n protegiendo la destrucci\u00f3n con el correspondiente \u0027kdamond_lock\u0027.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/330c6117a82c16a9a365a51cec5c9ab30b13245c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/34796417964b8d0aef45a99cf6c2d20cebe33733\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading...
Loading...
- 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.