Go to file
Lukas Czerner 2b4f664e1c ext4: fix potential memory leak in ext4_fc_record_modified_inode()
Bugzilla: https://bugzilla.redhat.com/2145193
Tested: xfstests
Upstream Status: upstream

commit 9305721a309fa1bd7c194e0d4a2335bf3b29dca4
Author: Ye Bin <yebin10@huawei.com>
    
    As krealloc may return NULL, in this case 'state->fc_modified_inodes'
    may not be freed by krealloc, but 'state->fc_modified_inodes' already
    set NULL. Then will lead to 'state->fc_modified_inodes' memory leak.
    
    Cc: stable@kernel.org
    Signed-off-by: Ye Bin <yebin10@huawei.com>
    Reviewed-by: Jan Kara <jack@suse.cz>
    Link: https://lore.kernel.org/r/20220921064040.3693255-2-yebin10@huawei.com
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
(cherry picked from commit 9305721a309fa1bd7c194e0d4a2335bf3b29dca4)

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
2023-01-12 16:15:36 +01:00
Documentation Merge: TDX core kernel enabling (support running Linux as guest) 2023-01-11 20:20:12 +00:00
LICENSES
arch Merge: TDX core kernel enabling (support running Linux as guest) 2023-01-11 20:20:12 +00:00
block Merge: block: Do not reread partition table on exclusively open device 2022-12-23 00:40:44 +00:00
certs certs: Move load_certificate_list() to be with the asymmetric keys code 2022-06-23 11:32:02 +01:00
crypto Merge: crypto: pcrypt - Delay write to padata->info 2023-01-02 15:34:42 +00:00
drivers Merge: Use MFST GUID instead of AMD GUID 2023-01-10 15:13:58 +00:00
fs ext4: fix potential memory leak in ext4_fc_record_modified_inode() 2023-01-12 16:15:36 +01:00
include mbcache: add functions to delete entry if unused 2023-01-12 16:15:33 +01:00
init Merge: BPF and XDP rebase to v5.18 2022-11-21 05:30:47 -05:00
ipc mm,hugetlb: remove mlock ulimit for SHM_HUGETLB 2022-10-12 07:27:31 -04:00
kernel Merge: TDX core kernel enabling (support running Linux as guest) 2023-01-11 20:20:12 +00:00
lib Merge: lib/irq_poll: Prevent softirq pending leak in irq_poll_cpu_dead() 2022-12-23 00:35:02 +00:00
mm mm: migrate: fix THP's mapcount on isolation 2022-12-04 07:31:56 +08:00
net Merge: net: Backport data race annotations in the networking stack (part 1). 2023-01-09 15:37:27 +00:00
redhat [redhat] kernel-5.14.0-233.el9 2023-01-11 20:21:55 +00:00
samples Merge: bpf, xdp: update to 5.19 2022-12-21 20:49:27 +00:00
scripts Merge: wireless: update to v6.0 2022-12-23 13:28:11 +00:00
security Merge: lockdown: Fix kexec lockdown bypass with ima policy 2022-12-23 00:41:53 +00:00
sound Merge: ALSA: backport for RHEL 9.2 2022-12-08 20:08:09 -03:00
tools Merge: TDX core kernel enabling (support running Linux as guest) 2023-01-11 20:20:12 +00:00
usr
virt KVM: Drop unnecessary initialization of "ops" in kvm_ioctl_create_device() 2022-10-25 13:53:38 +02:00
.clang-format
.cocciconfig
.get_maintainer.conf
.get_maintainer.ignore
.gitattributes
.gitignore
.gitlab-ci.yml Merge: Updates for automotive_full pipeline 2022-11-23 02:46:02 -05:00
.mailmap mailmap: remove my redhat.com address from RHEL9's .mailmap file 2022-09-26 09:34:38 -04:00
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS Merge: bonding: driver update to v6.1 2022-12-23 00:38:06 +00:00
Makefile Merge DRM changes from upstream v6.0..v6.0.8 2022-12-01 16:05:52 +01:00
Makefile.rhelver [redhat] kernel-5.14.0-233.el9 2023-01-11 20:21:55 +00:00
README
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.