lkml.org 
[lkml]   [2016]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectA potential data race in drivers/isdn/hardware/eicon/diva_mnt.ko
Date
Hi!

There is a potential data race in drivers/isdn/hardware/eicon/diva_mnt.ko

In diva_maint_init there is an initialization of spinlocks (debug.c:
lines 245, 252) and a queue (debug.c: line 237). These objects are used
in handlers of divas_main_fops, for instance, divas_maint_read. These
ops are registered in divas_maint_register_chrdev, which is called
(divamnt.c: line 206) before initialization (divamnt.c: line 211). Thus,
there may occur a situation when the handlers of divas_main_fops occur
to uninitialized resources.

--
Pavel Andrianov
Linux Verification Center, ISPRAS
web: http://linuxtesting.org
e-mail: andrianov@ispras.ru

\
 
 \ /
  Last update: 2016-09-17 09:56    [W:0.047 / U:7.080 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site