In the Linux kernel, the following vulnerability has been resolved: HID: uclogic: Add NULL check in uclogic_input_configured() devm_kasprintf() returns NULL when memory allocation fails. Currently, uclogic_input_configured() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | all |
| Linux | Linux | < af149a46890e8285d1618bd68b8d159bdb87fdb3 |
| Linux | Linux | < 98a4026b22ff440c7f47056481bcbbe442f607d6 |
| Linux | Linux | n/a |