summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-01-13build-appliance-image: Update to dunfell head revisionyocto-3.1.222020-04.22-dunfell2020-04.22Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-10ovmf: fix gcc12 warning for device path handlingSteve Sakoman
Backport [https://github.com/tianocore/edk2/commit/22130dcd98b4d4b76ac8d922adb4a2dbc86fa52c] Fixes: In function ?SetDevicePathEndNode?, inlined from ?FileDevicePath? at DevicePathUtilities.c:857:5: DevicePathUtilities.c:321:3: error: writing 4 bytes into a region of size 1 [-Werror=stringop-overflow=] 321 | memcpy (Node, &mUefiDevicePathLibEndDevicePath, sizeof (mUefiDevicePathLibEndDevicePath)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from UefiDevicePathLib.h:22, from DevicePathUtilities.c:16: ../Include/Protocol/DevicePath.h: In function ?FileDevicePath?: ../Include/Protocol/DevicePath.h:51:9: note: destination object ?Type? of size 1 51 | UINT8 Type; ///< 0x01 Hardware Device Path. | ^~~~ Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-10ovmf: fix gcc12 warning in LzmaEncSteve Sakoman
Backport [https://github.com/tianocore/edk2/commit/85021f8cf22d1bd4114803c6c610dea5ef0059f1] Fixes: Sdk/C/LzmaEnc.c: In function ?LzmaEnc_CodeOneMemBlock?: Sdk/C/LzmaEnc.c:2828:19: error: storing the address of local variable ?outStream? in ?*p.rc.outStream? [-Werror=dangling-pointer=] 2828 | p->rc.outStream = &outStream.vt; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Sdk/C/LzmaEnc.c:2811:28: note: ?outStream? declared here 2811 | CLzmaEnc_SeqOutStreamBuf outStream; | ^~~~~~~~~ Sdk/C/LzmaEnc.c:2811:28: note: ?pp? declared here Sdk/C/LzmaEnc.c:2828:19: error: storing the address of local variable ?outStream? in ?*(CLzmaEnc *)pp.rc.outStream? [-Werror=dangling-pointer=] 2828 | p->rc.outStream = &outStream.vt; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Sdk/C/LzmaEnc.c:2811:28: note: ?outStream? declared here 2811 | CLzmaEnc_SeqOutStreamBuf outStream; | ^~~~~~~~~ Sdk/C/LzmaEnc.c:2811:28: note: ?pp? declared here cc1: all warnings being treated as errors Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-10ovmf: fix gcc12 warning in GenFfsSteve Sakoman
Backport [https://github.com/tianocore/edk2/commit/7b005f344e533cd913c3ca05b266f9872df886d1] Fixes: GenFfs.c:545:5: error: pointer ?InFileHandle? used after ?fclose? [-Werror=use-after-free] 545 | Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GenFfs.c:544:5: note: call to ?fclose? here 544 | fclose (InFileHandle); | ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-09oeqa/rpm.py: Increase timeout and add debug outputPavel Zhukov
[Yocto #14346] Systemd may be slow in killing pam session sometimes [1][2]. It may cause rpm test to fail because there's process (sd_pam) running and own by "test1" user after timeout. Increasing timeout to 2 mins and assert earlier with debug output if there's such process(es). If increasing of timeout doesn't help we may want to force deletion of the user as [2] suggests. [1] https://github.com/systemd/systemd/issues/8598 [2] https://access.redhat.com/solutions/6969188 Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 972fcc0ed1e0d36c3470071a9c667c5327c1ef78) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-09rm_work.bbclass: use HOSTTOOLS 'rm' binary exclusivelyLuis
The do_rm_work() task is using the first available 'rm' binary available in PATH to remove files and folders. However, depending on the PATH setup and RECIPE_SYSROOT_NATIVE contents, the function can be using the 'rm' binary available in RECIPE_SYSROOT_NATIVE, a folder that will get removed. This causes a sporadic race-condition when trying to access the 'rm' binary of a folder already deleted. Solve this by exclusively using the HOSTTOOLS 'rm' binary, as this folder will not get removed. Signed-off-by: Luis Martins <luis.pinto.martins@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit edcd9ad333bc4e504594e8af83e8cb7007d2e35c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-09base.bbclass: Fix way to check ccache pathChangqing Li
The previous code had 2 issues: 1. make hosttools/ccache always link to host's ccache (/usr/bin/ccache) even we have one buildtools 2. make hosttools/gcc etc, link to host's gcc event we have one buildtools when keyword ccache in buildtools's path, eg: /mnt/ccache/bin/buildtools This patch is for fix above issues. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1b7c81414cf252a7203d95703810a770184d7e4d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-09libksba: fix CVE-2022-47629Chee Yang Lee
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-09grub2: Fix CVE-2022-2601 & CVE-2022-3775Hitendra Prajapati
Backport patch from upstream to solve CVE-2022-2601 CVE-2022-3775 dependency: font: Fix size overflow in grub_font_get_glyph_internal() Upstream-Status: Backport from https://git.savannah.gnu.org/cgit/grub.git/commit/?id=9c76ec09ae08155df27cd237eaea150b4f02f532 CVE-2022-2601: font: Fix several integer overflows in grub_font_construct_glyph() Upstream-Status: Backport from https://git.savannah.gnu.org/cgit/grub.git/commit/?id=768e1ef2fc159f6e14e7246e4be09363708ac39e CVE-2022-3775: font: Fix an integer underflow in blit_comb() Upstream-Status: Backport from https://git.savannah.gnu.org/cgit/grub.git/commit/?id=992c06191babc1e109caf40d6a07ec6fdef427af Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-06lib/buildstats: fix parsing of trees with reduced_proc_pressure directoriesRoss Burton
The /proc/pressure support in buildstats is creating directories in the buildstats tree called reduced_proc_pressure, which confuses the parsing logic as that cannot be parsed as a name-epoc-version-revision tuple. Explicitly skip this directory to solve the problem. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 24f0331f0b7e51161b1fa43d4592b491d2037fe9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-01-06qemuboot.bbclass: make sure runqemu boots bundled initramfs kernel imageJagadeesh Krishnanjanappa
The QB_DEFAULT_KERNEL is set to pick bundled initramfs kernel image if the Linux kernel image is generated with INITRAMFS_IMAGE_BUNDLE="1". This makes runqemu to automatically pick bundled initramfs kernel image instead of explicitly mentioning bundled initramfs kernel image in runqemu. [YOCTO #14748] Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 52371624313184e1a825519160c3833e282df8b9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06go-crosssdk: avoid host contamination by GOCACHERobert Andersson
By default GOCACHE is set to $HOME/.cache. Same issue for all other go recipes had been fixed by commit 9a6d208b: [ go: avoid host contamination by GOCACHE ] but that commit missed go-crosssdk recipe. Signed-off-by: Robert Andersson <robert.m.andersson@atlascopco.com> Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit e5fd10c647ac4baad65f9efa964c3380aad7dd10) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06externalsrc: fix lookup for .gitmodulesPeter Marko
Commit 0533edac277080e1bd130c14df0cbac61ba01a0c broke bitbake parsing when bitbake is executed from directory with existing .gitmodules and the recipe in externalsrc does not have .gitmodules The check needs to search for .gitmodules in sources path, not cwd. iParsing recipes...ERROR: ExpansionError during parsing <path to recipe> ... bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception CalledProcessError: Command '['git', 'config', '--file', '.gitmodules', '--get-regexp', 'path']' returned non-zero exit status 1. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 66ff3d1f65cd2e7f5319e98fa41f47a59b714c72) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06bc: extend to nativesdkChen Qi
bc is needed for compiling kernel modules, more specifially whenr running `make scripts prepare'. In linux-yocto.inc, we have bc-native in DEPENDS. But we will need nativesdk-bc in case we compile a kernel module inside SDK. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 95b5c89066baccb1e64bfba7d9a66feeeb086da9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06sudo: Use specific BSD license variantJoshua Watt
Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: ff27ea21d7c14086335da5c3e2fac353e44438da) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b1596d37ba13db3aff61975a31d865f33333fa45) Signed-off-by: Nikhil R <nikhil.r@kpit.com> Signed-off-by: Omkar Patil <omkarpatil10.93@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06tzdata: update 2022d -> 2022gAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 2394a481db1b41ad4581e22ba901ac76fa7b3dcd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06linux-yocto/5.4: update to v5.4.228Bruce Ashfield
Updating to the latest korg -stable release that comprises the following commits: 851c2b5fb793 Linux 5.4.228 ff484a9ba449 ASoC: ops: Correct bounds check for second channel on SX controls 7d4aa0929963 can: mcba_usb: Fix termination command argument f843fdcac054 can: sja1000: fix size of OCR_MODE_MASK define b439b12d1050 pinctrl: meditatek: Startup with the IRQs disabled 9796d07c7531 ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx() 3c837460f920 nfp: fix use-after-free in area_cache_get() a40c3c9ae58f block: unhash blkdev part inode when the part is deleted 176ba4c19d1b mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page 69d4f3baa694 x86/smpboot: Move rcu_cpu_starting() earlier d1988bf2bba3 net: bpf: Allow TC programs to call BPF_FUNC_skb_change_head 66bb2e2b24ce Linux 5.4.227 898270ec11be can: esd_usb: Allow REC and TEC to return to zero 08bf219d62f5 net: mvneta: Fix an out of bounds check 6b6d3be3661b ipv6: avoid use-after-free in ip6_fragment() f73eb3fc9b41 net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq() f0af234e2e55 xen/netback: fix build warning 99669d94ce14 ethernet: aeroflex: fix potential skb leak in greth_init_rings() 3295582cd7a5 ipv4: Fix incorrect route flushing when table ID 0 is used 2537b637eac0 ipv4: Fix incorrect route flushing when source address is deleted 36eedb9a05a7 tipc: Fix potential OOB in tipc_link_proto_rcv() 1b6360a093ab net: hisilicon: Fix potential use-after-free in hix5hd2_rx() e71a46cc8c9a net: hisilicon: Fix potential use-after-free in hisi_femac_rx() 7081cf86e1f6 net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq bc06207b4c1c net: stmmac: fix "snps,axi-config" node property parsing 7fab7add08f5 nvme initialize core quirks before calling nvme_init_subsystem 677843470694 NFC: nci: Bounds check struct nfc_target arrays e5292711b020 i40e: Disallow ip4 and ip6 l4_4_bytes 9337d87da417 i40e: Fix for VF MAC address 0 a1e295517b36 i40e: Fix not setting default xps_cpus after reset eec1fc21edc2 net: mvneta: Prevent out of bounds read in mvneta_config_rss() ed773dd798bf xen-netfront: Fix NULL sring after live migration 18e10a9e0e32 net: encx24j600: Fix invalid logic in reading of MISTAT register 1356c17758b8 net: encx24j600: Add parentheses to fix precedence 1831d4540406 mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add() 8fb4b50f5436 selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload 0834d4b121e7 net: dsa: ksz: Check return value 2c6cf0afc385 Bluetooth: Fix not cleanup led when bt_init fails 07ea5d74fc12 Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn() c66d78aee55d af_unix: Get user_ns from in_skb in unix_diag_get_exact(). 9d2ee8abf160 igb: Allocate MSI-X vector when testing cff8ba243f5f e1000e: Fix TX dispatch condition 48bd5d3801f6 gpio: amd8111: Fix PCI device reference count leak d2be7ba2d47b drm/bridge: ti-sn65dsi86: Fix output polarity setting bug e2e218177271 ca8210: Fix crash by zero initializing data efbca8234aee ieee802154: cc2520: Fix error return code in cc2520_hw_init() 3982652957e8 can: af_can: fix NULL pointer dereference in can_rcv_filter db1ed1b3fb4e HID: core: fix shift-out-of-bounds in hid_report_raw_event 60bce926a8f3 HID: hid-lg4ff: Add check for empty lbuf 625814b85f74 HID: usbhid: Add ALWAYS_POLL quirk for some mice 585a07b82005 drm/shmem-helper: Remove errant put in error path b8419d16f47e KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field 04edfa3dc06e mm/gup: fix gup_pud_range() for dax 35963b318219 memcg: fix possible use-after-free in memcg_write_event_control() 4afc77068e36 media: v4l2-dv-timings.c: fix too strict blanking sanity checks 91516ba54a02 Revert "net: dsa: b53: Fix valid setting for MDB entries" 50e1ab7e638f xen/netback: don't call kfree_skb() with interrupts disabled 6b1d47f9c34b xen/netback: do some code cleanup 8fe1bf6f32cd xen/netback: Ensure protocol headers don't fall in the non-linear area 5ffc2a75534d mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths 48b00ceb5472 mm/khugepaged: fix GUP-fast interaction by sending IPI 324abbd8b91c mm/khugepaged: take the right locks for page table retraction b2963819d03b net: usb: qmi_wwan: add u-blox 0x1342 composition e35c3ad0c208 9p/xen: check logical size for buffer size 9d5126b574c9 fbcon: Use kzalloc() in fbcon_prepare_logo() 102459222d41 regulator: twl6030: fix get status of twl6032 regulators f2ba66d87385 ASoC: soc-pcm: Add NULL check in BE reparenting 3b2c064a8e11 btrfs: send: avoid unaligned encoded writes when attempting to clone range 63badfed2002 ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event 8d16d3826ff2 regulator: slg51000: Wait after asserting CS pin 9327a9c624ee 9p/fd: Use P9_HDRSZ for header size 671f950d17d5 ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188 2c2c5d1d10f7 ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation 29917e381e02 ARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernels 3f39d53bc731 ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name 135fcc458170 ARM: dts: rockchip: fix ir-receiver node names 368f2c2640be arm: dts: rockchip: fix node name for hym8563 rtc 4b346f07f064 arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series 316cdfc48d4d Linux 5.4.226 3ab84e89135b ipc/sem: Fix dangling sem_array access in semtimedop race 210f96fb7ed5 v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails 0390da0565ad proc: proc_skip_spaces() shouldn't think it is working on C strings dd3124a051a1 proc: avoid integer type confusion in get_proc_long 1061bf5d018b mmc: sdhci: Fix voltage switch delay 9a5f49c0f532 mmc: sdhci: use FIELD_GET for preset value bit masks d699373ac5f3 char: tpm: Protect tpm_pm_suspend with locks 9decec299337 Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend" e67e119adf3e x86/ioremap: Fix page aligned size calculation in __ioremap_caller() 0d87bb607036 Bluetooth: L2CAP: Fix accepting connection request for invalid SPSM b5041a3daa7f x86/pm: Add enumeration check before spec MSRs save/restore setup 3b2859457688 x86/tsx: Add a feature bit for TSX control MSR support 99c59256ea00 nvme: ensure subsystem reset is single threaded dc85ff0a5f32 nvme: restrict management ioctls to admin c41a89af7b7a epoll: check for events when removing a timed out thread from the wait queue b8e803cda58b epoll: call final ep_events_available() check under the lock e65ac2bdda54 tracing/ring-buffer: Have polling block on watermark 899e148171c6 ipv4: Fix route deletion when nexthop info is not specified cc3cd130ecfb ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference a14f1a9c5313 selftests: net: fix nexthop warning cleanup double ip typo 8aefb9329522 selftests: net: add delete nexthop route warning test dd6d2d82f0be Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled 7da3a10f39c9 parisc: Increase FRAME_WARN to 2048 bytes on parisc 15568cdbe599 xtensa: increase size of gcc stack frame check 76f48511a1c8 parisc: Increase size of gcc stack frame check cbdd83bd2fd6 iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init() 0090231df2cf pinctrl: single: Fix potential division by zero 73dce3c1d48c ASoC: ops: Fix bounds check for _sx controls ced17a55a8e7 mm: Fix '.data.once' orphan section warning c9ecc420941f arm64: errata: Fix KVM Spectre-v2 mitigation selection for Cortex-A57/A72 44ccd8c52fb7 arm64: Fix panic() when Spectre-v2 causes Spectre-BHB to re-allocate KVM vectors 1603feac154f tracing: Free buffers when a used dynamic event is removed dcd1daad31ac mmc: sdhci-sprd: Fix no reset data and command after voltage switch 9e5581c772cf mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check bfdfe86d839f mmc: core: Fix ambiguous TRIM and DISCARD arg 040d08c99620 mmc: mmc_test: Fix removal of debugfs file eb5001ecfb4f pinctrl: intel: Save and restore pins in "direct IRQ" mode ae34a4f4a209 x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3 9a130b72e6bd nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry() 3ae3bb33c47e tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep" cf1c12bc5c8c error-injection: Add prompt for function error injection 2f6fd2de726d net/mlx5: DR, Fix uninitialized var warning ea5844f946b1 hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new() 89eecabe6a47 hwmon: (coretemp) Check for null before removing sysfs attrs 0aacac75b8d6 net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed a7555681e50b sctp: fix memory leak in sctp_stream_outq_migrate() 168de4096b9c packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE 16c244bc65d1 net: tun: Fix use-after-free in tun_detach() 1c1d4830a960 afs: Fix fileserver probe RTT handling 53a62c5efe91 net: hsr: Fix potential use-after-free ae633816ddf1 dsa: lan9303: Correct stat name 910c0264b64e net: ethernet: nixge: fix NULL dereference 2d24d91b9f44 net/9p: Fix a potential socket leak in p9_socket_open 4720725e22e1 net: net_netdev: Fix error handling in ntb_netdev_init_module() 3e21f85d87c8 net: phy: fix null-ptr-deref while probe() failed f5c2ec288a86 wifi: cfg80211: fix buffer overflow in elem comparison 06785845e150 qlcnic: fix sleep-in-atomic-context bugs caused by msleep 78f8a34b375f can: cc770: cc770_isa_probe(): add missing free_cc770dev() e4b474fa787c can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev() 0a2d73a77060 net/mlx5e: Fix use-after-free when reverting termination table 093ccc2f8450 net/mlx5: Fix uninitialized variable bug in outlen_write() b10dd3bd14ec of: property: decrement node refcount in of_fwnode_get_reference_args() 7b2b67fe1339 hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails 45a643783435 hwmon: (i5500_temp) fix missing pci_disable_device() dbcc3390015f scripts/faddr2line: Fix regression in name resolution on ppc64le 2b916ee1d37c iio: light: rpr0521: add missing Kconfig dependencies 3f566b626029 iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw 2d6a437064ff iio: health: afe4403: Fix oob read in afe4403_read_raw 8eb912af5250 btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit() 7e88a416ed43 drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read" 41f0abeadc09 drm/amdgpu: update drm_display_info correctly when the edid is read 787138e4b9e1 btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker 255289adce05 spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock 83aae3204e5c btrfs: free btrfs_path before copying inodes to userspace 9fd11e2de746 fuse: lock inode unconditionally in fuse_fallocate() 3659e33c1e4f drm/i915: fix TLB invalidation for Gen12 video and compute engines 0d1cad597199 drm/amdgpu: always register an MMU notifier for userptr d4e9bab771aa drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN a541f1f0ce90 btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs() d037681515b6 btrfs: free btrfs_path before copying subvol info to userspace 69e2f1dd93c1 btrfs: free btrfs_path before copying fspath to userspace 3cde2bc70819 btrfs: free btrfs_path before copying root refs to userspace 4741b00cac23 binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0 4e682ce5601a binder: Address corner cases in deferred copy and fixup 15e098ab1d3c binder: fix pointer cast warning 74e7f1828ab4 binder: defer copies of pre-patched txn data 7b31ab0d9efb binder: read pre-translated fds from sender buffer c056a6ba35e0 binder: avoid potential data leakage when copying txn f8fee36515f4 dm integrity: flush the journal on suspend 096e1bd659d8 net: usb: qmi_wwan: add Telit 0x103a composition 86136bf62387 tcp: configurable source port perturb table size 07da8fca307e platform/x86: hp-wmi: Ignore Smart Experience App event 82d758c9daf1 platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017) 846c0f9cd05b platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr() 6579436fd1a6 xen/platform-pci: add missing free_irq() in error path 375e79c57155 serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios() e3a2211fe17c ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-01 3e2452cbc6f6 Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode 47b4949335cb gcov: clang: fix the buffer overflow issue ecbde4222e6b nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirty 7d08b4eba1e1 firmware: coreboot: Register bus in module init a2012335aa53 firmware: google: Release devices before unregistering the bus cb7495fe9575 ceph: avoid putting the realm twice when decoding snaps fails 12a93545b2ed ceph: do not update snapshot context when there is no new snapshot 0528b19d5701 iio: pressure: ms5611: fixed value compensation bug 562f415bb378 iio: ms5611: Simplify IO callback parameters def48fbbac1c nios2: add FORCE for vmlinuz.gz da849abded31 init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash 03949acb58f0 iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails f8a76c28e957 iio: light: apds9960: fix wrong register for gesture gain d3ad47426a58 arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency ae6bcb26984b usb: dwc3: exynos: Fix remove() function 15f8b52523ba lib/vdso: use "grep -E" instead of "egrep" 960cf3c7ff95 s390/crashdump: fix TOD programmable field size fabd3ab6a19d net: thunderx: Fix the ACPI memory leak 1633e6d6aa82 nfc: st-nci: fix memory leaks in EVT_TRANSACTION 0e2a4560db77 nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION 420b21235d63 s390/dasd: fix no record found for raw_track_access 9d1264c914d3 dccp/tcp: Reset saddr on failure after inet6?_hash_connect(). 08f25427d81a bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending() 59612acf6b5e regulator: twl6030: re-add TWL6032_SUBCLASS 1c12909a7820 NFC: nci: fix memory leak in nci_rx_data_packet() 23b83a3c76b3 xfrm: Fix ignored return value in xfrm6_init() 23ba1997ebc0 tipc: check skb_linearize() return value in tipc_disc_rcv() 59f9aad22fd7 tipc: add an extra conn_get in tipc_conn_alloc 30f91687fa25 tipc: set con sock in tipc_conn_alloc 5c12136c00b5 net/mlx5: Fix FW tracer timestamp calculation 00492f823f30 Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register() e0d5becab1d0 Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work() ec3d7202e99f nfp: add port from netdev validation for EEPROM access 9b8061a6dbd0 net: pch_gbe: fix pci device refcount leak while module exiting 9a39ea43f16a net/qla3xxx: fix potential memleak in ql3xxx_send() a07149c10bae net/mlx4: Check retval of mlx4_bitmap_init bbf6d1bc077f ARM: mxs: fix memory leak in mxs_machine_init() 3afa86449ee8 9p/fd: fix issue of list_del corruption in p9_fd_cancel() bfadcbf5bac5 net: pch_gbe: fix potential memleak in pch_gbe_tx_queue() e00b42cbec15 nfc/nci: fix race with opening and closing 04ffa53ab7ae net: liquidio: simplify if expression 79c55e66caa0 ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrl 897f6a309138 tee: optee: fix possible memory leak in optee_register_device() 9c1fbac623cb bus: sunxi-rsb: Support atomic transfers 347875ff9ad4 regulator: core: fix UAF in destroy_regulator() 556121103170 regulator: core: fix kobject release warning and memory leak in regulator_register() c06267652886 ASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove 168d59f7f72d ARM: dts: am335x-pcm-953: Define fixed regulators in root node dd56c671ccca af_key: Fix send_acquire race with pfkey_register 9221a53bfcba MIPS: pic32: treat port as signed integer dff9b25cb977 RISC-V: vdso: Do not add missing symbols to version section in linker script b0e025dd87ab arm64/syscall: Include asm/ptrace.h in syscall_wrapper header. 0ba7c091f7f1 block, bfq: fix null pointer dereference in bfq_bio_bfqg() b848811655db drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017) 5dfbb54fe115 spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run 9029aee8742e wifi: mac80211: Fix ack frame idr leak when mesh has no route 1f75f9c1af6a audit: fix undefined behavior in bit shift for AUDIT_BIT 3129cec05f3d wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support b4cb3dc11185 wifi: mac80211: fix memory free error when registering wiphy fail 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>
2023-01-06linux-yocto/5.4: update to v5.4.225Bruce Ashfield
Updating to the latest korg -stable release that comprises the following commits: 4d2a309b5c28 Linux 5.4.225 b612f924f296 ntfs: check overflow when iterating ATTR_RECORDs 0e2ce0954b39 ntfs: fix out-of-bounds read in ntfs_attr_find() 266bd5306286 ntfs: fix use-after-free in ntfs_attr_find() ed8b990e89aa mm: fs: initialize fsdata passed to write_begin/write_end interface b1ad04da7fe4 9p/trans_fd: always use O_NONBLOCK read/write 179236a122a1 gfs2: Switch from strlcpy to strscpy 8b6534c9ae9d gfs2: Check sb_bsize_shift after reading superblock 96760723aae1 9p: trans_fd/p9_conn_cancel: drop client lock earlier ce57d6474ae9 kcm: close race conditions on sk_receive_queue 7a704dbfd373 bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb() ad39d09190a5 kcm: avoid potential race in kcm_tx_work 78be2ee01124 tcp: cdg: allow tcp_cdg_release() to be called multiple times a62aa84fe19e macvlan: enforce a consistent minimal mtu 4f348b60c796 Input: i8042 - fix leaking of platform device on module removal 7b0007b28dd9 kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case 28f7ff5e7559 scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus() ec59a1325230 ring-buffer: Include dropped pages in counting dirty patches 32a7f0645111 serial: 8250: Flush DMA Rx on RLSI e7061dd1fef2 misc/vmw_vmci: fix an infoleak in vmci_host_do_receive_datagram() 3da7098e8ffa docs: update mediator contact information in CoC doc 27f712cd47d6 mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put() 616c6695dd42 mmc: sdhci-pci-o2micro: fix card detect fail issue caused by CD# debounce timeout 076712ff50dc mmc: core: properly select voltage range without power cycle 1bf8ed585501 scsi: zfcp: Fix double free of FSF request when qdio send fails 5d53797ce7ce Input: iforce - invert valid length check when fetching device IDs 89c0c27ab39a serial: 8250_lpss: Configure DMA also w/o DMA filter d6ebe11ad322 serial: 8250: Fall back to non-DMA Rx if IIR_RDI occurs b545c0e1e409 dm ioctl: fix misbehavior if list_versions races with module loading 1c5866b4ddec iio: pressure: ms5611: changed hardcoded SPI speed to value limited 0dd52e141afd iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init() 7b75515728b6 iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger() c025c4505fba usb: chipidea: fix deadlock in ci_otg_del_timer 8c8039ede2f9 usb: add NO_LPM quirk for Realforce 87U Keyboard bec9f91f7b0c USB: serial: option: add Fibocom FM160 0x0111 composition 1972f20f365d USB: serial: option: add u-blox LARA-L6 modem 089839cccf82 USB: serial: option: add u-blox LARA-R6 00B modem 31e6aba26b44 USB: serial: option: remove old LARA-R6 PID 5ee0a017e52a USB: serial: option: add Sierra Wireless EM9191 0410c2ae2105 speakup: fix a segfault caused by switching consoles 6ed6a5dfa3fa slimbus: stream: correct presence rate frequencies 56607f0bfc9a Revert "usb: dwc3: disable USB core PHY management" e7dc436aea80 ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open() 72c2ea34faa1 ring_buffer: Do not deactivate non-existant pages f715f31559b8 ftrace: Fix null pointer dereference in ftrace_add_mod() c50e0bcf4a1b ftrace: Optimize the allocation for mcount entries 3041feeedbdd ftrace: Fix the possible incorrect kernel message 04e9e5eb4551 cifs: add check for returning value of SMB2_set_info_init 293c0d7182ee net: thunderbolt: Fix error handling in tbnet_init() e6546d541206 cifs: Fix wrong return value checking when GETFLAGS e109b41870db net/x25: Fix skb leak in x25_lapb_receive_frame() e313efddce71 platform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized 813a8dd9c45f drbd: use after free in drbd_create_device() 0199bf0a8f74 xen/pcpu: fix possible memory leak in register_pcpu() aa2ba356507f bnxt_en: Remove debugfs when pci_register_driver failed 6134357f568e net: caif: fix double disconnect client in chnl_net_open() 90638373f19f net: macvlan: Use built-in RCU list checking 83672c1b83d1 mISDN: fix misuse of put_device() in mISDN_register_device() 8c85770d1ad0 net: liquidio: release resources when liquidio driver open failed 0f2c681900a0 mISDN: fix possible memory leak in mISDN_dsp_element_register() d697f78cab64 net: bgmac: Drop free_netdev() from bgmac_enet_remove() bec9ded5404c ata: libata-transport: fix double ata_host_put() in ata_tport_add() 2ff7e852bd4c arm64: dts: imx8mn: Fix NAND controller size-cells bb4a2f898ef7 arm64: dts: imx8mm: Fix NAND controller size-cells 040f726fecd8 pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map 5b3d6d510bb8 parport_pc: Avoid FIFO port location truncation f9fe7ba4ea5b siox: fix possible memory leak in siox_device_add() 6bb50c14c958 block: sed-opal: kmalloc the cmd/resp buffers 8555c6c1125f ASoC: soc-utils: Remove __exit for snd_soc_util_exit() b768afc68b10 tty: n_gsm: fix sleep-in-atomic-context bug in gsm_control_send 476b09e07bd5 serial: imx: Add missing .thaw_noirq hook b7c6033a8fa3 serial: 8250: omap: Flush PM QOS work on remove 2d66412563ef serial: 8250: omap: Fix unpaired pm_runtime_put_sync() in omap8250_remove() 747e76f4ccb2 serial: 8250_omap: remove wait loop from Errata i202 workaround 2ec3f558db34 ASoC: core: Fix use-after-free in snd_soc_exit() ee31abd04754 spi: stm32: Print summary 'callbacks suppressed' message a39357b4ec86 ASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -> "Source", "Routee" -> "Route" 1a5f13b0c542 Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm 6fa082ad96d6 btrfs: remove pointless and double ulist frees in error paths of qgroup tests 741bded210db drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid 761976a6175d i2c: i801: add lis3lv02d's I2C address for Vostro 5568 18a501e5c7a8 NFSv4: Retry LOCK on OLD_STATEID during delegation return 281b93e42e40 selftests/intel_pstate: fix build for ARCH=x86_64 2cce0a36cec9 selftests/futex: fix build for clang c81ab3d7d1e2 ASoC: codecs: jz4725b: fix capture selector naming 5b94d1bb1ea2 ASoC: codecs: jz4725b: use right control for Capture Volume 21b6fbb934b5 ASoC: codecs: jz4725b: fix reported volume for Master ctl c9fb6a03112d ASoC: codecs: jz4725b: add missed Line In power control bit 1719b9c0fb37 spi: intel: Fix the offset to get the 64K erase opcode af93d7c9d94c ASoC: wm8962: Add an event handler for TEMP_HP and TEMP_SPK a3b07bb0b3fc ASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe" 4d487873ba5f ASoC: wm5110: Revert "ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe" f0901e1551a8 ASoC: wm5102: Revert "ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe" 1fd66e3b02d5 x86/cpu: Restore AMD's DE_CFG MSR after resume 30b0263d0366 net: tun: call napi_schedule_prep() to ensure we own a napi 7a6e564ff259 dmaengine: at_hdmac: Check return code of dma_async_device_register 966dd087de9a dmaengine: at_hdmac: Fix impossible condition d6ce23165ccc dmaengine: at_hdmac: Don't allow CPU to reorder channel enable a5352470299f dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors 77b97ef4908a dmaengine: at_hdmac: Don't start transactions at tx_submit level 3d35e36d7a90 dmaengine: at_hdmac: Fix at_lli struct definition ab390c532e3c cert host tools: Stop complaining about deprecated OpenSSL functions d0513b095e1e can: j1939: j1939_send_one(): fix missing CAN header initialization d8971f410739 udf: Fix a slab-out-of-bounds write bug in udf_find_entry() c914c56ac058 btrfs: selftests: fix wrong error check in btrfs_free_dummy_root() aa05252ab4b8 platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi 431b70544bb1 drm/i915/dmabuf: fix sg_table handling in map_dma_buf 9b162e810452 nilfs2: fix use-after-free bug of ns_writer on remount 36ff974b0310 nilfs2: fix deadlock in nilfs_count_free_blocks() b4421e6d9a96 vmlinux.lds.h: Fix placement of '.data..decrypted' section 022d8696a7dd ALSA: usb-audio: Add DSD support for Accuphase DAC-60 ded2d51b85e3 ALSA: usb-audio: Add quirk entry for M-Audio Micro 02dea987ec1c ALSA: hda: fix potential memleak in 'add_widget_node' 9ab40b1df6ab ALSA: hda/ca0132: add quirk for EVGA Z390 DARK d51861d2911b mmc: sdhci-tegra: Fix SDHCI_RESET_ALL for CQHCI d2cf28caf5f1 mmc: sdhci-of-arasan: Fix SDHCI_RESET_ALL for CQHCI ae2aeee895ec mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI 9fbe02082912 MIPS: jump_label: Fix compat branch range check f967bbc72f20 arm64: efi: Fix handling of misaligned runtime regions and drop warning c5c0b3167537 riscv: process: fix kernel info leakage 685e73e3f7a9 net: macvlan: fix memory leaks of macvlan_common_newlink d1dddadf4cbb ethernet: tundra: free irq when alloc ring failed in tsi108_open() 1b7a5651432e net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open() ec8a47afc5ee ethernet: s2io: disable napi when start nic failed in s2io_card_up() b03f505c5d1e cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open() 834d2da28fd9 net: cxgb3_main: disable napi when bind qsets failed in cxgb_up() 834445168191 net: cpsw: disable napi in cpsw_ndo_open() 3892c2d33573 net/mlx5: Allow async trigger completion execution on single CPU systems 5b72cf7a4066 net: nixge: disable napi when enable interrupts failed in nixge_open() a8aade318d7e perf stat: Fix printing os->prefix in CSV metrics output da4daa36ea2e drivers: net: xgene: disable napi when register irq failed in xgene_enet_open() 1d8488732765 dmaengine: mv_xor_v2: Fix a resource leak in mv_xor_v2_remove() 7c77e272b4b3 dmaengine: pxa_dma: use platform_get_irq_optional 36769b947749 tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_header afab4655750f can: af_can: fix NULL pointer dereference in can_rx_register() 58cd7fdc8c1e ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network 3ad34145911d drm/vc4: Fix missing platform_unregister_drivers() call in vc4_drm_register() 831ea56c3470 hamradio: fix issue of dev reference count leakage in bpq_device_event() c7e0024852c3 net: lapbether: fix issue of dev reference count leakage in lapbeth_device_event() 5661f111a161 capabilities: fix undefined behavior in bit shift for CAP_TO_MASK 08c3d22f1080 net: fman: Unregister ethernet device on removal aa94d1a607c7 bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer a5a05fbef4a0 bnxt_en: Fix possible crash in bnxt_hwrm_set_coal() a4f73f6adc53 net: tun: Fix memory leaks of napi_get_frags 65ad047fd835 net: gso: fix panic on frag_list with mixed head alloc types e29289d0d819 HID: hyperv: fix possible memory leak in mousevsc_probe() d975bec1eaeb bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queues 0ede1a988299 wifi: cfg80211: fix memory leak in query_regdb_file() 1c8d06631749 wifi: cfg80211: silence a sparse RCU warning c38ea831691b phy: stm32: fix an error code in probe 45a841719fe0 xfs: drain the buf delwri queue before xfsaild idles e107e953d24d xfs: preserve inode versioning across remounts 7d57979052c4 xfs: use MMAPLOCK around filemap_map_pages() 8b27e684a6a9 xfs: redesign the reflink remap loop to fix blkres depletion crash ece1eb995787 xfs: rename xfs_bmap_is_real_extent to is_written_extent d304fafb978d xfs: preserve rmapbt swapext block reservation from freed blocks 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>
2023-01-06linux-yocto/5.4: update to v5.4.224Bruce Ashfield
Updating to the latest korg -stable release that comprises the following commits: 771a8acbb841 Linux 5.4.224 3e0c1ab197eb ipc: remove memcg accounting for sops objects in do_semtimedop() a16415c8f156 wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker() a24bf3c317b2 drm/i915/sdvo: Setup DDC fully before output init 4dadd4b16178 drm/i915/sdvo: Filter out invalid outputs more sensibly 57306fef4d10 drm/rockchip: dsi: Force synchronous probe e09ff743e30b mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times 8b1174d05896 KVM: x86: emulator: update the emulation mode after CR0 write ac3bc06c9ac5 KVM: x86: emulator: introduce emulator_recalc_and_set_mode f159cd915d73 KVM: x86: emulator: em_sysexit should update ctxt->mode ef3094c4e9ee KVM: x86: Mask off reserved bits in CPUID.80000008H da1bf3732d0f KVM: x86: Mask off reserved bits in CPUID.8000001AH 2fa24d0274fb ext4: fix BUG_ON() when directory entry has invalid rec_len 72743d5598b9 ext4: fix warning in 'ext4_da_release_space' eed040fd35e9 parisc: Avoid printing the hardware path twice 9e902284ee3e parisc: Export iosapic_serial_irq() symbol for serial port driver 506ae301672e parisc: Make 8250_gsc driver dependend on CONFIG_PARISC c586068aad62 ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devices 4e8ee3cf74e2 perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[] 6ffa48150b9b perf/x86/intel: Fix pebs event constraints for ICL fee896d4534f efi: random: reduce seed size to 32 bytes 0c7275743498 fuse: add file_modified() to fallocate 0c3e6288da65 capabilities: fix potential memleak on error path from vfs_getxattr_alloc() 4bc52ddf6347 tracing/histogram: Update document for KEYS_MAX size c8938263e640 tools/nolibc/string: Fix memcmp() implementation 993bd0de8b53 kprobe: reverse kp->flags when arm_kprobe failed fe3da74428bf tcp/udp: Make early_demux back namespacified. 4ae03c869c9a btrfs: fix type of parameter generation in btrfs_get_dentry 27a594bc7a7c binder: fix UAF of alloc->vma in race with munmap() bad83d55134e memcg: enable accounting of ipc resources 92aaa5e8fe90 tcp/udp: Fix memory leak in ipv6_renew_options(). c494ae149858 block, bfq: protect 'bfqd->queued' by 'bfqd->lock' 6949400ec9fe Bluetooth: L2CAP: Fix attempting to access uninitialized memory ad18f624e3da xfs: Add the missed xfs_perag_put() for xfs_ifree_cluster() 0802130a4d0b xfs: don't fail unwritten extent conversion on writeback due to edquot fef141f9e4c1 xfs: group quota should return EDQUOT when prj quota enabled 4267433dd3d3 xfs: gut error handling in xfs_trans_unreserve_and_mod_sb() 24e7e3935309 xfs: use ordered buffers to initialize dquot buffers during quotacheck 52802e9a035f xfs: don't fail verifier on empty attr3 leaf block 71d487a82d2c i2c: xiic: Add platform module alias cdd19e559a72 HID: saitek: add madcatz variant of MMO7 mouse device ID efdcd1e32c0d scsi: core: Restrict legal sdev_state transitions via sysfs 70119756311a media: meson: vdec: fix possible refcount leak in vdec_probe() bfa8ccf70597 media: dvb-frontends/drxk: initialize err to 0 11c8f19e0f5a media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE 4a449430ecfb media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE 381453770f73 ipv6: fix WARNING in ip6_route_net_exit_late() b49f6b2f21f5 net, neigh: Fix null-ptr-deref in neigh_table_clear() 4954b5359eb1 net: mdio: fix undefined behavior in bit shift for __mdiobus_register c1f594dddd9f Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del() 4cd094fd5d87 Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu 5d1a47ebf845 btrfs: fix ulist leaks in error paths of qgroup self tests 6a6731a0df8c btrfs: fix inode list leak during backref walking at find_parent_nodes() 2c0329406bb2 btrfs: fix inode list leak during backref walking at resolve_indirect_refs() 3d74329d8cff isdn: mISDN: netjet: fix wrong check of device registration 2ff6b669523d mISDN: fix possible memory leak in mISDN_register_device() b13be5e852b0 rose: Fix NULL pointer dereference in rose_send_frame() 8457a00c981f ipvs: fix WARNING in ip_vs_app_net_cleanup() 7effc4ce3d14 ipvs: fix WARNING in __ip_vs_cleanup_batch() 2cc523978f1c ipvs: use explicitly signed chars 74fd58394670 netfilter: nf_tables: release flow rule object from commit path ca791952d42c net: tun: fix bugs for oversize packet when napi frags enabled 52e042947197 net: sched: Fix use after free in red_enqueue() d605da3e5f74 ata: pata_legacy: fix pdc20230_set_piomode() 704b92c51b64 net: fec: fix improper use of NETDEV_TX_BUSY f30060efcf18 nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send() aef89b91c7d7 nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send() 875082ae8329 RDMA/qedr: clean up work queue on failure in qedr_alloc_resources() af8fb5a0600e RDMA/core: Fix null-ptr-deref in ib_core_cleanup() bbc5d7b46a72 net: dsa: Fix possible memory leaks in dsa_loop_init() 925cb538bd58 nfs4: Fix kmemleak when allocate slot failed 0bc335d0100e NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot 405309d86021 NFSv4.1: Handle RECLAIM_COMPLETE trunking errors 25760a41e380 IB/hfi1: Correctly move list in sc_disable() 6b5c87f9b3f8 RDMA/cma: Use output interface for net_dev check a0d938496721 Linux 5.4.223 a0a2a4bdd101 can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive fc0eecb8b457 net: enetc: survive memory pressure without crashing 69dd3ad406c4 net/mlx5: Fix possible use-after-free in async command interface 827e36a031e4 net/mlx5e: Do not increment ESN when updating IPsec ESN state 7dc6ce3ef20f nh: fix scope used to find saddr when adding non gw nh ba6ee85355ad net: ehea: fix possible memory leak in ehea_register_port() 4175d6381f6f openvswitch: switch from WARN to pr_warn 0667bb60000d ALSA: aoa: Fix I2S device accounting 5bdea6745341 ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev() 2a47cc2a3d04 PM: domains: Fix handling of unavailable/disabled idle states a49e74cc7489 net: ksz884x: fix missing pci_disable_device() on error in pcidev_init() e46f699ac23d i40e: Fix flow-type by setting GL_HASH_INSET registers e88c2a1e28c5 i40e: Fix VF hang when reset is triggered on another VF 28c47fd23c20 i40e: Fix ethtool rx-flow-hash setting for X722 d303dabe7e03 media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced' b4a3a01762ae media: v4l2-dv-timings: add sanity checks for blanking values d8f479c777b4 media: vivid: dev->bitmap_cap wasn't freed in all cases 9d6870949c2c media: vivid: s_fbuf: add more sanity checks 8e1592d41519 PM: hibernate: Allow hybrid sleep to work with s2idle 77454bc744e2 can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path f79de6451eaf tcp: fix indefinite deferral of RTO with SACK reneging 38e451696057 net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY 97ad240fd9aa net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed 663682cd3192 kcm: annotate data-races around kcm->rx_wait e94395e916b4 kcm: annotate data-races around kcm->rx_psock f85e54b4f3e5 amd-xgbe: add the bit rate quirk for Molex cables 71ba2a95663a amd-xgbe: fix the SFP compliance codes check for DAC cables fe3fd27083db x86/unwind/orc: Fix unreliable stack dump with gcov fda2d07234a2 net: netsec: fix error handling in netsec_register_mdio() 24b129aed873 tipc: fix a null-ptr-deref in tipc_topsrv_accept 758dbcc6fbf2 ALSA: ac97: fix possible memory leak in snd_ac97_dev_register() ccaeef126ed1 arc: iounmap() arg is volatile fa434a64a4ea drm/msm: Fix return type of mdp4_lvds_connector_mode_valid 29a6902eb076 media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation 6f3511eb8654 net: ieee802154: fix error return code in dgram_bind() 11993652d0b4 mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages 5a2d7c93d9b9 cgroup-v1: add disabled controller check in cgroup1_parse_param() 3d056d81b93a xen/gntdev: Prevent leaking grants 8f589b5c0e7b Xen/gntdev: don't ignore kernel unmapping error f45ee2038464 xfs: force the log after remapping a synchronous-writes file 102de7717d63 xfs: clear XFS_DQ_FREEING if we can't lock the dquot buffer to flush 03b449a880d1 xfs: finish dfops on every insert range shift iteration 3d295076ba4e s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser() 344e1cb0bafe s390/futex: add missing EX_TABLE entry to __futex_atomic_op() 4f969d0753bd perf auxtrace: Fix address filter symbol name match for modules c78b0dc6fb7f kernfs: fix use-after-free in __kernfs_remove 7a09c64b7da0 mmc: core: Fix kernel panic when remove non-standard SDIO card ed7f1ff87a4a drm/msm/hdmi: fix memory corruption with too many bridges f649ed0e1b7a drm/msm/dsi: fix memory corruption with too many bridges e7348308f668 mac802154: Fix LQI recording 5385af2f89bc fbdev: smscufx: Fix several use-after-free bugs 07ef3be6cae3 iio: light: tsl2583: Fix module unloading cb972e6d01ef tools: iio: iio_utils: fix digit calculation 8f1cd9633d1f xhci: Remove device endpoints from bandwidth list when freeing the device 914704e0d283 mtd: rawnand: marvell: Use correct logic for nand-keep-config 5d36037b224d usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller 7b7a0d54333c usb: bdc: change state when port disconnected 6827b58a957d usb: dwc3: gadget: Don't set IMI for no_interrupt 9aa025430346 usb: dwc3: gadget: Stop processing more requests on IMI 035dda2bfd7f USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM e4045fbcd98e ALSA: au88x0: use explicitly signed char d853b4380835 ALSA: Use del_timer_sync() before freeing timer caea5b20ef9b can: kvaser_usb: Fix possible completions during init_completion 5437642f91fd can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb() 5282d4de783b Linux 5.4.222 59f89518f510 once: fix section mismatch on clang builds 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>
2023-01-06linux-yocto/5.4: update to v5.4.221Bruce Ashfield
Updating to the latest korg -stable release that comprises the following commits: b70bfeb98635 Linux 5.4.221 6bb8769326c4 mm: /proc/pid/smaps_rollup: fix no vma's null-deref a351077e589d hv_netvsc: Fix race between VF offering and VF association message from host 2f1b3377b6fc Makefile.debug: re-enable debug info for .S files 9220881831c3 ACPI: video: Force backlight native for more TongFang devices 8ad8fc82eee8 riscv: topology: fix default topology reporting 60dd3dc2acc4 arm64: topology: move store_cpu_topology() to shared code 724483b585a1 iommu/vt-d: Clean up si_domain in the init_dmars() error path dfc0337c6dce net: hns: fix possible memory leak in hnae_ae_register() bc8301ea7e7f net: sched: cake: fix null pointer access issue when cake_init() fails b87f88d58f1b net: phy: dp83867: Extend RX strap quirk for SGMII mode 6453077a00c1 net/atm: fix proc_mpc_write incorrect return value 4258c473ee03 HID: magicmouse: Do not set BTN_MOUSE on double report 567f8de358b6 tipc: fix an information leak in tipc_topsrv_kern_subscr 27ee73c1199e tipc: Fix recognition of trial period fa0676d94fa4 ACPI: extlog: Handle multiple records 13a2719ec89f btrfs: fix processing of delayed tree block refs during backref walking b397ce347775 btrfs: fix processing of delayed data refs during backref walking 96894a4fe6b0 r8152: add PID for the Lenovo OneLink+ Dock 7f6d2188ec33 arm64: errata: Remove AES hwcap for COMPAT tasks aae35081633f media: venus: dec: Handle the case where find_format fails fd596e7371ac KVM: arm64: vgic: Fix exit condition in scan_its_table() 383b7c50f544 ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS da9793150297 ata: ahci-imx: Fix MODULE_ALIAS c00cdfc9bd76 hwmon/coretemp: Handle large core ID value 3ea7da6a97d5 x86/microcode/AMD: Apply the patch early on every logical thread 3064c74198cf ocfs2: fix BUG when iput after ocfs2_mknod fails c2489774a2f0 ocfs2: clear dinode links count in case of error 6391ed32b101 xfs: fix use-after-free on CIL context on shutdown ac055fee2544 xfs: move inode flush to the sync workqueue d3eb14b8ea26 xfs: reflink should force the log out if mounted with wsync 05e2b279ead4 xfs: factor out a new xfs_log_force_inode helper f1172b08bb8e xfs: trylock underlying buffer on dquot flush 890d7dfff79d xfs: don't write a corrupt unmount record to force summary counter recalc 8ebd3ba932df xfs: tail updates only need to occur when LSN changes 87b8a7fb6263 xfs: factor common AIL item deletion code 4202b103d382 xfs: Throttle commits on delayed background CIL push 7a8f95bfb9e3 xfs: Lower CIL flush limit for large logs f43ff28b0183 xfs: preserve default grace interval during quotacheck 553e5c8031f5 xfs: fix unmount hang and memory leak on shutdown during quotaoff 835306dd3f0c xfs: factor out quotaoff intent AIL removal and memory free a1e03f160019 xfs: Replace function declaration by actual definition fdce40c8fd92 xfs: remove the xfs_qoff_logitem_t typedef 926ddf7846ee xfs: remove the xfs_dq_logitem_t typedef 80f78aa76a17 xfs: remove the xfs_disk_dquot_t and xfs_dquot_t 4776ae328ccb xfs: Use scnprintf() for avoiding potential buffer overflow 2f55a0389154 xfs: check owner of dir3 blocks 15b0651f383f xfs: check owner of dir3 data blocks bc013efdcf17 xfs: fix buffer corruption reporting when xfs_dir3_free_header_check fails 6e204b9e67f3 xfs: xfs_buf_corruption_error should take __this_address 0213ee5f4c93 xfs: add a function to deal with corrupt buffers post-verifiers 3c88c3c00c97 xfs: rework collapse range into an atomic operation 3602df3f1f5f xfs: rework insert range into an atomic operation 7cd181cb2333 xfs: open code insert range extent split helper fe18f1af38a7 Linux 5.4.220 d9fdda5efe76 thermal: intel_powerclamp: Use first online CPU as control_cpu c3bb4a7e8cbc inet: fully convert sk->sk_rx_dst to RCU rules 96e2e21284ca efi: libstub: drop pointless get_memory_map() call 97238b88583c md: Replace snprintf with scnprintf 8b766dd70791 ext4: continue to expand file system when the target size doesn't reach 4a36de894779 net/ieee802154: don't warn zero-sized raw_sendmsg() cff6131217e6 Revert "net/ieee802154: reject zero-sized raw_sendmsg()" 1210359a6854 net: ieee802154: return -EINVAL for unknown addr type 04df9719df18 io_uring/af_unix: defer registered files gc to io_uring release f5dd24a66462 perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc 036b1f3bca7e clk: bcm2835: Make peripheral PLLC critical 1eae30c0113d usb: idmouse: fix an uninit-value in idmouse_open 0d150ccd55db nvmet-tcp: add bounds check on Transfer Tag 3a3a8d75af4d nvme: copy firmware_rev on each init e5d8f05edb36 staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv() 072b5a41c5f8 Revert "usb: storage: Add quirk for Samsung Fit flash" d6afcab1b48f usb: musb: Fix musb_gadget.c rxstate overflow bug 9fa81cbd2dd3 usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info() 1c00bb624cd0 md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d e30c3a9a8881 HID: roccat: Fix use-after-free in roccat_read() 81247850b8ab bcache: fix set_at_max_writeback_rate() for multiple attached devices 7cfc77f4fe1d ata: libahci_platform: Sanity check the DT child nodes number 16a45e78a687 staging: vt6655: fix potential memory leak 3376a0cf138d power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type() 3575949513ea nbd: Fix hung when signal interrupts nbd_start_device_ioctl() 22f49d9d6e04 scsi: 3w-9xxx: Avoid disabling device if failing to enable it 66de92207600 clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate 9181af2dbf06 media: cx88: Fix a null-ptr-deref bug in buffer_prepare() 5dbfcf7b0803 clk: zynqmp: Fix stack-out-of-bounds in strncpy` 715fe15785b4 btrfs: scrub: try to fix super block errors 8054f824a725 ARM: dts: imx6sx: add missing properties for sram 05f789afaf69 ARM: dts: imx6sll: add missing properties for sram 48d1766b35f3 ARM: dts: imx6sl: add missing properties for sram ef4a3baf0042 ARM: dts: imx6qp: add missing properties for sram ee239c0340a2 ARM: dts: imx6dl: add missing properties for sram 82e5191b124a ARM: dts: imx6q: add missing properties for sram 0b2013ace8df ARM: dts: imx7d-sdb: config the max pressure for tsc2046 aec01503ba7f mmc: sdhci-msm: add compatible string check for sdm670 e67c2cda3d60 drm/amdgpu: fix initial connector audio value 079f64a1ea33 platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading 30a3601c2f59 drm: panel-orientation-quirks: Add quirk for Anbernic Win600 7de3e3514cab drm/vc4: vec: Fix timings for VEC modes 8f6cad7c4b68 drm/amd/display: fix overflow on MIN_I64 definition cdde55f97298 drm: Prevent drm_copy_field() to attempt copying a NULL pointer fb282b4e8aef drm: Use size_t type for len variable in drm_copy_field() 1d0803b1532d drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc() 61fd56b0a1a3 r8152: Rate limit overflow messages 7d6f9cb24d2b Bluetooth: L2CAP: Fix user-after-free a76462dbdd8b net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory 4037270ea6d6 wifi: rt2x00: correctly set BBP register 86 for MT7620 2021a5aaf835 wifi: rt2x00: set SoC wmac clock register f9c053c3e4e9 wifi: rt2x00: set VGC gain for both chains of MT7620 0facbe608305 wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620 2f383edcb703 wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620 fdcc57ef8c1f can: bcm: check the result of can_send() in bcm_can_tx() 6e85d2ad958c Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times 776f33c12fdb Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create() 49c742afd60f wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit() 18373ed500f7 xfrm: Update ipcomp_scratches with NULL when freed 2c485f4f2a64 wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg() 42d579d91051 tcp: annotate data-race around tcp_md5sig_pool_populated ce25d7caf35d openvswitch: Fix overreporting of drops in dropwatch a7fe12cea515 openvswitch: Fix double reporting of drops in dropwatch 06d73f4e6bd6 bpftool: Clear errno after libcap's checks 56a0ac486341 wifi: brcmfmac: fix invalid address access when enabling SCAN log level 38ca9ece960d NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data 5a646c38f648 thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash 49a6ffdaed60 powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue ac84b26a1689 MIPS: BCM47XX: Cast memcmp() of function to (void *) 13f4d3665bf6 ACPI: video: Add Toshiba Satellite/Portege Z830 quirk c5ed3a378978 f2fs: fix race condition on setting FI_NO_EXTENT flag 584561e94260 crypto: cavium - prevent integer overflow loading firmware 00791e017b5f kbuild: remove the target in signal traps when interrupted d59d36aa4c3f iommu/iova: Fix module config properly 0f224fde6324 crypto: ccp - Release dma channels before dmaengine unrgister 95c4e20adc3e crypto: akcipher - default implementation for setting a private key 4010a1afaae1 iommu/omap: Fix buffer overflow in debugfs b32a285998d4 cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset 3317c7d211ef powerpc: Fix SPE Power ISA properties for e500v1 platforms 6191f0310ebf powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5 f11bce700b7a x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition 828d19038019 powerpc/powernv: add missing of_node_put() in opal_export_attrs() 0a5cee97c017 powerpc/pci_dn: Add missing of_node_put() 1535e14731e9 powerpc/sysdev/fsl_msi: Add missing of_node_put() 85d23c49336c powerpc/math_emu/efp: Include module.h e77a85c3fbfd mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg f28eec40785e clk: ast2600: BCLK comes from EPLL fc39ebf85d03 clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe 111369bb8cd9 clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration 2ee652f072cf spmi: pmic-arb: correct duplicate APID to PPID mapping logic 1ea4efc09fee dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup() 8498490b3c91 clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent 8542422192d0 mfd: sm501: Add check for platform_driver_register() f95ba4aab698 mfd: fsl-imx25: Fix check for platform_get_irq() errors 6804b4fedee2 mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init() 595d077f3cf5 mfd: lp8788: Fix an error handling path in lp8788_probe() b75f4912b371 mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq() 1f4f8b6adb3d mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe() b6c2c3059e72 fsi: core: Check error number after calling ida_simple_get 117331a2a522 scsi: libsas: Fix use-after-free bug in smp_execute_task_sg() 558a9fcb6ce7 serial: 8250: Fix restoring termios speed after suspend c969316eeefb firmware: google: Test spinlock on panic path to avoid lockups 88b9cc60f26e staging: vt6655: fix some erroneous memory clean-up loops 83d11dd92a51 phy: qualcomm: call clk_disable_unprepare in the error handling 29b897ac7b99 tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown 744c2d33a88b drivers: serial: jsm: fix some leaks in probe 9fe0a8c0694c usb: gadget: function: fix dangling pnp_string in f_printer.c 59e3d41265f3 xhci: Don't show warning for reinit on known broken suspend f8ba29ae237e md/raid5: Ensure stripe_fill happens on non-read IO with journal 9b881a2ca0c6 mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct() 22830560eb2f ata: fix ata_id_has_dipm() 10d52d8dd1cb ata: fix ata_id_has_ncq_autosense() 99e7e6445154 ata: fix ata_id_has_devslp() 6ea4b3303abf ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting() e09caa38e10b RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall. b21b0d17ad99 mtd: devices: docg3: check the return value of devm_ioremap() in the probe 3ca6939b5d1a dyndbg: let query-modname override actual module name ad0a65517cff dyndbg: fix module.dyndbg handling fc797285c40a misc: ocxl: fix possible refcount leak in afu_ioctl() 7ed37be3a2ce RDMA/rxe: Fix the error caused by qp->sk 0d773c58d702 RDMA/rxe: Fix "kernel NULL pointer dereference" error 59b315353252 media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init 80a955dabb82 tty: xilinx_uartps: Fix the ignore_status 3e77ac46f290 media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop 3baf53328aee HSI: omap_ssi_port: Fix dma_map_sg error check aa9c0598b109 HSI: omap_ssi: Fix refcount leak in ssi_probe 5d9fb09612de clk: tegra20: Fix refcount leak in tegra20_clock_init 5984b1d66126 clk: tegra: Fix refcount leak in tegra114_clock_init 6d3ac23b952f clk: tegra: Fix refcount leak in tegra210_clock_init aa3898dec1b6 clk: berlin: Add of_node_put() for of_get_parent() fcaff9bc6bbc clk: oxnas: Hold reference returned by of_get_parent() ad3a056982b7 clk: meson: Hold reference returned by of_get_parent() 633c574e0f8b iio: ABI: Fix wrong format of differential capacitance channel ABI. 0111032d9a02 iio: inkern: only release the device node when done with it 246af4216379 iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq 46778752bbd5 iio: adc: at91-sama5d2_adc: check return status for pressure and touch d50e3817a4b6 iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX c29c3d32bd01 ARM: dts: exynos: fix polarity of VBUS GPIO of Origen e00480d42b1a ARM: Drop CMDLINE_* dependency on ATAGS fcad2eef0030 ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family 6858d8599c65 ARM: dts: kirkwood: lsxl: remove first ethernet port d45424d980e8 ARM: dts: kirkwood: lsxl: fix serial line 1edbceda073d ARM: dts: turris-omnia: Fix mpp26 pin name and comment 673db1cf4db8 soc: qcom: smem_state: Add refcounting for the 'state->of_node' 1e3ed59370c7 soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe() 85a40bfb8e7a memory: of: Fix refcount leak bug in of_get_ddr_timings() b37f4a711e5d memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe() 56c4299f7670 ALSA: hda/hdmi: Don't skip notification handling during PM operation 45387ca42277 ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe 371d4dbece4d ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe aa182988c0e6 ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe 28a12e24d125 mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe() 93c86281838c ALSA: dmaengine: increment buffer pointer atomically 6c85495e5882 drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx c240431717d6 ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API 9e421bd9fd29 mmc: au1xmmc: Fix an error handling path in au1xmmc_probe() 9d7af9b1624d drm/omap: dss: Fix refcount leak bugs 0c55618aaad3 ALSA: hda: beep: Simplify keep-power-at-enable behavior 3ac2045d0419 ASoC: rsnd: Add check for rsnd_mod_power_on 1daf69228e31 drm/bridge: megachips: Fix a null pointer dereference bug b33b60afa53c drm: fix drm_mipi_dbi build errors a367b7a96a5e platform/x86: msi-laptop: Fix resource cleanup a9b32c9fe56d platform/x86: msi-laptop: Fix old-ec check for backlight registering e548f9503c4b platform/chrome: fix memory corruption in ioctl 783c1c5000e8 platform/chrome: fix double-free in chromeos_laptop_prepare() 8242167cfc83 drm/mipi-dsi: Detach devices when removing the host 4d4a58c9d4db drm: bridge: adv7511: fix CEC power down control register offset 72c0d361940a net: mvpp2: fix mvpp2 debugfs leak 131287ff833d once: add DO_ONCE_SLOW() for sleepable contexts 03ac583eefc9 net/ieee802154: reject zero-sized raw_sendmsg() 71e0ab5b7598 bnx2x: fix potential memory leak in bnx2x_tpa_stop() 360aa7219285 net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks() 3625b684a285 tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited 382ff4471660 sctp: handle the error returned from sctp_auth_asoc_init_active_key 466ed722f205 mISDN: fix use-after-free bugs in l1oip timer handlers e6d0152c9510 vhost/vsock: Use kvmalloc/kvfree for larger packets. c202ad048f50 spi: s3c64xx: Fix large transfers with DMA 60a7496b40e8 netfilter: nft_fib: Fix for rpath check with VRF devices 610798a58e72 spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe 1d8c928ed729 x86/microcode/AMD: Track patch allocation size explicitly 215c146b4021 bpf: Ensure correct locking around vulnerable function find_vpid() 4017e91ff25d net: fs_enet: Fix wrong check in do_pd_setup 08a441a4ad54 wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration e0bab93245b6 bpf: btf: fix truncated last_member_type_id in btf_struct_resolve 374dd4e51966 wifi: rtl8xxxu: Fix skb misuse in TX queue selection df0b024ade10 spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime() 026ffbb07f8f spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume() 321c51aa59df wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse() 7993680752bb x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register bbe293db7e67 bpftool: Fix a wrong type cast in btf_dumper_int 9ee70c3cb4f8 wifi: mac80211: allow bw change during channel switch in mesh 4494ec1c0bb8 wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state() acc393aecda0 nfsd: Fix a memory leak in an error handling path d7f1e7af1ef4 ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE 5abd2626ca37 sh: machvec: Use char[] for section boundaries c0f4be8303d0 userfaultfd: open userfaultfds with O_RDONLY 29d0c45cf16e tracing: Disable interrupt or preemption before acquiring arch_spinlock_t b0c2e34be932 selinux: use "grep -E" instead of "egrep" 56ee9577915d drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table() 16435e58e57c gcov: support GCC 12.1 and newer compilers b6094c482935 KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS 764478646115 KVM: nVMX: Unconditionally purge queued/injected events on nested "exit" 45779be5ced6 KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility c3a98fc6c2f2 media: cedrus: Set the platform driver data earlier 3cf2ef86e01a ring-buffer: Fix race between reset page and reading page 7e06ef0345ea ring-buffer: Check pending waiters when doing wake ups as well cc1f35733c19 ring-buffer: Have the shortest_full queue be the shortest not longest 22707f033d8e ring-buffer: Allow splice to read previous partially read pages e755b65a4727 ftrace: Properly unset FTRACE_HASH_FL_MOD f66de70930f7 livepatch: fix race between fork and KLP transition 1211121f0e73 ext4: place buffer head allocation before handle start 52c7b8d3b75e ext4: make ext4_lazyinit_thread freezable 3638aa1c7d87 ext4: fix null-ptr-deref in ext4_write_info a22f52d88331 ext4: avoid crash when inline data creation follows DIO write 21ea616f1e59 jbd2: wake up journal waiters in FIFO order, not LIFO d1c2d820a2cd nilfs2: fix use-after-free bug of struct nilfs_root c99860f9a750 f2fs: fix to do sanity check on summary info 68b1e607559d f2fs: fix to do sanity check on destination blkaddr during recovery c5d8198ce863 f2fs: increase the limit for reserve_root 26b7c0ac49a3 btrfs: fix race between quota enable and quota rescan ioctl 3742e9fd552e fbdev: smscufx: Fix use-after-free in ufx_ops_open() 52895c495b62 powerpc/boot: Explicitly disable usage of SPE instructions e3f7e99337c6 PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge cd251d39b134 UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK 08f03b333c4f riscv: Pass -mno-relax only on lld < 15.0.0 c61f553ba87c riscv: Allow PROT_WRITE-only mmap() 09058e5ef7c1 parisc: fbdev/stifb: Align graphics memory size to 4MB 2c60db6869fe RISC-V: Make port I/O string accessors actually work 14c06375c853 regulator: qcom_rpm: Fix circular deferral regression 79b7547eeb37 ASoC: wcd9335: fix order of Slimbus unprepare/disable 6927ee818fe1 quota: Check next/prev free block number after reading from quota file 4cf9233eb175 HID: multitouch: Add memory barriers 477ac1d57f60 fs: dlm: handle -EBUSY first in lock arg validation d3961f732d85 fs: dlm: fix race between test_bit() and queue_work() 4352db1e330a mmc: sdhci-sprd: Fix minimum clock limit fbefc5cce481 can: kvaser_usb_leaf: Fix CAN state after restart 9948b80910e2 can: kvaser_usb_leaf: Fix TX queue out of sync after restart 76d9afd30ef3 can: kvaser_usb_leaf: Fix overread with an invalid command 953bb1dfea88 can: kvaser_usb: Fix use of uninitialized completion 42f7d9339612 usb: add quirks for Lenovo OneLink+ Dock 37daa23f2850 iio: pressure: dps310: Reset chip after timeout 228348a9fe5f iio: pressure: dps310: Refactor startup procedure 974c1f15ac9a iio: dac: ad5593r: Fix i2c read protocol requirements d0050ec3ebbc cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message bd09adde6771 cifs: destage dirty pages before re-reading them for cache=none 8298f20e1149 mtd: rawnand: atmel: Unmap streaming DMA mappings 8d763c8e6cdb ALSA: hda/realtek: Add Intel Reference SSID to support headset keys 4c354105176f ALSA: hda/realtek: Add quirk for ASUS GV601R laptop a943c4a16bfb ALSA: hda/realtek: Correct pin configs for ASUS G533Z 19731649623b ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530 121fadc0cae5 ALSA: usb-audio: Fix NULL dererence at error path 988ec0cd0a26 ALSA: usb-audio: Fix potential memory leaks de7d80d0fe10 ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free() afb507303ea9 ALSA: oss: Fix potential deadlock at unregistration 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>
2023-01-06cairo: update patch for CVE-2019-6461 with upstream solutionQuentin Schulz
Upstream went with something slightly different so let's update the patch so we don't have to carry a patch that isn't going to be merged. This patch is part of snapshot 1.17.6. Cc: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 19eb1e388fbbe5bfb8462710c745f2bb5446b5b5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06ppp: fix CVE-2022-4603Minjae Kim
<CVE-2022-4603> Avoid out-of-range access to packet buffer Upstream-Status: Backport[https://github.com/ppp-project/ppp/commit/a75fb7b198eed50d769c80c36629f38346882cbf] Signed-off-by:Minjae Kim <flowergom@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06qemu: fix CVE-2021-3507 fdc heap buffer overflow in DMA read data transfersVivek Kumbhar
Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06libx11: fix CVE-2022-3555 memory leak in _XFreeX11XCBStructure() of xcb_disp.cVivek Kumbhar
Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06rsync: fix CVE-2022-29154 remote arbitrary files write inside the ↵Vivek Kumbhar
directories of connecting peers Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06go: fix CVE-2022-41717 Excessive memory use in got serverVivek Kumbhar
Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06grub2: CVE-2022-28735 shim_lock verifier allows non-kernel files to be loadedHitendra Prajapati
Upstream-Status: Backport from https://git.savannah.gnu.org/cgit/grub.git/commit/?id=6fe755c5c07bb386fda58306bfd19e4a1c974c53 Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-14oeqa/selftest/tinfoil: Add test for separate config_data with ↵Richard Purdie
recipe_parse_file() We've seen two different regressions in this API since it is used by layer-index but not be the core code. Add a test for it to try and ensure we don't break it again. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit b07de5de43ec9c9a2c5d496a64940ccdc5b47cf8) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-14psplash: consider the situation of psplash not exist for systemdChen Qi
In current psplash framework, the psplash might not exist at all. For example, in case DSITRO is set to nodistro, the psplash does not exist. In our psplash recipe, we have: SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default" This variable is parsed to if psplash-poky-img.h exists, a package named psplash-default is created and is added to RDEPENDS:${PN}. We can see that the psplash-poky-img.h resides in meta-poky, and in psplash_git.bbappend file in meta-poky, we have: FILESEXTRAPATHS:prepend:poky := "${THISDIR}/files:" So this file is only available in case poky distro is used. To fix this issue, add condition check in the corresponding systemd services. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 7a62ff9ed39c179d2b9b0c40f4f8423ced413063) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-14classes: make TOOLCHAIN more permissive for kernelAlexey Smirnov
Currently TOOLCHAIN is strictly set to gcc in kernel-arch.bbclass. And this prevents any TOOLCHAIN changes for any kernel recipe. This change makes TOOLCHAIN configurable as usual. Signed-off-by: Alexey Smirnov <pyih.soft@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit be1634fc35dcc81f0301d942064a6eed584e0704) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-14opkg: Set correct info_dir and status_file in opkg.confHarald Seiler
Distros can customize the location of OPKG data using OPKGLIBDIR. In OE-Core commit 11f1956cf5d7 ("package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default"), a fix was applied to correctly set the info_dir and status_file options relative to OPKGLIBDIR. However, as the commit message notes, the opkg.conf file deployed as part of the opkg package must also be adjusted to correctly reflect the changed location. Otherwise, opkg running inside the image cannot find its data. Fix this by also setting the info_dir and status_file options in opkg.conf to the correct location relative to OPKGLIBDIR. Fixes: 11f1956cf5d7 ("package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default") Signed-off-by: Harald Seiler <hws@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit adb939ae3635de6e02208859fbf29cf0ed39f565) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-14vim: upgrade 9.0.0820 -> 9.0.0947Qiu, Zheng
Includes fixes for CVE-2022-4141 https://nvd.nist.gov/vuln/detail/CVE-2022-4141 For a short list of important changes, see: https://www.arp242.net/vimlog/ Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 160f459febc7fb36cc0fe85c63eb26780ace3bfd) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-14python3: Fix CVE-2022-37454Pawan Badganchi
Add below patch to fix CVE-2022-37454 CVE-2022-37454.patch Link: https://security-tracker.debian.org/tracker/CVE-2022-37454 Link: https://github.com/python/cpython/commit/948c6794711458fd148a3fa62296cadeeb2ed631 Signed-off-by: Pawan Badganchi <Pawan.Badganchi@kpit.com> Signed-off-by: pawan <badganchipv@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-13golang: CVE-2022-41715 regexp/syntax: limit memory used by parsing regexpsHitendra Prajapati
Upstream-Status: Backport from https://github.com/golang/go/commit/e9017c2416ad0ef642f5e0c2eab2dbf3cba4d997 Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-08dropbear: fix CVE-2021-36369Lee Chee Yang
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-08sysstat: fix CVE-2022-39377Hitendra Prajapati
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-08libarchive: CVE-2022-36227 NULL pointer dereference in archive_write.cHitendra Prajapati
Upstream-Status: Backport from https://github.com/libarchive/libarchive/commit/bff38efe8c110469c5080d387bec62a6ca15b1a5 Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-08curl: Fix CVE CVE-2022-35260Mathieu Dubois-Briand
Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-08rpm: Fix rpm CVE CVE-2021-3521Riyaz Khan
Links: Dependent Patches: CVE-2021-3521-01 https://github.com/rpm-software-management/rpm/commit/b5e8bc74b2b05aa557f663fe227b94d2bc64fbd8 CVE-2021-3521-02 https://github.com/rpm-software-management/rpm/commit/9f03f42e2614a68f589f9db8fe76287146522c0c CVE-2021-3521-03 https://github.com/rpm-software-management/rpm/commit/5ff86764b17f31535cb247543a90dd739076ec38 CVE-2021-3521 https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8 Signed-off-by: Riyaz Khan <Riyaz.Khan@kpit.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-06xserver-xorg: backport fixes for CVE-2022-3550, CVE-2022-3551 and CVE-2022-3553Minjae Kim
<CVE-2022-3550> xkb: proof GetCountedString against request length attacks Upstream-Status: Backport [https://cgit.freedesktop.org/xorg/xserver/commit/?id=11beef0b7f1ed290348e45618e5fa0d2bffcb72e] <CVE-2022-3551> xkb: fix some possible memleaks in XkbGetKbdByName Upstream-Status: Backport [https://cgit.freedesktop.org/xorg/xserver/commit/?id=18f91b950e22c2a342a4fbc55e9ddf7534a707d2] <CVE-2022-3553> xquartz: Fix a possible crash when editing the Application menu due to mutaing immutable arrays Upstream-Status: Backport[https://cgit.freedesktop.org/xorg/xserver/commit/?id=dfd057996b26420309c324ec844a5ba6dd07eda3] Signed-off-by:Minjae Kim <flowergom@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-06kernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuildChen Qi
Currently, the KERNEL_DEBUG_TIMESTAMPS is not working as expected at rebuild. That is, even if we set it to "1", the kernel build time is not changed. The problem could be reproduced by the following steps. 1. bitbake core-image-minimal; start image and check `uname -a` output. 2. set in local.conf: KERNEL_DEBUG_TIMESTAMPS = "1" 3. bitbake core-image-minimal; start image and check `uname -a` output. It's expected that after enabling KERNEL_DEBUG_TIMESTAMPS, the kernel build time will be set to current date. But it's not. This is because the compile.h was not re-generated when do_compile task was re-executed. In mkcompile_h, we have: """ # Only replace the real compile.h if the new one is different, # in order to preserve the timestamp and avoid unnecessary # recompilations. # We don't consider the file changed if only the date/time changed, # unless KBUILD_BUILD_TIMESTAMP was explicitly set (e.g. for # reproducible builds with that value referring to a commit timestamp). # A kernel config change will increase the generation number, thus # causing compile.h to be updated (including date/time) due to the # changed comment in the # first line. """ It has made it very clear that it will not be re-generated unless we have KBUILD_BUILD_TIMESTAMP set explicitly. So we set this variable explicitly in do_compile to fix this issue. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 1b68c2d2d385013a1c535ef81172494302a36d74) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-06kernel: improve transformation from KERNEL_IMAGETYPE_FOR_MAKEMike Crowe
In 526bdd88ccd758204452579333ba188e29270bde the imageType loop in kernel_do_deploy was changed to use KERNEL_IMAGETYPE_FOR_MAKE rather than KERNEL_IMAGETYPES. This broke the special handling for fitImage immediately below because KERNEL_IMAGETYPE_FOR_MAKE never contains fitImage. It has always been my understanding that KERNEL_IMAGETYPE_FOR_MAKE controlled what was passed to make, but KERNEL_IMAGETYPE controlled what was installed/deployed. When the two are different then it's the responsibility of whoever set KERNEL_IMAGETYPE_FOR_MAKE to ensure that whatever comes out of the kernel build system has been transformed in to the requested form by the time of installation. This is what happens for kernel.bbclass's own support for vmlinux.gz. I think this means that for KERNEL_IMAGETYPE vmlinux.gz, kernel.bbclass is responsible for generating vmlinux.gz.initramfs[1] so that kernel_do_deploy can deploy it. This means that the change in 526bdd88ccd758204452579333ba188e29270bde can be reverted, fixing KERNEL_IMAGETYPE = "fitImage". In addition, it ought to be possible for recipes and other classes that use kernel.bbclass to hook into this mechanism by setting KERNEL_IMAGETYPE_FOR_MAKE and performing their own transformations. do_bundle_initramfs calls kernel_do_compile and we don't want it to transform vmlinux to vmlinux.gz at that point, since it will fight against the careful renaming and preserving that do_bundle_initramfs does. Let's separate the transformation out of kernel_do_compile to a new do_transform_kernel task that can be run at the right time. This means that it's also logical to perform the equivalent translation for the kernel with the initramfs in a separate do_transform_bundled_initramfs task too. This leaves two clear customisation points for recipes and other classes to hook into the process and perform their transformations: do_transform_kernel and do_transform_bundled_initramfs. (I care about this because our recipes that use kernel.bbclass also set KERNEL_IMAGETYPE_FOR_MAKE and transform vmlinux into a form suitable for our bootloader after do_compile and do_bundle_initramfs into the format matching KERNEL_IMAGETYPE. I'm unable to successfully bundle an initramfs after 526bdd88ccd758204452579333ba188e29270bde, but I didn't want to just revert that change to reintroduce the bug that it was fixing.) I can't say that I'm entirely happy with this change, but I'm unsure what to do to improve it. I find the way that both the bare kernel and the one with the initramfs both get deployed to be confusing, and a waste of build time. I would like to not actually generate a publishable kernel image at all during do_compile when an initramfs is in use, but I suspect that this would affect valid use cases that I'm not aware of. Signed-off-by: Mike Crowe <mac@mcrowe.com> [1] It could be argued that this should be vmlinux.initramfs.gz, but that would require another special case in kernel_do_deploy and the filename is only visible within this class and the recipes that use it anyway. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 10a4a132e87e835726bf5da81a60f6f509b90765) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-06mobile-broadband-provider-info: upgrade 20220725 -> 20221107Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 7e12fa1e6250fc358ba159a6b626458d871f7ccf) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-06linux-firmware: upgrade 20221012 -> 20221109Dmitry Baryshkov
License-Update: additional files Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 6940f297243a66bd58d6adee7d690bcee9b9ccb2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-12-06linux-firmware: upgrade 20220913 -> 20221012Alexander Kanavin
License-Update: copyright years, additional firmwares Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 9f658c724b6635e5745f30b25601bcc51a004be4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-29qemu: fix CVE-2021-20196 block fdc null pointer dereference may lead to ↵Vivek Kumbhar
guest crash Upstream-Status: Backport [https://gitlab.com/qemu-project/qemu/-/commit/1ab95af033a419e7a64e2d58e67dd96b20af5233] Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-28pixman: backport fix for CVE-2022-44638Ross Burton
(From OE-Core rev: 1d2e131d9ba55626354264d454b2808e84751600) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit 23df4760ebc153c484d467e51b414910c570a6f8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 37595eeddfb01110d8cdc628be76a8bf6bde483a) Signed-off-by: Bhabu Bindu <bindu.bindu@kpit.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-23sstate: Account for reserved characters when shortening sstate filenamesManuel Leonhardt
Previously, when shortening sstate filenames, the reserved characters for .siginfo were not considered, when siginfo=False, resulting in differently shortend filenames for the sstate and siginfo files. With this change, the filenames of the truncated sstate and siginfo files have the same basename, just as is already the case for untruncated filenames. Making sure that the .siginfo files always have the filename of the corresponding sstate file plus its .siginfo suffix, also when being truncated, makes it easier to manage the sstate cache and an sstate mirror outside of Bitbake/Yocto. Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c2e0e43b7123cf5149833e0072c8edaea3629112) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-23vim: upgrade 9.0.0614 -> 9.0.0820Tim Orling
Includes fixes for CVE-2022-3705 https://nvd.nist.gov/vuln/detail/CVE-2022-3705 For a short list of important changes, see: https://www.arp242.net/vimlog/ Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f6d917bd0f8810b5ed8d403ad25d59cda2fc9574) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-11-23maintainers: update gcc version to 9.5Steve Sakoman
SIgned-off-by: Steve Sakoman <steve@sakoman.com>