Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1462805

A potential data race in drivers/isdn/hardware/eicon/diva_mnt.ko

From Pavel Andrianov <andrianov@ispras.ru>
Newsgroups linux.kernel
Subject A potential data race in drivers/isdn/hardware/eicon/diva_mnt.ko
Date 2016-08-15 16:10 +0200
Message-ID <s6qKt-6Bj-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

A potential data race in drivers/isdn/hardware/eicon/diva_mnt.ko Pavel Andrianov <andrianov@ispras.ru> - 2016-08-15 16:10 +0200

csiph-web