Yatish Kumar Singh ee5ae5fad6 serial: msm_geni_serial: Avoid UAF memory access in exit path
In issue case, geni_wake pointer is initialized while UART probe
and as a part of UART exit path wakeup_source_unregister is being
called to free the geni_wake pointer from memory but still caller
function can have the garbage value of geni_wake pointer which is
being accessed in uart_remove_one_port and leading to UAF.

To fix the issue we will make geni_wake pointer value as NULL after
freeing it to from memory.

Change-Id: I213026286bef9774f7a426b9348a7302d3e67ff0
Signed-off-by: Yatish Kumar Singh <quic_yatishku@quicinc.com>
2023-01-27 13:30:03 +05:30
2022-12-15 10:13:46 +05:30
…
…
2023-01-03 10:33:09 +05:30
…
…
…
…
…
…
…

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.
S
Description
Android Kernel for Motorola Moto G52 (sm6225) — Nethunter Release
Readme
2 GiB
0 Stars 1 Watchers 0 Forks