summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-10-02connman: add CVE_PRODUCTSteve Sakoman
Upstream database uses both "connman" and "connection_manager" to report CVEs (From OE-Core rev: f0789ed2f4b49f8c63dedd770e5c78bac6cae456) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eadf7bb17289731be9747822e3d4084ab69cf109) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02vim: fix CVEsMingli Yu
Backport patches to fix CVE-2021-3778 and CVE-2021-3796. (From OE-Core rev: 48a9709f955c1523918c891ca5c94f7bf5c71c54) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-27yocto-bsp/5.10: update to v5.10.63Bruce Ashfield
Updating the reference platforms to match the latest 5.10 -stable in oe-core. (From meta-yocto rev: f927800f0b379a48bce06857b2d5c8313a8feb3f) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 77b8e31f706cb29d1efb19305470d9b525fc5a67) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-27meta-yocto-bsp: Bump to the v5.10.55Kevin Hao
Build and boot test for all the boards. (From meta-yocto rev: 43fc4344836aacf03015683f87f9c75bb3f4093f) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8b5c126510dbf265dc494ff7c8decbae63f5b597) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-27local.conf.sample: Update sstate mirror entry with new hash equivalence settingRichard Purdie
(From meta-yocto rev: d48a7514e400110a2755772bb456cbc74f7403f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1d98182eb9fa059444c935967d1dc075535289db) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-27poky: Use SDKPATHINSTALL instead of SDKPATHRichard Purdie
SDKPATHINSTALL is the default installation path used for the SDK but is not the path encoded into every SDK binary as the default path. This change allows it to contain things like dates without requiring every nativesdk recipe to rebuild. Partially fixes [YOCTO #14100] (From meta-yocto rev: 87b3d773ca36a6889cf4899e05f17db32da90abb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a62175ee581bd05661717f0fb89dad2a297b4034) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24ffmpeg: fix CVE-2021-38114Kiran Surendran
backport from upstream (From OE-Core rev: 437f5e04c92158d3c9e27fe6252260a02a108391) Signed-off-by: Kiran Surendran <kiran.surendran@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24tar: ignore node-tar CVEsArmin Kuster
These three CVEs are specific to the Node package node-tar. exclude: CVE-2021-37701 CVE-2021-37712 CVE-2021-37713 (From OE-Core rev: a84267dfe713b85f039c35549a00708d92654ded) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9f9317a02d73c1e5aea026683a037e52c996c7bb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24sstate: Avoid problems with recipes using SRCPV when fetching sstateRichard Purdie
When fetching sstate, SRCPV can be expanded withuin PV which breaks the sstate fetcher as other variables like SRC_URI are changed by the fetcher code. Expand the variable before doing this to avoid those problems and hence avoid setscene task failures with remote sstate storage in git recipes. (From OE-Core rev: 5232aa1c46380e7197098bed39fc6d5b8456caa7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0d9d7acebe0be42d4cf8a30ecbbbbcb2dfd16a4b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24bitbake: runqueue/knotty: Improve UI handling of setscene task countingRichard Purdie
The recent fixes to merge setscene and normal task accounting in runqueue fixed some display issues but broke the task numbering of setscene tasks. Add new accounting methods to the stats structure specifically designed for setscene. This accounts for the fact that setscene tasks can rerun multiple times in the build. Then use the new data in the UI to correctly display the numbers the user wants to see to understand progress. (Bitbake rev: 7d938703d9321cde5a32e4dff005f07e8821b704) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ed7e2da88bf4b7bfc7ebfc12b9bd6c0fb7d8c1aa) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24bitbake: cookerdata: Show a readable error for invalid multiconfig nameRichard Purdie
If a multiconfig starts with a digit, users would see pages of errors as we use the multiconfig as a python function name prefix and python functions cannot start with a digit. We could avoid doing that but it is easier just to ask users to name multiconfigs not starting with digits. This tweak ensures the user sees an easier to understand error. (Bitbake rev: fb2c154c8a96fd30d46e34c7ae715d1b964ced35) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f9cddaeef35b2ea0dadf717101ed896f6b857abd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24bitbake: bitbake-worker: Improve error handlingRichard Purdie
If bitbake-worker fails, return an error code showing that. Also make the thread cleanup code explict in a finally clause as it would otherwise hang. [YOCTO #14393] (Bitbake rev: 0637703046d3f3f7d3bfdd1e5ecb524440897c35) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7e0af70fb53fb13f824ca954b8cc1dffee730233) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24bitbake: cooker/process: Fix typos in exiting messageMartin Jansa
(Bitbake rev: 284ca139b3a2ce61cef91b3076fd8bb544461c16) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1ff1ea3880d293b14ce0fc65e3bc4c938d587a2f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24bitbake: runqueue: Clean up task stats handlingRichard Purdie
When we parallelised normal and setscene tasks, the task stats handling was left separate pending further thought. We had to remove handling of the setscene tasks from the UI in order to maintain consistent task numbering. Currently, "0 of 0" tasks can be shown as setscene tasks execute until the first normal task runs. The only use left for sq_stats is in the active task numbers which we can use the length of sq_ive for instead. We can therefore drop it and return stats in all cases. This removes the "0 of 0" task problem since the stats in all normal and setscene tasks matches. [YOCTO #14479] (Bitbake rev: fac319e2d5463be2a82335b9cb348c7893a1e65f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eae6e947e37e18cded053814bd2a268b44fb25cd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24bitbake: data_smart: Improve error display for handled exceptionsRichard Purdie
We don't need tracebacks for BBHandledException. Reduces confusing output like: ERROR: /meta/recipes-core/images/core-image-tiny-initramfs.bb: Circular task dependencies as do_image_complete depends itself via the chain do_image_complete -> do_packageswu -> do_image_qa -> do_image -> do_image_cpio ERROR: ExpansionError during parsing /meta/recipes-core/images/core-image-tiny-initramfs.bb Traceback (most recent call last): File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image_qa', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']): if task in deps: > follow_chain(othertask, endtask, chain) chain.pop() File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']): if task in deps: > follow_chain(othertask, endtask, chain) chain.pop() File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image_cpio', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']): if task in deps: > follow_chain(othertask, endtask, chain) chain.pop() File "/bitbake/lib/bb/build.py", line 1038, in follow_chain(task='do_image_complete', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']): if task in chain: > bb.fatal("Circular task dependencies as %s depends itself via the chain %s?!" % (task, " -> ".join(chain))) chain.append(task) File "/bitbake/lib/bb/__init__.py", line 165, in fatal: mainlogger.critical(''.join(args), extra=kwargs) > raise BBHandledException() to the real error: ERROR: /media/build1/poky/meta/recipes-core/images/core-image-tiny-initramfs.bb: Circular task dependencies as do_image_complete depends itself via the chain do_image_complete -> do_packageswu -> do_image_qa -> do_image -> do_image_cpio (Bitbake rev: bdaab86ae7c2c16e5e1a0afa3e3f68130e9d57ca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 551d4c0576a0a0c3406000029df9238b312f2263) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24bitbake: cookerdata: Improve missing core layer error messageRichard Purdie
If the core layer is missing from bblayers.conf, the message the user sees is hard to understand. Improve it. [YOCTO #14340] (Bitbake rev: b460667572994066921c1971f73c58c081463bfc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5815a7258ebb8a989e0c6f5798853559d9413f02) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24bitbake: cookerdata: Show error for no BBLAYERS in bblayers.confRichard Purdie
If there is no BBLAYERS set in bblayers.conf show a more helpful error and exit. [YOCTO #14340] (Bitbake rev: ba79d4711c8010bb7f28784e18a0a42b98284d48) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 97183e10faf9862b5d9489d6e2c27ac77c3b697d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-22bitbake: tests/fetch2: Use our own git server for dtc test repoRichard Purdie
(Bitbake rev: 19c5605b72e25e06f5ea57bcc1672650e7978a7f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17linux-yocto/5.4: update to v5.4.144Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: c6bf0ed9d1a7 Linux 5.4.144 0634c0f91995 audit: move put_tree() to avoid trim_trees refcount underflow and UAF cab0003311a0 net: don't unconditionally copy_from_user a struct ifreq for socket ioctls 6752b3b0628e Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat" 67871ada3a53 Revert "floppy: reintroduce O_NDELAY fix" d7f7eca72ecc btrfs: fix NULL pointer dereference when deleting device by invalid id e644da7ace0f arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88 4f76285f6df8 KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs 620681d7201a net: dsa: mt7530: fix VLAN traffic leaks again 38adbf21f37e bpf: Fix cast to pointer from integer of different size warning 812ee47ad76e bpf: Track contents of read-only maps as scalars f4418015201b vt_kdsetmode: extend console locking 8a19e0045086 btrfs: fix race between marking inode needs to be logged and log syncing f3a1ac258ebc net/rds: dma_map_sg is entitled to merge entries ad6a2bc7588a drm/nouveau/disp: power down unused DP links during init 689179c462d8 drm: Copy drm_wait_vblank to user before returning 18ceb99f8483 qed: Fix null-pointer dereference in qed_rdma_create_qp() f1a0db49abd5 qed: qed ll2 race condition fixes 73ba9e4ece4b vringh: Use wiov->used to check for read/write desc order ee52acae6fb5 virtio_pci: Support surprise removal of virtio pci device be9b79e84154 virtio: Improve vq->broken access to avoid any compiler optimization 0d4ba693db48 opp: remove WARN when no valid OPPs remain baf56a1d8199 perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32 0ad96094ab90 usb: gadget: u_audio: fix race condition on endpoint stop c5c2b4ca5035 drm/i915: Fix syncmap memory leak 2f3cefa6abf0 net: hns3: fix get wrong pfc_en when query PFC configuration 6f0c0b35e277 net: hns3: fix duplicate node in VLAN list 951805c23dff net: hns3: clear hardware resource when loading driver 08162f65642c rtnetlink: Return correct error on changing device netns f58e42d1928c net: marvell: fix MVNETA_TX_IN_PRGRS bit number 45454400a647 xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()' 53b480e68c1c ip_gre: add validation for csum_start bb8ca7e2e67e RDMA/efa: Free IRQ vectors on error flow e29565b4515e e1000e: Fix the max snoop/no-snoop latency for 10M 8a21e84334ec IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs() 944a50f56f1b RDMA/bnxt_re: Add missing spin lock initialization 28b189541027 scsi: core: Fix hang of freezing queue between blocking and running device 628c582854d3 usb: dwc3: gadget: Stop EP0 transfers during pullup disable d9da281c8f9e usb: dwc3: gadget: Fix dwc3_calc_trbs_left() 21880abf19ba USB: serial: option: add new VID/PID to support Fibocom FG150 2e098e91eeec Revert "USB: serial: ch341: fix character loss at high transfer rates" 16b281a70a10 can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters 765437d1f078 mm, oom: make the calculation of oom badness more accurate 1cccf5c03077 mmc: sdhci-msm: Update the software timeout value for sdhc aec1e470d906 ovl: fix uninitialized pointer read in ovl_lookup_real_one() 57bd5b59f1ce once: Fix panic when module unload 5892f910f401 netfilter: conntrack: collect all entries in one cycle 7c95c89b6929 ARC: Fix CONFIG_STACKDEPOT a6b049aeefa8 net: qrtr: fix another OOB Read in qrtr_endpoint_post (From OE-Core rev: e99578cde6078828a3075e10f1bb97e1a373ce12) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17linux-yocto/5.4: update to v5.4.143Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: fd80923202c6 Linux 5.4.143 4bf194158102 netfilter: nft_exthdr: fix endianness of tcp option cast e4fd994f02c5 fs: warn about impending deprecation of mandatory locks 41c7f46c89f6 mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim 1a3aa81444d3 mm, memcg: avoid stale protection values when cgroup is above protection 9c1c449dcca0 ASoC: intel: atom: Fix breakage for PCM buffer address setup 846ba58a7c06 PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI 548b75f4905e btrfs: prevent rename2 from exchanging a subvol with a directory from different parents 0fc6a9c2025b ipack: tpci200: fix memory leak in the tpci200_register 280d66b31797 ipack: tpci200: fix many double free issues in tpci200_pci_probe cb7aa5103146 slimbus: ngd: reset dma setup during runtime pm abce32d0f7f4 slimbus: messaging: check for valid transaction id 0786d315f55c slimbus: messaging: start transaction ids from 1 instead of zero 20c2f141b1e5 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name 8fbfebe188c0 ALSA: hda - fix the 'Capture Switch' value change notifications 85e60614d1f6 mmc: dw_mmc: Fix hang on data CRC error 4f6c9caf7b6c ovl: add splice file read write helper 85813f1f9e86 iavf: Fix ping is lost after untrusted VF had tried to change MAC a498115dcd9c i40e: Fix ATR queue selection 1b8a8fba7853 ovs: clear skb->tstamp in forwarding path 84dbbf5482e3 net: mdio-mux: Handle -EPROBE_DEFER correctly 453486e79ed2 net: mdio-mux: Don't ignore memory allocation errors 6b70c67849bb net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32 da92ce364595 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO 9aeadce8e33b virtio-net: support XDP when not more queues 3ed7cf8386c9 vrf: Reset skb conntrack connection on VRF rcv 447b16028956 bnxt_en: Add missing DMA memory barriers c9566df334d0 ptp_pch: Restore dependency on PCI a73b9aa14269 net: 6pack: fix slab-out-of-bounds in decode_data 2bc75713434b bnxt: disable napi before canceling DIM a9fb0f155980 bnxt: don't lock the tx queue from napi poll 1fe038030cc8 bpf: Clear zext_dst of dead insns 73a45f75a07b vhost: Fix the calculation in vhost_overflow() b9a59636c4bf virtio: Protect vqs list access b264e37b3517 dccp: add do-while-0 stubs for dccp_pr_debug macros 9112ebc2990a cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant cb9a9d5fe636 iommu: Check if group is NULL before remove device 911a8141efdd Bluetooth: hidp: use correct wait queue when removing ctrl_wait 5b14c1f16e2d drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X f92dc3a89dd8 net: usb: lan78xx: don't modify phy_device state concurrently be7043679967 ARM: dts: nomadik: Fix up interrupt controller node names 69aa1a1a569f scsi: core: Fix capacity set to zero after offlinining device 935de7ec7a4d scsi: core: Avoid printing an error if target_alloc() returns -ENXIO 7a721a1e1885 scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach() 9900e06ae6e6 scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry() e37cf26bd56d dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available 12d1322d93a6 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218 11145efd295b dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe() 9c97a0539288 dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers fc566b5a21f5 USB: core: Avoid WARNings for 0-length descriptor requests 1bd505c814cc media: drivers/media/usb: fix memory leak in zr364xx_probe 705660a6d98d media: zr364xx: fix memory leaks in probe() 79dff2a3f41a media: zr364xx: propagate errors from zr364xx_start_readpipe() 7305d6d4078f mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards 23f77ad13f81 ath9k: Postpone key cache entry deletion for TXQ frames reference it c6feaf806da6 ath: Modify ath_key_delete() to not need full key entry b7d593705eb4 ath: Export ath_hw_keysetmac() add283e2517a ath9k: Clear key cache explicitly on disabling hardware 0c049ce432b3 ath: Use safer key clearing with key cache entries 172b91bbbb49 x86/fpu: Make init_fpstate correct with optimized XSAVE 81d152c8daf8 ext4: fix EXT4_MAX_LOGICAL_BLOCK macro (From OE-Core rev: e03dd78008235282143093271678944a5ca1f938) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17ffmpeg: fix CVE-2021-38171Kiran Surendran
backport from upstream (From OE-Core rev: 130af0502d1ae6fe3721b83ff5218e3aa48dbf0d) Signed-off-by: Kiran Surendran <Kiran.Surendran@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17systemtap: Fix headers issue with x86 and 5.13 headersRichard Purdie
On some x86 platforms there were header issues causing pt_regs compile failures for our stap tests, e.g. on genericx86-64 but not qemux86-64. Backport a patch from upstream which fixes the issue. [YOCTO #14491] (From OE-Core rev: 3934d33861ebf18e3208b09b892b39b16e350157) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a4ad6c88b683b7310ef46d89b1add80b0f41bf2d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17linux-yocto/5.10: update to v5.10.63Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: e07f317d5a28 Linux 5.10.63 4405ea221dea media: stkwebcam: fix memory leak in stk_camera_probe ad5e13f15db7 fuse: fix illegal access to inode with reused nodeid 40ba433a85db new helper: inode_wrong_type() ded9137fcf0d spi: Switch to signed types for *_native_cs SPI controller fields 55bb5193cec5 serial: 8250: 8250_omap: Fix possible array out of bounds access 8e41134a92a5 ALSA: pcm: fix divide error in snd_pcm_lib_ioctl 4ffde17862b0 ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17 4ee2686b3745 ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup 2808d59fb29b cryptoloop: add a deprecation warning 61a038f80c80 perf/x86/amd/power: Assign pmu.module ec9a82e034f6 perf/x86/amd/ibs: Work around erratum #1197 23c29490b84d ceph: fix possible null-pointer dereference in ceph_mdsmap_decode() d2064a1444d6 perf/x86/intel/pt: Fix mask of num_address_ranges 0e74bba60452 qede: Fix memset corruption 35f223cb21b1 net: macb: Add a NULL check on desc_ptp cf50d02e474b qed: Fix the VF msix vectors flow 2177c4943e40 reset: reset-zynqmp: Fixed the argument data type 9872349b088d gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats b983d60292a6 ARM: OMAP1: ams-delta: remove unused function ams_delta_camera_power bc860c3f0945 xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG b1075d2a7052 static_call: Fix unused variable warn w/o MODULE ae16b7c66837 Revert "Add a reference to ucounts for each cred" 1aa3f27e592d Revert "cred: add missing return error code when set_cred_ucounts() failed" 0c1443874e1c Revert "ucounts: Increase ucounts reference counter before the security hook" 0479b2bd2959 ubifs: report correct st_size for encrypted symlinks 3ac01789f6d9 f2fs: report correct st_size for encrypted symlinks 894a02236d0d ext4: report correct st_size for encrypted symlinks b8c298cf57dc fscrypt: add fscrypt_symlink_getattr() for computing st_size 09a379549620 ext4: fix race writing to an inline_data file while its xattrs are changing f6dd002450bf Linux 5.10.62 0c9a876f2897 bpf: Fix potentially incorrect results with bpf_get_local_storage() 38c1915d3e9f audit: move put_tree() to avoid trim_trees refcount underflow and UAF 1890ee7ff87f net: don't unconditionally copy_from_user a struct ifreq for socket ioctls 0085646e02b2 Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat" 17982c664f8b Revert "floppy: reintroduce O_NDELAY fix" 709c162ddc83 kthread: Fix PF_KTHREAD vs to_kthread() race c43add24dffd btrfs: fix NULL pointer dereference when deleting device by invalid id 1604c42a1ca9 arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88 f760c1101f52 lkdtm: Enable DOUBLE_FAULT on all architectures b6c657abb893 net: dsa: mt7530: fix VLAN traffic leaks again f8242f554c82 usb: typec: ucsi: Clear pending after acking connector change e15e32d519fa usb: typec: ucsi: Work around PPM losing change information 08953884aad4 usb: typec: ucsi: acpi: Always decode connector change information 9a4f1dc8a17c tracepoint: Use rcu get state and cond sync for static call updates b6ae3854075e srcu: Provide polling interfaces for Tiny SRCU grace periods 450948b06ce8 srcu: Make Tiny SRCU use multi-bit grace-period counter 641e1d88404a srcu: Provide internal interface to start a Tiny SRCU grace period f789de3be808 srcu: Provide polling interfaces for Tree SRCU grace periods fdf66e5a7fc8 srcu: Provide internal interface to start a Tree SRCU grace period d3c38d8549c0 powerpc/perf: Invoke per-CPU variable access with disabled interrupts 77b77d45a4b1 perf annotate: Fix jump parsing for C++ code. 9f9e40ddfca3 perf tools: Fix arm64 build error with gcc-11 94687c49b65b perf record: Fix memory leak in vDSO found using ASAN e0ca67030fda perf symbol-elf: Fix memory leak by freeing sdt_note.args 0d8e39bb9416 perf env: Fix memory leak of bpf_prog_info_linear member 133d7f93eecd riscv: Fixup patch_text panic in ftrace 7e2087249e87 riscv: Fixup wrong ftrace remove cflag b42fde92cdde Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS 60d69cb4e60d vt_kdsetmode: extend console locking 0a178a015161 tipc: call tipc_wait_for_connect only when dlen is not 0 ded6da217ced mtd: spinand: Fix incorrect parameters for on-die ECC 3b2018f9c9c0 pipe: do FASYNC notifications for every pipe IO, not just state changes e91da23c1be1 pipe: avoid unnecessary EPOLLET wakeups under normal loads d845f89d59fc btrfs: fix race between marking inode needs to be logged and log syncing 6f38d95f33be net/rds: dma_map_sg is entitled to merge entries b882dda2bf7a drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences 7f422cda03a6 drm/nouveau/disp: power down unused DP links during init 6fd6e20520cc drm: Copy drm_wait_vblank to user before returning 26ee94ba343c blk-mq: don't grab rq's refcount in blk_mq_check_expired() b00ca567579a drm/amd/pm: change the workload type for some cards 3c37ec435022 Revert "drm/amd/pm: fix workload mismatch on vega10" cc126b400b25 qed: Fix null-pointer dereference in qed_rdma_create_qp() 18a65ba06903 qed: qed ll2 race condition fixes 4ac9c81e8a54 tools/virtio: fix build c7ee4d22614e vringh: Use wiov->used to check for read/write desc order 6c074eaaf785 virtio_vdpa: reject invalid vq indices 0698278e8eef virtio_pci: Support surprise removal of virtio pci device 065a13c299b4 virtio: Improve vq->broken access to avoid any compiler optimization f41c7462d8ae cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev 3dea93159038 opp: remove WARN when no valid OPPs remain be37f7dbcd2c iwlwifi: pnvm: accept multiple HW-type TLVs 9a6a5602c217 clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference bdc5049c3698 perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32 c5600b914690 dt-bindings: sifive-l2-cache: Fix 'select' matching ad5329a53327 usb: gadget: u_audio: fix race condition on endpoint stop 257ea8a5edc0 drm/i915: Fix syncmap memory leak e49b8d9c5e88 net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est b2091d47a14e net: stmmac: add mutex lock to protect est parameters ac874290e75c Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711" 411680a07cc6 net: hns3: fix get wrong pfc_en when query PFC configuration e834ca7c7924 net: hns3: fix duplicate node in VLAN list 5931ec35e992 net: hns3: add waiting time before cmdq memory is released 9820af16a879 net: hns3: clear hardware resource when loading driver ad0db8385575 rtnetlink: Return correct error on changing device netns 51bc5c66606d cxgb4: dont touch blocked freelist bitmap after free beefd5f0c63a ipv4: use siphash instead of Jenkins in fnhe_hashfun() dced8347a727 ipv6: use siphash in rt6_exception_hash() f517335a61ff net/sched: ets: fix crash when flipping from 'strict' to 'quantum' b493af3a66e0 ucounts: Increase ucounts reference counter before the security hook 8e0881f6f57e net: marvell: fix MVNETA_TX_IN_PRGRS bit number 850401a23a85 xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()' fb45459d9ddb ip_gre: add validation for csum_start e78006b59a30 RDMA/efa: Free IRQ vectors on error flow 8f1e3ad94569 e1000e: Do not take care about recovery NVM checksum 87285ac51ecf e1000e: Fix the max snoop/no-snoop latency for 10M 58b3dbf10c01 igc: Use num_tx_queues when iterating over tx_ring queue ae6480ba0665 igc: fix page fault when thunderbolt is unplugged 384dea502e91 net: usb: pegasus: fixes of set_register(s) return value evaluation; 3217c9d4602f ice: do not abort devlink info if board identifier can't be found 3a2c5fbb1cc6 RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init() 56ac7463a140 IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs() 3e949aaa8bef RDMA/bnxt_re: Add missing spin lock initialization 22c18102ec59 scsi: core: Fix hang of freezing queue between blocking and running device 01da7c1dc4cf usb: dwc3: gadget: Stop EP0 transfers during pullup disable 87b2016493eb usb: dwc3: gadget: Fix dwc3_calc_trbs_left() 56c92b8ddc0c usb: renesas-xhci: Prefer firmware loading on unknown ROM state b0bcc8038868 USB: serial: option: add new VID/PID to support Fibocom FG150 8437e07c370f Revert "USB: serial: ch341: fix character loss at high transfer rates" da3067eadcc1 drm/amdgpu: Cancel delayed work when GFXOFF is disabled 3134292a8e79 Revert "btrfs: compression: don't try to compress if we don't have enough pages" 921c2533aa3a riscv: Ensure the value of FP registers in the core dump file is up to date e55a8b461585 ceph: correctly handle releasing an embedded cap flush 7008b9981b6a can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters 45b7b2097153 net: mscc: Fix non-GPL export of regmap APIs ef2d68ef9a3b ovl: fix uninitialized pointer read in ovl_lookup_real_one() c94d50979f20 blk-iocost: fix lockdep warning on blkcg->lock 6815e21fe28d once: Fix panic when module unload f68ad168e235 netfilter: conntrack: collect all entries in one cycle a13a2df0b149 ARC: Fix CONFIG_STACKDEPOT 0af6a9f82ca3 ASoC: component: Remove misplaced prefix handling in pin control functions 34cc80ec12d6 ASoC: rt5682: Adjust headset volume button threshold d81ddadabdee bpf: Fix NULL pointer dereference in bpf_get_local_storage() helper 9dd6f6d89693 bpf: Fix ringbuf helper function compatibility ad41706c771a net: qrtr: fix another OOB Read in qrtr_endpoint_post (From OE-Core rev: 8ae6f847f343621933cf6fdacfed456ceff04250) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bb885bf8ffe9ba7260f83d9575978f753edf538e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17linux-yocto/5.10: update to v5.10.61Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 452ea6a15ed2 Linux 5.10.61 f15e64267393 io_uring: only assign io_uring_enter() SQPOLL error in actual error case 695ab28a7fa1 io_uring: fix xa_alloc_cycle() error return value check 0d5fcfc6406e fs: warn about impending deprecation of mandatory locks 8132fc2bf4b7 mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim 53e81668e119 ASoC: intel: atom: Fix breakage for PCM buffer address setup 88f65f57a0b9 ALSA: hda/realtek: Limit mic boost on HP ProBook 445 G8 b6672f67ec28 PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI a69326e134d4 s390/pci: fix use after free of zpci_dev 05b56e05543c ALSA: hda/via: Apply runtime PM workaround for ASUS B23E 67fece6289a9 btrfs: prevent rename2 from exchanging a subvol with a directory from different parents 16cfa72766b5 mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711 2566c1d8239d mmc: sdhci-iproc: Cap min clock frequency on BCM2711 110b7f72f6d0 ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9510 laptop 258782b93701 ipack: tpci200: fix memory leak in the tpci200_register 3ee1b08097c1 ipack: tpci200: fix many double free issues in tpci200_pci_probe 0775bc462ae7 slimbus: ngd: reset dma setup during runtime pm 45d6fc21cd4d slimbus: messaging: check for valid transaction id b700b523ddaf slimbus: messaging: start transaction ids from 1 instead of zero bd0c2f83d072 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name f7c125493c78 ALSA: hda - fix the 'Capture Switch' value change notifications 7451c309c7a3 clk: qcom: gdsc: Ensure regulator init state matches GDSC state 7203b4986d9a clk: imx6q: fix uart earlycon unwork 3f8920c5706e mmc: sdhci-msm: Update the software timeout value for sdhc 8f499a90e7ee mmc: mmci: stm32: Check when the voltage switch procedure should be done f8dac276a9b4 mmc: dw_mmc: Fix hang on data CRC error 645fd92c3ed4 Revert "flow_offload: action should not be NULL when it is referenced" 2f6c42806e10 iavf: Fix ping is lost after untrusted VF had tried to change MAC 7873c29832a3 i40e: Fix ATR queue selection e003a8921949 r8152: fix writing USB_BP2_EN 21ca0b18ad64 iommu/vt-d: Fix incomplete cache flush in intel_pasid_tear_down_entry() 81578e587c08 iommu/vt-d: Consolidate duplicate cache invaliation code eee84eafc3bb ovs: clear skb->tstamp in forwarding path 47a1161dacb1 net: mdio-mux: Handle -EPROBE_DEFER correctly 13af9c81e62f net: mdio-mux: Don't ignore memory allocation errors df61235881c8 sch_cake: fix srchost/dsthost hashing mode e1ec5858bae1 ixgbe, xsk: clean up the resources in ixgbe_xsk_pool_enable error path 3b7397b203cc net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32 9bc2d1a5a890 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO b7adfde94930 virtio-net: support XDP when not more queues 1ce62fe6e4cb vrf: Reset skb conntrack connection on VRF rcv 8ae539a36194 bnxt_en: Add missing DMA memory barriers 9751aa443695 bnxt_en: Disable aRFS if running on 212 firmware efd9b79b92a3 ptp_pch: Restore dependency on PCI 85e0518f181a net: 6pack: fix slab-out-of-bounds in decode_data e0ae16836027 bnxt: count Tx drops 296fe765dd02 bnxt: make sure xmit_more + errors does not miss doorbells d913d5cc3ba5 bnxt: disable napi before canceling DIM 5b24ae8f05ca bnxt: don't lock the tx queue from napi poll 585ff7344ec1 bpf: Clear zext_dst of dead insns 8dfdeeb1e98e drm/mediatek: Add AAL output size configuration a8b8d61babb4 drm/mediatek: Fix aal size config 6715cefa72f6 soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h 1b6fc6f739d4 vdpa/mlx5: Avoid destroying MR on empty iotlb ecdd7c488062 vhost: Fix the calculation in vhost_overflow() e0b603c89a93 bus: ti-sysc: Fix error handling for sysc_check_active_timer() 1af7ccbd920a vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update() 293180f59342 virtio: Protect vqs list access 9108120fbe31 dccp: add do-while-0 stubs for dccp_pr_debug macros e352531ed020 cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant d2ab5491de91 iommu: Check if group is NULL before remove device 44f454a146c0 arm64: dts: qcom: msm8992-bullhead: Remove PSCI 95ed753d91bf arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x d7d04c67492e Bluetooth: hidp: use correct wait queue when removing ctrl_wait 2e6cc93e1b8c drm/amd/display: workaround for hard hang on HPD on native DP dcc8c5fb8d85 drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X 8849a8c7058e net: usb: lan78xx: don't modify phy_device state concurrently 735e613fa587 net: usb: pegasus: Check the return value of get_geristers() and friends; 6b368411bc0f ARM: dts: nomadik: Fix up interrupt controller node names 410d1ea4ff3a qede: fix crash in rmmod qede while automatic debug collection 7525f2e4de00 drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir. 711459514e29 scsi: core: Fix capacity set to zero after offlinining device 8071dbe1bdd0 scsi: core: Avoid printing an error if target_alloc() returns -ENXIO 4f78db7df6ed scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach() cc312fa7e6ef scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry() 968ee9176a44 scsi: pm80xx: Fix TMF task completion race condition b353028aed92 dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available 35f416223673 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218 505884a0c7a1 net: xfrm: Fix end of loop tests for list_for_each_entry f1c0533fae59 spi: spi-mux: Add module info needed for autoloading b618a32142c7 dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe() c160df90b0ca dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers d4930271a409 USB: core: Fix incorrect pipe calculation in do_proc_control() ba6c1b004ac5 USB: core: Avoid WARNings for 0-length descriptor requests 8e100c72b6de KVM: X86: Fix warning caused by stale emulation context 47d4c7999799 KVM: x86: Factor out x86 instruction emulation with decoding ff2fc9e4aaa6 media: drivers/media/usb: fix memory leak in zr364xx_probe 56320b1ad4d0 media: zr364xx: fix memory leaks in probe() b5c7ec6d15af media: zr364xx: propagate errors from zr364xx_start_readpipe() 779a0f4347a4 mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards e2036bc3fc7d ath9k: Postpone key cache entry deletion for TXQ frames reference it 609c0cfd07f0 ath: Modify ath_key_delete() to not need full key entry 2925a8385ec7 ath: Export ath_hw_keysetmac() 6566c207e576 ath9k: Clear key cache explicitly on disabling hardware 8f05076983dd ath: Use safer key clearing with key cache entries (From OE-Core rev: 172d84a695a4bb1c4cde95be163b32cc9266ccec) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ce4eb69dc8ce06b3bb49fbddf27017f58ac20b0d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17go: Exclude CVE-2021-29923 from report listRichard Purdie
Upstream don't believe it is a signifiant real world issue and will only fix in 1.17 onwards. Therefore exclude it from our reports. https://github.com/golang/go/issues/30999#issuecomment-910470358 (From OE-Core rev: 573337b8432677fa3a7643e74045ae7d7b331b3f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5bd5faf0c34b47b2443975d66b71482d2380a01a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17flex: Add CVE-2019-6293 to exclusions for checksRichard Purdie
CVE is effectively disputed - yes there is stack exhaustion but no bug and it is building the parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address and there is no security issue. https://github.com/westes/flex/issues/414 (From OE-Core rev: e2de2e5e977d84dab6cb1461800d4c29436da5c9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0cae5d7a24bedf6784781b62cbb3795a44bab4d1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17tcl: Exclude CVE-2021-35331 from checksRichard Purdie
Upstream don't believe this is an issue. (From OE-Core rev: d0ff86bccdbcd91e8760001037168043725ef8f4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit adf7bafee3f8884e525b5639ba092a1cd8e3beb9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17bluez5: fix CVE-2021-0129Trevor Gamblin
Backport a fix from version 5.57 rather than doing an uprev, since there appear to be some minor functional changes between our current version and that version, despite the changelog only listing fixes. (From OE-Core rev: be18e566413efef12dc2488ab186f397d1dacda9) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17ffmpeg: fix CVE-2021-38291Kiran Surendran
backport from upstream (From OE-Core rev: cbb7b8cfbd4cfe6115e858e14f415d89d182f550) Signed-off-by: Kiran Surendran <kiran.surendran@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17squashfs-tools: fix CVE-2021-40153Kai Kang
Backport patch to fix CVE-2021-40153, and remove version update in unsquashfs.c for compatible. CVE: CVE-2021-40153 Ref: * https://security-tracker.debian.org/tracker/CVE-2021-40153 (From OE-Core rev: 09de4ef3f33540069a37e9fe6e13081984b77511) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17mc: fix CVE-2021-36370Kai Kang
Backport patch to fix CVE-2021-36370. CVE: CVE-2021-36370 (From OE-Core rev: 38bf4de2bfec63457b55b4ea07d14ca37389e74f) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17apr: Security fix for CVE-2021-35940Armin Kuster
An out-of-bounds array read in the apr_time_exp*() functions was fixed in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the same issue. (From OE-Core rev: 2b1a8731359d990b3a8eec6403d689144a516207) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d52b78c75323fb254b5d0216f9183573b353abd3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17sqlite3: fix CVE-2021-36690Changqing Li
refer: https://nvd.nist.gov/vuln/detail/CVE-2021-36690 https://www.sqlite.org/forum/forumpost/718c0a8d17 https://sqlite.org/src/info/b1e0c22ec981cf5f (From OE-Core rev: b0c311d784e939342c4bfa771790a0113fc7a704) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17ruby: fix CVE-2021-31799Mingli Yu
Backport a patch to fix CVE-2021-31799. (From OE-Core rev: 97d0237e254a0d90b58fe35a1b40d549991b3779) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17ruby: Security fixes for CVE-2021-31810/CVE-2021-32066Yi Zhao
CVE-2021-31810: A malicious FTP server can use the PASV response to trick Net::FTP into connecting back to a given IP address and port. This potentially makes Net::FTP extract information about services that are otherwise private and not disclosed (e.g., the attacker can conduct port scans and service banner extractions). CVE-2021-32066: Net::IMAP does not raise an exception when StartTLS fails with an unknown response, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a “StartTLS stripping attack.” References: https://www.ruby-lang.org/en/news/2021/07/07/trusting-pasv-responses-in-net-ftp/ https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/ Patches from: https://github.com/ruby/ruby/commit/bf4d05173c7cf04d8892e4b64508ecf7902717cd https://github.com/ruby/ruby/commit/e2ac25d0eb66de99f098d6669cf4f06796aa6256 (From OE-Core rev: e14761916290c01683d72eb8e3de530f944fdfab) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16bitbake: build: Catch and error upon circular task referencesRichard Purdie
If there are circular task references, error on them rather than show a recursion error. A simple reproducer is: """ do_packageswu () { : } addtask do_packageswu after do_image_complete before do_image_qa """ into image_types.bbclass. There is code in runqueue to detect these but we never get that far with the current codebase. [YOCTO #13140] (Bitbake rev: 4d83d9103d9225a2ac42c0f3dfada2f5cf140b68) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 339d4d6be515a71311b81fb9e99742af0d8a5130) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16bitbake: runqueue: Improve multiconfig deferred task issuesRichard Purdie
The previous patches have exposed new issues with this code path, the issues being around what should happen when the hash of a task changes and the task is or is not on the deferred task list. Rather than rebuilding the deferred task list during each rehash event, build it once at the start of a build. This avoids the problem of tasks being added back after they have run and also avoids problems of always ensuring the same task is deferred. It also allows the 'outrightfail' codepath to be handled separately as the conditions are subtly differnt. One significant win for the new approch is the build is not continually printing out lists of deferred tasks, that list remains fairly static from the start of the build. Logic is added in to ensure a rehashed task with a hash matching other deferred tasks is deferred along with them as a small optimization. An interesting test case for this code was reported by Mark Hatle with four multiconfigs, each the same apart from TMPDIR and running a build of: bitbake buildtools-tarball mc:{one,two,three,four}:core-image-minimal which is interesting in that the build of buildtools partially overlaps core-image-minimal and the build has a rehash event for qemuwrapper-cross even without any external hash equivalence server or preexisting data. (Bitbake rev: 1775bcb95f61af21712bc1ba5098a49df8f21128) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bb424e0a6d274d398f434f7df63951da9ce305b3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16bitbake: cooker: Allow upstream for local hash equivalence serverJoshua Watt
The hash equivalence server has had the option to support a read-only upstream server for some time now when launched as a standalone program, but there was no way to set the upstream when using a locally started server. Add a new variable called BB_HASHSERVE_UPSTREAM that can be used to specify an upstream server when a local hash equivalence server is used (e.g. BB_HASHSERVE is "auto") (Bitbake rev: c225638a1bef06aa7b3c07e37102d550afc0107e) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 250fa17f1391ff1ee01ab9b51d2a4f9aa35c1d1e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16bitbake: runqueue: Fix issues with multiconfig deferred task deadlock messagesRichard Purdie
In multiconfig builds with large numbers of identical tasks, builds were deadlocking after recent runqueue changes upon rebuilds where there was heavy sstate usage (i.e. on second builds after a first completed). The issue was that deferred tasks were being left indefinitely on the deferred list. The deadlock handler was then "breaking" things by failing tasks that had already succeeded, leading to the task being on both covered and not covered lists, giving a further error. The fix is to clean up the deferred task list when each setscene task completes. I'd previously been hoping to avoid iterating that list but it appears unavoidable. [YOCTO #14342] (Bitbake rev: 27d5b55bb33c319ca595c192c910eac91a5d9428) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ae24a0f2d2d8b4b5ec10efabd0e9362e560832ea) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16bitbake: runqueue: Avoid deadlock avoidance task graph corruptionRichard Purdie
If the deferred task deadlock avoidance code triggers, it could mark an executed task as failed which leads to "covered and not covered" error messages. Improve the logic so if the deadlock code is triggered, it doesn't cause the errors. (Bitbake rev: 72f51767da47af12d2c56bd3ee87cb0018b16705) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 51bdd6cb3bd9e2c02e261fb578bb945b86b82c75) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09build-appliance-image: Update to hardknott head revisionyocto-3.3.3hardknott-3.3.3Richard Purdie
(From OE-Core rev: 567dd35d893c5d8969d41f263a24da8fbae3fc2f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09xdg-utils: Add fix for CVE-2020-27748Richard Purdie
Backport an upstream patch for the CVE. (From OE-Core rev: 850dcfad6cf31488b44a7502931787063d0679b0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 87191ed0303f6552865ad1edcacd674c57f2010c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09oeqa/runtime/parselogs: Make DVD ata error apply to all qemux86 machinesRichard Purdie
This log checking fix is needed for both qemux86 and qemux86-64 so move to the common section. [YOCTO #14528] (From OE-Core rev: f749f4e73e7c5c5f42dc91672d2c7df0ad7b3734) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2475ce68f0bc1f342c75364dfcfaf7f30499badf) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09parselogs.py: ignore intermittent CD/DVDROM identification failureBruce Ashfield
We don't use the CD/DVD ROM drive in any of our tests, but it periodically fails discovery and that leads to a QA error: [ 6.403477] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4) The only way to disable the optical ROM drive in qemu is to use the '-nodefaults' option, which disables the CDROM (among other things). We can't be sure that none of our tests, or extended users are relying on default devices, so using that option is more of a risk than adding the message to our ignore list. To date, no one has sent a patch to just disable the optical drive (either in qemu or the BIOS), but that is something we could consider in the future. [YOCTO #14528] (From OE-Core rev: fc5c448d94e63bebb97de83113697c5cefe27116) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 143fc5504539c69752ca87717507c197a8920ce5) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09linux-yocto/5.10: update to v5.10.60Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 2c5bd949b1df Linux 5.10.60 3a24e121304a net: dsa: microchip: ksz8795: Use software untagging on CPU port 1e78179d75fb net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion 5033d5e23155 net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration 60c007b52779 net: dsa: microchip: ksz8795: Fix PVID tag insertion f365d53c8687 net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port 3dc5666baf2a KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656) c0883f693187 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653) b5f05bdfda28 vmlinux.lds.h: Handle clang's module.{c,d}tor sections 2fe07584a623 ceph: take snap_empty_lock atomically with snaprealm refcount change a23aced54c2c ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm b0efc93271ca ceph: add some lockdep assertions around snaprealm handling dcdb587ac470 vboxsf: Add support for the atomic_open directory-inode op 7cd14c1a7fed vboxsf: Add vboxsf_[create|release]_sf_handle() helpers 433f0b31ebec KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF 0ab67e3dfc4d KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation 4a948c579ed6 efi/libstub: arm64: Double check image alignment at entry fc7da433fa16 powerpc/smp: Fix OOPS in topology_init() 312730cd15e0 PCI/MSI: Protect msi_desc::masked for multi-MSI 724d0a985086 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown() 923368751866 PCI/MSI: Correct misleading comments e42fb8e6161e PCI/MSI: Do not set invalid bits in MSI mask 042e03c9cdab PCI/MSI: Enforce MSI[X] entry updates to be visible 0b2509d7a90c PCI/MSI: Enforce that MSI-X table entry is masked for update aa8092c1d1f1 PCI/MSI: Mask all unused MSI-X entries 7e90e81a4b59 PCI/MSI: Enable and mask MSI-X early 2d2c66848027 genirq/timings: Prevent potential array overflow in __irq_timings_store() 355754194b48 genirq/msi: Ensure deactivation on teardown f0736bed18fb x86/resctrl: Fix default monitoring groups reporting 25216ed97da8 x86/ioapic: Force affinity setup before startup 19fb5dabedca x86/msi: Force affinity setup before startup 4e52a4fe6f44 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP 2a28b52306f2 x86/tools: Fix objdump version check again 4acc0d987141 powerpc/kprobes: Fix kprobe Oops happens in booke 015e2c900b5d efi/libstub: arm64: Relax 2M alignment again for relocatable kernels feb4a01d3ece efi/libstub: arm64: Force Image reallocation if BSS was not reserved afcb84e6cf8c arm64: efi: kaslr: Fix occasional random alloc (and boot) failure e0ee8d9c31b5 nbd: Aovid double completion of a request f5cefe9a52a6 vsock/virtio: avoid potential deadlock when vsock device remove dff830e5e723 xen/events: Fix race in set_evtchn_to_irq 65395b053d03 drm/i915: Only access SFC_DONE when media domain is not fused off 4344440d91b3 net: igmp: increase size of mr_ifc_count 696afe28dc51 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets 8976606ca347 net: linkwatch: fix failure to restore device state across suspend/resume 4c2af90119ea net: bridge: fix memleak in br_add_if() f333a5ca71c3 net: bridge: fix flags interpretation for extern learn fdb entries e3b949b86d09 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry 1cad01aca1fa net: dsa: sja1105: fix broken backpressure in .port_fdb_dump 56cc3408ff2a net: dsa: lantiq: fix broken backpressure in .port_fdb_dump f7720b35cd32 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump 24e1b7dbb174 net: igmp: fix data-race in igmp_ifc_timer_expire() 69b13167a636 net: Fix memory leak in ieee802154_raw_deliver dbfaf7a6a23a net: dsa: microchip: ksz8795: Fix VLAN filtering ccc1fe82c878 net: dsa: microchip: Fix ksz_read64() 558092b8ed31 drm/meson: fix colour distortion from HDR set during vendor u-boot 6e1886465dea net/mlx5: Fix return value from tracer initialization 303ba011f5e1 net/mlx5: Synchronize correct IRQ when destroying CQ 00a0c11ddd72 bareudp: Fix invalid read beyond skb's linear data 30b1fc47f765 psample: Add a fwd declaration for skbuff b3f0b170842c iavf: Set RSS LUT and key in reset handle path a6192bae12e4 ice: don't remove netdev->dev_addr from uc sync list bae5b521feaa ice: Prevent probing virtual functions 059238c52c61 net: sched: act_mirred: Reset ct info when mirror/redirect skb f15f7716b047 net/smc: fix wait on already cleared link 51f4965d775e ppp: Fix generating ifname when empty IFLA_IFNAME is specified 046579c9fc28 net: phy: micrel: Fix link detection on ksz87xx switch" e95620c3bdff bpf: Fix integer overflow involving bucket_size 1960c3ac5268 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT a3e9a3e22844 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables 53ebbfdd0e37 net: mvvp2: fix short frame size on s390 784320edb6c5 net: dsa: mt7530: add the missing RxUnicast MIB counter 20a80319028c ASoC: cs42l42: Fix LRCLK frame start edge 750503aecf4e pinctrl: tigerlake: Fix GPIO mapping for newer version of software be49d5437d1a netfilter: nf_conntrack_bridge: Fix memory leak when error aa6b17bfefbc ASoC: cs42l42: Remove duplicate control for WNF filter frequency b268f9f6b73f ASoC: cs42l42: Fix inversion of ADC Notch Switch control 2386a8cde18e ASoC: SOF: Intel: hda-ipc: fix reply size checking 0e47f99e8680 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J 576939671f74 ASoC: cs42l42: Correct definition of ADC Volume control a21963c35f16 pinctrl: mediatek: Fix fallback behavior for bias_set_combo 27188a938291 ieee802154: hwsim: fix GPF in hwsim_new_edge_nl 528f17c02db9 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi 95de3592f87e drm/amdgpu: don't enable baco on boco platforms in runpm bd80d11a516c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work ae311a7418f1 drm/amd/display: Remove invalid assert for ODM + MPC case c2351e5faa3e libnvdimm/region: Fix label activation vs errors 366de90ccfa2 ACPI: NFIT: Fix support for virtual SPA ranges f3fcf9d1b759 ceph: reduce contention in ceph_check_delayed_caps() ca6dea44bd8c ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch 4716a2145bbf net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases 561d13128bb8 seccomp: Fix setting loaded filter count during TSYNC 54916988a0fb scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash 3db5cb922800 cifs: create sd context must be a multiple of 8 d1398e3715b1 i2c: dev: zero out array used for i2c reads from userspace b8bceace43dd ASoC: intel: atom: Fix reference to PCM buffer address 261613ef340b ASoC: tlv320aic31xx: Fix jack detection after suspend 7e5a7fa68b27 ASoC: uniphier: Fix reference to PCM buffer address 209eb62b45fe ASoC: xilinx: Fix reference to PCM buffer address c419c4c91b30 ASoC: amd: Fix reference to PCM buffer address 0c9adae11701 iio: adc: Fix incorrect exit of for-loop 632279e5057c iio: humidity: hdc100x: Add margin to the conversion time 45de224b1332 iio: adis: set GPIO reset pin direction d0532ed064d1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels (From OE-Core rev: 2a785e70c87b45e2627e0730603e3f1859fc8fac) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 94fef82258d02285009d08b7a1791de124ff8f45) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09linux-yocto/5.10: update to v5.10.59Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 5805e5eec901 Linux 5.10.59 25cff25ec606 net: xilinx_emaclite: Do not print real IOMEM pointer 6a002d48a660 ovl: prevent private clone if bind mount is not allowed bffead8d3648 ppp: Fix generating ppp unit id when ifname is not specified 5df85901fe45 ALSA: hda: Add quirk for ASUS Flow x13 8930f2c60a45 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC 98c3fa3a9d7a ALSA: pcm: Fix mmap breakage without explicit buffer setup cc1a4dff23a4 USB:ehci:fix Kunpeng920 ehci hardware problem bd909fd3878d vboxsf: Make vboxsf_dir_create() return the handle for the created file 971703fc19cf vboxsf: Honor excl flag to the dir-inode create op 96b2232cb7e5 arm64: dts: renesas: beacon: Fix USB ref clock references e0dd4a0ab072 arm64: dts: renesas: beacon: Fix USB extal reference 0f47027d1b9b arm64: dts: renesas: rzg2: Add usb2_clksel to RZ/G2 M/N/H eaa7feecd366 mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM 0e709390372f Revert "selftests/resctrl: Use resctrl/info for feature detection" d8c38598701f bpf: Add lockdown check for probe_write_user helper 5b5064ea9a94 firmware: tee_bnxt: Release TEE shm, session, and context during kexec c5a625c6a4ac tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag 9f105d2d4f6c KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB 132a8267adab Linux 5.10.58 3d7d1b0f5f41 arm64: fix compat syscall return truncation bb65051dcd1f drm/amdgpu/display: only enable aux backlight control for OLED panels c8b7cfa674ee smb3: rc uninitialized in one fallocate path 8cfdd039ca18 net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset fbbb209268e5 alpha: Send stop IPI to send to online CPUs 13d0a9b3b917 net: qede: Fix end of loop tests for list_for_each_entry 1478e902bcbc virt_wifi: fix error on connect ecd8614809eb reiserfs: check directory items on read from disk dbe4f82fedc6 reiserfs: add check for root_inode in reiserfs_fill_super 0f05e0ffa247 libata: fix ata_pio_sector for CONFIG_HIGHMEM 11891adab23d drm/i915: avoid uninitialised var in eb_parse() a3e6bd0c71bb sched/rt: Fix double enqueue caused by rt_effective_prio c797b8872bb9 perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest 2d94cffc94a5 soc: ixp4xx/qmgr: fix invalid __iomem access 7397034905ac drm/i915: Correct SFC_DONE register offset 16aecf1e36d9 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes 22b4917c85af interconnect: Always call pre_aggregate before aggregate ccfe4f62ff9f interconnect: Zero initial BW after sync-state 05565b469358 spi: meson-spicc: fix memory leak in meson_spicc_remove 1a084e78217d interconnect: Fix undersized devress_alloc allocation dcc23e58511b soc: ixp4xx: fix printing resources 37cbd27ef4b2 arm64: vdso: Avoid ISB after reading from cntvct_el0 7a2b5bb00f54 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds 32f55c25ee29 KVM: Do not leak memory for duplicate debugfs directories 309a31127bef KVM: x86: accept userspace interrupt only if no event is injected a786282b55b4 md/raid10: properly indicate failure when ending a failed write request 3d7d2d2b069b ARM: omap2+: hwmod: fix potential NULL pointer access 9851ad2f7107 Revert "gpio: mpc8xxx: change the gpio interrupt flags." 57c44e7ac788 bus: ti-sysc: AM3: RNG is GP only f4984f60acc7 selinux: correct the return value when loads initial sids 100f8396d154 pcmcia: i82092: fix a null pointer dereference bug afcd5a0e015f net/xfrm/compat: Copy xfrm_spdattr_type_t atributes f08b2d078cbb xfrm: Fix RCU vs hash_resize_mutex lock inversion 23e36a8610ca timers: Move clearing of base::timer_running under base:: Lock 9a69d0d24d69 fpga: dfl: fme: Fix cpu hotplug issue in performance reporting bfb5f1a12325 serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts. 0f30fedced7c serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver 17f3c64f707b MIPS: Malta: Do not byte-swap accesses to the CBUS UART 8a1624f4a8d3 serial: 8250: Mask out floating 16/32-bit bus bits c03cef67157a serial: 8250_mtk: fix uart corruption issue when rx power off a4f8bfc919ee serial: tegra: Only print FIFO error message when an error occurs cc7300776808 ext4: fix potential htree corruption when growing large_dir directories 6b5a3d2c2b89 pipe: increase minimum default pipe size to 2 pages 556e7f204d34 media: rtl28xxu: fix zero-length control request 551e0c5d6b2e drivers core: Fix oops when driver probe fails faec2c68ea5f staging: rtl8712: error handling refactoring e468a357af68 staging: rtl8712: get rid of flush_scheduled_work 369101e39911 staging: rtl8723bs: Fix a resource leak in sd_int_dpc 1628b64efb36 tpm_ftpm_tee: Free and unregister TEE shared memory during kexec 2a879ff9719f optee: fix tee out of memory failure seen during kexec reboot ad80c25987fe optee: Refuse to load the driver under the kdump kernel 1340dc3fb75e optee: Fix memory leak when failing to register shm pages 6b2ded93d35c tee: add tee_shm_alloc_kernel_buf() 5e9d82021425 optee: Clear stale cache entries during initialization e5d8fd87091c arm64: stacktrace: avoid tracing arch_stack_walk() 7799ad4d181f tracepoint: Fix static call function vs data state mismatch 14673e19291c tracepoint: static call: Compare data on transition from 2->1 callees 046e12323ab4 tracing: Fix NULL pointer dereference in start_creating b2aca8daa50e tracing: Reject string operand in the histogram expression b10ccc2c5888 tracing / histogram: Give calculation hist_fields a size f97274528037 scripts/tracing: fix the bug that can't parse raw_trace_func fd3afb81f448 clk: fix leak on devm_clk_bulk_get_all() unwind 948ff2f214fb usb: otg-fsm: Fix hrtimer list corruption 8f8645de092a usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events 5b4318885a43 usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses 1f2015506d9c usb: gadget: f_hid: idle uses the highest byte for duration 825ac3f0bc35 usb: gadget: f_hid: fixed NULL pointer dereference 683702dff7c8 usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers 051518d9cfe3 usb: cdns3: Fixed incorrect gadget state 822bec5cbb05 usb: gadget: remove leaked entry from udc driver list 98c83d72614e usb: dwc3: gadget: Avoid runtime resume if disabling pullup 79e9389038c4 ALSA: usb-audio: Add registration quirk for JBL Quantum 600 b7532db2d458 ALSA: usb-audio: Fix superfluous autosuspend recovery 80b7aa2651bc ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256) de30786fb25a ALSA: hda/realtek: add mic quirk for Acer SF314-42 c0b626f0a29a ALSA: pcm - fix mmap capability check for the snd-dummy driver dd3f7c5c8904 drm/amdgpu/display: fix DMUB firmware version info ecb739cf15a9 firmware_loader: fix use-after-free in firmware_fallback_sysfs 5019f5812bbf firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback aa3b8bc17e2a USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2 d245a76719cf USB: serial: ch341: fix character loss at high transfer rates 0470385e63bb USB: serial: option: add Telit FD980 composition 0x1056 ba4a395668b5 USB: usbtmc: Fix RCU stall warning f2f856b65ac4 Bluetooth: defer cleanup of resources in hci_unregister_dev() 821e6a613354 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit() c5a499b8607a net: vxge: fix use-after-free in vxge_device_unregister fb49d67262ca net: fec: fix use-after-free in fec_drv_remove f12b6b6bc15f net: pegasus: fix uninit-value in get_interrupt_interval c66d273b70fe bnx2x: fix an error code in bnx2x_nic_load() f76f9caccb46 mips: Fix non-POSIX regexp f93b7b000044 MIPS: check return value of pgtable_pmd_page_ctor 9b2b2f07712b net: sched: fix lockdep_set_class() typo error for sch->seqlock d1f2abe57bc1 net: dsa: qca: ar9331: reorder MDIO write sequence a45ee8ed0c7d net: ipv6: fix returned variable type in ip6_skb_dst_mtu f87be69b7fe9 nfp: update ethtool reporting of pauseframe control 44f2e360e784 sctp: move the active_key update after sh_keys is added e74551ba938a RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently 1242ca9369b1 gpio: tqmx86: really make IRQ optional 4ef549dc9c1a net: natsemi: Fix missing pci_disable_device() in probe and remove 1dc3eef381c1 net: phy: micrel: Fix detection of ksz87xx switch e09dba75cafd net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag c0b14a0e61e7 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too 00bf923dce2a net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones de425f1c3a60 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add 74bcf85ff1e2 net, gro: Set inner transport header offset in tcp/udp GRO hook 80fd533ac3f9 dmaengine: imx-dma: configure the generic DMA type to make it work 163e6d87216d ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM 442f7e04d592 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM 449991df08d5 media: videobuf2-core: dequeue if start_streaming fails 3e8bba601212 scsi: sr: Return correct event when media event code is 3 aaaf6e6e4174 spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation cd989e119272 spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay 281514da66a4 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops bbce3c99f622 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops 84656b4c27bf clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops edf1b7911af2 dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state 4ebd11d1c782 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator 9bf056b99fa0 ARM: dts: am437x-l4: fix typo in can@0 node e79a30f71d95 clk: stm32f4: fix post divisor setup for I2S/SAI PLLs 71f39badc898 ALSA: usb-audio: fix incorrect clock source setting c4fcda128780 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode 8d13f6a0a656 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers f239369f37d9 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins ee6f7084324d ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init e1011b9c597d ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz c0f61abbefdf arm64: dts: ls1028: sl28: fix networking for variant 2 54555c399668 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms 3790f940981d ARM: imx: add missing clk_disable_unprepare() a28569b510e5 ARM: imx: add missing iounmap() 9189d77f0e21 arm64: dts: ls1028a: fix node name for the sysclk d61dc8c634bb net: xfrm: fix memory leak in xfrm_user_rcv_msg 8efe3a635f22 bus: ti-sysc: Fix gpt12 system timer issue with reserved status e32a291736fc ALSA: seq: Fix racy deletion of subscriber b917f123b50d Revert "ACPICA: Fix memory leak caused by _CID repair function" (From OE-Core rev: 28a4e85011c6339c555195d3a640ef1e14ea431c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 07c7379180a5cda5a2b056aab99826469f41810a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09vim: add option to disable NLS supportAndrej Valek
- Some distributions with UTF-8 locale have problem when National Language Support is enabled. Add there an option to disable it. (From OE-Core rev: 79aef159411df59f4bbdb3d3dcc87be9a7b5010e) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit da630d6d81a396c3e1635fbd7b8103df47ed2732) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09cpio: backport fix for CVE-2021-38185Ross Burton
(From OE-Core rev: dfc013ae9cb01e9985471df45e279b67ed8771a1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4accf77ea5b5810cb2330acc6773690ec1b1c71b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09sdk: Decouple default install path from built in pathRichard Purdie
Add SDKPATHINSTALL which is used as the default install location of the SDK instead of SDKPATH. This means the default install path isn't encoded into every SDK binary, meaning if a date is used there the entire SDK doesn't have to rebuild. Most distros can switch to only customise SDKPATHINSTALL meaning more sstate reuse too. [YOCTO #14100] (From OE-Core rev: 1b4309ee196c45661ddb79d8529517a8777a8d53) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bc4ee5453560dcefc4a4ecc5657df5cc1666e153) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09lz4: Security Fix for CVE-2021-3520Armin Kuster
Source: https://github.com/lz4/lz4 MR: 111604 Type: Security Fix Disposition: Backport from https://github.com/lz4/lz4/commit/8301a21773ef61656225e264f4f06ae14462bca7#diff-7055e9cf14c488aea9837aaf9f528b58ee3c22988d7d0d81d172ec62d94a88a7 ChangeID: 58492f950164e75954a97cf084df6f9af3d88244 Description: (From OE-Core rev: d7d278286d4dea215f3e8fbff59a9e95056cb7f4) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6d6a089a2f637051333e0137d2e748c823e2aa98) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>