An issue was discovered in the Linux kernel through 5.16-rc6. uapi_finalize in drivers/infiniband/core/uverbs_uapi.c lacks check of kmalloc_array().
A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Linux_kernel | Linux | * | 5.16.0 (excluding) |
Linux_kernel | Linux | 5.16.0 (including) | 5.16.0 (including) |
Linux_kernel | Linux | 5.16.0-rc1 (including) | 5.16.0-rc1 (including) |
Linux_kernel | Linux | 5.16.0-rc2 (including) | 5.16.0-rc2 (including) |
Linux_kernel | Linux | 5.16.0-rc3 (including) | 5.16.0-rc3 (including) |
Linux_kernel | Linux | 5.16.0-rc4 (including) | 5.16.0-rc4 (including) |
Linux_kernel | Linux | 5.16.0-rc5 (including) | 5.16.0-rc5 (including) |
Linux_kernel | Linux | 5.16.0-rc6 (including) | 5.16.0-rc6 (including) |