CVE-2025-38557
publishedHID: apple: validate feature-report field count to prevent NULL pointer dereference
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux394ba612f9419ec5bfebbffb72212fd3b2094986 to < ba08cc6801ec5fb98f2d02b5f0c614c931845325 · 394ba612f9419ec5bfebbffb72212fd3b2094986 to < 7e15d1eaa88179c5185e57a38ab05fe852d0cb8d · 394ba612f9419ec5bfebbffb72212fd3b2094986 to < 00896c3f41cb6b74fec853386076115ba50baf0a · 394ba612f9419ec5bfebbffb72212fd3b2094986 to < 1bb3363da862e0464ec050eea2fb5472a36ad86b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.12.42 through 6.12.* (unaffected · semver) · 6.15.10 through 6.15.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 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 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
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: apple: validate feature-report field count to prevent NULL pointer dereference A malicious HID device with quirk APPLE_MAGIC_BACKLIGHT can trigger a NULL pointer dereference whilst the power feature-report is toggled and sent to the device in apple_magic_backlight_report_set(). The power feature-report is expected to have two data fields, but if the descriptor declares one field then accessing field[1] and dereferencing it in apple_magic_backlight_report_set() becomes invalid since field[1] will be NULL. An example of a minimal descriptor which can cause the crash is something like the following where the report with ID 3 (power report) only references a single 1-byte field. When hid core parses the descriptor it will encounter the final feature tag, allocate a hid_report (all members of field[] will be zeroed out), create field structure and populate it, increasing the maxfield to 1. The subsequent field[1] access and dereference causes the crash. Usage Page (Vendor Defined 0xFF00) Usage (0x0F) Collection (Application) Report ID (1) Usage (0x01) Logical Minimum (0) Logical Maximum (255) Report Size (8) Report Count (1) Feature (Data,Var,Abs) Usage (0x02) Logical Maximum (32767) Report Size (16) Report Count (1) Feature (Data,Var,Abs) Report ID (3) Usage (0x03) Logical Minimum (0) Logical Maximum (1) Report Size (8) Report Count (1) Feature (Data,Var,Abs) End Collection Here we see the KASAN splat when the kernel dereferences the NULL pointer and crashes: [ 15.164723] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN NOPTI [ 15.165691] KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] [ 15.165691] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted 6.15.0 #31 PREEMPT(voluntary) [ 15.165691] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 15.165691] RIP: 0010:apple_magic_backlight_report_set+0xbf/0x210 [ 15.165691] Call Trace: [ 15.165691] <TASK> [ 15.165691] apple_probe+0x571/0xa20 [ 15.165691] hid_device_probe+0x2e2/0x6f0 [ 15.165691] really_probe+0x1ca/0x5c0 [ 15.165691] __driver_probe_device+0x24f/0x310 [ 15.165691] driver_probe_device+0x4a/0xd0 [ 15.165691] __device_attach_driver+0x169/0x220 [ 15.165691] bus_for_each_drv+0x118/0x1b0 [ 15.165691] __device_attach+0x1d5/0x380 [ 15.165691] device_initial_probe+0x12/0x20 [ 15.165691] bus_probe_device+0x13d/0x180 [ 15.165691] device_add+0xd87/0x1510 [...] To fix this issue we should validate the number of fields that the backlight and power reports have and if they do not have the required number of fields then bail.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 394ba612f9419ec5bfebbffb72212fd3b2094986 to < ba08cc6801ec5fb98f2d02b5f0c614c931845325 (affected · git)394ba612f9419ec5bfebbffb72212fd3b2094986 to < 7e15d1eaa88179c5185e57a38ab05fe852d0cb8d (affected · git)394ba612f9419ec5bfebbffb72212fd3b2094986 to < 00896c3f41cb6b74fec853386076115ba50baf0a (affected · git)394ba612f9419ec5bfebbffb72212fd3b2094986 to < 1bb3363da862e0464ec050eea2fb5472a36ad86b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.11 (affected)0 to < 6.11 (unaffected · semver)6.12.42 through 6.12.* (unaffected · semver)6.15.10 through 6.15.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
HID: apple: validate feature-report field count to prevent NULL pointer dereference
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 130755cc2d1cd26e2816093ff50be269dddff7d8182abeafb0607aca93b0a28c
- Ingested
- 07 Nov 2026, 23:34:57 UTC
- Source record
- Official CVE record