No description
Find a file
Ilpo Järvinen 8c40253c92 serial: rda-uart: Don't allow CS5-6
[ Upstream commit 098333a9c7 ]

Only CS7 and CS8 are supported but CSIZE is not sanitized after
fallthrough from CS5 or CS6 to CS7.

Set CSIZE correctly so that userspace knows the effective value.
Incorrect CSIZE also results in miscalculation of the frame bits in
tty_get_char_size() or in its predecessor where the roughly the same
code is directly within uart_update_timeout().

Fixes: c10b13325c (tty: serial: Add RDA8810PL UART driver)
Cc: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220519081808.3776-4-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:44:51 +02:00
arch ARM: dts: aspeed: ast2600-evb: Enable RX delay for MAC0/MAC1 2022-06-14 18:44:50 +02:00
block
certs
crypto
Documentation dt-bindings: remoteproc: mediatek: Make l1tcm reg exclusive to mt819x 2022-06-14 18:44:50 +02:00
drivers serial: rda-uart: Don't allow CS5-6 2022-06-14 18:44:51 +02:00
fs ksmbd: fix reference count leak in smb_check_perm_dacl() 2022-06-14 18:44:50 +02:00
include export: fix string handling of namespace in EXPORT_SYMBOL_NS 2022-06-14 18:44:49 +02:00
init
ipc
kernel
lib
LICENSES
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.