[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CADJ_3a8WFrs5NouXNqS5WYe7rebFP+_A5CheeqAyD_p7DFJJcg@mail.gmail.com>
Date: Mon, 9 Sep 2019 12:35:05 -0300
From: Semmle Security Reports <security-reports@...mle.com>
To: linux-kernel@...r.kernel.org,
Semmle vulnerability research team - reports
<security-reports@...mle.com>
Subject: Multiple NULL deref on alloc_workqueue
There are multiple points in the Linux Kernel where alloc_workqueue is
not getting checked for errors and as a result, a potential NULL
dereference could occur.
I'm attaching a patch for some of them.
There are two cases I left untouched that requires a bit more refactoring:
https://github.com/torvalds/linux/blob/master/drivers/net/wireless/intel/iwlwifi/pcie/trans.c#L3656
https://github.com/torvalds/linux/blob/master/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c#L4508
Regards,
Semmle security team
View attachment "patch_nullderef.txt" of type "text/plain" (3397 bytes)
Powered by blists - more mailing lists