mirror of https://github.com/torvalds/linux.git
The w1_uart_probe() function calls w1_uart_serdev_open() (which includes devm_serdev_device_open()) before setting the client ops via serdev_device_set_client_ops(). This ordering can trigger a NULL pointer dereference in the serdev controller's receive_buf handler, as it assumes serdev->ops is valid when SERPORT_ACTIVE is set. This is similar to the issue fixed in commit |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| amd_axi_w1.c | ||
| ds2482.c | ||
| ds2490.c | ||
| matrox_w1.c | ||
| mxc_w1.c | ||
| omap_hdq.c | ||
| sgi_w1.c | ||
| w1-gpio.c | ||
| w1-uart.c | ||