linux/fs
Tao Huang b50aca0c9a Merge tag 'ASB-2021-02-05_4.19-stable' of https://android.googlesource.com/kernel/common
https://source.android.com/security/bulletin/2021-02-01
CVE-2017-18509
CVE-2020-10767

* tag 'ASB-2021-02-05_4.19-stable': (809 commits)
  ANDROID: GKI: fix up abi issues with 4.19.172
  Linux 4.19.172
  fs: fix lazytime expiration handling in __writeback_single_inode()
  writeback: Drop I_DIRTY_TIME_EXPIRE
  dm integrity: conditionally disable "recalculate" feature
  tools: Factor HOSTCC, HOSTLD, HOSTAR definitions
  tracing: Fix race in trace_open and buffer resize call
  HID: wacom: Correct NULL dereference on AES pen proximity
  futex: Handle faults correctly for PI futexes
  futex: Simplify fixup_pi_state_owner()
  futex: Use pi_state_update_owner() in put_pi_state()
  rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
  futex: Provide and use pi_state_update_owner()
  futex: Replace pointless printk in fixup_owner()
  futex: Ensure the correct return value from futex_lock_pi()
  futex: Prevent exit livelock
  futex: Provide distinct return value when owner is exiting
  futex: Add mutex around futex exit
  futex: Provide state handling for exec() as well
  futex: Sanitize exit state handling
  ...

Change-Id: Ieba6ee3a91a05d504e1f829a84e7d364e7d983f2

Conflicts:
	arch/arm64/boot/dts/rockchip/rk3328.dtsi
	drivers/md/Kconfig
	drivers/usb/gadget/function/f_uac2.c
2021-02-26 15:30:04 +08:00
..
9p 9P: Cast to loff_t before multiplying 2020-11-05 11:08:53 +01:00
adfs fs/adfs: super: fix use-after-free bug 2019-08-06 19:06:49 +02:00
affs affs: fix basic permission bits to actually work 2020-09-09 19:04:30 +02:00
afs afs: Fix NULL deref in afs_dynroot_depopulate() 2020-08-26 10:31:05 +02:00
autofs autofs: fix a leak in autofs_expire_indirect() 2019-12-13 08:51:01 +01:00
befs
bfs bfs: add sanity check at bfs_fill_super() 2018-12-01 09:37:27 +01:00
btrfs btrfs: fix lockdep splat in btrfs_recover_relocation 2021-01-27 11:05:35 +01:00
cachefiles cachefiles: Handle readpage error correctly 2020-11-05 11:08:54 +01:00
ceph ceph: fix race in concurrent __ceph_remove_cap invocations 2020-12-30 11:26:13 +01:00
cifs SMB3.1.1: do not log warning message if server doesn't populate salt 2020-12-30 11:26:13 +01:00
coda coda: add error handling for fget 2019-08-06 19:06:51 +02:00
configfs configfs: fix config_item refcnt leak in configfs_rmdir() 2020-05-27 17:37:32 +02:00
cramfs
crypto Merge tag 'ASB-2021-02-05_4.19-stable' of https://android.googlesource.com/kernel/common 2021-02-26 15:30:04 +08:00
debugfs fs: debugfs: add debugfs_create_u32_array_hex 2020-06-19 19:13:05 +08:00
devpts fs/devpts: always delete dcache dentry-s in dput() 2019-03-23 20:09:59 +01:00
dlm fs: dlm: fix configfs memory leak 2020-10-30 10:38:28 +01:00
ecryptfs ecryptfs: replace BUG_ON with error handling code 2020-02-28 16:38:59 +01:00
efivarfs efivarfs: revert "fix memory leak in efivarfs_create()" 2020-12-02 08:48:12 +01:00
efs
exofs exofs_mount(): fix leaks on failure exits 2019-12-05 09:20:32 +01:00
exportfs exportfs: fix 'passing zero to ERR_PTR()' warning 2020-01-27 14:50:02 +01:00
ext2 ext2: don't update mtime on COW faults 2020-09-09 19:04:28 +02:00
ext4 writeback: Drop I_DIRTY_TIME_EXPIRE 2021-01-30 13:32:13 +01:00
f2fs Merge tag 'ASB-2021-02-05_4.19-stable' of https://android.googlesource.com/kernel/common 2021-02-26 15:30:04 +08:00
fat fat: don't allow to mount if the FAT length == 0 2020-06-22 09:05:08 +02:00
freevxfs
fscache fscache: fix race between enablement and dropping of object 2018-12-17 09:24:40 +01:00
fuse ANDROID: fuse: Add support for d_canonical_path 2020-11-09 13:11:29 +00:00
gfs2 gfs2: check for empty rgrp tree in gfs2_ri_update 2020-12-11 13:25:04 +01:00
hfs fs/hfs/extent.c: fix array out of bounds read of array extent 2019-12-01 09:17:10 +01:00
hfsplus hfsplus: fix crash and filesystem corruption when deleting files 2020-04-17 10:48:52 +02:00
hostfs
hpfs
hugetlbfs This is the 4.19.45 stable release 2019-05-22 08:00:39 +02:00
incfs Merge tag 'ASB-2021-02-05_4.19-stable' of https://android.googlesource.com/kernel/common 2021-02-26 15:30:04 +08:00
isofs
jbd2 jbd2: abort journal if free a async write error metadata buffer 2020-09-03 11:24:24 +02:00
jffs2 This is the 4.19.164 stable release 2020-12-30 12:19:31 +01:00
jfs jfs: Fix array index bounds check in dbAdjTree 2020-12-30 11:26:13 +01:00
kernfs ANDROID: GKI: export symbols from abi_gki_aarch64_qcom_whitelist 2020-04-13 21:36:41 +00:00
lockd lockd: don't use interval-based rebinding over TCP 2020-12-30 11:25:59 +01:00
minix fs/minix: remove expected error message in block_to_path() 2020-08-21 11:05:38 +02:00
nfs This is the 4.19.169 stable release 2021-01-19 18:49:37 +01:00
nfs_common nfs_common: need lock during iterate through the list 2020-12-30 11:26:02 +01:00
nfsd nfsd4: readdirplus shouldn't return parent of export 2021-01-23 15:49:55 +01:00
nilfs2 nilfs2: fix null pointer dereference at nilfs_segctor_do_construct() 2020-06-22 09:05:03 +02:00
nls
notify Merge tag 'ASB-2020-12-05_4.19-stable' of https://android.googlesource.com/kernel/common 2020-12-29 16:10:48 +08:00
ntfs ntfs: add check for mft record size in superblock 2020-10-30 10:38:28 +01:00
ocfs2 ocfs2: initialize ip_next_orphan 2020-11-18 19:18:49 +01:00
omfs
openpromfs
orangefs help_next should increase position index 2020-02-24 08:34:53 +01:00
overlayfs This is the 4.19.134 stable release 2020-07-22 13:03:12 +02:00
proc Merge tag 'ASB-2021-02-05_4.19-stable' of https://android.googlesource.com/kernel/common 2021-02-26 15:30:04 +08:00
pstore Merge tag 'ASB-2020-09-05_4.19-stable' of https://android.googlesource.com/kernel/common 2020-09-24 17:59:50 +08:00
qnx4
qnx6
quota quota: Don't overflow quota file offsets 2021-01-06 14:45:01 +01:00
ramfs ramfs: fix nommu mmap with gaps in the page cache 2020-10-30 10:38:21 +01:00
reiserfs reiserfs: add check for an invalid ih_entry_count 2021-01-06 14:45:00 +01:00
romfs romfs: fix uninitialized memory leak in romfs_dev_read() 2020-08-26 10:30:59 +02:00
sdcardfs Revert "ANDROID: sdcardfs: remove sdcardfs from system" 2020-09-25 09:32:14 +08:00
squashfs
sysfs sysfs: symlink: export sysfs_delete_link() 2020-06-01 15:49:29 +08:00
sysv sysv: return 'err' instead of 0 in __sysv_write_inode 2018-12-17 09:24:30 +01:00
tracefs
ubifs Merge tag 'ASB-2021-02-05_4.19-stable' of https://android.googlesource.com/kernel/common 2021-02-26 15:30:04 +08:00
udf udf: Fix memory leak when mounting 2020-11-05 11:08:50 +01:00
ufs fs/ufs: avoid potential u32 multiplication overflow 2020-08-21 11:05:38 +02:00
unicode FROMLIST: unicode: Add utf8_casefold_hash 2020-02-28 03:35:36 +00:00
verity fs-verity: remove unnecessary extern keywords 2020-06-16 14:07:40 -07:00
xfs writeback: Drop I_DIRTY_TIME_EXPIRE 2021-01-30 13:32:13 +01:00
aio.c aio: fix async fsync creds 2020-06-22 09:05:01 +02:00
anon_inodes.c
attr.c Revert "Revert "ANDROID: vfs: Add permission2 for filesystems with per mount permissions"" 2020-09-25 09:32:04 +08:00
bad_inode.c
binfmt_aout.c
binfmt_elf_fdpic.c
binfmt_elf.c fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info() 2020-06-03 08:19:41 +02:00
binfmt_em86.c
binfmt_flat.c fs/binfmt_flat.c: make load_flat_shared_library() work 2019-07-03 13:14:44 +02:00
binfmt_misc.c
binfmt_script.c exec: load_script: Do not exec truncated interpreter path 2019-11-06 13:05:37 +01:00
block_dev.c This is the 4.19.149 stable release 2020-10-01 16:49:05 +02:00
buffer.c This is the 4.19.155 stable release 2020-11-05 14:02:27 +01:00
char_dev.c chardev: Avoid potential use-after-free in 'chrdev_open()' 2020-01-14 20:06:57 +01:00
compat_binfmt_elf.c
compat_ioctl.c fix compat handling of FICLONERANGE, FIDEDUPERANGE and FS_IOC_FIEMAP 2020-01-09 10:19:07 +01:00
compat.c
coredump.c Revert "Revert "ANDROID: vfs: Add setattr2 for filesystems with per mount permissions"" 2020-09-25 09:31:59 +08:00
d_path.c
dax.c dax: pass NOWAIT flag to iomap_apply 2020-03-05 16:42:12 +01:00
dcache.c fs, fscrypt: clear DCACHE_ENCRYPTED_NAME when unaliasing directory 2020-11-05 11:08:35 +01:00
dcookies.c
direct-io.c ANDROID: fscrypt: handle direct I/O with IV_INO_LBLK_32 2020-05-21 11:55:15 -07:00
drop_caches.c fs: avoid softlockups in s_inodes iterators 2020-01-12 12:17:20 +01:00
eventfd.c eventfd: track eventfd_signal() recursion depth 2020-02-11 04:34:08 -08:00
eventpoll.c This is the 4.19.150 stable release 2020-10-07 08:45:35 +02:00
exec.c Merge tag 'ASB-2021-02-05_4.19-stable' of https://android.googlesource.com/kernel/common 2021-02-26 15:30:04 +08:00
fcntl.c fcntl: Fix potential deadlock in send_sig{io, urg}() 2021-01-06 14:45:00 +01:00
fhandle.c
file_table.c
file.c fix multiplication overflow in copy_fdtable() 2020-05-27 17:37:29 +02:00
filesystems.c fs/filesystems.c: downgrade user-reachable WARN_ONCE() to pr_warn_once() 2020-04-17 10:48:51 +02:00
fs_pin.c
fs_struct.c Revert "ANDROID: sdcardfs: Enable modular sdcardfs" 2020-06-27 15:17:45 +02:00
fs-writeback.c fs: fix lazytime expiration handling in __writeback_single_inode() 2021-01-30 13:32:13 +01:00
inode.c Revert "Revert "ANDROID: vfs: Add setattr2 for filesystems with per mount permissions"" 2020-09-25 09:31:59 +08:00
internal.h Revert "Revert "ANDROID: fs: Restore vfs_path_lookup() export"" 2020-09-25 09:32:11 +08:00
ioctl.c
iomap.c ANDROID: ext4, f2fs: enable direct I/O with inline encryption 2020-01-24 10:49:09 -08:00
Kconfig Revert "ANDROID: sdcardfs: remove sdcardfs from system" 2020-09-25 09:32:14 +08:00
Kconfig.binfmt
libfs.c This is the 4.19.160 stable release 2020-11-24 14:57:17 +01:00
locks.c locks: print unsigned ino in /proc/locks 2020-01-09 10:19:00 +01:00
Makefile Revert "ANDROID: sdcardfs: remove sdcardfs from system" 2020-09-25 09:32:14 +08:00
mbcache.c
mount.h
mpage.c f2fs: fix build error on android tracepoints 2019-08-17 00:18:14 +00:00
namei.c Revert "Revert "ANDROID: vfs: Add permission2 for filesystems with per mount permissions"" 2020-09-25 09:32:04 +08:00
namespace.c This is the 4.19.119 stable release 2020-04-29 17:26:17 +02:00
no-block.c
nsfs.c dcache: sort the freeing-without-RCU-delay mess for good. 2019-05-25 18:23:26 +02:00
open.c Revert "Revert "ANDROID: vfs: Add permission2 for filesystems with per mount permissions"" 2020-09-25 09:32:04 +08:00
pipe.c fs: prevent page refcount overflow in pipe_buf_get 2019-05-04 09:20:11 +02:00
pnode.c This is the 4.19.120 stable release 2020-05-03 08:48:02 +02:00
pnode.h ANDROID: mnt: Add filesystem private data to mount points 2018-12-05 09:48:13 -08:00
posix_acl.c
proc_namespace.c ANDROID: vfs: Allow filesystems to access their private mount data 2018-12-05 09:48:13 -08:00
read_write.c ANDROID: fs: export vfs_{read|write} 2020-06-29 17:09:39 +00:00
readdir.c filldir[64]: remove WARN_ON_ONCE() for bad directory entries 2020-01-04 19:13:26 +01:00
select.c
seq_file.c seq_file: fix problem when seeking mid-record 2019-08-25 10:47:43 +02:00
signalfd.c fs/signalfd.c: fix inconsistent return codes for signalfd4 2020-08-26 10:31:02 +02:00
splice.c splice: only read in as much information as there is pipe buffer space 2019-12-17 20:35:43 +01:00
stack.c
stat.c
statfs.c vfs: Fix EOVERFLOW testing in put_compat_statfs64 2019-10-11 18:21:39 +02:00
super.c This is the 4.19.160 stable release 2020-11-24 14:57:17 +01:00
sync.c ANDROID: taskstats: track fsync syscalls 2018-12-05 09:48:12 -08:00
timerfd.c
userfaultfd.c This is the 4.19.93 stable release 2020-01-04 19:29:03 +01:00
utimes.c Revert "Revert "ANDROID: vfs: Add setattr2 for filesystems with per mount permissions"" 2020-09-25 09:31:59 +08:00
xattr.c Revert "Revert "ANDROID: vfs: Add permission2 for filesystems with per mount permissions"" 2020-09-25 09:32:04 +08:00