summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* qemurunner.py: print output from runqemu/qemu-system in stop()Alexander Kanavin2021-09-011-0/+2
| | | | | | | | | | | | | | | | | This is done when starting up qemu has failed, but is not done when qemu started ok, but fails later in QMP communication. Output from runqemu does contain valuable information to find out why, so rather than fix all the QMP fails to include it, let's just print it in stop(). (From OE-Core rev: 1732290d4d2147bd9ffd76deaf90650519a6ad3d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6e2bf68e4401db747484c2c8ba0f77500b1d2d49) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.142Bruce Ashfield2021-09-013-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: c15b830f7c1c Linux 5.4.142 a17f2f2c8949 KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656) 7c1c96ffb658 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653) 456fd889227f iommu/vt-d: Fix agaw for a supported 48 bit guest address width 5b5f855a793c vmlinux.lds.h: Handle clang's module.{c,d}tor sections e9b2b2b29ca8 ceph: take snap_empty_lock atomically with snaprealm refcount change 95ff775df6ec ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm 1d8c232afb03 ceph: add some lockdep assertions around snaprealm handling a6ff0f3f9f90 KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation ec25d05e1893 PCI/MSI: Protect msi_desc::masked for multi-MSI 48d2439c6f2a PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown() 386ead1d3598 PCI/MSI: Correct misleading comments 76d81dec16d0 PCI/MSI: Do not set invalid bits in MSI mask 6b4bcbf13390 PCI/MSI: Enforce MSI[X] entry updates to be visible 4495a41fbcd7 PCI/MSI: Enforce that MSI-X table entry is masked for update 1866c8f6d43c PCI/MSI: Mask all unused MSI-X entries 3b4220c2bf35 PCI/MSI: Enable and mask MSI-X early 0c8dea3fd55c genirq/timings: Prevent potential array overflow in __irq_timings_store() 4dfe80927102 genirq/msi: Ensure deactivation on teardown e3e54a930073 x86/resctrl: Fix default monitoring groups reporting a6b594ad7419 x86/ioapic: Force affinity setup before startup db5e2666946a x86/msi: Force affinity setup before startup eda32c21882c genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP 06b347743608 x86/tools: Fix objdump version check again 74451dd8bfca powerpc/kprobes: Fix kprobe Oops happens in booke b74145d858a8 nbd: Aovid double completion of a request ad9550114d4c vsock/virtio: avoid potential deadlock when vsock device remove b9cd73cce50a xen/events: Fix race in set_evtchn_to_irq 4d3c5c319b19 net: igmp: increase size of mr_ifc_count 721ff564cc6a tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets 2ce8a68a312c net: linkwatch: fix failure to restore device state across suspend/resume 33597972a2e9 net: bridge: fix memleak in br_add_if() f6eee53beb07 net: dsa: sja1105: fix broken backpressure in .port_fdb_dump 1e6a570d3786 net: dsa: lantiq: fix broken backpressure in .port_fdb_dump 564f6bbd0ed6 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump a9243455e874 net: igmp: fix data-race in igmp_ifc_timer_expire() ed957c77b391 net: Fix memory leak in ieee802154_raw_deliver 13a381b8bc22 net: dsa: microchip: Fix ksz_read64() 991117eeeee8 drm/meson: fix colour distortion from HDR set during vendor u-boot e114f15de881 net/mlx5: Fix return value from tracer initialization f99aa76bb83c psample: Add a fwd declaration for skbuff 9dc8e396c12e iavf: Set RSS LUT and key in reset handle path 23436edae3c9 net: sched: act_mirred: Reset ct info when mirror/redirect skb 9636fbfe7bdd ppp: Fix generating ifname when empty IFLA_IFNAME is specified 1c31ee907fde net: phy: micrel: Fix link detection on ksz87xx switch" dfeb64f6e2ce platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables 699db2bb96ad platform/x86: pcengines-apuv2: revert wiring up simswitch GPIO as LED af7f1539cfb1 net: dsa: mt7530: add the missing RxUnicast MIB counter d353a61860a2 ASoC: cs42l42: Fix LRCLK frame start edge b036452082f3 netfilter: nf_conntrack_bridge: Fix memory leak when error cd36a36ea4ea ASoC: cs42l42: Remove duplicate control for WNF filter frequency eb789cc9179f ASoC: cs42l42: Fix inversion of ADC Notch Switch control 6a3381336398 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J 55e86f07b85e ASoC: cs42l42: Correct definition of ADC Volume control 22d2e3c6a1b8 ieee802154: hwsim: fix GPF in hwsim_new_edge_nl 5bac8c2a3087 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi ddcf807fbb70 libnvdimm/region: Fix label activation vs errors bc97fde4c668 ACPI: NFIT: Fix support for virtual SPA ranges a753e3f33405 ceph: reduce contention in ceph_check_delayed_caps() aa04486c419d i2c: dev: zero out array used for i2c reads from userspace c18b28e5ade8 ASoC: intel: atom: Fix reference to PCM buffer address aab3fa544647 ASoC: xilinx: Fix reference to PCM buffer address 60e2854acf3b iio: adc: Fix incorrect exit of for-loop bcac5225923b iio: humidity: hdc100x: Add margin to the conversion time da7cb80905ec iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels (From OE-Core rev: 18e0b6edc40a6e26b90f582e7eb3edcd10b62887) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: Restore pre-btrfs-tools 4.14.1 mkfs.btrfs shrink behaviorMarek Vasut2021-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the mkfs.btrfs generates large images with a lot of wasted space. This happens since OE-core updated btrfs-tools from 4.13.3 to 4.15.1 in commit 94b645aa77 ("btrfs-tools: update to 4.15.1") . Note in mkfs.btrfs(8) manpage section -r says the following: " -r|--rootdir <rootdir> ... Note This option may enlarge the image or file to ensure it’s big enough to contain the files from rootdir. Since version 4.14.1 the filesystem size is not minimized. Please see option --shrink if you need that functionality. --shrink Shrink the filesystem to its minimal size, only works with --rootdir option. ... Note prior to version 4.14.1, the shrinking was done automatically. " Add the --shrink option to EXTRA_IMAGECMD_btrfs to reinstate the original behavior and un-waste the space. (From OE-Core rev: 6de30e62fc5815edc19c96b49c0ff9681298c56c) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c4a99d36967302c176b62fad840b5e79486ea356) Cc: Steve Sakoman <steve@sakoman.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mklibs-native: drop deprecated cpp17 exceptionsAndrej Valek2021-09-012-0/+432
| | | | | | | | | | | gcc11 has -std=gnu++17 as default. Remove deprecated C++17 exceptions based on http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html. (From OE-Core rev: ef8b7946b4793db653ef7dd716e1d3f919a84725) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: fetching over git:// no longer worksAlexander Kanavin2021-09-011-1/+1
| | | | | | | | | | (From OE-Core rev: 419503134b76abeb57727259f846a2394dc73ea5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 44a6cd03721b51cbb4e05870375fa347527b0db5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* utils: Reduce the number of calls to the "dirname" commandOleksandr Popovych2021-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | utils.bbclass contains create_cmdline_wrapper() function that creates wrapper script with additional arguments for any passed "$cmd" command, and uses several calls to "dirname". Because "dirname" is an external command, in cases of lots of calls to wrapped "$cmd", each call of "dirname" will incur significant overhead. There are three same calls to "dirname": one for saving it`s output to "realdir" variable, and other two in "exec" command. So last two "dirname" calls can be replaced with cached value from "realdir" variable. (From OE-Core rev: 912c9eda653c45fee2f55092fbe281efba897bc0) Signed-off-by: Oleksandr Popovych <opopovyc@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4b9cf2c80fd14386e0b88a2e6c40a9fa3f1ae0f7) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lzo: add CVE_PRODUCTMarta Rybczynska2021-09-011-0/+2
| | | | | | | | | | | | | lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were not reported. (From OE-Core rev: 69e33b9eee6ae97208e766fd96353dfcb8c20bd5) Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 366cf8201e36df1ac836e49de04ccda1f763ca9e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use the label provided when formating a dos partitionjbouchard2021-09-011-2/+4
| | | | | | | | | | | | | | | | | Previously the bootimg-pcbios wic plugin was not respecting the --label option provided from the wks file. The plugin was setting the label to 'boot'. With this fix, the --label option is use. If no option are specified, then the default is 'boot'. (From OE-Core rev: c9617934a20d30198a8ddcf10fc02de4885fd433) Signed-off-by: jbouchard <jeanbouch418@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0fd7a73c1bd2486b7a022f0f69bbcb2e0d9cb141) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: update from 1.1.1k to 1.1.1lMikko Rapeli2021-09-011-1/+1
| | | | | | | | | | | Changelog shows only security fixes for CVE-2021-3711 and CVE-2021-3712: https://www.openssl.org/news/cl111.txt (From OE-Core rev: e26bc21f09ed1631437fc990cbda86c8659d4738) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Security fix for CVE-2020-16593Armin Kuster2021-09-012-0/+205
| | | | | | | | | | | | | | | | | Source: https://sourceware.org/git/binutils-gdb.git MR: 112801 Type: Security Fix Disposition: Backport from https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aec72fda3b320c36eb99fc1c4cf95b10fc026729 ChangeID: 470b309f4859eecdcc837add2bf756484ad94ee5 Description: Fixed up for 2.34 context (From OE-Core rev: bcaa13d8888416b01f0f590d9dab2bd736d1e8a8) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Security fix for CVE-2021-3549Armin Kuster2021-09-012-0/+188
| | | | | | | | | | | | | | | | | | | Source: git://sourceware.org/binutils-gdb.git MR: 111523 Type: Security Fix Disposition: Backport from https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1cfcf3004e1830f8fe9112cfcd15285508d2c2b7 ChangeID: 2d3161f601852eb8f9a9ca982c6b0cd44e036bc6 Description: Affects <= 2.36 Fixup Changelog to apply to dunfel context. (From OE-Core rev: 3cb2e144f8b74f9d78d93ba15e2d66e432462860) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Add fix for CVE-2021-20266Ranjitsinh Rathod2021-09-012-0/+110
| | | | | | | | | | | | | | | Adding fix for CVE-2021-20266 Upstream-Status: Backport [https://github.com/rpm-software-management/rpm/pull/1587/commits/9646711891df851dfbf7ef54cc171574a0914b15] Note: Hunk#2 and Hunk#3 refreshed to apply patch and match value of dl_max variable to make it with current version All Hunks are refreshed to solve patch-fuzz (From OE-Core rev: 6c16aad7167eb98bc9995486f967431c39f9df15) Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3608Sakib Sajal2021-09-012-0/+41
| | | | | | | | | | | | | | | | | | | | | | Source: http://git.yoctoproject.org/cgit/poky.git MR: 112749 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=f5e77d70e2eb35751f5bad5572b6eb8a3ab14422 ChangeID: 4496341da3af9126c9c67170e1a2cce929c29828 Description: (From OE-Core rev: 5e05ee8ff363eac84edec568039b86bcd716c6ce) (From OE-Core rev: f8d34ef74dafcf14e07f9322254465d03490bd60) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f5e77d70e2eb35751f5bad5572b6eb8a3ab14422) [Refreshed patch] Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3607Sakib Sajal2021-09-012-0/+44
| | | | | | | | | | | | | | | | | | | | | Source: http://git.yoctoproject.org/cgit/poky.git MR: 112749 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=460485d774480cd89cadf3b068f5197f44d86f25 ChangeID: 4e40dee2e6ce0b5b4de971f2c2b336929e7f22c3 Description: (From OE-Core rev: 764bca67650da9df439527796879dda767c8c008) (From OE-Core rev: cc541da4d67a9afa86a6ac37d5470d4dc77ea922) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 460485d774480cd89cadf3b068f5197f44d86f25) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3582Sakib Sajal2021-09-012-0/+48
| | | | | | | | | | | | | | | | | | | | | Source: http://git.yoctoproject.org/cgit/poky.git MR: 112743 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=e11384737ed489ea02800d545432b9ded82bf1bb ChangeID: a2ff7112354349e8cf8960f30499f61e545d7f8e Description: (From OE-Core rev: fb2634922db91e5b877dd10021dafec7b5c6e565) (From OE-Core rev: 942d936524d3948d74c7240038ce81d859f68cab) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e11384737ed489ea02800d545432b9ded82bf1bb) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3527Lee Chee Yang2021-09-013-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | Source: http://git.yoctoproject.org/cgit/poky.git MR: 111827 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=45e06a2e02cb01540d3970bd8ab5771014a031f9 ChangeID: 33bb20f503888abc346ae1a6f590f57ebdd0f1f9 Description: (cherry picked from commit 6774efd1e3d0bd5c8c34f84dcf4f698d7eafb36a) (From OE-Core rev: fcbcd27a1c97668af9634143376f75ab32fffd68) (From OE-Core rev: 1c7e9099b5f417a7e7664ce3572b2098e2ebbbf7) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 45e06a2e02cb01540d3970bd8ab5771014a031f9) [Fixup for Dunfell context] Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Security fixes CVE-2021-3545/6Armin Kuster2021-09-013-0/+90
| | | | | | | | | | | | | | | | | Source: qemu.org MR: 111845, 111839 Type: Security Fix Disposition: Backport from https://gitlab.com/qemu-project/qemu/-/commit/9f22893a & 121841b2 ChangeID: 111b168e0fe4d2a722158c6bfdaceb06a8789e69 Description: Fixes: CVE-2021-3545 and CVE-2021-3546 (From OE-Core rev: e066967a306292cd0ce5ef2cd5aa0ee80fde1041) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Security fix CVE-2021-3544Armin Kuster2021-09-016-0/+205
| | | | | | | | | | | | | | | | | | | | | | | Source: qemu.org MR: 111833 Type: Security Fix Disposition: Backport from https://gitlab.com/qemu-project/qemu/-/commit/86dd8fac..63736af5 ChangeID: 7f301e939cf9d1fdb826ac47d1fc96430086a68e Description: https://gitlab.com/qemu-project/qemu/-/commit/86dd8fac https://gitlab.com/qemu-project/qemu/-/commit/b9f79858 https://gitlab.com/qemu-project/qemu/-/commit/b7afebcf Tweeked the above patches as vhost-user-gpu.c does not exist. https://gitlab.com/qemu-project/qemu/-/commit/f6091d86 https://gitlab.com/qemu-project/qemu/-/commit/63736af5 (From OE-Core rev: eca0abf120709fab20da1a2c190d04191733f5ed) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-20257Sakib Sajal2021-09-012-0/+56
| | | | | | | | | | | | | | | | | | | | | | | Source: https://git.yoctoproject.org/git/poky MR: 110290 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=5c1a29e6deec8f92ac43363bd72439aec7e27721 ChangeID: 7f301e939cf9d1fdb826ac47d1fc96430086a68e Description: (From OE-Core rev: 5b66ff7972951db973d12f3dae6ccecf3bc29e56) (From OE-Core rev: 1317053b23e1a4c1e5c7331a97f248e042415bea) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 547ac986a74cfcae39b691ebb92aadc8436443ea) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5c1a29e6deec8f92ac43363bd72439aec7e27721) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3416Sakib Sajal2021-09-0110-0/+521
| | | | | | | | | | | | | | | | | | | | | | | | | | Source: poky.org MR: 109686 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=381aebe82f1f6fcc26b47966bc8520dbb1476961 ChangeID: 50b1589249cc3c595d224e3a8347da2b54339ef8 Description: Drop CVE-2021-3416_4.patch as hw/net/msf2-emac.c does not exist in 4.2.0 (From OE-Core rev: 7a3ce8a79a6c682e1b38f757eb68534e0ce5589d) (From OE-Core rev: 44bb99fdd1a7eee78078f7d48b9b8aad729f84ec) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e2b5bc11d1b26b73b62e1a63cb75572793282dcb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 381aebe82f1f6fcc26b47966bc8520dbb1476961) [Drop CVE-2021-3416_4.patch, affected file does not exist in 4.2.0] Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-20181Sakib Sajal2021-09-012-0/+82
| | | | | | | | | | | | | | | | | | | | | | | Source: Poky.org MR: 111631 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=53390d2261d2d35cdd637cf12a0fb4dc63f0f88c ChangeID: 0c660a9ef3637d847c0880283df05d8696221308 Description: (From OE-Core rev: a993a379bb490efbbf507f5dccda5ab358e8afea) (From OE-Core rev: 743fc49c98361baaa9ca9414bfe21220b63dbdca) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c2f79065ef0684f2c0bdb92f1b03e690ab730b8c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 53390d2261d2d35cdd637cf12a0fb4dc63f0f88c) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Security fix CVE-2021-20221Armin Kuster2021-09-012-0/+68
| | | | | | | | | | | | | | | Source: Qemu.org MR: 111643 Type: Security Fix Disposition: Backport from https://gitlab.com/qemu-project/qemu/-/commit/edfe2eb4360cde4ed5d95bda7777edcb3510f76a ChangeID: b3ca1aa4b772a5f27f327250c5b0b988375c86a9 Description: (From OE-Core rev: 4adf675e3d4ccdcee055a3c4b539f4ddc15b033d) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Security fix for CVE-2020-29443Armin Kuster2021-09-012-0/+46
| | | | | | | | | | | | | | | Source: Qemu.org MR: 109315 Type: Security Fix Disposition: Backport from https://git.qemu.org/?p=qemu.git;a=commit;h=813212288970c39b1800f63e83ac6e96588095c6 ChangeID: c0296e285169cc937cc9758c9d84ac690297ee54 Description: (From OE-Core rev: 1765005f73303d9857f9fde93efb1cc8534964f1) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Qemu: Security fix for CVE-2020-25625/2021-3409/2020-17380Armin Kuster2021-09-012-0/+43
| | | | | | | | | | | | | | | | | | | | | Source: Qemu.org MR: 105781, 109964, 108621 Type: Security Fix Disposition: Backport from https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg05905.html ChangeID: 0acf082885e7ab3ac2fb41d6e503449869dd46a8 Description: This address: CVE-2020-25625 and its two fixes address an incomplete fix for CVE-2020-25625 CVE-2021-3409 CVE-2020-17380 (From OE-Core rev: 721a14f13005dc0b5bddaac131c444b97be700a8) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Security fix CVE-2020-25624Armin Kuster2021-09-013-0/+190
| | | | | | | | | | | | | | | Source: qemu.org MR: 106958 Type: Security Fix Disposition: Backport from qemu.org ChangeID: 9d0c21c4ff5dc12ba623685cd7ae4d4bc294f519 Description: (From OE-Core rev: 853f4a4755d053cc4defa65cda5e317e3e28bc3f) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Security fix CVE-2020-25085Armin Kuster2021-09-012-20/+67
| | | | | | | | | | | | | | | Source: qemu.org MR: 105773 Type: Security Fix Disposition: Backport from https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg00733.html ChangeID: 77c8a9e75b94da3c03c64c95d9e6ab9d45037572 Description: (From OE-Core rev: 6b4c58a31ec11e557d40c31f2532985dd53e61eb) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: upgrade 2.2.26 -> 2.2.27Wang Mingyu2021-09-011-1/+1
| | | | | | | | | | | | | | | (From OE-Core rev: 90798e892fd3e0d2ef77a7ba64a33ea9f8ef317b) (From OE-Core rev: 97348726aea3ee088f48715df0e64a172665855d) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 33a997a80a56fba4138780fadda231ae4fd751ea) [gnupg 2.2 is an LTS release so this series are all bug fixes. https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000452.html] Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: update 2.2.23 -> 2.2.26Alexander Kanavin2021-09-014-15/+13
| | | | | | | | | | | | | (From OE-Core rev: eb7ad793d8c2e924adccc62e7680bb1cac640e89) (From OE-Core rev: 09b4ccb6c2b2048f92eea82a2291e92c7d9ec5ff) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit df0bb1cb96389d534b53faf677a0f6ee30dd672d) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: uprev 2.2.22 -> 2.2.23Saul Wold2021-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Source: poky.org MR: 105607 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-support/gnupg?h=hardknott&id=0c06506d42f9e1f43a54a178cda47cfea3f12f81 ChangeID: 4341d0331368d6cd51d635d2c70555b3dce61792 Description: This addresses CVE-2020-25125 and provides some other minor updates and translations. Updated commits for reference: e234d04c3 Werner Koch Release 2.2.23 aeb8272ca Werner Koch gpg: Fix AEAD preference list overflow 038314665 Werner Koch po: auto update 1a4b0fd79 Yuri Chornoivan po: Update Ukrainian translation 93d10403a Jakub Bogusz po: Update Polish translation a8a8105bc Werner Koch po: Add key-check.c to the list of translatable sources. cad9955ac Petr Pisar po: Update Czech translation. 896c528ba Werner Koch gpg: Fix segv importing certain keys. 0a9665187 NIIBE Yutaka scd: Fix a regression for OpenPGP card. bcae9cd4e Nagy Ferenc LĂ¡szlĂ³ po: Minor update to the Hungarian translation. d2fe2ffd7 Werner Koch sm: Fix a bug in the rfc2253 parser f799b3ddb Werner Koch Post release updates (From OE-Core rev: 965683336816eba7cb0548e59faf224f74b306b1) (From OE-Core rev: 4079feb6dc2876cc7f2d0a5582be98e01188c2d7) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0c06506d42f9e1f43a54a178cda47cfea3f12f81) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: update 2.2.21 -> 2.2.22Alexander Kanavin2021-09-014-14/+12
| | | | | | | | | | | | | (From OE-Core rev: ad9f9fd5609c2014454c73045bc603c9883977e3) (From OE-Core rev: 5c02b4bcf3243aac017ca2edbc0af5ac0f6e06b7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 33eade06ebb327be80eef278835053759ffe23fa) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: upgrade 2.2.20 -> 2.2.21Richard Purdie2021-09-013-15/+14
| | | | | | | | | | | | (From OE-Core rev: 1aeb32228d92568e90f313a2a027c6790937eb8a) (From OE-Core rev: 08186dd7594820dbb7e9c7f7385672917882b262) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 50e1649a320f2e631da9e6393efb8459fd979e88) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Security fix for CVE-2021-38604Armin Kuster2021-09-012-0/+42
| | | | | | | | | | | | | | | Source: glibc.org MR: 112635 Type: Security Fix Disposition: Backport from https://sourceware.org/git/?p=glibc.git;a=commit;h=b805aebd42364fe696e417808a700fdb9800c9e8 ChangeID: 53b105da48e604f6763bb04b7114f41bfb620d2f Description: (From OE-Core rev: f65b5b7c88092cdba0239939fead20992eb2ff48) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Security fix CVE-2021-33574Armin Kuster2021-09-013-0/+147
| | | | | | | | | | | | | | | | | Source: glibc.org MR: 111508 Type: Security Fix Disposition: Backport from https://sourceware.org/git/glibc.git ChangeID: 815edc154adc45d08d00995862409f13014f885f Description: This version of glibc does not have __pthread_attr_setaffinity_np so an adapted patch was taken from 2.28 (https://sourceware.org/bugzilla/attachment.cgi?id=13497) and https://sourceware.org/git/?p=glibc.git;a=commit;h=42d359350510506b87101cf77202fefcbfc790cb (From OE-Core rev: d468eb9c0fa5f8fbd15abda6d0f04e3d25c50c26) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk: Enable do_populate_sdk with multilibsKhem Raj2021-08-262-2/+1
| | | | | | | | | | | | | | | | | | | This patch enables building image based SDKs for multi-libbed images e.g. lib32-core-image-minimal and so on. Change the path to nativesdk tools to use recipe-sysroot since thats where the nativesdk components are installed and it will need access to qemu wrappers during build for processing intercepts [YOCTO #14444] (From OE-Core rev: eea71d274fe4d5f23ba0ab35d14be4fff2e64e2b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6196a785eababb040ee1dee9f33cb6d6dad77eef) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: add more Qualcomm firmware packagesDmitry Baryshkov2021-08-261-1/+16
| | | | | | | | | | | | | | | | | | | | | Add firmware packages for the recent Qualcomm SoCs: - linux-firmware-qcom-adreno-a650, linux-firmware-qcom-adreno-a660, containing firmware for Adreno A630 and A650 GPUs - linux-firmware-qcom-sm8250-audio, linux-firmware-sm8250-compute, containing firmware for audio and comute DSPs on SM8250 (QRB5165) - linux-firmware-qcom-vpu-1.0, linux-firmware-qcom-vpu-2.0 containing firmware for newer Venus video encoder/decoder (From OE-Core rev: bfce637144302fa7dd7f31a63a736b05eb62203b) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 31057a9d41a452bdb9e94b4160220f675332ef70) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Remove unused python3 recipePurushottam Choudhary2021-08-261-363/+0
| | | | | | | | | | | | Currently in dunfell branch python3 version is 3.8.11. so, python3_3.8.10.bb is not needed. Hence, removed. (From OE-Core rev: 2b44de6e7b3e02b78e2b09294ac37799ad4cfadb) Signed-off-by: Purushottam Choudhary <purushottamchoudhary29@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.141Bruce Ashfield2021-08-263-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: b704883aa8dc Linux 5.4.141 983d6a6b7e3c btrfs: don't flush from btrfs_delayed_inode_reserve_metadata ea13f678a3fd btrfs: export and rename qgroup_reserve_meta 41a9b8f36de7 btrfs: qgroup: don't commit transaction when we already hold the handle 38b8485b72cb net: xilinx_emaclite: Do not print real IOMEM pointer 654c19a7e8d8 btrfs: fix lockdep splat when enabling and disabling qgroups c55442cdfdb8 btrfs: qgroup: remove ASYNC_COMMIT mechanism in favor of reserve retry-after-EDQUOT fdaf6a322fcc btrfs: transaction: Cleanup unused TRANS_STATE_BLOCKED 36af2de520cc btrfs: qgroup: try to flush qgroup space when we get -EDQUOT 5c79287c2b6d btrfs: qgroup: allow to unreserve range without releasing other ranges b7a722fd75a1 btrfs: make btrfs_qgroup_reserve_data take btrfs_inode dfadea4061a2 btrfs: make qgroup_free_reserved_data take btrfs_inode 812f39ed5b0b ovl: prevent private clone if bind mount is not allowed eeb4742501e0 ppp: Fix generating ppp unit id when ifname is not specified 3460f3959d1c ALSA: hda: Add quirk for ASUS Flow x13 81d1a3f97631 USB:ehci:fix Kunpeng920 ehci hardware problem d28adaabbbf4 KVM: X86: MMU: Use the correct inherited permissions to get shadow page 5f4ab7e25fbb usb: dwc3: gadget: Avoid runtime resume if disabling pullup 1782c4af6bd0 usb: dwc3: gadget: Disable gadget IRQ during pullup disable 54b7022f2878 usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable e36245a68eb1 usb: dwc3: gadget: Prevent EP queuing while stopping transfers 823f69250863 usb: dwc3: gadget: Restart DWC3 gadget when enabling pullup 25a0625fa96f usb: dwc3: gadget: Allow runtime suspend if UDC unbinded 5f081a928d55 usb: dwc3: Stop active transfers before halting the controller 396f29ea0cd2 tracing: Reject string operand in the histogram expression 28276c280f2e media: v4l2-mem2mem: always consider OUTPUT queue during poll 236aca70929d tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag 5b774238e8af KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB a998faa9c4ce Linux 5.4.140 3c197fdd0732 arm64: fix compat syscall return truncation 72fcaf69525d net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset 742e85fa9e80 alpha: Send stop IPI to send to online CPUs 26946d21395c virt_wifi: fix error on connect 17d7c9c940fb reiserfs: check directory items on read from disk bcad6ece2a50 reiserfs: add check for root_inode in reiserfs_fill_super e30a88f1f578 libata: fix ata_pio_sector for CONFIG_HIGHMEM a2671d96a3c7 bpf, selftests: Adjust few selftest result_unpriv outcomes 4892b4f3244b perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest d6cf5342faa6 soc: ixp4xx/qmgr: fix invalid __iomem access a5bf7ef13ebf spi: meson-spicc: fix memory leak in meson_spicc_remove 27991c78d630 soc: ixp4xx: fix printing resources 07fd256d53a3 arm64: vdso: Avoid ISB after reading from cntvct_el0 90e498ef3f54 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds 2e1a80b93464 KVM: Do not leak memory for duplicate debugfs directories 43486cd7391f KVM: x86: accept userspace interrupt only if no event is injected 1b7b9713a50f md/raid10: properly indicate failure when ending a failed write request 790cb68d35a6 pcmcia: i82092: fix a null pointer dereference bug 42ac2c63486f timers: Move clearing of base::timer_running under base:: Lock 8211bb20da23 serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts. f73dcb5d63e2 serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver 607460d38692 MIPS: Malta: Do not byte-swap accesses to the CBUS UART 3eb686d01c31 serial: 8250: Mask out floating 16/32-bit bus bits 3b73a69962d6 serial: 8250_mtk: fix uart corruption issue when rx power off afdef443a892 serial: tegra: Only print FIFO error message when an error occurs 097a183f9c1d ext4: fix potential htree corruption when growing large_dir directories ac23a1738127 pipe: increase minimum default pipe size to 2 pages f3cae04bd42d media: rtl28xxu: fix zero-length control request e2f6d5b03898 staging: rtl8712: get rid of flush_scheduled_work 8f241df0e68f staging: rtl8723bs: Fix a resource leak in sd_int_dpc bbdd4a51629a tpm_ftpm_tee: Free and unregister TEE shared memory during kexec 3c712f14d8a9 optee: Fix memory leak when failing to register shm pages 0572199b78b3 tee: add tee_shm_alloc_kernel_buf() b247bf412cc2 optee: Clear stale cache entries during initialization 7da261e6bb65 tracing / histogram: Give calculation hist_fields a size ba22053f5d5e scripts/tracing: fix the bug that can't parse raw_trace_func 8d1191f9243c clk: fix leak on devm_clk_bulk_get_all() unwind ed5c9a49e6c0 usb: otg-fsm: Fix hrtimer list corruption 449a705fba60 usb: gadget: f_hid: idle uses the highest byte for duration 02f336cee589 usb: gadget: f_hid: fixed NULL pointer dereference f780a9580cd2 usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers 134e27da543d usb: cdns3: Fixed incorrect gadget state df1c6eec4ea1 ALSA: usb-audio: Add registration quirk for JBL Quantum 600 639b45456ec6 ALSA: hda/realtek: add mic quirk for Acer SF314-42 d09639528b66 firmware_loader: fix use-after-free in firmware_fallback_sysfs 1deb6b903018 firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback 0ee687e67277 USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2 01b2c35b051b USB: serial: ch341: fix character loss at high transfer rates 9ed43cfaa7f7 USB: serial: option: add Telit FD980 composition 0x1056 518e81874c40 USB: usbtmc: Fix RCU stall warning ff29fe26ab86 Bluetooth: defer cleanup of resources in hci_unregister_dev() 580c10a40cc7 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit() ed169b054b43 net: vxge: fix use-after-free in vxge_device_unregister c5549876a9ef net: fec: fix use-after-free in fec_drv_remove 3fed6dee16e4 net: pegasus: fix uninit-value in get_interrupt_interval 75cef4fc07d2 bnx2x: fix an error code in bnx2x_nic_load() 437ee90d7b4f mips: Fix non-POSIX regexp b1fa6747b9d0 net: ipv6: fix returned variable type in ip6_skb_dst_mtu 3e63b566d96a nfp: update ethtool reporting of pauseframe control d333503de1f0 sctp: move the active_key update after sh_keys is added de30346dd396 gpio: tqmx86: really make IRQ optional 9d440b5c1d20 net: natsemi: Fix missing pci_disable_device() in probe and remove 69340406986a net: phy: micrel: Fix detection of ksz87xx switch 2b8ab7aec0dc net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones 71b0a935dbb0 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add 88b7781609c6 net, gro: Set inner transport header offset in tcp/udp GRO hook ba3abe3f8236 dmaengine: imx-dma: configure the generic DMA type to make it work ee2f81330a7b media: videobuf2-core: dequeue if start_streaming fails 3377f2f8c606 scsi: sr: Return correct event when media event code is 3 f588d4b7be92 spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation b58e3d59a5d8 spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay 2c1065d40acb omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator 299e3968c01a ARM: dts: am437x-l4: fix typo in can@0 node 9cbe7e21ddff clk: stm32f4: fix post divisor setup for I2S/SAI PLLs 3f9eed4462b3 ALSA: usb-audio: fix incorrect clock source setting 16db40fc4a37 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode 7c08460773b8 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins 1b1f1aa225ed ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init aecff98c3efe ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz c39907335b9c ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms 61b71c5f51aa ARM: imx: add missing clk_disable_unprepare() d88d6bba3bd9 ARM: imx: add missing iounmap() 6c629cd0239f arm64: dts: ls1028a: fix node name for the sysclk 4a830a37d37e ALSA: seq: Fix racy deletion of subscriber 0658a4533576 Revert "ACPICA: Fix memory leak caused by _CID repair function" e350cd02e293 Linux 5.4.139 03ff8a4f9db6 spi: mediatek: Fix fifo transfer a0f66ddf05c2 bpf, selftests: Adjust few selftest outcomes wrt unreachable code d3796e8f6b3d bpf, selftests: Add a verifier test for assigning 32bit reg states to 64bit ones 8dec99abcd74 bpf: Test_verifier, add alu32 bounds tracking tests fd568de5806f bpf: Fix leakage under speculation on mispredicted branches d2f790327f83 bpf: Do not mark insn as seen under speculative path verification 283d742988f6 bpf: Inherit expanded/patched seen count from old aux data a0a9546aaec3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout" 76f5314d7859 firmware: arm_scmi: Add delayed response status check 1b38f70bbc7c firmware: arm_scmi: Ensure drivers provide a probe function 44f522298c94 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled" 38f54217b423 ACPI: fix NULL pointer dereference 0ea2f55babb7 nvme: fix nvme_setup_command metadata trace event b508b652d4f3 net: Fix zero-copy head len calculation. bf692e7ef657 qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union() 6bc48348eca7 r8152: Fix potential PM refcount imbalance a57c75ff0700 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits e2cccb839a18 spi: stm32h7: fix full duplex irq handler handling b72f2d9e91e1 regulator: rt5033: Fix n_voltages settings for BUCK and LDO 86f2a3e9aae9 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction b7f0fa2192c5 btrfs: fix race causing unnecessary inode logging during link and rename cb006da62a9e btrfs: do not commit logs and transactions during link and rename operations 174c27d0f9ef btrfs: delete duplicated words + other fixes in comments 7b90d57b09fa Linux 5.4.138 7eef18c0479b can: j1939: j1939_session_deactivate(): clarify lifetime of session object 18b536de3b97 i40e: Add additional info to PHY type error d21eb931109a Revert "perf map: Fix dso->nsinfo refcounting" 16447b2f5c66 powerpc/pseries: Fix regression while building external modules 265883d1d839 PCI: mvebu: Setup BAR0 in order to fix MSI 21734a31c9a0 can: hi311x: fix a signedness bug in hi3110_cmd() f4fa45b0f91e sis900: Fix missing pci_disable_device() in probe and remove dff00ce44891 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove e0310bbeaaa2 sctp: fix return value check in __sctp_rcv_asconf_lookup 408614108abd net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev() ac4983230616 net/mlx5: Fix flow table chaining 527feae56fe6 net: llc: fix skb_over_panic ede4c93860e6 mlx4: Fix missing error code in mlx4_load_one() acb97d4b2d0e net: Set true network header for ECN decapsulation 851946a68136 tipc: fix sleeping in tipc accept routine 194b71d28b26 i40e: Fix log TC creation failure when max num of queues is exceeded 834af62212c7 i40e: Fix queue-to-TC mapping on Tx 74aea4b7159a i40e: Fix firmware LLDP agent related warning b2ab34e862eb i40e: Fix logic of disabling queues 519582e44e6a netfilter: nft_nat: allow to specify layer 4 protocol NAT only 3a7a4cee7bec netfilter: conntrack: adjust stop timestamp to real expiry value 1c043783403c cfg80211: Fix possible memory leak in function cfg80211_bss_update 6cf2abea1018 nfc: nfcsim: fix use after free during module unload 6b313d0ffa71 NIU: fix incorrect error return, missed in previous revert c4663c162778 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT e9e2ce00aeda can: esd_usb2: fix memory leak 43726620b2f6 can: ems_usb: fix memory leak 819867389276 can: usb_8dev: fix memory leak a051dbd17b5b can: mcba_usb_start(): add missing urb->transfer_dma initialization 793581441b5c can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF c621638d0e6d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms a24d87b429a9 ocfs2: issue zeroout to EOF blocks eaaa4284e288 ocfs2: fix zero out valid data 9bd1092148b5 KVM: add missing compat KVM_CLEAR_DIRTY_LOG 7a94dfe5e2a0 x86/kvm: fix vcpu-id indexed array sizes 2dc291582cce Revert "ACPI: resources: Add checks for ACPI IRQ override" a8eec6979734 btrfs: mark compressed range uptodate only if all bio succeed 57429c1ec770 btrfs: fix rw device counting in __btrfs_free_extra_devids 61f2cbc792eb x86/asm: Ensure asm/proto.h can be included stand-alone 99372c38a948 net_sched: check error pointer in tcf_dump_walker() 5b1de8e15f0f Linux 5.4.137 ebb1b38be0c9 ipv6: ip6_finish_output2: set sk into newly allocated nskb 6c04123962f0 ARM: dts: versatile: Fix up interrupt controller node names befa900533a9 iomap: remove the length variable in iomap_seek_hole 83fb41b2f6e4 iomap: remove the length variable in iomap_seek_data 302e1acd4c26 cifs: fix the out of range assignment to bit fields in parse_server_interfaces 02a470e3c64a firmware: arm_scmi: Fix range check for the maximum number of pending messages 289dd584319f firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow e3acb292f092 hfs: add lock nesting notation to hfs_find_init af1178296d77 hfs: fix high memory mapping in hfs_bnode_read 89136a47e2e7 hfs: add missing clean-up in hfs_fill_super ded37d03440d ipv6: allocate enough headroom in ip6_finish_output2() f65b7f377cca sctp: move 198 addresses from unusable to private scope c8d32973ee6a net: annotate data race around sk_ll_usec c23b9a5610f9 net/802/garp: fix memleak in garp_request_join() 88c4cae3ed25 net/802/mrp: fix memleak in mrp_request_join() eef99860c677 cgroup1: fix leaked context root causing sporadic NULL deref in LTP 7f0365b4daaa workqueue: fix UAF in pwq_unbound_release_workfn() 85abe0d47fe6 af_unix: fix garbage collect vs MSG_PEEK af45f3527aa0 KVM: x86: determine if an exception has an error code only when injecting it. 828cab3c8c23 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include 525c5513b60d selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c 253dccefb5cb Linux 5.4.136 587f86b7a2a0 xhci: add xhci_get_virt_ep() helper f9d0c35556cd perf inject: Close inject.output on exit a9c103fa91e4 PCI: Mark AMD Navi14 GPU ATS as broken 11561d2f7b9d btrfs: compression: don't try to compress if we don't have enough pages 4980301e1c1f iio: accel: bma180: Fix BMA25x bandwidth register values d04f2582c47e iio: accel: bma180: Use explicit member assignment 4e0afa88954b net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear 2a4865d1547e net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz 7d8c06b8d2d2 drm: Return -ENOTTY for non-drm ioctls b5d7bebd96a3 nds32: fix up stack guard gap ba378b796088 rbd: always kick acquire on "acquired" and "released" notifications 13066d6628f0 rbd: don't hold lock_rwsem while running_list is being drained b12ead825f6c hugetlbfs: fix mount mode command line processing 60dbbd76f110 userfaultfd: do not untag user pointers 540eee8cbb3d selftest: use mmap instead of posix_memalign to allocate memory e706ac3fc82e ixgbe: Fix packet corruption due to missing DMA sync e617fa62f6cf media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf() 77713fb336ca btrfs: check for missing device in btrfs_trim_fs f899f24d34d9 tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop. 59a9f75fb2b6 tracing/histogram: Rename "cpu" to "common_cpu" 379d8da3353e firmware/efi: Tell memblock about EFI iomem reservations 281a94362bbe usb: dwc2: gadget: Fix sending zero length packet in DDMA mode. 167079fbfaa7 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick 811c4cdf2917 USB: serial: cp210x: fix comments for GE CS1000 f54ee7e16d0d USB: serial: option: add support for u-blox LARA-R6 family e28d28eb9be6 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 863d071dbcd5 usb: max-3421: Prevent corruption of freed memory e4077a90e600 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS da6f6769ee0f usb: hub: Fix link power management max exit latency (MEL) calculations fea6b53e631a usb: hub: Disable USB 3 device initiated lpm if exit latency is too high 962ce043ef92 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state 2b9ffddd70b4 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow c968f563ccde xhci: Fix lost USB 2 remote wake a660ecde5c55 ALSA: hdmi: Expose all pins on MSI MS-7C94 board f73696354d59 ALSA: sb: Fix potential ABBA deadlock in CSP driver 7aa2dfbc6bd0 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets 46d62c3fe2ab ALSA: usb-audio: Add missing proc text entry for BESPOKEN type f1754f96ab41 s390/boot: fix use of expolines in the DMA code 8eb521d19248 s390/ftrace: fix ftrace_update_ftrace_func implementation 268132b070d9 Revert "MIPS: add PMD table accounting into MIPS'pmd_alloc_one" f323809e3108 proc: Avoid mixing integer types in mem_rw() b71a75209f6a drm/panel: raspberrypi-touchscreen: Prevent double-free 2e6ab87f8e63 net: sched: cls_api: Fix the the wrong parameter b60461696a0b sctp: update active_key for asoc when old key is being replaced 9fa89c2caee2 nvme: set the PRACT bit when using Write Zeroes with T10 PI c50141b3d769 r8169: Avoid duplicate sysfs entry creation error f726817d6b42 afs: Fix tracepoint string placement with built-in AFS b22c9e433bb7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem" 69a49e7b5baf nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING 830251361425 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions a88414fb1117 net/sched: act_skbmod: Skip non-Ethernet packets c278b954ccc7 net: hns3: fix rx VLAN offload state inconsistent issue 006ed6f4d00b net/tcp_fastopen: fix data races around tfo_active_disable_stamp 3942ba235693 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition f11f12decd55 bnxt_en: Check abort error state in bnxt_half_open_nic() 16ce6cb78690 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task() c993e7aadc50 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe() 6ee8e6be3067 bnxt_en: Improve bnxt_ulp_stop()/bnxt_ulp_start() call sequence. 35637acc9810 spi: cadence: Correct initialisation of runtime PM again 2f2150bf41c1 scsi: target: Fix protect handling in WRITE SAME(32) a6cb717f8534 scsi: iscsi: Fix iface sysfs attr detection 25df44e90ff5 netrom: Decrease sock refcount when sock timers expire 8d7924ce85ba net: sched: fix memory leak in tcindex_partial_destroy_work f38527f18905 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak b85dadd4347b KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash b3224bd31861 net: decnet: Fix sleeping inside in af_decnet bd2b3b13aa2a efi/tpm: Differentiate missing and invalid final event log table. 9413c0abb57f net: fix uninit-value in caif_seqpkt_sendmsg 6d56299ff911 bpftool: Check malloc return value in mount_bpffs_for_pin edec10098675 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats 58259e8b6e85 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1] cc876a5618bc liquidio: Fix unintentional sign extension issue on left shift of u16 42fe8f433b31 ASoC: rt5631: Fix regcache sync errors on resume d99aaf07365f spi: mediatek: fix fifo rx mode 08cdda8d8972 regulator: hi6421: Fix getting wrong drvdata b25be6bf6419 regulator: hi6421: Use correct variable type for regmap api val argument a1ade24cccb5 spi: stm32: fixes pm_runtime calls in probe/remove 40e203ce74eb spi: stm32: Use dma_request_chan() instead dma_request_slave_channel() 24b78097a837 spi: imx: add a check for speed_hz before calculating the clock 52cff6123aa0 perf data: Close all files in close_dir() 0f63857d1099 perf probe-file: Delete namelist in del_events() on the error path 8b92ea243bbf perf lzma: Close lzma stream on exit 51351c6d5a18 perf script: Fix memory 'threads' and 'cpus' leaks on exit d2bfc3eda914 perf dso: Fix memory leak in dso__new_map() 05804a7d223d perf test event_update: Fix memory leak of evlist d257f3abdc71 perf test session_topology: Delete session->evlist 89d1762a4a21 perf env: Fix sibling_dies memory leak fd335143befb perf probe: Fix dso->nsinfo refcounting 6513dee46f80 perf map: Fix dso->nsinfo refcounting ff9fc81fa884 nvme-pci: do not call nvme_dev_remove_admin from nvme_remove d029df83c61a cxgb4: fix IRQ free race during driver unload ae9b64434441 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped a37ca2a076ec selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect 05364a2794fb selftests: icmp_redirect: remove from checking for IPv6 route get 7f4848229e91 ipv6: fix 'disable_policy' for fwd packets c67fb96f5431 gve: Fix an error handling path in 'gve_probe()' e33da4eeaa35 igb: Fix position of assignment to *ring 7dd897773618 igb: Check if num of q_vectors is smaller than max before array access d3d7cceee841 iavf: Fix an error handling path in 'iavf_probe()' 7a13a8a8a5fb e1000e: Fix an error handling path in 'e1000_probe()' 9fc381db7583 fm10k: Fix an error handling path in 'fm10k_probe()' 5d6a04927b08 igb: Fix an error handling path in 'igb_probe()' cddd53237de8 igc: Fix an error handling path in 'igc_probe()' 47f69d8828e7 igc: Prefer to use the pci_release_mem_regions method 83b2d55a512a ixgbe: Fix an error handling path in 'ixgbe_probe()' ba4fbb68fcfe igc: change default return of igc_read_phy_reg() 88e0720133d4 igb: Fix use-after-free error during reset a9508e0edfe3 igc: Fix use-after-free error during reset (From OE-Core rev: a422fe82d265dda79ef4cc5918659903534c17f7) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.139Bruce Ashfield2021-08-263-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: e350cd02e293 Linux 5.4.139 03ff8a4f9db6 spi: mediatek: Fix fifo transfer a0f66ddf05c2 bpf, selftests: Adjust few selftest outcomes wrt unreachable code d3796e8f6b3d bpf, selftests: Add a verifier test for assigning 32bit reg states to 64bit ones 8dec99abcd74 bpf: Test_verifier, add alu32 bounds tracking tests fd568de5806f bpf: Fix leakage under speculation on mispredicted branches d2f790327f83 bpf: Do not mark insn as seen under speculative path verification 283d742988f6 bpf: Inherit expanded/patched seen count from old aux data a0a9546aaec3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout" 76f5314d7859 firmware: arm_scmi: Add delayed response status check 1b38f70bbc7c firmware: arm_scmi: Ensure drivers provide a probe function 44f522298c94 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled" 38f54217b423 ACPI: fix NULL pointer dereference 0ea2f55babb7 nvme: fix nvme_setup_command metadata trace event b508b652d4f3 net: Fix zero-copy head len calculation. bf692e7ef657 qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union() 6bc48348eca7 r8152: Fix potential PM refcount imbalance a57c75ff0700 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits e2cccb839a18 spi: stm32h7: fix full duplex irq handler handling b72f2d9e91e1 regulator: rt5033: Fix n_voltages settings for BUCK and LDO 86f2a3e9aae9 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction b7f0fa2192c5 btrfs: fix race causing unnecessary inode logging during link and rename cb006da62a9e btrfs: do not commit logs and transactions during link and rename operations 174c27d0f9ef btrfs: delete duplicated words + other fixes in comments 7b90d57b09fa Linux 5.4.138 7eef18c0479b can: j1939: j1939_session_deactivate(): clarify lifetime of session object 18b536de3b97 i40e: Add additional info to PHY type error d21eb931109a Revert "perf map: Fix dso->nsinfo refcounting" 16447b2f5c66 powerpc/pseries: Fix regression while building external modules 265883d1d839 PCI: mvebu: Setup BAR0 in order to fix MSI 21734a31c9a0 can: hi311x: fix a signedness bug in hi3110_cmd() f4fa45b0f91e sis900: Fix missing pci_disable_device() in probe and remove dff00ce44891 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove e0310bbeaaa2 sctp: fix return value check in __sctp_rcv_asconf_lookup 408614108abd net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev() ac4983230616 net/mlx5: Fix flow table chaining 527feae56fe6 net: llc: fix skb_over_panic ede4c93860e6 mlx4: Fix missing error code in mlx4_load_one() acb97d4b2d0e net: Set true network header for ECN decapsulation 851946a68136 tipc: fix sleeping in tipc accept routine 194b71d28b26 i40e: Fix log TC creation failure when max num of queues is exceeded 834af62212c7 i40e: Fix queue-to-TC mapping on Tx 74aea4b7159a i40e: Fix firmware LLDP agent related warning b2ab34e862eb i40e: Fix logic of disabling queues 519582e44e6a netfilter: nft_nat: allow to specify layer 4 protocol NAT only 3a7a4cee7bec netfilter: conntrack: adjust stop timestamp to real expiry value 1c043783403c cfg80211: Fix possible memory leak in function cfg80211_bss_update 6cf2abea1018 nfc: nfcsim: fix use after free during module unload 6b313d0ffa71 NIU: fix incorrect error return, missed in previous revert c4663c162778 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT e9e2ce00aeda can: esd_usb2: fix memory leak 43726620b2f6 can: ems_usb: fix memory leak 819867389276 can: usb_8dev: fix memory leak a051dbd17b5b can: mcba_usb_start(): add missing urb->transfer_dma initialization 793581441b5c can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF c621638d0e6d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms a24d87b429a9 ocfs2: issue zeroout to EOF blocks eaaa4284e288 ocfs2: fix zero out valid data 9bd1092148b5 KVM: add missing compat KVM_CLEAR_DIRTY_LOG 7a94dfe5e2a0 x86/kvm: fix vcpu-id indexed array sizes 2dc291582cce Revert "ACPI: resources: Add checks for ACPI IRQ override" a8eec6979734 btrfs: mark compressed range uptodate only if all bio succeed 57429c1ec770 btrfs: fix rw device counting in __btrfs_free_extra_devids 61f2cbc792eb x86/asm: Ensure asm/proto.h can be included stand-alone 99372c38a948 net_sched: check error pointer in tcf_dump_walker() (From OE-Core rev: df362ae9ed810017b276d810e09c21f0290abcfd) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d5455d9e201e324b7cf7bb19381bfebb0e892312) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.137Bruce Ashfield2021-08-263-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 5b1de8e15f0f Linux 5.4.137 ebb1b38be0c9 ipv6: ip6_finish_output2: set sk into newly allocated nskb 6c04123962f0 ARM: dts: versatile: Fix up interrupt controller node names befa900533a9 iomap: remove the length variable in iomap_seek_hole 83fb41b2f6e4 iomap: remove the length variable in iomap_seek_data 302e1acd4c26 cifs: fix the out of range assignment to bit fields in parse_server_interfaces 02a470e3c64a firmware: arm_scmi: Fix range check for the maximum number of pending messages 289dd584319f firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow e3acb292f092 hfs: add lock nesting notation to hfs_find_init af1178296d77 hfs: fix high memory mapping in hfs_bnode_read 89136a47e2e7 hfs: add missing clean-up in hfs_fill_super ded37d03440d ipv6: allocate enough headroom in ip6_finish_output2() f65b7f377cca sctp: move 198 addresses from unusable to private scope c8d32973ee6a net: annotate data race around sk_ll_usec c23b9a5610f9 net/802/garp: fix memleak in garp_request_join() 88c4cae3ed25 net/802/mrp: fix memleak in mrp_request_join() eef99860c677 cgroup1: fix leaked context root causing sporadic NULL deref in LTP 7f0365b4daaa workqueue: fix UAF in pwq_unbound_release_workfn() 85abe0d47fe6 af_unix: fix garbage collect vs MSG_PEEK af45f3527aa0 KVM: x86: determine if an exception has an error code only when injecting it. 828cab3c8c23 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include 525c5513b60d selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c 253dccefb5cb Linux 5.4.136 587f86b7a2a0 xhci: add xhci_get_virt_ep() helper f9d0c35556cd perf inject: Close inject.output on exit a9c103fa91e4 PCI: Mark AMD Navi14 GPU ATS as broken 11561d2f7b9d btrfs: compression: don't try to compress if we don't have enough pages 4980301e1c1f iio: accel: bma180: Fix BMA25x bandwidth register values d04f2582c47e iio: accel: bma180: Use explicit member assignment 4e0afa88954b net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear 2a4865d1547e net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz 7d8c06b8d2d2 drm: Return -ENOTTY for non-drm ioctls b5d7bebd96a3 nds32: fix up stack guard gap ba378b796088 rbd: always kick acquire on "acquired" and "released" notifications 13066d6628f0 rbd: don't hold lock_rwsem while running_list is being drained b12ead825f6c hugetlbfs: fix mount mode command line processing 60dbbd76f110 userfaultfd: do not untag user pointers 540eee8cbb3d selftest: use mmap instead of posix_memalign to allocate memory e706ac3fc82e ixgbe: Fix packet corruption due to missing DMA sync e617fa62f6cf media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf() 77713fb336ca btrfs: check for missing device in btrfs_trim_fs f899f24d34d9 tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop. 59a9f75fb2b6 tracing/histogram: Rename "cpu" to "common_cpu" 379d8da3353e firmware/efi: Tell memblock about EFI iomem reservations 281a94362bbe usb: dwc2: gadget: Fix sending zero length packet in DDMA mode. 167079fbfaa7 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick 811c4cdf2917 USB: serial: cp210x: fix comments for GE CS1000 f54ee7e16d0d USB: serial: option: add support for u-blox LARA-R6 family e28d28eb9be6 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 863d071dbcd5 usb: max-3421: Prevent corruption of freed memory e4077a90e600 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS da6f6769ee0f usb: hub: Fix link power management max exit latency (MEL) calculations fea6b53e631a usb: hub: Disable USB 3 device initiated lpm if exit latency is too high 962ce043ef92 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state 2b9ffddd70b4 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow c968f563ccde xhci: Fix lost USB 2 remote wake a660ecde5c55 ALSA: hdmi: Expose all pins on MSI MS-7C94 board f73696354d59 ALSA: sb: Fix potential ABBA deadlock in CSP driver 7aa2dfbc6bd0 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets 46d62c3fe2ab ALSA: usb-audio: Add missing proc text entry for BESPOKEN type f1754f96ab41 s390/boot: fix use of expolines in the DMA code 8eb521d19248 s390/ftrace: fix ftrace_update_ftrace_func implementation 268132b070d9 Revert "MIPS: add PMD table accounting into MIPS'pmd_alloc_one" f323809e3108 proc: Avoid mixing integer types in mem_rw() b71a75209f6a drm/panel: raspberrypi-touchscreen: Prevent double-free 2e6ab87f8e63 net: sched: cls_api: Fix the the wrong parameter b60461696a0b sctp: update active_key for asoc when old key is being replaced 9fa89c2caee2 nvme: set the PRACT bit when using Write Zeroes with T10 PI c50141b3d769 r8169: Avoid duplicate sysfs entry creation error f726817d6b42 afs: Fix tracepoint string placement with built-in AFS b22c9e433bb7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem" 69a49e7b5baf nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING 830251361425 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions a88414fb1117 net/sched: act_skbmod: Skip non-Ethernet packets c278b954ccc7 net: hns3: fix rx VLAN offload state inconsistent issue 006ed6f4d00b net/tcp_fastopen: fix data races around tfo_active_disable_stamp 3942ba235693 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition f11f12decd55 bnxt_en: Check abort error state in bnxt_half_open_nic() 16ce6cb78690 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task() c993e7aadc50 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe() 6ee8e6be3067 bnxt_en: Improve bnxt_ulp_stop()/bnxt_ulp_start() call sequence. 35637acc9810 spi: cadence: Correct initialisation of runtime PM again 2f2150bf41c1 scsi: target: Fix protect handling in WRITE SAME(32) a6cb717f8534 scsi: iscsi: Fix iface sysfs attr detection 25df44e90ff5 netrom: Decrease sock refcount when sock timers expire 8d7924ce85ba net: sched: fix memory leak in tcindex_partial_destroy_work f38527f18905 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak b85dadd4347b KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash b3224bd31861 net: decnet: Fix sleeping inside in af_decnet bd2b3b13aa2a efi/tpm: Differentiate missing and invalid final event log table. 9413c0abb57f net: fix uninit-value in caif_seqpkt_sendmsg 6d56299ff911 bpftool: Check malloc return value in mount_bpffs_for_pin edec10098675 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats 58259e8b6e85 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1] cc876a5618bc liquidio: Fix unintentional sign extension issue on left shift of u16 42fe8f433b31 ASoC: rt5631: Fix regcache sync errors on resume d99aaf07365f spi: mediatek: fix fifo rx mode 08cdda8d8972 regulator: hi6421: Fix getting wrong drvdata b25be6bf6419 regulator: hi6421: Use correct variable type for regmap api val argument a1ade24cccb5 spi: stm32: fixes pm_runtime calls in probe/remove 40e203ce74eb spi: stm32: Use dma_request_chan() instead dma_request_slave_channel() 24b78097a837 spi: imx: add a check for speed_hz before calculating the clock 52cff6123aa0 perf data: Close all files in close_dir() 0f63857d1099 perf probe-file: Delete namelist in del_events() on the error path 8b92ea243bbf perf lzma: Close lzma stream on exit 51351c6d5a18 perf script: Fix memory 'threads' and 'cpus' leaks on exit d2bfc3eda914 perf dso: Fix memory leak in dso__new_map() 05804a7d223d perf test event_update: Fix memory leak of evlist d257f3abdc71 perf test session_topology: Delete session->evlist 89d1762a4a21 perf env: Fix sibling_dies memory leak fd335143befb perf probe: Fix dso->nsinfo refcounting 6513dee46f80 perf map: Fix dso->nsinfo refcounting ff9fc81fa884 nvme-pci: do not call nvme_dev_remove_admin from nvme_remove d029df83c61a cxgb4: fix IRQ free race during driver unload ae9b64434441 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped a37ca2a076ec selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect 05364a2794fb selftests: icmp_redirect: remove from checking for IPv6 route get 7f4848229e91 ipv6: fix 'disable_policy' for fwd packets c67fb96f5431 gve: Fix an error handling path in 'gve_probe()' e33da4eeaa35 igb: Fix position of assignment to *ring 7dd897773618 igb: Check if num of q_vectors is smaller than max before array access d3d7cceee841 iavf: Fix an error handling path in 'iavf_probe()' 7a13a8a8a5fb e1000e: Fix an error handling path in 'e1000_probe()' 9fc381db7583 fm10k: Fix an error handling path in 'fm10k_probe()' 5d6a04927b08 igb: Fix an error handling path in 'igb_probe()' cddd53237de8 igc: Fix an error handling path in 'igc_probe()' 47f69d8828e7 igc: Prefer to use the pci_release_mem_regions method 83b2d55a512a ixgbe: Fix an error handling path in 'ixgbe_probe()' ba4fbb68fcfe igc: change default return of igc_read_phy_reg() 88e0720133d4 igb: Fix use-after-free error during reset a9508e0edfe3 igc: Fix use-after-free error during reset (From OE-Core rev: 1a3763a31bf5d33daf531dcd1e354e0556f5fdd2) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d308f120891e23c34fa8ae38a7e87aa3810518ae) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: build natively everywhereRoss Burton2021-08-261-1/+1
| | | | | | | | | | | | | | | | The OVMF target binaries are (currently) x86-specific, but the native tools to build them are not. Make the COMPATIBLE_HOST assignment target-specific, so that the native tools can be built on an arm64 build server. (From OE-Core rev: 94f5c2d51ec8033e00b52ef2d4e0e4c334c14163) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 58ebb47688fc98fdaeb78b4033bd31100218d5d6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/glibc: Handle incorrect encoding issuesin glibc test resultsRichard Purdie2021-08-261-1/+1
| | | | | | | | | | | | | We dont control the test output and sometimes see badly encoded characters. These don't affect the operation of the code we're running. Use errors='replace' to avoid those issues and the resulting test failures. (From OE-Core rev: bea86c9fc8c1f2e80209fb83c0ed73c7ae350e10) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3939b1923387d3bc440118ed1663d28a03a1ea5d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/cases: make date.DateTest.test_date more reliableAlexandre Belloni2021-08-261-5/+4
| | | | | | | | | | | | | | | The test uses the broken out time and can only handle about 59s of delay, use a UNIX timestamp to allow for up to a 300s delay. [YOCTO #14463] (From OE-Core rev: fd5387e8707e12b5c442bbe745c50a3e27085d02) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b705e9373acd4119da75af4eb96ec92cc964aa86) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk: fix relocate symlink failedhongxu2021-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Install SDK to non-default dir, sysmlink mkfs.vfat is invalid $ ./sdk.sh -y -d ./dnf-2 -S -D $ ls sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -al lrwxrwxrwx 1 hjia users 99 Aug 10 20:38 sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -> /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools Since commit [bc4ee54535 sdk: Decouple default install path from built in path] applied, sdk relocates symlink failed, it should replace $SDK_BUILD_PATH rather than $DEFAULT_INSTALL_DIR, just like above commit did Without this commit: ... |+ for l in $($SUDO_EXEC find $native_sysroot -type l) |++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat |++ sed -e s:/usr/local/oecore-x86_64:path-to: |+ ln -sfn /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/ usr/bin/mkfs.vfat.dosfstools path-to//sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat ... After appling this commit: ... |+ for l in $($SUDO_EXEC find $native_sysroot -type l) |++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat |++ sed -e s:/opt/windriver/wrlinux-graphics/21.31:path-to: |+ ln -sfn path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat ... (From OE-Core rev: a155c4d4ca841ef492213a5f0b9121703c62e2b4) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 942c06a7348070b92f722fa5c439c8c4404485b7) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: ignore node-tar CVEsRoss Burton2021-08-261-0/+3
| | | | | | | | | | | | These two CVEs are specific to the Node package node-tar. (From OE-Core rev: d1b09f81ad80e5099ae670c965dcf7d39ad09ac1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bc7216e8148d0dee7b56e6851da6615e93647a0a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: fix CVE-2021-37600Dragos-Marian Panait2021-08-262-0/+34
| | | | | | | | | | | | | | | | | | | sys-utils/ipcutils: be careful when call calloc() for uint64 nmembs Fix: #1395 (From OE-Core rev: f1b1627cac303f5f9c07fc0e8f959c0675b8f3a7) Signed-off-by: Karel Zak <kzak@redhat.com> CVE: CVE-2021-37600 Upstream-Status: Backport [1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c] Signed-off-by: Dragos-Marian Panait <dragos.panait@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9822232b4abd811bb9c8562f98c0aefc748340a0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: fix error handling when sstate mirrors is roJose Quaresma2021-08-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit dd555537fc35c5f934af09d601d70772eb5955ae 'sstate.bbclass: fix errors about read-only sstate mirrors' adds an additional exception handler to silently mask read only rootfs errors thrown during the touch. The exception handler checks the error type with the python module errno but this module needs to be imported as it don't exist. Example of the error: File: 'exec_python_func() autogenerated', lineno: 2, function: <module> 0001: *** 0002:sstate_task_postfunc(d) 0003: File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 778, function: sstate_task_postfunc 0774: 0775: omask = os.umask(0o002) 0776: if omask != 0o002: 0777: bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask) *** 0778: sstate_package(shared_state, d) 0779: os.umask(omask) 0780: 0781: sstateinst = d.getVar("SSTATE_INSTDIR") 0782: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir']) File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 708, function: sstate_package 0704: except PermissionError: 0705: pass 0706: except OSError as e: 0707: # Handle read-only file systems gracefully *** 0708: if e.errno != errno.EROFS: 0709: raise e 0710: 0711: return 0712: Exception: NameError: name 'errno' is not defined (From OE-Core rev: ce78c16409363741d59a2f787aca66077bec93cd) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 15f30ad144fbe25e9a5e71bc7e42e746d2039992) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: don't forcibly pass -T defaultRoss Burton2021-08-183-3/+3
| | | | | | | | | | | | | | | | | This reverts part of oe-core eecbe62555, which was a previous attempt to solve the Y2038 problem. This is now solved centrally in e2fsprogs, so doesn't need to be dealt with in wic. We don't revert the commit entirely, to retain the warning if a filesystem has small inodes. (From OE-Core rev: 83e53de4c99578a686cd7885610a978d995996b7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7e8017208bed98b6c90735cb641fc9d7aedf9140) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: ensure small images have 256-byte inodesRoss Burton2021-08-182-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e2fsprogs calls filesystems larger than 3MB but smaller than 512MB "small", which has some implications: - blocksize 1024 instead of 4096 - inode_ratio 4096 instead of 16384 - inode_size 128 instead of 256 The outcome of the inode size dropping to 128 bytes is that they cannot store 64-bit timestamps, so are not Y2038-safe. A previous attempt to solve this problem[1] changed some of the canned wic files to pass -T default to mkfs.ext4, but this only covered wic images and not traditional images. Also, actually small filesystems, for example a core-image-minimal, will happily be tens of megabytes and with the "default" options will result in an image which runs out of blocks before it runs out of space: mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system Considering that many OpenEmbedded images are in fact "small", being 2038-safe is worth the marginal increase is disk usage. This patch alters the small configuration in native builds so that it also has 256-byte inodes. Target is unchanged so that standard behaviour is maintained outside of the build. This is actually the same underlying patch that Mathieu Dubois-Briand sent in April, but the wic change in [1] was accepted instead. I believe that is the wrong approach and this approach covers more cases. [ YOCTO #14478 ] [1] openembedded-core eecbe62 [2] https://lists.openembedded.org/g/openembedded-core/message/150298 (From OE-Core rev: 98fbb9452aa762e61032a0836e5d732f206e3836) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9ab0ae83a24ee99e69f8ac54256b253a122aef8a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: remove deprecated CVE_CHECK_CVE_WHITELISTMichael Opdenacker2021-08-181-3/+0
| | | | | | | | | | | | This variable has been deprecated since Yocto Project version 3.0. (From OE-Core rev: 3c4719eda2b0d8fe1b7cc4006c05ee8c4618e4c6) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f8ac58568b2dceef54a743369460019b3a3eeccd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: improve comment about CVE patch file namesMichael Opdenacker2021-08-181-3/+6
| | | | | | | | | | (From OE-Core rev: 3f5270d1c96f623c27043159f47a952dc24a565b) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8aa613480663e11ecc62278d8c57ca719eb23899) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>