lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 12 Dec 2017 11:34:18 +0800
From:   Jia-Ju Bai <baijiaju1990@...il.com>
To:     klassert@...hematik.tu-chemnitz.de, vortex@...ld.com,
        becker@...ld.com, David Miller <davem@...emloft.net>
Cc:     netdev@...r.kernel.org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [BUG] 3com/3c59x: two possible sleep-in-atomic bugs

According to drivers/net/ethernet/3com/3c59x.c, the kernel module may 
sleep in the interrupt handler.
The function call paths are:
boomerang_interrupt (interrupt handler)
   vortex_error
     vortex_up
       pci_set_power_state --> may sleep
       pci_enable_device --> may sleep

vortex_interrupt (interrupt handler)
   vortex_error
     vortex_up
       pci_set_power_state --> may sleep
       pci_enable_device --> may sleep

I do not find a good way to fix them, so I only report.
These possible bugs are found by my static analysis tool (DSAC) and 
checked by my code review.


Thanks,
Jia-Ju Bai

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ