[Bug 206680] kbd race attacks

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 27 18:49:25 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206680

--- Comment #2 from CTurt <cturt at hardenedbsd.org> ---
Correct.

I cited `kbd_realloc_array` in my comment because it is the most blatant
example of code which is no longer thread safe, following the removal of
`spltty` and `splx`.

However, it is not just `kbd_realloc_array` which needs to be sorted. The whole
of this source file seems to rely on using `spltty` to prevent race attacks,
which means multiple locks will probably need to be used.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list