# changelog

author: chengguipeng <chengguipeng1@huawei.com> - 1.1.12-9
changelog:
  - Type:bugfix
  - ID:NA
  - SUG:NA
  - DESC:solove the problem that no message is displayed when running a uninstalled command.


author: Cheng Jian <cj.chengjian@huawei.com> - 4.19.90-2108.9.0.0107
changelog:
  - tcp_comp: Fix comp_read_size return value
  - virtio-blk: Add validation for block size in config space
  - blk-mq: fix divide by zero crash in tg_may_dispatch()
  - mm, vmscan: guarantee drop_slab_node() termination
  - jump_label: skip resource release if jump label is not relocated
  - ext4: prevent getting empty inode buffer
  - ext4: move ext4_fill_raw_inode() related functions before __ext4_get_inode_loc()
  - ext4: factor out ext4_fill_raw_inode()
  - ext4: make the updating inode data procedure atomic
  - KVM: X86: MMU: Use the correct inherited permissions to get shadow page
  - x86/config: Enable CONFIG_USERSWAP for openeuler_defconfig
  - ext4: fix panic when mount failed with parallel flush_stashed_error_work
  - device core: Consolidate locking and unlocking of parent and device
  - Revert "ext4: flush s_error_work before journal destroy in ext4_fill_super"
  - ext2: Strengthen xattr block checks
  - ext2: Merge loops in ext2_xattr_set()
  - ext2: introduce helper for xattr entry validation
  - mm: rmap: explicitly reset vma->anon_vma in unlink_anon_vmas()


author: Cheng Jian <cj.chengjian@huawei.com> - 4.19.90-2109.1.0.0108
changelog:
  - iommu: smmuv2: Using the SMMU_BYPASS_DEV to bypass SMMU for some SoCs
  - iommu: dev_bypass: cleanup dev bypass code
  - arm64: phytium: using MIDR_PHYTIUM_FT2000PLUS instead of ARM_CPU_IMP_PHYTIUM
  - arm64: Add MIDR encoding for PHYTIUM CPUs
  - arm64: Add MIDR encoding for HiSilicon Taishan CPUs
  - sched: Fix sched_fork() access an invalid sched_task_group
  - KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
  - KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
  - Bluetooth: switch to lock_sock in SCO
  - Bluetooth: avoid circular locks in sco_sock_connect
  - Bluetooth: schedule SCO timeouts with delayed_work
  - Bluetooth: defer cleanup of resources in hci_unregister_dev()


author: Cheng Jian <cj.chengjian@huawei.com> - 4.19.90-2109.2.0.0109
changelog:
  - cpuidle: menu: Avoid computations when result will be discarded
  - virtio_blk: fix handling single range discard request
  - virtio_blk: add discard and write zeroes support
  - iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK
  - page_alloc: consider highatomic reserve in watermark fast
  - mm/filemap.c: fix a data race in filemap_fault()
  - scsi/hifc: Fix memory leakage bug
  - RDMA/hns: Fix wrong timer context buffer page size
  - RDMA/hns: Bugfix for posting multiple srq work request
  - RDMA/hns: Fix 0-length sge calculation error
  - RDMA/hns: Fix configuration of ack_req_freq in QPC
  - RDMA/hns: Add check for the validity of sl configuration
  - RDMA/hns: Fix bug during CMDQ initialization
  - RDMA/hns: Fixed wrong judgments in the goto branch
  - RDMA/hns: Bugfix for checking whether the srq is full when post wr
  - RDMA/hns: Fix wrong parameters when initial mtt of srq->idx_que
  - RDMA/hns: Force rewrite inline flag of WQE
  - RDMA/hns: Fix missing assignment of max_inline_data
  - RDMA/hns: Avoid enabling RQ inline on UD
  - RDMA/hns: Support to query firmware version
  - RDMA/hns: Force srq_limit to 0 when creating SRQ
  - RDMA/hns: Add interception for resizing SRQs
  - RDMA/hns: Fix an cmd queue issue when resetting


author: Cheng Jian <cj.chengjian@huawei.com> - 4.19.90-2109.5.0.0110
changelog:
  - nvme-pci: Use u32 for nvme_dev.q_depth and nvme_queue.q_depth
  - nvme-pci: use unsigned for io queue depth
  - net: hns3: update hns3 version to 21.9.2
  - net: hns3: the pointer is cast to another pointer in a different type, which is incompatible.
  - net: hns3: cleanup for some print type miss match and blank lines
  - net: hns3: remove tc enable checking
  - net: hns3: Constify static structs
  - net: hns3: fix kernel crash when unload VF while it is being reset
  - net: hns3: fix memory override when bd_num is bigger than the ring size
  - net: hns3: pad the short tunnel frame before sending to hardware
  - net: hns3: check the return of skb_checksum_help()
  - net: hns3: add 'QoS' support for port based VLAN configuration
  - net: hns3: remove unused parameter from hclge_set_vf_vlan_common()
  - net: hns3: disable port VLAN filter when support function level VLAN filter control
  - net: hns3: remove redundant param mbx_event_pending
  - net: hns3: remove the useless debugfs file node cmd
  - net: hns3: fix get wrong pfc_en when query PFC configuration
  - net: hns3: fix mixed flag HCLGE_FLAG_MQPRIO_ENABLE and HCLGE_FLAG_DCB_ENABLE
  - net: hns3: add support for tc mqprio offload
  - net: hns3: add debugfs support for vlan configuration
  - net: hns3: add support for VF modify VLAN filter state
  - net: hns3: add query basic info support for VF
  - net: hns3: add support for modify VLAN filter state
  - Revert: net: hns3: adds support for extended VLAN mode and 'QOS' in vlan 802.1Q protocol.
  - net: hns3: change the method of getting cmd index in debugfs
  - net: hns3: refactor dump mac tbl of debugfs
  - net: hns3: add support for dumping MAC umv counter in debugfs
  - net: hns3: refactor dump serv info of debugfs
  - net: hns3: refactor dump mac tnl status of debugfs
  - net: hns3: refactor dump qs shaper of debugfs
  - net: hns3: refactor dump qos buf cfg of debugfs
  - net: hns3: split out hclge_dbg_dump_qos_buf_cfg()
  - net: hns3: refactor dump qos pri map of debugfs
  - net: hns3: refactor dump qos pause cfg of debugfs
  - net: hns3: refactor dump tc of debugfs
  - net: hns3: refactor dump tm of debugfs
  - net: hns3: refactor dump tm map of debugfs
  - net: hns3: refactor dump fd tcam of debugfs
  - net: hns3: refactor queue info of debugfs
  - net: hns3: refactor queue map of debugfs
  - net: hns3: refactor dump reg dcb info of debugfs
  - net: hns3: refactor dump reg of debugfs
  - net: hns3: Constify static structs
  - net: hns3: refactor dump ncl config of debugfs
  - net: hns3: refactor dump m7 info of debugfs
  - net: hns3: refactor dump reset info of debugfs
  - net: hns3: refactor dump intr of debugfs
  - net: hns3: refactor dump loopback of debugfs
  - net: hns3: refactor dump mng tbl of debugfs
  - net: hns3: refactor dump mac list of debugfs
  - net: hns3: refactor dump bd info of debugfs
  - net: hns3: refactor the debugfs process
  - net: hns3: add debugfs support for tm priority and qset info
  - net: hns3: add interfaces to query information of tm priority/qset
  - net: hns3: change the value of the SEPARATOR_VALUE macro in hclgevf_main.c
  - net: hns3: fix for vxlan gpe tx checksum bug
  - net: hns3: Fix for geneve tx checksum bug
  - net: hns3: refine the struct hane3_tc_info
  - net: hns3: VF not request link status when PF support push link status feature
  - net: hns3: remove a duplicate pf reset counting
  - net: hns3: remediate a potential overflow risk of bd_num_list
  - net: hns3: fix query vlan mask value error for flow director
  - net: hns3: fix error mask definition of flow director
  - net: hns3: cleanup for endian issue for VF RSS
  - net: hns3: fix incorrect handling of sctp6 rss tuple
  - net: hns3: refine function hclge_set_vf_vlan_cfg()
  - net: hns3: dump tqp enable status in debugfs
  - hisilicon/hns3: convert comma to semicolon
  - net: hns3: remove a misused pragma packed
  - net: hns3: add debugfs of dumping pf interrupt resources
  - net: hns3: Supply missing hclge_dcb.h include file
  - net: hns3: print out speed info when parsing speed fails
  - net: hns3: add a missing mutex destroy in hclge_init_ad_dev()
  - net: hns3: add a print for initializing CMDQ when reset pending
  - net: hns3: replace snprintf with scnprintf in hns3_update_strings
  - net: hns3: change affinity_mask to numa node range
  - net: hns3: change hclge/hclgevf workqueue to WQ_UNBOUND mode
  - tcp_comp: Del compressed_data and remaining_data from tcp_comp_context_rx
  - tcp_comp: Add dpkt to save decompressed skb
  - tcp_comp: Fix ZSTD_decompressStream failed
  - mm: downgrade the print level in do_shrink_slab
  - uio: introduce UIO_MEM_IOVA
  - mm/mempolicy.c: fix checking unmapped holes for mbind
  - mm/mempolicy.c: check range first in queue_pages_test_walk
  - net: qrtr: fix another OOB Read in qrtr_endpoint_post
  - net: qrtr: fix OOB Read in qrtr_endpoint_post
  - mm, slab, slub: stop taking cpu hotplug lock
  - mm, slab, slub: stop taking memory hotplug lock
  - mm, slub: stop freeing kmem_cache_node structures on node offline
  - kernel/hung_task.c: introduce sysctl to print all traces when a hung task is detected
  - vt_kdsetmode: extend console locking


author: Cheng Jian <cj.chengjian@huawei.com> - 4.19.90-2109.6.0.0111
changelog:
  - ext4: fix race writing to an inline_data file while its xattrs are changing
  - uce: pagecache reading scenario add shmem support
  - Revert "uce: pagecache reading scenario add shmem support"
  - memcg: enable accounting of ipc resources
  - uce: pagecache reading scenario add shmem support
  - misc/uacce: fixup out-of-bounds array write
  - crypto/sec: add aead support for user-side


author: Cheng Jian <cj.chengjian@huawei.com> - 4.19.90-2109.7.0.0112
changelog:
  - memcg: enable accounting for ldt_struct objects
  - memcg: enable accounting for posix_timers_cache slab
  - memcg: enable accounting for signals
  - memcg: enable accounting for new namesapces and struct nsproxy
  - memcg: enable accounting for fasync_cache
  - memcg: enable accounting for mnt_cache entries
  - memcg: enable accounting for pids in nested pid namespaces
  - KVM: do not allow mapping valid but non-reference-counted pages
  - nvme: remove the call to nvme_update_disk_info in nvme_ns_remove
  - block: flush the integrity workqueue in blk_integrity_unregister
  - block: check if a profile is actually registered in blk_integrity_unregister
  - blk-mq: fix kabi broken in blk_mq_tags
  - blk-mq: fix is_flush_rq
  - blk-mq: fix kernel panic during iterating over flush request
  - block: factor out a new helper from blk_rq_init()
  - blk-mq: don't grab rq's refcount in blk_mq_check_expired()
  - blk-mq: clearing flush request reference in tags->rqs[]
  - blk-mq: clear stale request in tags->rq[] before freeing one request pool
  - blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
  - Revert "blk-mq: use static_rqs instead of rqs to iterate tags"
  - Revert "blk-mq: use blk_mq_queue_tag_inflight_iter() in debugfs"
  - Revert "nbd: use blk_mq_queue_tag_inflight_iter()"
  - blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd
  - tasks: Fix kabi broken for struct task_struct
  - tasks, sched/core: RCUify the assignment of rq->curr
  - tasks, sched/core: With a grace period after finish_task_switch(), remove unnecessary code
  - tasks, sched/core: Ensure tasks are available for a grace period after leaving the runqueue
  - tasks: Add a count of task RCU users
  - Revert "sched/membarrier: fix NULL poiner in membarrier_global_expedited"
  - ext4: update last_pos for the case ext4_htree_fill_tree return fail
  - blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
  - nvme-rdma: don't update queue count when failing to set io queues
  - scsi: hisi_sas: replace spin_lock_irqsave/spin_unlock_restore with spin_lock/spin_unlock
  - scsi: hisi_sas: use threaded irq to process CQ interrupts


author: Cheng Jian <cj.chengjian@huawei.com> - 4.19.90-2109.8.0.0113
changelog:
  - Bluetooth: fix use-after-free error in lock_sock_nested()
  - bpf, mips: Validate conditional branch offsets
  - scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
  - crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()
  - bpf: Fix truncation handling for mod32 dst reg wrt zero
  - bpf: Fix 32 bit src register truncation on div/mod
  - bpf: Do not use ax register in interpreter on div/mod
  - Revert "bpf: allocate 0x06 to new eBPF instruction class JMP32"
  - Revert "bpf: refactor verifier min/max code for condition jump"
  - Revert "bpf: verifier support JMP32"
  - Revert "bpf: disassembler support JMP32"
  - Revert "tools: bpftool: teach cfg code about JMP32"
  - Revert "bpf: interpreter support for JMP32"
  - Revert "bpf: JIT blinds support JMP32"
  - Revert "x86_64: bpf: implement jitting of JMP32"
  - Revert "arm64: bpf: implement jitting of JMP32"
  - Revert "bpf: Fix 32 bit src register truncation on div/mod"
  - Revert "bpf: Fix truncation handling for mod32 dst reg wrt zero"
  - block: fix wrong define name
  - block: fix compile error when CONFIG_BLK_DEV_THROTTLING disable
  - pid: fix imbalanced calling of cgroup_threadgroup_change_begin/end()
  - pid: fix return value when copy_process() failed
  - block: fix NULL pointer in blkcg_drain_queue()
  - block: clean up ABI breakage
  - block: mark queue init done at the end of blk_register_queue
  - block: fix race between adding/removing rq qos and normal IO
  - scsi: hisi_sas: set sense data when the sas disk's I/O abnormally completed
  - kyber: initialize 'async_depth' in kyber_queue_data_alloc()
  - kyber: introduce kyber_depth_updated()
  - blk-mq: handle all throttled io in blk_cleanup_queue()


author: Cheng Jian <cj.chengjian@huawei.com> - 4.19.90-2110.1.0.0114
changelog:
  - timerqueue: fix kabi for struct timerqueue_head
  - lib/timerqueue: Rely on rbtree semantics for next timer
  - ACPI / APEI: Notify all ras err to driver
  - ACPI / APEI: Add a notifier chain for unknown (vendor) CPER records
  - blk-mq-sched: Fix blk_mq_sched_alloc_tags() error handling
  - jbd2: protect jh by grab a ref in jbd2_journal_forget
  - jbd2: Don't call __bforget() unnecessarily
  - jbd2: Drop unnecessary branch from jbd2_journal_forget()
  - ipc: replace costly bailout check in sysvipc_find_ipc()
  - sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2
  - sched/topology: Warn when NUMA diameter > 2
  - USB: ehci: fix an interrupt calltrace error
  - net: hns3: update hns3 version to 21.9.4
  - net: hns3: expand buffer len for fd tcam of debugfs
  - net: hns3: fix hns3 debugfs queue info print coverage bugs
  - net: hns3: fix memory override when bd_num is bigger than port info size
  - scsi: hisi_sas: Optimize the code flow of setting sense data when ssp I/O abnormally completed


author: yanglu <yanglu72@huawei.com> - 7.71.1-11
changelog:
  - Type:CVE
  - CVE:CVE-2021-22945 CVE-2021-22946 CVE-2021-22947
  - SUG:NA
  - DESC:fix CVE-2021-22945 CVE-2021-22946 CVE-2021-22947


author: yuboyun <yuboyun@huawei.com> - 2.4.43-3
changelog:
  - Type:cves
  - ID:CVE-2020-9490 CVE-2020-11984 CVE-2020-11993
  - SUG:restart
  - DESC:fix CVE-2020-9490CVE-2020-11984CVE-2020-11993


author: gaihuiying <gaihuiying1@huawei.com> - 2.4.43-8
changelog:
  - Type:cves
  - ID:CVE-2021-26690
  - SUG:NA
  - DESC:fix CVE-2021-26690
         modify version number in changelog


author: gaihuiying <gaihuiying1@huawei.com> - 2.4.43-9
changelog:
  - Type:cves
  - ID:CVE-2021-34798 CVE-2021-36160 CVE-2021-40438
  - SUG:restart
  - DESC:fix CVE-2021-34798 CVE-2021-36160 CVE-2021-40438


author: gaihuiying <gaihuiying1@huawei.com> - 2.4.43-10
changelog:
  - Type:cves
  - ID:CVE-2021-40438 CVE-2021-39275
  - SUG:restart
  - DESC:fix CVE-2021-40438 fully and correctly
         fix CVE-2021-39275


author: yaoxin <yaoxin30@huawei.com> - 1.0.13-1
changelog:
  - Upgrade libEMF to 1.0.13; fix CVE-2020-13999 CVE-2020-11863 CVE-2020-11864 CVE-2020-11865 CVE-2020-11866


author: Xu Yandong <xuyandong2@huawei.com> - 6.2.0-4
changelog:
  - Fix virdaemon waiting for child processes return code error.
  - Fix virsh dump and migrate return code error.


author: Huawei Technologies Co., Ltd <alex.chen@huawei.com>
changelog:
  - rpc: gendispatch: handle empty flags
  - rpc: add support for filtering @acls by uint params
  - rpc: require write acl for guest agent in virDomainInterfaceAddresses
  - qemu: agent: set ifname to NULL after freeing


author: Huawei Technologies Co., Ltd <alex.chen@huawei.com>
changelog:
  - util: Move virIsDevMapperDevice() to virdevmapper.c
  - virdevmapper: Don't use libdevmapper to obtain dependencies


author: Chen Qun <kuhn.chenqun@huawei.com>
changelog:
  - libvirt: Add 'retry' support for error policy
  - qemu: Support 'retry' BLOCK_IO_ERROR event.
  - libvirt/conf: Set default values of retry fileds


author: Euler Robot <euler.robot@huawei.com>
changelog:
  - storage_driver: Unlock object on ACL fail in storagePoolLookupByTargetPath
  - security: fix SELinux label generation logic


author: openEuler Buildteam <buildteam@openeuler.org> - 6.1-12
changelog:
  - Type:cves
  - ID:CVE-2019-17594  CVE-2019-17595
  - SUG:NA
  - DESC:fix CVE-2019-17594 and CVE-2019-17595


author: wangye <wangye70@huawei.com> - 0.67.0-6
changelog:
  - Type:cves
  - Id:NA
  - SUG:NA
  - DESC:fix CVE-2019-10872 CVE-2018-16646 CVE-2018-18897 CVE-2018-19060 CVE-2018-20481 CVE-2019-14494 CVE-2019-7310


author: wangye <wangye70@huawei.com> - 8.1.1-2
changelog:
  - Type:CVE
  - CVE:CVE-2021-27921 CVE-2021-27922 CVE-2021-27923
  - SUG:NA
  - DESC: fix CVE-2021-27921CVE-2021-27922CVE-2021-27923


author: hanhui <hanhui15@huawei.com> - 8.1.1-3
changelog:
  - Type:bugfix
  - CVE:CVE-2021-25287、CVE-2021-25288、CVE-2021-28675、CVE-2021-28676、CVE-2021-28677、CVE-2021-28678
  - SUG:NA
  - DESC: incorporate community patch


author: huanghaitao <huanghaitao8@huawei.com> - 1:9.0.10-13
changelog:
  - Type:cves
  - ID: CVE-2019-17563 CVE-2019-12418 CVE-2020-1935 CVE-2020-1938 
  - SUG:restart
  - DESC: fix CVE-2019-17563 CVE-2019-12418CVE-2020-1935 CVE-2020-1938


author: wangxiao <wangxiao65@huawei.com> - 1:9.0.10-14
changelog:
  - Type:cves
  - ID: CVE-2020-9484 CVE-2020-11996 CVE-2020-13934 CVE-2020-13935
  - SUG:restart
  - DESC: fix CVE-2020-9484 CVE-2020-11996 CVE-2020-13934 CVE-2020-13935


author: wangyue <wangyue92@huawei.com> - 1:9.0.10-18
changelog:
  - Type:cve
  - ID: CVE-2021-25122 CVE-2021-25329
  - SUG:restart
  - DESC: fix CVE-2021-25122 CVE-2021-25329


