Cody Xie ea444b6c97 mfd: display-serdes: Fix out-of-bounds access issue
Checked with kasan, the buggy stacktrace:

BUG: KASAN: global-out-of-bounds in serdes_bridge_probe+0x2bc/0x568
Read of size 20 at addr ffffffc009a87240 by task swapper/0/1

CPU: 3 PID: 1 Comm: swapper/0 Tainted: G    B              6.1.84 #7
Hardware name: Rockchip RK3576 VEHICLE EVB V20 MOS LINUX Board (DT)
Call trace:
 dump_backtrace+0x11c/0x128
 show_stack+0x1c/0x28
 dump_stack_lvl+0x64/0x7c
 print_report+0x150/0x498
 kasan_report+0x80/0xf0
 kasan_check_range+0xe8/0x198
 __asan_loadN+0x20/0x28
 serdes_bridge_probe+0x2bc/0x568
 platform_probe+0x90/0x108
 really_probe+0x118/0x548
 __driver_probe_device+0xc0/0x1f0
 driver_probe_device+0x60/0x168

Fixes: 563845b474 ("mfd: display-serdes: add serdes display driver support base on mfd arch")

Change-Id: Ib0f6a674d75e0f9861163b0803f327963c3a85e5
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
2024-12-24 14:07:06 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2022-09-28 09:02:20 +02:00
2024-07-15 09:23:49 +02:00

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.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%