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:   Mon, 23 Jan 2023 18:52:31 +0000
From:   "Wall, Stephen" <stephen.wall@...com.com>
To:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Possible bug in sc16is7xx UART driver

I believe there is a bug in the startup function of the sc16is7xx driver code.  I've forked the repo and made changes with a descriptive comment here: https://github.com/torvalds/linux/commit/7a9c8f240efa4d3d49ab5b52ac1cfbe79a701acb

To summarize here, the data sheet for the part says that the MCR register can only be accessed when LCR[0] is cleared, and the function was attempting to access it with LCR set to 0xbf.

Note that I am not currently using linux, and don't have hardware to test this on.  I found it as a result of searching for code to compare with a local driver implementation on FreeBSD running on custom hardware.

Please CC me as I get failures when trying to subscribe to the list.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ