Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1476217
| From | Pavel Andrianov <andrianov@ispras.ru> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | A potential bug in drivers/tty/serial/jsm/jsm.ko |
| Date | 2016-09-05 11:20 +0200 |
| Message-ID | <sdYel-1Lf-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi! There is a potential bug in drivers/tty/serial/jsm/jsm.ko. In neo_parse_isr, line 764 a field ch->ch_flags is updated under spinlock protection. In neo_copy_data_from_uart_to_queue the same values are written to the field without any protection, as the function is always called without locks. Should the same lock be used in these cases? -- 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
A potential bug in drivers/tty/serial/jsm/jsm.ko Pavel Andrianov <andrianov@ispras.ru> - 2016-09-05 11:20 +0200
csiph-web