mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 06:04:48 -04:00
f0fa739a3448e48b75e96c962853b73b1a11d6e1
The struct platform_device memdups the provided data pointer requiring
us to free the template we construct during lpe_audio_platdev_create():
unreferenced object 0xffff88026eafe400 (size 512):
comm "insmod", pid 6850, jiffies 4295060179 (age 22.300s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<000000008e4a834c>] intel_audio_init+0x9/0x30 [i915]
[<000000001360e195>] i915_driver_load+0x802/0x14e0 [i915]
[<00000000ab3f0e99>] i915_pci_probe+0x29/0x70 [i915]
[<0000000016330ee5>] pci_device_probe+0x9c/0x120
[<000000000257d054>] driver_probe_device+0x307/0x470
[<000000009f0a6cb6>] __driver_attach+0x98/0xe0
[<0000000031b46e58>] bus_for_each_dev+0x57/0x80
[<000000000e28239d>] bus_add_driver+0x1bd/0x260
[<00000000abbe5161>] driver_register+0x52/0xc0
[<000000005c6e23d4>] do_one_initcall+0x36/0x150
[<00000000a55002f4>] do_init_module+0x56/0x1d7
[<00000000e48f2217>] load_module+0x23c8/0x2910
[<000000002b60bf61>] SyS_finit_module+0xb8/0xd0
[<0000000041cbad96>] entry_SYSCALL_64_fastpath+0x17/0x70
[<000000009f1d37ab>] 0xffffffffffffffff
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171209222133.31880-1-chris@chris-wilson.co.uk
…
Linux kernel ============ This file was moved to Documentation/admin-guide/README.rst Please notice that there are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. 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
Languages
C
97%
Assembly
1%
Shell
0.6%
Rust
0.5%
Python
0.4%
Other
0.3%