1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 18:43:33 -05:00
No description
Find a file
Erik Kaneda 32cf1a12ca ACPICA: Interpreter: fix memory leak by using existing buffer
ACPICA commit 52d1da5dcbd79a722b70f02a1a83f04088f51ff6

There was a memory leak that ocurred when a _CID object is defined as
a package containing string objects. When _CID is checked for any
possible repairs, it calls a helper function to repair _HID (because
_CID basically contains multiple _HID entries).

The _HID repair function assumes that string objects are standalone
objects that are not contained inside of any packages. The _HID
repair function replaces the string object with a brand new object
and attempts to delete the old object by decrementing the reference
count of the old object. Strings inside of packages have a reference
count of 2 so the _HID repair function leaves this object in a
dangling state and causes a memory leak.

Instead of allocating a brand new object and removing the old object,
use the existing object when repairing the _HID object.

Link: https://github.com/acpica/acpica/commit/52d1da5d
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2020-12-01 18:13:30 +01:00
arch Yet two more places which invoke tracing from RCU disabled regions in the 2020-11-29 11:19:26 -08:00
block block/keyslot-manager: prevent crash when num_slots=1 2020-11-20 11:52:52 -07:00
certs
crypto
Documentation Kbuild fixes for v5.10 2020-11-28 10:42:30 -08:00
drivers ACPICA: Interpreter: fix memory leak by using existing buffer 2020-12-01 18:13:30 +01:00
fs More EFI fixes for v5.10-rc: 2020-11-29 10:18:53 -08:00
include ACPICA: Add 5 new UUIDs to the known UUID table 2020-12-01 18:13:30 +01:00
init Urgent printk fix for 5.10 2020-11-27 10:38:36 -08:00
ipc
kernel Yet two more places which invoke tracing from RCU disabled regions in the 2020-11-29 11:19:26 -08:00
lib
LICENSES
mm mm: fix VM_BUG_ON(PageTail) and BUG_ON(PageWriteback) 2020-11-24 15:23:19 -08:00
net linux-can-fixes-for-5.10-20201127 2020-11-27 11:13:39 -08:00
samples
scripts Kbuild fixes for v5.10 2020-11-28 10:42:30 -08:00
security
sound
tools perf probe: Change function definition check due to broken DWARF 2020-11-27 14:36:15 -03:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap ARM: 2020-11-27 11:04:13 -08:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Char/misc driver fixes for 5.10-rc6 2020-11-28 10:04:36 -08:00
Makefile Linux 5.10-rc6 2020-11-29 15:50:50 -08:00
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.