A NULL pointer dereference vulnerability was identified and fixed in the Linux kernel's ACPI SBS driver. The flaw occurs when memory allocation fails in acpi_sbs_probe(), leading to a NULL pointer dereference in the error handling path. This happens because the error path calls acpi_sbs_remove(), which attempts to access driver data that was never set due to the allocation failure. The fix involves returning an error immediately upon allocation failure without calling the cleanup function that dereferences the NULL pointer.