CVE-2024-46746
published high CVSS 3.1 · 7.8HID: amd_sfh: free driver_data after destroying hid device
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4f567b9f8141a86c7d878fadf136e5d1408e3e61 to < 86b4f5cf91ca03c08e3822ac89476a677a780bcc · 4f567b9f8141a86c7d878fadf136e5d1408e3e61 to < 775125c7fe38533aaa4b20769f5b5e62cc1170a0 · 4f567b9f8141a86c7d878fadf136e5d1408e3e61 to < 60dc4ee0428d70bcbb41436b6729d29f1cbdfb89 · 4f567b9f8141a86c7d878fadf136e5d1408e3e61 to < adb3e3c1ddb5a23b8b7122ef1913f528d728937c · 4f567b9f8141a86c7d878fadf136e5d1408e3e61 to < 97155021ae17b86985121b33cf8098bcde00d497 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.15.167 through 5.15.* (unaffected · semver) · 6.1.110 through 6.1.* (unaffected · semver) · 6.6.51 through 6.6.* (unaffected · semver) · 6.10.10 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.112-1 | DSA-5782-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-rtx86_64 | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-rtnoarch | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rtx86_64 | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-basex86_64 | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-develx86_64 | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debugx86_64 | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-rtnoarch | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-rtx86_64 | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.203.1 | SUSE-SU-2024:3566-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.73.1 | SUSE-SU-2024:3592-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.73.1 | SUSE-SU-2024:3592-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.73.1 | SUSE-SU-2024:3592-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azureaarch64 | Advisory build | 5.14.21-150500.33.69.1 | SUSE-SU-2024:3587-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azurex86_64 | Advisory build | 5.14.21-150500.33.69.1 | SUSE-SU-2024:3587-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develaarch64 | Advisory build | 5.14.21-150500.33.69.1 | SUSE-SU-2024:3587-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develx86_64 | Advisory build | 5.14.21-150500.33.69.1 | SUSE-SU-2024:3587-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.83.1.150500.6.37.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.83.1.150500.6.37.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.83.1.150500.6.37.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.83.1 | SUSE-SU-2024:3569-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: HID: amd_sfh: free driver_data after destroying hid device HID driver callbacks aren't called anymore once hid_destroy_device() has been called. Hence, hid driver_data should be freed only after the hid_destroy_device() function returned as driver_data is used in several callbacks. I observed a crash with kernel 6.10.0 on my T14s Gen 3, after enabling KASAN to debug memory allocation, I got this output: [ 13.050438] ================================================================== [ 13.054060] BUG: KASAN: slab-use-after-free in amd_sfh_get_report+0x3ec/0x530 [amd_sfh] [ 13.054809] psmouse serio1: trackpoint: Synaptics TrackPoint firmware: 0x02, buttons: 3/3 [ 13.056432] Read of size 8 at addr ffff88813152f408 by task (udev-worker)/479 [ 13.060970] CPU: 5 PID: 479 Comm: (udev-worker) Not tainted 6.10.0-arch1-2 #1 893bb55d7f0073f25c46adbb49eb3785fefd74b0 [ 13.063978] Hardware name: LENOVO 21CQCTO1WW/21CQCTO1WW, BIOS R22ET70W (1.40 ) 03/21/2024 [ 13.067860] Call Trace: [ 13.069383] input: TPPS/2 Synaptics TrackPoint as /devices/platform/i8042/serio1/input/input8 [ 13.071486] <TASK> [ 13.071492] dump_stack_lvl+0x5d/0x80 [ 13.074870] snd_hda_intel 0000:33:00.6: enabling device (0000 -> 0002) [ 13.078296] ? amd_sfh_get_report+0x3ec/0x530 [amd_sfh 05f43221435b5205f734cd9da29399130f398a38] [ 13.082199] print_report+0x174/0x505 [ 13.085776] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 13.089367] ? srso_alias_return_thunk+0x5/0xfbef5 [ 13.093255] ? amd_sfh_get_report+0x3ec/0x530 [amd_sfh 05f43221435b5205f734cd9da29399130f398a38] [ 13.097464] kasan_report+0xc8/0x150 [ 13.101461] ? amd_sfh_get_report+0x3ec/0x530 [amd_sfh 05f43221435b5205f734cd9da29399130f398a38] [ 13.105802] amd_sfh_get_report+0x3ec/0x530 [amd_sfh 05f43221435b5205f734cd9da29399130f398a38] [ 13.110303] amdtp_hid_request+0xb8/0x110 [amd_sfh 05f43221435b5205f734cd9da29399130f398a38] [ 13.114879] ? srso_alias_return_thunk+0x5/0xfbef5 [ 13.119450] sensor_hub_get_feature+0x1d3/0x540 [hid_sensor_hub 3f13be3016ff415bea03008d45d99da837ee3082] [ 13.124097] hid_sensor_parse_common_attributes+0x4d0/0xad0 [hid_sensor_iio_common c3a5cbe93969c28b122609768bbe23efe52eb8f5] [ 13.127404] ? srso_alias_return_thunk+0x5/0xfbef5 [ 13.131925] ? __pfx_hid_sensor_parse_common_attributes+0x10/0x10 [hid_sensor_iio_common c3a5cbe93969c28b122609768bbe23efe52eb8f5] [ 13.136455] ? _raw_spin_lock_irqsave+0x96/0xf0 [ 13.140197] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 13.143602] ? devm_iio_device_alloc+0x34/0x50 [industrialio 3d261d5e5765625d2b052be40e526d62b1d2123b] [ 13.147234] ? srso_alias_return_thunk+0x5/0xfbef5 [ 13.150446] ? __devm_add_action+0x167/0x1d0 [ 13.155061] hid_gyro_3d_probe+0x120/0x7f0 [hid_sensor_gyro_3d 63da36a143b775846ab2dbb86c343b401b5e3172] [ 13.158581] ? srso_alias_return_thunk+0x5/0xfbef5 [ 13.161814] platform_probe+0xa2/0x150 [ 13.165029] really_probe+0x1e3/0x8a0 [ 13.168243] __driver_probe_device+0x18c/0x370 [ 13.171500] driver_probe_device+0x4a/0x120 [ 13.175000] __driver_attach+0x190/0x4a0 [ 13.178521] ? __pfx___driver_attach+0x10/0x10 [ 13.181771] bus_for_each_dev+0x106/0x180 [ 13.185033] ? __pfx__raw_spin_lock+0x10/0x10 [ 13.188229] ? __pfx_bus_for_each_dev+0x10/0x10 [ 13.191446] ? srso_alias_return_thunk+0x5/0xfbef5 [ 13.194382] bus_add_driver+0x29e/0x4d0 [ 13.197328] driver_register+0x1a5/0x360 [ 13.200283] ? __pfx_hid_gyro_3d_platform_driver_init+0x10/0x10 [hid_sensor_gyro_3d 63da36a143b775846ab2dbb86c343b401b5e3172] [ 13.203362] do_one_initcall+0xa7/0x380 [ 13.206432] ? __pfx_do_one_initcall+0x10/0x10 [ 13.210175] ? srso_alias_return_thunk+0x5/0xfbef5 [ 13.213211] ? kasan_unpoison+0x44/0x70 [ 13.216688] do_init_module+0x238/0x750 [ 13.2196 ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Both halves are local — the free comes from amd_sfh driver teardown (probe-failure `cleanup:` path or PCI unbind/module unload) and the use comes from `hid_hw_request()` driven through IIO sysfs on the local machine. No network or adjacent-network input reaches `amd_sfh_get_report()`. AC:L - An unprivileged process can keep HID callbacks continuously in flight by looping reads of the world-readable `in_*_raw` IIO attributes, and `amdtp_wait_for_response()`'s 1500 ms wait plus `_hid_sensor_power_state()`'s `msleep_interruptible()` leave a multi-millisecond window that is retried at will; reclaiming a 64-byte kmalloc slot from userspace is a standard, reliable spray. PR:L - The entire use side — `hid_hw_request()`/`hid_hw_wait()` into `amd_sfh_get_report()`/`amd_sfh_set_report()` — is reachable by any local user through 0444 IIO sysfs attributes, and the free side is hit by the probe-time `amd_sfh_hid_client_init()` cleanup path that runs on its own without any privileged action, so no root or real capability is needed by the attacker. UI:N - The attacker drives the HID callbacks and the heap grooming itself; the freeing teardown occurs from driver lifecycle events (probe cleanup, unbind) rather than from any action a victim user must be tricked into performing. S:U - The freed `struct amdtp_hid_data` and the objects reached through the stale `cli_data` pointer all belong to the kernel itself, so impact stays inside the kernel's own security authority with no VM, IOMMU, or sandbox boundary crossed. C:H - `hid->driver_data` is dereferenced after `kfree()`, so a resprayed kmalloc-64 slot supplies an attacker-chosen `cli_data`, and the subsequent reads of `cli_data->num_hid_devices`, `->sensor_idx[i]`, `->in_data` and `->hid_sensor_hubs[i]` (fed back to userspace via `hid_input_report()` into IIO values) amount to arbitrary kernel memory disclosure. I:H - The same controlled `cli_data` yields writes at attacker-chosen addresses — `cli_data->report_id[i] = report_id`, `->request_done[i] = false`, `->cur_hid_dev = i`, and `list_add(&new->list, &req_list->list)` — while `schedule_delayed_work(&cli_data->work, 0)` and `wake_up_interruptible(&hid_data->hid_wait)` operate on freed/forged structures, giving a control-flow hijack primitive. A:H - The reported KASAN slab-use-after-free in `amd_sfh_get_report()` is immediately followed by a fatal `Oops: general protection fault, probably for non-canonical address`, so the bug reliably panics the kernel even without full exploitation.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4f567b9f8141a86c7d878fadf136e5d1408e3e61 to < 86b4f5cf91ca03c08e3822ac89476a677a780bcc (affected · git)4f567b9f8141a86c7d878fadf136e5d1408e3e61 to < 775125c7fe38533aaa4b20769f5b5e62cc1170a0 (affected · git)4f567b9f8141a86c7d878fadf136e5d1408e3e61 to < 60dc4ee0428d70bcbb41436b6729d29f1cbdfb89 (affected · git)4f567b9f8141a86c7d878fadf136e5d1408e3e61 to < adb3e3c1ddb5a23b8b7122ef1913f528d728937c (affected · git)4f567b9f8141a86c7d878fadf136e5d1408e3e61 to < 97155021ae17b86985121b33cf8098bcde00d497 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.11 (affected)0 to < 5.11 (unaffected · semver)5.15.167 through 5.15.* (unaffected · semver)6.1.110 through 6.1.* (unaffected · semver)6.6.51 through 6.6.* (unaffected · semver)6.10.10 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/60dc4ee0428d70bcbb41436b6729d29f1cbdfb89
- https://git.kernel.org/stable/c/775125c7fe38533aaa4b20769f5b5e62cc1170a0
- https://git.kernel.org/stable/c/86b4f5cf91ca03c08e3822ac89476a677a780bcc
- https://git.kernel.org/stable/c/97155021ae17b86985121b33cf8098bcde00d497
- https://git.kernel.org/stable/c/adb3e3c1ddb5a23b8b7122ef1913f528d728937c
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
HID: amd_sfh: free driver_data after destroying hid device
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 82505a1b9f1a9145222bd9edc02dbfc937e74775c1b9681a70cb06982c65a7c8
- Ingested
- 23 Sep 2026, 08:28:03 UTC
- Source record
- Official CVE record