udf: Fix memory leak when mounting
Jan Kara authored
commit a7be300d upstream.

udf_process_sequence() allocates temporary array for processing
partition descriptors on volume which it fails to free. Free the array
when it is not needed anymore.

Fixes: 7b78fd02

 ("udf: Fix handling of Partition Descriptors")
CC: stable@vger.kernel.org
Reported-by: syzbot+128f4dd6e796c98b3760@syzkaller.appspotmail.com
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
f707ccb2
Name Last commit Last update
Documentation media: videodev2.h: RGB BT2020 and HSV are always full range
LICENSES LICENSES: Rename other to deprecated
arch perf/x86/amd/ibs: Fix raw sample data accumulation
block block: ratelimit handle_bad_sector() message
certs PKCS#7: Refactor verify_pkcs7_signature()
crypto crypto: algif_skcipher - EBUSY on aio should be an error
drivers HID: wacom: Avoid entering wacom_wac_pen_report for pad / battery
fs udf: Fix memory leak when mounting
include btrfs: tree-checker: fix false alert caused by legacy btrfs root item
init printk: reduce LOG_BUF_SHIFT range for H8300
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index
kernel seccomp: Make duplicate listener detection non-racy
lib sgl_alloc_order: fix memory leak
mm mm/page_owner: change split_page_owner to take a count
net net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid
samples samples/bpf: Fix possible deadlock in xdpsock
scripts scripts/setlocalversion: make git describe output more reliable
security evm: Check size of security.evm before using it
sound ALSA: hda/ca0132 - Add new quirk ID for SoundBlaster AE-7.
tools selftests/x86/fsgsbase: Test PTRACE_PEEKUSER for GSBASE with invalid LDT GS
usr initramfs: restore default compression behavior
virt KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch
.clang-format clang-format: Update with the latest for_each macro list
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore Merge tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
.mailmap Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
COPYING COPYING: use the new text with points to the license files
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer
Kbuild kbuild: do not descend to ./Kbuild when cleaning
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst
MAINTAINERS Documentation/llvm: add documentation on building w/ Clang/LLVM
Makefile Linux 5.4.74
README Drop all 00-INDEX files from Documentation/
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.