Go to file
Zhengchao Shao 576b444244 caif: fix memory leak in cfctrl_linkup_request()
BugLink: https://bugs.launchpad.net/bugs/2003914

[ Upstream commit fe69230f05897b3de758427b574fc98025dfc907 ]

When linktype is unknown or kzalloc failed in cfctrl_linkup_request(),
pkt is not released. Add release process to error path.

Fixes: b482cd2053 ("net-caif: add CAIF core protocol stack")
Fixes: 8d545c8f95 ("caif: Disconnect without waiting for response")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20230104065146.1153009-1-shaozhengchao@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2023-02-01 15:23:41 +01:00
Documentation ASoC: dt-bindings: wcd9335: fix reset line polarity in example 2023-02-01 15:22:30 +01:00
LICENSES
arch KVM: nVMX: Properly expose ENABLE_USR_WAIT_PAUSE control to L1 2023-02-01 15:23:36 +01:00
block blk-mq: fix possible memleak when register 'hctx' failed 2023-02-01 15:23:14 +01:00
certs certs/blacklist_hashes.c: fix const confusion in certs blacklist 2022-08-26 11:10:49 +02:00
crypto crypto: tcrypt - Fix multibuffer skcipher speed test mem leak 2023-02-01 15:22:45 +01:00
debian UBUNTU: [Packaging] Revoke and rotate to new signing key 2023-01-20 11:34:26 +01:00
debian.master UBUNTU: Upstream stable to v5.4.228 2023-02-01 15:22:04 +01:00
drivers drm/i915: unpin on error in intel_vgpu_shadow_mm_pin() 2023-02-01 15:23:41 +01:00
fs nfsd: shut down the NFSv4 state objects before the filecache 2023-02-01 15:23:37 +01:00
include SUNRPC: ensure the matching upcall is in-flight upon downcall 2023-02-01 15:23:37 +01:00
init init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash 2023-02-01 15:21:26 +01:00
ipc ipc/sem: Fix dangling sem_array access in semtimedop race 2023-02-01 15:21:48 +01:00
kernel tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_line 2023-02-01 15:23:25 +01:00
lib mm/highmem: Lift memcpy_[to|from]_page to core 2023-02-01 15:23:36 +01:00
mm mm, compaction: fix fast_isolate_around() to stay within boundaries 2023-02-01 15:23:20 +01:00
net caif: fix memory leak in cfctrl_linkup_request() 2023-02-01 15:23:41 +01:00
samples samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe() 2023-02-01 15:22:56 +01:00
scripts scripts/faddr2line: Fix regression in name resolution on ppc64le 2023-02-01 15:21:36 +01:00
security device_cgroup: Roll back to original exceptions after copy failure 2023-02-01 15:23:28 +01:00
sound ALSA: line6: fix stack overflow in line6_midi_transmit 2023-02-01 15:23:19 +01:00
tools perf tools: Fix resources leak in perf_data__open_dir() 2023-02-01 15:23:40 +01:00
ubuntu
usr
virt KVM: arm64: vgic: Fix exit condition in scan_its_table() 2023-01-06 08:44:09 -08:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: add Chandan as xfs maintainer for 5.4.y 2022-11-24 10:28:26 +01:00
Makefile Linux 5.4.228 2023-02-01 15:22:03 +01:00
README
Ubuntu.md UBUNTU: [Packaging] update Ubuntu.md 2021-11-05 16:43:42 +01:00
dropped.txt
snapcraft.yaml
update-dkms-versions UBUNTU: [Packaging] resync update-dkms-versions helper 2021-11-26 15:10:03 +01:00
update-version-dkms UBUNTU: [Packaging] switch to kernel-versions 2021-09-20 18:50:21 +02: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.