Tao Huang 3be30bd08d ASoC: es7202: Add missing sentinel to es7202_dt_ids
BUG: KASAN: global-out-of-bounds in of_match_node+0x70/0xc0
Read of size 1 at addr ffffff900a0f06f0 by task swapper/0/1

CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.19.161 #54
Hardware name: Rockchip RK3566 EVB1 DDR4 V10 Board (DT)
Call trace:
 dump_backtrace+0x0/0x1bc
 show_stack+0x14/0x1c
 dump_stack+0xd8/0x118
 print_address_description+0x80/0x2e4
 __kasan_report+0x164/0x1c4
 kasan_report+0x10/0x18
 __asan_load1+0x4c/0x54
 of_match_node+0x70/0xc0
 of_match_device+0x30/0x44
 i2c_of_match_device+0x30/0xb8
 i2c_device_match+0x48/0xc0
 __driver_attach+0x44/0x1b0
 bus_for_each_dev+0xa0/0xe8
 driver_attach+0x30/0x3c
 bus_add_driver+0x198/0x2a0
 driver_register+0xf0/0x1c4
 i2c_register_driver+0x6c/0xd0
 es7202_modinit+0x1c/0x48
 do_one_initcall+0xb0/0x344
 do_initcall_level+0xec/0x1fc
 do_basic_setup+0x68/0x80
 kernel_init_freeable+0x108/0x194
 kernel_init+0x14/0x2a0
 ret_from_fork+0x10/0x18

The buggy address belongs to the variable:
 es7202_dt_ids+0x190/0x200

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic41116912bc323005787878ab29318ad38efd07e
2021-02-08 11:40:01 +08:00
2019-02-10 00:33:21 +08:00
2019-02-10 00:33:21 +08:00
2019-02-10 00:33:21 +08:00
2019-08-29 19:45:37 +08:00
2019-08-29 19:45:37 +08: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.
See Documentation/00-INDEX for a list of what is contained in each file.

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%