On Mon, Nov 04, 2019 at 04:46:35PM +0800, kernel test robot wrote: > [ 35.312661] BUG: kernel NULL pointer dereference, address: 00000000000005d8 > [ 35.316225] #PF: supervisor read access in kernel mode > [ 35.319178] #PF: error_code(0x0000) - not-present page > [ 35.322078] PGD 800000021b569067 P4D 800000021b569067 PUD 21b688067 PMD 0 > [ 35.325629] Oops: 0000 [#1] SMP PTI > [ 35.327965] CPU: 0 PID: 3148 Comm: trinity-c5 Not tainted 5.4.0-rc3-01107-g327fecdaf39ab #12 > [ 35.332863] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 > [ 35.337932] RIP: 0010:sctp_packet_transmit+0x767/0x822 Right, as asoc can be NULL by then. (per the check on it a few lines before the change here). Marcelo