No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Thinh Nguyen 7cb72dc08e usb: gadget: f_tcm: Don't free command immediately
commit c225d006a31949d673e646d585d9569bc28feeb9 upstream.

Don't prematurely free the command. Wait for the status completion of
the sense status. It can be freed then. Otherwise we will double-free
the command.

Fixes: cff834c16d ("usb-gadget/tcm: Convert to TARGET_SCF_ACK_KREF I/O krefs")
Cc: stable@vger.kernel.org
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/ae919ac431f16275e05ec819bdffb3ac5f44cbe1.1733876548.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-03-13 12:43:01 +01:00
arch hexagon: Fix unbalanced spinlock in die() 2025-03-13 12:43:01 +01:00
block
certs
crypto
Documentation
drivers usb: gadget: f_tcm: Don't free command immediately 2025-03-13 12:43:01 +01:00
fs NFSD: Reset cb_seq_status after NFS4ERR_DELAY 2025-03-13 12:43:01 +01:00
include module: Extend the preempt disabled section in dereference_symbol_descriptor(). 2025-03-13 12:42:59 +01:00
init
ipc
kernel PM: hibernate: Add error handling for syscore_suspend() 2025-03-13 12:42:59 +01:00
lib
LICENSES
mm
net vsock: Allow retrying on connect() failure 2025-03-13 12:43:00 +01:00
samples
scripts genksyms: fix memory leak when the same symbol is read from *.symref file 2025-03-13 12:43:00 +01:00
security
sound
tools ktest.pl: Check kernelrelease return in get_version 2025-03-13 12:43:01 +01:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
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.