Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f78bb490b16ecb506d4904be4b00bf9aad6588f9 before a9f58479a1a2c6f72907679c4df2f4ed92b05b39; affected 51f49e3927ad545cec0c0afb86856ccacd9f085d before 00d52b2fa6083dd0f5c44f3604cd1bad1f9177dc; affected f283805d984343b2f216e2f4c6c7af265b9542ae before 01b76cc8ca243fc3376b035aa326bbc4f03d384b; affected dd613a4e45f8d35f49a63a2064e5308fa5619e29 before ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9; affected dd613a4e45f8d35f49a63a2064e5308fa5619e29 before 94e7272b636a0677082e0604609e4c471e0a2caf; affected dd613a4e45f8d35f49a63a2064e5308fa5619e29 before b616453d719ee1b8bf2ea6f6cc6c6258a572a590; affected dd613a4e45f8d35f49a63a2064e5308fa5619e29 before bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1e; affected 4c2707dfee5847dc0b5ecfbe512c29c93832fdc4; affected 58f0d1c0e494a88f301bf455da7df4366f179bbb; affected 6.1.53 before 6.1.140; affected 6.4.16 before 6.5; affected 6.5.3 before 6.6 |
| Linux / Linux | affected 6.6; unaffected 0 before 6.6; unaffected 6.1.140 through 6.1.*; unaffected 6.6.92 through 6.6.*; unaffected 6.12.30 through 6.12.*; unaffected 6.14.8 through 6.14.*; unaffected 6.15 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/a9f58479a1a2c6f72907679c4df2f4ed92b05b39
- https://git.kernel.org/stable/c/00d52b2fa6083dd0f5c44f3604cd1bad1f9177dc
- https://git.kernel.org/stable/c/01b76cc8ca243fc3376b035aa326bbc4f03d384b
- https://git.kernel.org/stable/c/ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9
- https://git.kernel.org/stable/c/94e7272b636a0677082e0604609e4c471e0a2caf
- https://git.kernel.org/stable/c/b616453d719ee1b8bf2ea6f6cc6c6258a572a590
- https://git.kernel.org/stable/c/bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1e
ADP enrichment
No English description supplied.