ASUS DSL-AC3100 Router Firmware BCM Kernel Driver Bug
Time for some kernel bugs. //******************************************************************************************** // misc. ioctl calls come to here. (flash, led, reset, kernel memory access, etc.) //******************************************************************************************** static int board_ioctl( struct inode *inode, struct file *flip, unsigned int command, unsigned long arg ) { int ret = 0; BOARD_IOCTL_PARMS ctrlParms; unsigned char ucaMacAddr[NVRAM_MAC_ADDRESS_LEN]; // ARCADYAN unsigned char ucaDectRfpi[NVRAM_ARCADYAN_DECT_RFPI_LEN]; unsigned char ucaDectRxtun[NVRAM_ARCADYAN_DECT_RXTUN_LEN]; /// ARCADYAN switch (command) { #if defined(BRCM_XDSL_DISTPOINT) case BOARD_IOCTL_FTTDP_DSP_BOOTER: download_dsp_booter(); break; #endif case BOARD_IOCTL_FLASH_WRITE: if (copy_from_user((void*)&ctrlParms, (void*)arg, sizeof(ctrlParms)) == 0) { sw