mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
8d5b857b29e7c8609cfc99c04fbcf7b7d67510c4
If the dts enable display_subsystem and vop, but the connector is disabled, the KASAN can detect the following error: [ 10.668100] rockchip-drm display-subsystem: failed to bind 27d00000.vop (ops vop2_component_ops): -19 [ 10.671051] BUG: KASAN: use-after-free in drm_mode_config_cleanup+0x15c/0x3f4 [ 10.671088] Read of size 8 at addr ffffff80c68958d8 by task swapper/0/1 [ 10.671116] [ 10.671137] CPU: 7 PID: 1 Comm: swapper/0 Not tainted 6.1.57 #4596 [ 10.671168] Hardware name: Rockchip RK3576 EVB1 V10 Board (DT) [ 10.671191] Call trace: [ 10.671211] dump_backtrace+0xf4/0x114 [ 10.671244] show_stack+0x18/0x24 [ 10.671274] dump_stack_lvl+0x6c/0x90 [ 10.671304] print_report+0x15c/0x4a0 [ 10.671333] kasan_report+0xc4/0x11c [ 10.671360] __asan_load8+0x94/0x98 [ 10.671388] drm_mode_config_cleanup+0x15c/0x3f4 [ 10.671417] rockchip_drm_bind+0x2b4/0x350 [ 10.671448] try_to_bring_up_aggregate_device+0x25c/0x2c0 [ 10.671479] component_master_add_with_match+0x1bc/0x204 [ 10.671509] rockchip_drm_platform_probe+0x3d4/0x3ec [ 10.671541] platform_probe+0xd4/0xf4 Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I96d7fe2322f560478d2ce51c35f6a14f44d39c7a
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
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
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%