Alibaba Cloud Kernel release 19
Config Changes
- configs/x86: add some NET_EMATCH options as module (Dust Li)
- configs/x86: align x86 NET_SCH configs to aarch64 (Dust Li)
- configs: aarch64: keep uniform configs between ARM and X86 (Shile Zhang)
- configs: enable support for TCP_RT (xuanzhuo)
- configs: enable multipath for kernel selftests (Joseph Qi)
- configs: disable deferred struct page init (Shile Zhang)
- configs: enable squashfs support (Joseph Qi)
- configs: enable support for virtio pmem driver (Shile Zhang)
- configs: update configs to adapt AMD QoS series (Shile Zhang)
- configs: enable null block device for blk-mq tests (Joseph Qi)
- configs: enable security and sm3/4 configs for trust (Tianjia Zhang)
- configs: align configs of aarch64 to x86_64 (Shile Zhang)
- configs: add configs in tree (Shile Zhang)
Patches From Upstream
- ipmi: fix hung processes in __get_guid() (Wen Yang)
- mm: return zero_resv_unavail optimization (Pavel Tatashin)
- mm: zero remaining unavailable struct pages (Naoya Horiguchi)
- blk-mq: balance mapping between present CPUs and queues (Ming Lei)
- fs/namespace.c: fix mountpoint reference counter race (Piotr Krysiuk) {CVE-2020-12114}
- blktrace: fix dereference after null check (Cengiz Can) {CVE-2019-19768}
- blktrace: Protect q->blk_trace with RCU (Jan Kara) {CVE-2019-19768}
- net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup (Sabrina Dubroca) {CVE-2020-1749}
- net: ipv6: add net argument to ip6_dst_lookup_flow (Sabrina Dubroca) {CVE-2020-1749}
- vhost: Check docket sk_family instead of call getname (Eugenio Pérez) {CVE-2020-10942}
- libnvdimm/region: Enable MAP_SYNC for volatile regions (Aneesh Kumar K.V)
- virtio_pmem: fix sparse warning (Pankaj Gupta)
- xfs: disable map_sync for async flush (Pankaj Gupta)
- ext4: disable map_sync for async flush (Pankaj Gupta)
- dax: check synchronous mapping is supported (Pankaj Gupta)
- libnvdimm: add dax_dev sync flag (Pankaj Gupta)
- virtio-pmem: Add virtio pmem driver (Pankaj Gupta)
- libnvdimm: nd_region flush callback support (Pankaj Gupta)
- fix autofs regression caused by follow_managed() changes (Al Viro)
- fs/namei.c: fix missing barriers when checking positivity (Al Viro)
- fix dget_parent() fastpath race (Al Viro)
- new helper: lookup_positive_unlocked() (Al Viro)
- fs/namei.c: pull positivity check into follow_managed() (Al Viro)
- ovl: inherit SB_NOSEC flag from upperdir (Jeffle Xu)
- lib/crc32.c: mark crc32_le_base/__crc32c_le_base aliases as __pure (Rongwei Wang)
- arm64/lib: improve CRC32 performance for deep pipelines (Rongwei Wang)
- arm64/lib: add accelerated crc32 routines (Rongwei Wang)
- arm64: cpufeature: add feature for CRC32 instructions (Rongwei Wang)
- lib/crc32: make core crc32() routines weak so they can be overridden (Rongwei Wang)
- x86/resctrl: Introduce AMD QOS feature (Shile Zhang)
- mm: mempolicy: require at least one nodeid for MPOL_PREFERRED (Randy Dunlap) {CVE-2020-11565}
- serial: 8250: Support disabling mdelay-filled probes of 16550A variants (Josh Triplett)
- ext4: fix error pointer dereference (Jeffle Xu)
- mm/compaction: memory compaction optimaztion (Yang Shi)
- vt: vt_ioctl: fix race in VT_RESIZEX (Eric Dumazet)
- arm64: enable per-task stack canaries (Ard Biesheuvel)
- spi: spi-dw: Add lock protect dw_spi rx/tx to prevent concurrent calls (wuxu.wu)
- iommu/amd: Fix IOMMU AVIC not properly update the is_run bit in IRTE (Suravee Suthikulpanit)
- iommu/amd: Re-factor guest virtual APIC (de-)activation code (Suthikulpanit, Suravee)
- iommu/amd: Lock code paths traversing protection_domain->dev_list (Joerg Roedel)
- iommu/amd: Lock dev_data in attach/detach code paths (Joerg Roedel)
- iommu/amd: Check for busy devices earlier in attach_device() (tianyi)
- iommu/amd: Take domain->lock for complete attach/detach path (Joerg Roedel)
- iommu/amd: Remove amd_iommu_devtable_lock (Joerg Roedel)
- iommu/amd: Remove domain->updated (Joerg Roedel)
- ACPI: PPTT: Consistently use unsigned int as parameter type (Tian Tao)
- ACPI/PPTT: Add function to return ACPI 6.3 Identical tokens (Jeremy Linton)
- ACPI/PPTT: Modify node flag detection to find last IDENTICAL (Jeremy Linton)
- ACPI: Fix comment typos (Bjorn Helgaas)
- ACPI: tables: Simplify PPTT leaf node detection (Jeremy Linton)
- ACPI/PPTT: Add acpi_pptt_warn_missing() to consolidate logs (John Garry)
- drm/amdgpu: add VM eviction lock v3 (Christian König)
- drm/amdgpu: move VM eviction decision into amdgpu_vm.c (Christian König)
- drm/amdgpu: stop evicting busy PDs/PTs (Christian König)
- sysctl: handle overflow in proc_get_long (Christian Brauner)
- SUNRPC/cache: Fix unsafe traverse caused double-free in cache_purge (Yihao Wu)
- sched: Avoid scale real weight down to zero (Michael Wang)
- sched/fair: Fix race between runtime distribution and assignment (Huaixin Chang)
- mm: do not allow MADV_PAGEOUT for CoW pages (Michal Hocko)
- mm, vmstat: reduce zone->lock holding time by /proc/pagetypeinfo (Michal Hocko)
- virtio-pci: check name when counting MSI-X vectors (Daniel Verkamp)
- virtio-balloon: initialize all vq callbacks (Daniel Verkamp)
- mm/page_reporting: add free page reporting support (Yang Shi)
- mm/page_alloc.c: fix regression with deferred struct page init (Juergen Gross)
- ima: add sm3 algorithm to hash algorithm configuration list (Tianjia Zhang)
- crypto: rename sm3-256 to sm3 in hash_algo_name (Tianjia Zhang)
- vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console (Eric Biggers)
- vt: vt_ioctl: fix use-after-free in vt_in_use() (Eric Biggers)
- vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines (Jiri Slaby)
- vt: selection, introduce vc_is_sel (Jiri Slaby)
- io_uring: use current task creds instead of allocating a new one (Jens Axboe)
- io_uring: only return -EBUSY for submit on non-flushed backlog (Jens Axboe)
- cpuidle: header file stubs must be "static inline" (Stephen Rothwell)
- kvm: vmx: fix coccinelle warnings (Yi Wang)
Patches From Alibaba Cloud Operating System Team
- alinux: sched: make SCHED_SLI dependent on FAIR_GROUP_SCHED (Yihao Wu)
- alinux: add tcprt framework to kernel (xuanzhuo)
- alinux: quota: fix unused label warning in dquot_load_quota_inode() (Jeffle Xu)
- alinux: mm: fix undefined reference to printk_ratelimit_state (Xu Yu)
- alinux: mm: fix undefined reference to mlock_fixup (Xu Yu)
- alinux: sched: Fix p->cpu build error on aarch64 (Yihao Wu)
- alinux: sched: Fix nr_migrations compile errors (Yihao Wu)
- alinux: kernel: Reduce tasklist_lock contention at fork and exit (Xunlei Pang)
- alinux: oom: add ratelimit printk to prevent softlockup (zhongjiang-ali)
- alinux: Limit the print message frequency when memcg oom triggers (zhongjiang-ali)
- alinux: mm: restrict the print message frequency further when memcg oom triggers (zhongjiang-ali)
- alinux: sched: add schedule SLI support (Yihao Wu)
- alinux: cgroup: Fix task_css_check rcu warnings (Xunlei Pang)
- alinux: config: disable CONFIG_NFS_V3_ACL and CONFIG_NFSD_V3_ACL (Chunmei Xu)
- alinux: kernel: reap zombie process by specified pid (zhongjiang-ali)
- alinux: Fix an potential null pointer reference in dump_header (zhongjiang-ali)
- alinux: mm: Pin code section of process in memory (Xunlei Pang)
- alinux: kidled: make kidled_inc_page_age return latest page age (Xu Yu)
- alinux: mm, memcg: optimize division operation with memsli counters (Xu Yu)
- alinux: mm, memcg: rework memsli interfaces (Xu Yu)
- alinux: mm, memcg: add memory SLI support (Xu Yu)
- alinux: Revert "net: get rid of an signed integer overflow in ip_idents_reserve()" (xuanzhuo)
- alinux: pci/iohub-sriov: fix iohub-sriov VF probe issue (shanghui.lsh)
- alinux: mm, memcg: optimize division operation with memcg counters (Xu Yu)
- alinux: blk-mq: fix broken io_ticks & time_in_queue update (Xiaoguang Wang)