CVE-2025-38557
BaseFortify
Publication date: 2025-08-19
Last updated on: 2025-11-28
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 6.11 (inc) to 6.12.42 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.15.10 (exc) |
| linux | linux_kernel | From 6.16 (inc) to 6.16.1 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's handling of certain Apple HID devices with the APPLE_MAGIC_BACKLIGHT quirk. A malicious device can send a malformed power feature-report with fewer data fields than expected. The kernel code assumes there are two fields and tries to access the second one, which can be NULL, leading to a NULL pointer dereference and a kernel crash.
How can this vulnerability impact me? :
If exploited, this vulnerability can cause the Linux kernel to crash due to a NULL pointer dereference triggered by a malicious HID device. This can lead to denial of service (system instability or reboot) on affected systems.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring the system logs for kernel crashes or oops messages related to apple_magic_backlight_report_set or NULL pointer dereferences. Specifically, look for messages similar to a general protection fault or KASAN null pointer dereference in the kernel logs (e.g., using dmesg or journalctl). Example commands to check for such issues include: 'dmesg | grep -i apple_magic_backlight_report_set' or 'journalctl -k | grep -i null-ptr-deref'.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation involves updating the Linux kernel to a version where this vulnerability is fixed, which includes validation of the number of fields in the backlight and power reports to prevent NULL pointer dereference. Until the update is applied, avoid connecting untrusted or potentially malicious HID devices with the APPLE_MAGIC_BACKLIGHT quirk to the system.