A potential bug in drivers/tty/serial/jsm/jsm.ko
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: andria...@ispras.ru
A potential bug in drivers/tty/serial/jsm/jsm.ko
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: andria...@ispras.ru