Name of the Vulnerable Software and Affected Versions:
Linux kernel versions prior to 6.6.61
Description:
A null-ptr-deref issue was reported by KASAN in the Linux kernel, specifically in the `target alloc device()` function. This issue occurs when memory allocation for device queues fails, and the device is freed by `dev->transport->free device()`, but `dev->transport` is not initialized at that time, leading to a null pointer reference problem. The estimated number of potentially affected devices worldwide is not specified. There is no information about real-world incidents where this issue was exploited.
Recommendations:
For Linux kernel versions prior to 6.6.61, update to version 6.6.61 or later to resolve the issue. As a temporary workaround, consider disabling the `target alloc device()` function until a patch is available. Restrict access to the vulnerable `target core mod` module to minimize the risk of exploitation. Avoid using the `dev->transport->free device()` function in the affected code path until the issue is resolved.