cve-2023-52884
Vulnerability from cvelistv5
Published
2024-06-21 10:18
Modified
2024-08-02 23:18
Severity
Summary
Input: cyapa - add missing input core locking to suspend/resume functions
References
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2023-52884", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2024-06-24T17:50:27.641770Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-06-24T17:50:50.592Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" }, { "providerMetadata": { "dateUpdated": "2024-08-02T23:18:41.179Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/f99809fdeb50d65bcbc1661ef391af94eebb8a75" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/9400caf566f65c703e99d95f87b00c4b445627a7" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/a4c638ab25786bd5aab5978fe51b2b9be16a4ebd" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/a5fc298fa8f67cf1f0e1fc126eab70578cd40adc" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/7b4e0b39182cf5e677c1fc092a3ec40e621c25b6" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "drivers/input/mouse/cyapa.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "f99809fdeb50", "status": "affected", "version": "d69f0a43c677", "versionType": "git" }, { "lessThan": "9400caf566f6", "status": "affected", "version": "d69f0a43c677", "versionType": "git" }, { "lessThan": "a4c638ab2578", "status": "affected", "version": "d69f0a43c677", "versionType": "git" }, { "lessThan": "a5fc298fa8f6", "status": "affected", "version": "d69f0a43c677", "versionType": "git" }, { "lessThan": "7b4e0b39182c", "status": "affected", "version": "d69f0a43c677", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "drivers/input/mouse/cyapa.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": "custom" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.161", "versionType": "custom" }, { "lessThanOrEqual": "6.1.*", "status": "unaffected", "version": "6.1.93", "versionType": "custom" }, { "lessThanOrEqual": "6.6.*", "status": "unaffected", "version": "6.6.33", "versionType": "custom" }, { "lessThanOrEqual": "6.9.*", "status": "unaffected", "version": "6.9.4", "versionType": "custom" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "6.10", "versionType": "original_commit_for_fix" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: cyapa - add missing input core locking to suspend/resume functions\n\nGrab input-\u003emutex during suspend/resume functions like it is done in\nother input drivers. This fixes the following warning during system\nsuspend/resume cycle on Samsung Exynos5250-based Snow Chromebook:\n\n------------[ cut here ]------------\nWARNING: CPU: 1 PID: 1680 at drivers/input/input.c:2291 input_device_enabled+0x68/0x6c\nModules linked in: ...\nCPU: 1 PID: 1680 Comm: kworker/u4:12 Tainted: G W 6.6.0-rc5-next-20231009 #14109\nHardware name: Samsung Exynos (Flattened Device Tree)\nWorkqueue: events_unbound async_run_entry_fn\n unwind_backtrace from show_stack+0x10/0x14\n show_stack from dump_stack_lvl+0x58/0x70\n dump_stack_lvl from __warn+0x1a8/0x1cc\n __warn from warn_slowpath_fmt+0x18c/0x1b4\n warn_slowpath_fmt from input_device_enabled+0x68/0x6c\n input_device_enabled from cyapa_gen3_set_power_mode+0x13c/0x1dc\n cyapa_gen3_set_power_mode from cyapa_reinitialize+0x10c/0x15c\n cyapa_reinitialize from cyapa_resume+0x48/0x98\n cyapa_resume from dpm_run_callback+0x90/0x298\n dpm_run_callback from device_resume+0xb4/0x258\n device_resume from async_resume+0x20/0x64\n async_resume from async_run_entry_fn+0x40/0x15c\n async_run_entry_fn from process_scheduled_works+0xbc/0x6a8\n process_scheduled_works from worker_thread+0x188/0x454\n worker_thread from kthread+0x108/0x140\n kthread from ret_from_fork+0x14/0x28\nException stack(0xf1625fb0 to 0xf1625ff8)\n...\n---[ end trace 0000000000000000 ]---\n...\n------------[ cut here ]------------\nWARNING: CPU: 1 PID: 1680 at drivers/input/input.c:2291 input_device_enabled+0x68/0x6c\nModules linked in: ...\nCPU: 1 PID: 1680 Comm: kworker/u4:12 Tainted: G W 6.6.0-rc5-next-20231009 #14109\nHardware name: Samsung Exynos (Flattened Device Tree)\nWorkqueue: events_unbound async_run_entry_fn\n unwind_backtrace from show_stack+0x10/0x14\n show_stack from dump_stack_lvl+0x58/0x70\n dump_stack_lvl from __warn+0x1a8/0x1cc\n __warn from warn_slowpath_fmt+0x18c/0x1b4\n warn_slowpath_fmt from input_device_enabled+0x68/0x6c\n input_device_enabled from cyapa_gen3_set_power_mode+0x13c/0x1dc\n cyapa_gen3_set_power_mode from cyapa_reinitialize+0x10c/0x15c\n cyapa_reinitialize from cyapa_resume+0x48/0x98\n cyapa_resume from dpm_run_callback+0x90/0x298\n dpm_run_callback from device_resume+0xb4/0x258\n device_resume from async_resume+0x20/0x64\n async_resume from async_run_entry_fn+0x40/0x15c\n async_run_entry_fn from process_scheduled_works+0xbc/0x6a8\n process_scheduled_works from worker_thread+0x188/0x454\n worker_thread from kthread+0x108/0x140\n kthread from ret_from_fork+0x14/0x28\nException stack(0xf1625fb0 to 0xf1625ff8)\n...\n---[ end trace 0000000000000000 ]---" } ], "providerMetadata": { "dateUpdated": "2024-07-15T06:46:38.923Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/f99809fdeb50d65bcbc1661ef391af94eebb8a75" }, { "url": "https://git.kernel.org/stable/c/9400caf566f65c703e99d95f87b00c4b445627a7" }, { "url": "https://git.kernel.org/stable/c/a4c638ab25786bd5aab5978fe51b2b9be16a4ebd" }, { "url": "https://git.kernel.org/stable/c/a5fc298fa8f67cf1f0e1fc126eab70578cd40adc" }, { "url": "https://git.kernel.org/stable/c/7b4e0b39182cf5e677c1fc092a3ec40e621c25b6" } ], "title": "Input: cyapa - add missing input core locking to suspend/resume functions", "x_generator": { "engine": "bippy-c9c4e1df01b2" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2023-52884", "datePublished": "2024-06-21T10:18:03.669Z", "dateReserved": "2024-05-21T15:35:00.782Z", "dateUpdated": "2024-08-02T23:18:41.179Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2023-52884\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-06-21T11:15:09.560\",\"lastModified\":\"2024-06-21T11:22:01.687\",\"vulnStatus\":\"Awaiting Analysis\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nInput: cyapa - add missing input core locking to suspend/resume functions\\n\\nGrab input-\u003emutex during suspend/resume functions like it is done in\\nother input drivers. This fixes the following warning during system\\nsuspend/resume cycle on Samsung Exynos5250-based Snow Chromebook:\\n\\n------------[ cut here ]------------\\nWARNING: CPU: 1 PID: 1680 at drivers/input/input.c:2291 input_device_enabled+0x68/0x6c\\nModules linked in: ...\\nCPU: 1 PID: 1680 Comm: kworker/u4:12 Tainted: G W 6.6.0-rc5-next-20231009 #14109\\nHardware name: Samsung Exynos (Flattened Device Tree)\\nWorkqueue: events_unbound async_run_entry_fn\\n unwind_backtrace from show_stack+0x10/0x14\\n show_stack from dump_stack_lvl+0x58/0x70\\n dump_stack_lvl from __warn+0x1a8/0x1cc\\n __warn from warn_slowpath_fmt+0x18c/0x1b4\\n warn_slowpath_fmt from input_device_enabled+0x68/0x6c\\n input_device_enabled from cyapa_gen3_set_power_mode+0x13c/0x1dc\\n cyapa_gen3_set_power_mode from cyapa_reinitialize+0x10c/0x15c\\n cyapa_reinitialize from cyapa_resume+0x48/0x98\\n cyapa_resume from dpm_run_callback+0x90/0x298\\n dpm_run_callback from device_resume+0xb4/0x258\\n device_resume from async_resume+0x20/0x64\\n async_resume from async_run_entry_fn+0x40/0x15c\\n async_run_entry_fn from process_scheduled_works+0xbc/0x6a8\\n process_scheduled_works from worker_thread+0x188/0x454\\n worker_thread from kthread+0x108/0x140\\n kthread from ret_from_fork+0x14/0x28\\nException stack(0xf1625fb0 to 0xf1625ff8)\\n...\\n---[ end trace 0000000000000000 ]---\\n...\\n------------[ cut here ]------------\\nWARNING: CPU: 1 PID: 1680 at drivers/input/input.c:2291 input_device_enabled+0x68/0x6c\\nModules linked in: ...\\nCPU: 1 PID: 1680 Comm: kworker/u4:12 Tainted: G W 6.6.0-rc5-next-20231009 #14109\\nHardware name: Samsung Exynos (Flattened Device Tree)\\nWorkqueue: events_unbound async_run_entry_fn\\n unwind_backtrace from show_stack+0x10/0x14\\n show_stack from dump_stack_lvl+0x58/0x70\\n dump_stack_lvl from __warn+0x1a8/0x1cc\\n __warn from warn_slowpath_fmt+0x18c/0x1b4\\n warn_slowpath_fmt from input_device_enabled+0x68/0x6c\\n input_device_enabled from cyapa_gen3_set_power_mode+0x13c/0x1dc\\n cyapa_gen3_set_power_mode from cyapa_reinitialize+0x10c/0x15c\\n cyapa_reinitialize from cyapa_resume+0x48/0x98\\n cyapa_resume from dpm_run_callback+0x90/0x298\\n dpm_run_callback from device_resume+0xb4/0x258\\n device_resume from async_resume+0x20/0x64\\n async_resume from async_run_entry_fn+0x40/0x15c\\n async_run_entry_fn from process_scheduled_works+0xbc/0x6a8\\n process_scheduled_works from worker_thread+0x188/0x454\\n worker_thread from kthread+0x108/0x140\\n kthread from ret_from_fork+0x14/0x28\\nException stack(0xf1625fb0 to 0xf1625ff8)\\n...\\n---[ end trace 0000000000000000 ]---\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/7b4e0b39182cf5e677c1fc092a3ec40e621c25b6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9400caf566f65c703e99d95f87b00c4b445627a7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a4c638ab25786bd5aab5978fe51b2b9be16a4ebd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a5fc298fa8f67cf1f0e1fc126eab70578cd40adc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f99809fdeb50d65bcbc1661ef391af94eebb8a75\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading...