summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto/5.15: update to v5.15.94Bruce Ashfield2023-03-203-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: e2c1a934fd8e Linux 5.15.94 17170acdc7c8 Documentation/hw-vuln: Add documentation for Cross-Thread Return Predictions 5122e0e44363 KVM: x86: Mitigate the cross-thread return address predictions bug 8f12dcab90e8 x86/speculation: Identify processors vulnerable to SMT RSB predictions e63c434de8b6 drm/i915: Fix VBT DSI DVO port handling fc88c6838183 drm/i915: Initialize the obj flags for shmem objects 2e557c8ca2c5 drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini 3af734f3eac6 Fix page corruption caused by racy check in __free_pages c94ce5ea68dc arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive b796c02df37e arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive 5d9b771f53c1 arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive ac39dce11912 rtmutex: Ensure that the top waiter is always woken up 86f7e4239336 powerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch 2907cf3f2ec7 riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte beb1cefa3ccd ceph: flush cap releases when the session is flushed 86733ab23933 clk: ingenic: jz4760: Update M/N/OD calculation algorithm 239e927eb2ea usb: typec: altmodes/displayport: Fix probe pin assign check 48aecce116e4 usb: core: add quirk for Alcor Link AK9563 smartcard reader a8178bb1c776 btrfs: free device in btrfs_close_devices for a single device filesystem 8d13f2c3e2ba mptcp: be careful on subflow status propagation on errors 25141fb41191 net: USB: Fix wrong-direction WARNING in plusb.c d1fba1e096ff cifs: Fix use-after-free in rdata->read_into_pages() 1b83e7e174d8 pinctrl: intel: Restore the pins that used to be in Direct IRQ mode f5f025b703e2 spi: dw: Fix wrong FIFO level setting for long xfers 71668706fbe7 pinctrl: single: fix potential NULL dereference a2a1065739e9 pinctrl: aspeed: Fix confusing types in return value 99450163bcf6 pinctrl: mediatek: Fix the drive register definition of some Pins 9f0d2c268488 ASoC: topology: Return -ENOMEM on memory allocation failure 1a52ef89e369 riscv: stacktrace: Fix missing the first frame 5fb815433450 ALSA: pci: lx6464es: fix a debug loop 105ea562f6cf selftests: forwarding: lib: quote the sysctl values 528e3f3a4b53 rds: rds_rm_zerocopy_callback() use list_first_entry() 48d6d8f2f609 igc: Add ndo_tx_timeout support 62ff7dd961ab net/mlx5: Serialize module cleanup with reload and remove 95d2394f84f1 net/mlx5: fw_tracer, Zero consumer index when reloading the tracer ab7f3f6a9d9b net/mlx5: fw_tracer, Clear load bit when freeing string DBs buffers 193528646ed2 net/mlx5e: IPoIB, Show unknown speed instead of error 7c6e8eb617c1 net/mlx5: Bridge, fix ageing of peer FDB entries 49ece61a078f net/mlx5e: Update rx ring hw mtu upon each rx-fcs flag change 31172267bab0 net/mlx5e: Introduce the mlx5e_flush_rq function e4e4e93d31b3 net/mlx5e: Move repeating clear_bit in mlx5e_rx_reporter_err_rq_cqe_recover 3f18b9ed8c83 net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q" 6acb5d853b41 net: dsa: mt7530: don't change PVC_EG_TAG when CPU port becomes VLAN-aware ca834a017851 ice: Do not use WQ_MEM_RECLAIM flag for workqueue 70d48c7992ca uapi: add missing ip/ipv6 header dependencies for linux/stddef.h 3cec44036f48 ionic: clean interrupt before enabling queue to avoid credit race fad12afe877a net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY d23385a200e6 bonding: fix error checking in bond_debug_reregister() 11006d9d083f net: phylink: move phy_device_free() to correctly release phy device fb022d7b1c79 xfrm: fix bug with DSCP copy to v6 from v4 tunnel 6fe1ad42afa8 RDMA/usnic: use iommu_map_atomic() under spin_lock() 8f5fe1cd8e6a RDMA/irdma: Fix potential NULL-ptr-dereference 1b4ef90cbcfa IB/IPoIB: Fix legacy IPoIB due to wrong number of queues 5dc688fae6b7 xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr() 9bae58d58b6b IB/hfi1: Restore allocated resources on failed copyout 558b1fa01cdc xfrm: compat: change expression for switch in xfrm_xlate64 238b38e89fff can: j1939: do not wait 250 ms if the same addr was already claimed d859184b60d4 of/address: Return an error when no valid dma-ranges are found 70f37b3118de tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw df017495039a ALSA: hda/realtek: Enable mute/micmute LEDs on HP Elitebook, 645 G9 ca9d54220345 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360 706b6d86a6f8 ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() 731fc29de6a2 ALSA: hda/realtek: Add Positivo N14KP6-TG b93805980714 btrfs: zlib: zero-initialize zlib workspace e65faa7e39a2 btrfs: limit device extents to the device size 2e4dd07fda7a migrate: hugetlb: check for hugetlb shared PMD in node migration 072e7412e857 mm/migration: return errno when isolate_huge_page failed 85d7786c66b6 Linux 5.15.93 6e2fac197de2 bpf: Skip invalid kfunc call in backtrack_insn 46c9088cabd4 gfs2: Always check inode size of inline inodes 8eb2e58a92e0 gfs2: Cosmetic gfs2_dinode_{in,out} cleanup e4991910f150 wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads 97ccfffcc061 f2fs: fix to do sanity check on i_extra_isize in is_alive() 64fa364ad324 fbdev: smscufx: fix error handling code in ufx_usb_probe a77141a06367 ovl: Use "buf" flexible array for memcpy() destination 1692fedd0f66 fs/ntfs3: Validate attribute data and valid sizes a5b9cb72769b powerpc/imc-pmu: Revert nest_init_lock to being a mutex 3691f43a0959 iio:adc:twl6030: Enable measurement of VAC 8c84f50390b2 bpf: Do not reject when the stack read size is different from the tracked scalar size 14b6198abbd5 bpf: Fix incorrect state pruning for <8B spill/fill 575a9f6fefd9 phy: qcom-qmp-combo: fix runtime suspend e58df87394be phy: qcom-qmp-combo: fix broken power on 368ea32e0ad0 phy: qcom-qmp-usb: fix memleak on probe deferral 2f27d3811a41 phy: qcom-qmp-combo: fix memleak on probe deferral 0cb10ddab7df phy: qcom-qmp-combo: disable runtime PM on unbind 0ef5ffe11682 serial: 8250_dma: Fix DMA Rx rearm race e30328f599b9 serial: 8250_dma: Fix DMA Rx completion race a5a171f61a04 nvmem: core: fix cell removal on error 6d9fa3ff6548 nvmem: core: remove nvmem_config wp_gpio adf80e072c95 nvmem: core: initialise nvmem->id early e3ebc3e23bd9 drm/i915: Fix potential bit_17 double-free 997bed0f3cde Squashfs: fix handling and sanity checking of xattr_ids count 7a0cfaf9d457 highmem: round down the address passed to kunmap_flush_on_unmap() 5dbe1ebd5647 mm/swapfile: add cond_resched() in get_swap_pages() daf82418045f fpga: stratix10-soc: Fix return value check in s10_ops_write_init() afd32b683154 x86/debug: Fix stack recursion caused by wrongly ordered DR7 accesses 066ecbf1a53e kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup() 481bf49f58bb usb: gadget: f_uac2: Fix incorrect increment of bNumEndpoints fdf40e582442 mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps 6c300351c55d riscv: disable generation of unwind tables a5c275add96b parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case a964decd1307 parisc: Fix return code of pdc_iodc_print() 488eaf0625d9 nvmem: qcom-spmi-sdam: fix module autoloading 8569beb66fe6 iio: imu: fxos8700: fix MAGN sensor scale and unit 8aa5cdcfaf6a iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN 4112ba1ad5ca iio: imu: fxos8700: fix failed initialization ODR mode assignment abf7b2ba51f5 iio: imu: fxos8700: fix incorrect ODR mode readback 412757741c22 iio: imu: fxos8700: fix swapped ACCEL and MAGN channels readback 34909532b12e iio: imu: fxos8700: fix map label of channel type to MAGN sensor 8346eb4987e5 iio: imu: fxos8700: fix IMU data bits returned to user space 7567cdf3ce21 iio: imu: fxos8700: fix incomplete ACCEL and MAGN channels readback 6969852220af iio: imu: fxos8700: fix ACCEL measurement range selection cdacfb220556 iio:adc:twl6030: Enable measurements of VUSB, VBAT and others 9988063dcefd iio: adc: berlin2-adc: Add missing of_node_put() in error path c691a5c0fd03 iio: hid: fix the retval in gyro_3d_capture_sample ef80a34699cd iio: hid: fix the retval in accel_3d_capture_sample c4eae85c73be efi: Accept version 2 of memory attributes table 710db8206351 ALSA: hda/realtek: Add Acer Predator PH315-54 3fbddf86d924 watchdog: diag288_wdt: fix __diag288() inline assembly 700dd5bc72d3 watchdog: diag288_wdt: do not use stack buffers for hardware data 21bc51e29e66 net: qrtr: free memory on error path in radix_tree_insert() dccbd062d716 fbcon: Check font dimension limits 5d7500d99164 Input: i8042 - add Clevo PCX0DX to i8042 quirk table fc9e27f3ba08 vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF 9ba1188a719a usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait fe86480e903f usb: dwc3: qcom: enable vbus override when in OTG dr-mode a412fe7baf40 iio: adc: stm32-dfsdm: fill module aliases 994465939830 drm/amd/display: Fix timing not changning when freesync video is enabled a3967128bc65 net/x25: Fix to not accept on connected socket 396ea318e7fa platform/x86: gigabyte-wmi: add support for B450M DS3H WIFI-CF 1577524633c7 platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table 540cea9f9b6d i2c: rk3x: fix a bunch of kernel-doc warnings 0aaabdb900c7 scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress 17b738590b97 scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress 8cd0499f9c33 perf/x86/intel: Add Emerald Rapids 709351537096 scsi: target: core: Fix warning on RT kernels b7960f54362b i2c: mxs: suppress probe-deferral error message b9b87fc34b7f i2c: designware-pci: Add new PCI IDs for AMD NAVI GPU d8fc0b5fb3e8 efi: fix potential NULL deref in efi_mem_reserve_persistent f423c2efd51d net: openvswitch: fix flow memory leak in ovs_flow_cmd_new 798502864789 virtio-net: Keep stop() to follow mirror sequence of open() 5d884f9e80ff selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking 63aa63af3a1e selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs d41a3f9cc242 selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided 5af98283e554 selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning 89e0701e03c5 ata: libata: Fix sata_down_spd_limit() when no link speed is reported 9ab896775f98 can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate 02d77d98e020 igc: return an error if the mac type is unknown in igc_ptp_systim_to_hwtstamp() 04a735582095 riscv: kprobe: Fixup kernel panic when probing an illegal position 206c367b6a2e ip/ip6_gre: Fix non-point-to-point tunnel not generating IPv6 link local address 90178bc0f28f ip/ip6_gre: Fix changing addr gen mode not generating IPv6 link local address dfe2f0ea3851 net: phy: meson-gxl: Add generic dummy stubs for MMD register access b7398efe24a9 squashfs: harden sanity check in squashfs_read_xattr_id_table 89a69216f170 netfilter: br_netfilter: disable sabotage_in hook after first suppression cdb444e73fdc drm/i915/adlp: Fix typo for reference clock 960f20d8582e drm/i915/guc: Fix locking when searching for a hung request c27e0eac568a netrom: Fix use-after-free caused by accept on already connected socket 511c922c5bf6 block, bfq: fix uaf for bfqq in bic_set_bfqq() a62c129dcbfa block, bfq: replace 0/1 with false/true in bic apis 37a744a068c9 block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC" 2cd1e9c013ec net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices 18c18c2110ea sfc: correctly advertise tunneled IPv6 segmentation 878b06f60a08 dpaa2-eth: execute xdp_do_flush() before napi_complete_done() 3b5774cd6b94 dpaa_eth: execute xdp_do_flush() before napi_complete_done() 5a7040a649c8 virtio-net: execute xdp_do_flush() before napi_complete_done() 94add5b27290 qede: execute xdp_do_flush() before napi_complete_done() a273f8e3ab90 ice: Prevent set_channel from changing queues while RDMA active b432e183c26e fix "direction" argument of iov_iter_kvec() d8b8306e963e fix iov_iter_bvec() "direction" argument 389c7c0ef9cc READ is "data destination", not source... 7a3649bf5bef WRITE is "data source", not destination... 83cc6a7bb75c vhost/net: Clear the pending messages when the backend is removed 7c7d344bc386 scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT" 4b199dc09416 drm/vc4: hdmi: make CEC adapter name unique dc1f8ab25a17 arm64: dts: imx8mm: Fix pad control for UART1_DTE_RX c681d7a4ed3d bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener 34ad5d8885f5 bpf: Fix to preserve reg parent/live fields when copying range info 7b86f9ab5692 bpf: Support <8-byte scalar spill and refill 1b9256c96220 ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path() b7abeb691637 bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers cfcc2390dbc5 ASoC: Intel: bytcr_wm5102: Drop reference count of ACPI device after use b4b204565a45 ASoC: Intel: bytcr_rt5640: Drop reference count of ACPI device after use 1f1e7635c54d ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after use 41d323c352ac ASoC: Intel: bytcht_es8316: Drop reference count of ACPI device after use 6a9990e1d92b ASoC: Intel: bytcht_es8316: move comment to the right place ffcdf354555b ASoC: Intel: boards: fix spelling in comments bd0b17ab1b76 bus: sunxi-rsb: Fix error handling in sunxi_rsb_init() 5f4543c9382a firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region e515b9902f5f Linux 5.15.92 c7caf669b89d net: mctp: purge receive queues on sk destruction 046de74f9af9 net: fix NULL pointer in skb_segment_list 7ab3376703ce selftests: Provide local define of __cpuid_count() e92e311ced6f selftests/vm: remove ARRAY_SIZE define from individual tests c9e52db90031 tools: fix ARRAY_SIZE defines in tools and selftests hdrs c1aa0dd52db4 Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt 02e61196c578 ACPI: processor idle: Practically limit "Dummy wait" workaround to old Intel systems 79dd676b445f extcon: usbc-tusb320: fix kernel-doc warning c2bd60ef20de ext4: fix bad checksum after online resize 4cd1e18bc04a cifs: fix return of uninitialized rc in dfs_cache_update_tgthint() 43acd767bd90 dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init a54c5ad007ea HID: playstation: sanity check DualSense calibration data. 6d7686cc11b7 blk-cgroup: fix missing pd_online_fn() while activating policy 2144859229c1 erofs/zmap.c: Fix incorrect offset calculation 0dfef5031335 bpf: Skip task with pid=1 in send_signal_common() e8bb772f745e firmware: arm_scmi: Clear stale xfer->hdr.status 80cb9f1a76aa arm64: dts: imx8mq-thor96: fix no-mmc property for SDHCI 162fad24d2e1 arm64: dts: freescale: Fix pca954x i2c-mux node names 82ad105e1a55 ARM: dts: vf610: Fix pca9548 i2c-mux node names 5aee5f33e03a ARM: dts: imx: Fix pca9547 i2c-mux node name (From OE-Core rev: a8a3d9d246d06c5448078332c3a7a2d6d192a724) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit f5deb914ba17c131c4880da8d9a1184c2d2a3ef6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: update 1.9.12p2 -> 1.9.13p3Xiangyu Chen2023-03-203-12/+13
| | | | | | | | | | License-update: copyright years, formatting. (From OE-Core rev: b307a79caff34c0b23c72a5349f6800c48527635) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmicrohttpd: upgrade 0.9.75 -> 0.9.76Narpat Mali2023-03-201-1/+1
| | | | | | | | | | | | | | | Changelog: ============ Fix potential DoS vector in MHD_PostProcessor.(CVE-2023-27371) Releasing GNU libmicrohttpd 0.9.76 hotfix. https://github.com/Karlson2k/libmicrohttpd/blob/v0.9.76/ChangeLog (From OE-Core rev: 017346be6c97d20b1b16d495ee9484f10973857c) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: ignore CVE-2016-15024Ross Burton2023-03-201-0/+3
| | | | | | | | | | | | | This recently got an updated CPE which matches this recipe, but the issue is related to an entirely different shadow project so ignore it. (From OE-Core rev: d0b1f61eb1fadf44b2e4fba13b6a94140cf029db) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 2331e98abb09cbcd56625d65c4e5d258dc29dd04) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: fix multiple CVEsChee Yang Lee2023-03-203-0/+156
| | | | | | | | | | | | | | | | | | | | | | import patch from debian to fix CVE-2022-48281 http://security.debian.org/debian-security/pool/updates/main/t/tiff/tiff_4.2.0-1+deb11u4.debian.tar.xz import patch from fedora to fix CVE-2023-0800 CVE-2023-0801 CVE-2023-0802 CVE-2023-0803 CVE-2023-0804 https://src.fedoraproject.org/rpms/libtiff/c/91856895aadf3cce6353f40c2feef9bf0b486440 (From OE-Core rev: f2782b4cac461909cf432db13516e443fee8c3de) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit d9ce9b37236f5c16ffba4572ad720aeb50edeee9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: Security fix for CVE-2023-25193Siddharth Doshi2023-03-203-1/+323
| | | | | | | | | Upstream-Status: Backport from [https://github.com/harfbuzz/harfbuzz/commit/8708b9e081192786c027bb7f5f23d76dbe5c19e8] (From OE-Core rev: 58e212a6109a639ca0675e73967da74d6c4c5aa3) Signed-off-by: Siddharth Doshi <sdoshi@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: fix CVE-2023-0361 timing side-channel in the TLS RSA key exchange codeVivek Kumbhar2023-03-202-0/+86
| | | | | | | | | | | | | Remove branching that depends on secret data. since the `ok` variable isn't used any more, we can remove all code used to calculate it (From OE-Core rev: 05b1222815bec400d573f7b06c0ad6b7b2d78a80) 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>
* glibc: Security fix for CVE-2023-0687Shubham Kulkarni2023-03-202-0/+83
| | | | | | | | | | Backport from https://sourceware.org/git/?p=glibc.git;a=patch;h=801af9fafd4689337ebf27260aa115335a0cb2bc (From OE-Core rev: eadf28a0640c9b714bfa8081626641a7d3d30537) Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* epiphany: Security fix for CVE-2023-26081Siddharth Doshi2023-03-202-0/+91
| | | | | | | | | Upstream-Status: Backport from [https://gitlab.gnome.org/GNOME/epiphany/-/commit/53363c3c8178bf9193dad9fa3516f4e10cff0ffd] (From OE-Core rev: d5390008c3747073e4dfcc120b335d14dd0a08c9) Signed-off-by: Siddharth Doshi <sdoshi@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides: add 4.0.8 release notesMichael Opdenacker2023-03-202-0/+220
| | | | | | | (From yocto-docs rev: 86d0b38a97941ad52b1af220c7b801a399d50e93) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cookerdata: Drop dubious exception handling codeRichard Purdie2023-03-141-5/+0
| | | | | | | | | | | | | This code appears to be dangerous, it swallows exceptions, turning them into "handled" versions which then show no errors to the user. This is a pretty poor user experience and I can't see why this code should be swallowing such things. Drop the worst bits of code. (Bitbake rev: a29ffcc12df24737e702e198aeb8f6892884932b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cookerdata: Improve early exception handlingRichard Purdie2023-03-141-9/+1
| | | | | | | | | | | | | | | | | | Martin Jansa reported that if you put a syntax error into an imported module such as qa.py in OE, no error is shown. Part of the issue appears to be that the catch_parse_error() decorator only catches certain exceptions and SyntaxError isn't one of them. As far as I can tell we should remove all the special cases and use the more advanced code in all cases, not just expansion errors. I confirmed this now prints a proper error message for a qa.py syntax error. (Bitbake rev: e66012bfda60ffe1658473e25879aa67909ae65f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cookerdata: Remove incorrect SystemExit usageRichard Purdie2023-03-141-1/+1
| | | | | | | | | | | | | Calling SystemExit doesn't work well with server/client usage since the string isn't printed to the right place. Use bb.fatal() instead which prints the right log output and raises and handled exception which then shows correctly on the UI. (Bitbake rev: b9ae7164d9e744e8eb9aaff79218f57233a449b7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils: Allow to_boolean to support int valuesRichard Purdie2023-03-141-0/+3
| | | | | | | | | | | | | | | | | | Some variables may be set as: X = 1 as well the more usual X = "1" so add support to to_boolean to handle this case. (Bitbake rev: e7df13a61911b7431802af2b4d7472b2aaf346fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nghttp2: never build python bindingsJoe Slater2023-03-091-0/+4
| | | | | | | | | | This has already been done for oe-core/master. (From OE-Core rev: 9e8cbf46fe6e4e257b76b228de56d4a891199896) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: kill qemu if it hangsMikko Rapeli2023-03-091-9/+15
| | | | | | | | | | | | | | qemu doesn't always behave well and can hang too. kill it with force if it was still alive. Move clean up commands into cleanup() function. (From OE-Core rev: 929e7679c1d9b21ac5130a9cbc83c415fb9f63f5) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 079c2935d2f585ce49e1c7daab2155fcf0094c48) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa ssh.py: fix hangs in run()Mikko Rapeli2023-03-091-9/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When qemu machine hangs, the ssh commands done by tests are not timing out. do_testimage() task has last logs like this: DEBUG: time: 1673531086.3155053, endtime: 1673531686.315502 The test process is stuck for hours, or for ever if the executing command or test case did not set a timeout correctly. The default 300 second timeout is not working when target hangs. Note that timeout is really a "inactive timeout" since data returned by the process will reset the timeout. Make the process stdout non-blocking so read() will always return right away using os.set_blocking() available in python 3.5 and later. Then change from python codec reader to plain read() and make the ssh subprocess stdout non-blocking. Even with select() making sure the file had input to be read, the codec reader was trying to find more stuff and blocking for ever when process hangs. While at it, add a small timeout to read data in larger chunks if possible. This avoids reading data one or few characters at a time and makes the debug logs more readable. close() the stdout file in all cases after read loop is complete. Then make sure to wait or kill the ssh subprocess in all cases. Just reading the output stream and receiving EOF there does not mean that the process exited, and wait() needs a timeout if the process is hanging. In the end kill the process and return the return value and captured output utf-8 encoded, just like before these changes. This fixes ssh run() related deadlocks when a qemu target hangs completely. (From OE-Core rev: 04f080802b4a28709a105e4f0ead56a7a2da42b4) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 9c63970fce3a3d6029745252a6ec2bf9b9da862d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libseccomp: fix for the ptest result formatNarpat Mali2023-03-091-0/+3
| | | | | | | | | | | | | | | | | | The output of libseccomp ptest should follow a unified format as per this https://wiki.yoctoproject.org/wiki/Ptest Replaced the test results SUCCESS, FAILURE & SKIPPPED with PASS, FAIL & SKIP and printing the ptest result with the below format result: testname (From OE-Core rev: 20f15c72ad7e52fb68669bce8be57bbe5a366ca3) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 30d025a8641cfcce5412b5f021478777620b55f1) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: fix kernel-meta data detectionUlrich Ölmann2023-03-091-1/+1
| | | | | | | | | | | | Fixes: 7ef7af5c03ba ("kernel-yocto: restore kernel-meta data detection for SRC_URI elements") (From OE-Core rev: c92593af46ef2ccbaaff89bb75eac46b3ac8b856) Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c77754f23e3fb49a62602a6c6a04d5525d1cf457) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/buildstats: handle tasks that never finishedRoss Burton2023-03-091-6/+27
| | | | | | | | | | | | | If a task is aborted the buildstats file isn't complete, so calculate when the build finished and use that as a end time. (From OE-Core rev: ffce2744f5833d1c30db7f50443503b3c1a1d119) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 23ebaec476dc46aebe5997f025661137f3e341bd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/resulttooltests: fix minor typoAlexis Lothoré2023-03-091-1/+1
| | | | | | | | | | (From OE-Core rev: 2da6b6f231519b32fde61a64559aa105f2a9342f) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 80cfa56d133bd3abbb1f37272607d8e15ce70861) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libssh2: Clean up ptest patch/coverageRichard Purdie2023-03-094-48/+25
| | | | | | | | | | | | | | | | | | Martin Jansa spotted patchreview.py reports Malformed Upstream-Status in a patch in this recipe. The patch is not being applied since there is no ptest override. The test in question was also disabled due to an issue with new versions of openssh. Add a workaround for the broken test, enable it, drop the broken patch. (From OE-Core rev: 2c05ee17d58774fc628b8a5b55a14551590fadaa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e9f2cc084638ce9cb5339df611e473c30f0e40b1) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: fix for kernel 6.2+Bruce Ashfield2023-03-092-0/+46
| | | | | | | | | | | | | Backporting a patching from the 2.13.x stable branch of lttng to fix the build against kernel 6.2+. (From OE-Core rev: d04dcd155fb8ce420c66b53ae61360680513ccf8) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3aed7dfe5ff6f52497dcffa58bc2f06cf709ea18) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcpcd: fix dhcpcd start failure on qemuppc64Xiangyu Chen2023-03-092-0/+35
| | | | | | | | | | | | | Backport patch to fix dhcpcd start failed on qemuppc64. (From OE-Core rev: 4b4f071fd178b4c8208fccf2e218d3945ed224e3) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a31d658198566de12cdd1aad18776b8da8065787) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstatesig: Improve output hash calculationMateusz Marciniec2023-03-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Symbolic links to the files are included during the output hash calculation but symlinks to the directories are missed. So if the new symlink to a directory was the only change made, then the output hash won't change, and the Hash Equivalence server may change unihash. In the next run bitbake may use an older package from sstate-cache. To fix this followlinks=True flag could be set for os.walk but it can lead to infinite recursion if link points to a parent directory of itself. Also, all files from a directory to which symlink points would be included in depsig file. Therefore another solution was applied, I added code that will loop through directories and process those that are symlinks. (From OE-Core rev: 477a4e816494e256b309fd7e84b2c3796708e6e8) Signed-off-by: Mateusz Marciniec <mateuszmar2@gmail.com> Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ee729163f31f26b1462a47e1e53f7a0f9de9b464) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Fix depmod patchSaul Wold2023-03-091-1/+1
| | | | | | | | | | | | | | | | | The original patch was actually allowing .debug modules though which was in-correct. This change blocks the parsing of .debug modules (which is correct). As noted in [YOCTO #15022] this should address the empty modules.dep when using the BusyBox depmod. (From OE-Core rev: 49bddef864768bbf339513414b42a820f861bdb7) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 339c3c3abe8d405cfe7b3f34db9b3547bcaaf878) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Fix usage of fstype=none in wicPavel Zhukov2023-03-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | This allows to specify partition with fstype=none in the wks file to have partition created but without following mkfs. The none fstype is in the list already but the usage is not documented. Example; part /data --ondisk mmcblk0 --fstype=none --align 4096 --fixed-size 512 will create a partition, filesystem may be created manualy on the host or target and data will be preserved if the device is reflashed using same wks. Works with bmaptool and probably does not work with dd. Use case is persistent filesystem/data between reflashing of the image. (From OE-Core rev: 9af61442c8bc2e0b447706734cb90b3f4bcb2d6b) Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 351cb64da37aa43113e5192605d04436652aa3b8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: fix dependencies when building with ldap/ldapsFederico Pellegrin2023-03-091-2/+2
| | | | | | | | | | | | | | | | | | openldap is added as a dependency so the build will not fail, as otherwise ldap headers are not found during configure phase Note: due to upstream bug (now fixed) building LDAP/LDAPS support with minimal configurations can sometimes not work, see details at: https://github.com/curl/curl/pull/10445 (From OE-Core rev: e6a001c22ec1b0d5487027148dda099847474272) Signed-off-by: Federico Pellegrin <fede@evolware.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a999f62f5692687a5557f7a50c7c768c50f3d7d3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wireless-regdb: upgrade 2022.08.12 -> 2023.02.13Alexander Kanavin2023-03-091-1/+1
| | | | | | | | | | (From OE-Core rev: 2f5dfa6dac8f7e366c58e2d24a535b8a1e7e43f6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit a8e8ea1b4b100b6f0ba5ca9441a8f3f1ac31fbfd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20230117 -> 20230210Alexander Kanavin2023-03-091-2/+2
| | | | | | | | | | | | License-Update: additional firmwares (From OE-Core rev: 2658aa90d07cbee2e1d94158bbab2e758b5ffd9f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 8e6134d39b840d96e1c37d3df21a522afea8bc76) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: add yamato fw files to qcom-adreno-a2xx packageDmitry Baryshkov2023-03-091-4/+10
| | | | | | | | | | | | | | | | Newest linux-firmware release got firmware for Adreno A200. Add these two files to the ${PN}-qcom-adreno-a2xx package. As these files are licensed under a separate BSD-3-Clause license, add separate license package too. (From OE-Core rev: 97e0687455c91acbe57dbaf3cbfaed5d962e4ee6) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 56e1b2b06ef7f22d4ac5899046f650ae8ec0d547) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: properly set license for all Qualcomm firmwareDmitry Baryshkov2023-03-091-0/+25
| | | | | | | | | | | | | | | It is not enough to depend on the ${PN}-qcom-license package. Set LICENSE variable for all the qcom packages to point to the proper license. (From OE-Core rev: bc41970a9a1f1e9227b24679aae935326cd4bf94) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9dc41e18dc138a7cce920f8e4c85eb3130c0d553) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Upgrade 3.0.7 -> 3.0.8Siddharth Doshi2023-03-092-45/+1
| | | | | | | | | | | | | | | | | | | | | | | | | OpenSSL 3.0.8 fixes 1 HIGH level security vulnerability and 7 MODERATE level security vulnerability [1]. Upgrade the recipe to point to 3.0.8. CVE-2022-3996 is reported fixed in 3.0.8, so drop the patch for that as well. [1] https://www.openssl.org/news/vulnerabilities.html CVEs Fixed: https://www.openssl.org/news/secadv/20230207.txt (From OE-Core rev: e356e203a72fc2062b63b0f744b15313e41e2880) Signed-off-by: Siddharth Doshi <sdoshi@mvista.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8461466f63200a0b1c9c247b70fdf5819651544c) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit f5dce7274bfd65c05df932f36a5e43cfc884fd41) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade 1.14.4 -> 1.14.6Alexander Kanavin2023-03-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Denial of service fixes: • Fix an incorrect assertion that could be used to crash dbus-daemon or other users of DBusServer prior to authentication, if libdbus was compiled with assertions enabled. We recommend that production builds of dbus, for example in OS distributions, should be compiled with checks but without assertions. (dbus#421, Ralf Habacker; thanks to Evgeny Vereshchagin) Other fixes: • When connected to a dbus-broker, stop dbus-monitor from incorrectly replying to Peer method calls that were sent to the dbus-broker with a NULL destination (dbus#301, Kai A. Hiller) • Fix out-of-bounds varargs read in the dbus-daemon's config-parser. This is not attacker-triggerable and appears to be harmless in practice, but is technically undefined behaviour and is detected as such by AddressSanitizer. (dbus!357, Evgeny Vereshchagin) • Avoid a data race in multi-threaded use of DBusCounter (dbus#426, Ralf Habacker) • Fix a crash with some glibc versions when non-auditable SELinux events are logged (dbus!386, Jeremi Piotrowski) • If dbus_message_demarshal() runs out of memory while validating a message, report it as NoMemory rather than InvalidArgs (dbus#420, Simon McVittie) • Use C11 _Alignof if available, for better standards-compliance (dbus!389, Khem Raj) • Stop including an outdated copy of pkg.m4 in the git tree (dbus!365, Simon McVittie) • Documentation: · Consistently use Gitlab bug reporting URL (dbus!372, Marco Trevisan) • Tests fixes: · Fix the test-apparmor-activation test after dbus#416 (dbus!380, Dave Jones) Internal changes: • Fix CI builds with recent git versions (dbus#447, Simon McVittie) (From OE-Core rev: be5d5919242d6d26bdb1e70b83aab88949ffe0eb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 31245df3061c1a913bffe5e11ad6ac7fa9c83915) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit 83e9bd1507fd5f79c680dde30b0f66df84cde6b0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xwayland: upgrade 22.1.7 -> 22.1.8Wang Mingyu2023-03-091-1/+1
| | | | | | | | | | | | | | | xwayland 22.1.8 - Security fix for CVE-2023-0494 (From OE-Core rev: c4f35a99a0f840ccd50fd3514a63ea5bb90784a8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e0ca374267cce807d12d706564989900fe61bd97) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit 964ca02debe1e85cb91789dee1d08344f4fcf33a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libjpeg-turbo: upgrade 2.1.5 -> 2.1.5.1Wang Mingyu2023-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== 1. The SIMD dispatchers in libjpeg-turbo 2.1.4 and prior stored the list of supported SIMD instruction sets in a global variable, which caused an innocuous race condition whereby the variable could have been initialized multiple times if 'jpeg_start_*compress()' was called simultaneously in multiple threads. libjpeg-turbo 2.1.5 included an undocumented attempt to fix this race condition by making the SIMD support variable thread-local. However, that caused another issue whereby, if 'jpeg_start_*compress()' was called in one thread and 'jpeg_read_*()' or 'jpeg_write_*()' was called in a second thread, the SIMD support variable was never initialized in the second thread. On x86 systems, this led the second thread to incorrectly assume that AVX2 instructions were always available, and when it attempted to use those instructions on older x86 CPUs that do not support them, an illegal instruction error occurred. The SIMD dispatchers now ensure that the SIMD support variable is initialized before dispatching based on its value. (From OE-Core rev: 195aae4fcb14c818629b04fc371910125a4b3277) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 009a1b0390d791d614b8d4a1407e7479c261f60d) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit d57de2a7169de369105ed9bce19a43dad68f350a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: update 9.0.1211 -> 9.0.1293 to resolve open CVEsAlexander Kanavin2023-03-091-2/+2
| | | | | | | | | | | (From OE-Core rev: 5eb050c439d891188ded3e79bf1e5b5695f24872) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6d77dbe499ee362b6e28902f1efcf52b961037a5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: 21.1.6 -> 21.1.7Kai Kang2023-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | According to the ANNOUNCE of xorg-server 21.1.7[1]: This release contains the fix for CVE-2023-0494 in today's security advisory: https://lists.x.org/archives/xorg-announce/2023-February/003320.html It also fixes a second possible OOB access during EnqueueEvent and a crasher caused by ResourceClientBits not correctly honouring the MaxClients value in the configuration file. Finally, a bunch of Xquartz updates including the ability to correctly detect ssh-tunneled clients as remote. [1]: https://lists.x.org/archives/xorg-announce/2023-February/003321.html (From OE-Core rev: b69011d194a39ea7812fdd8fc59ba12b6e0416a9) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 60737bee6466e206d8f3c751910dfce00b60d703) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclase: Add check for /build in copydebugsources()Saul Wold2023-03-091-0/+7
| | | | | | | | | | | | | | | | This is needed when the SDK or eSDK is installed in a /build top level directory as it conflicts with the build directory within the existing /usr/src/debug/build (which is really a link). Rename it and then do the copy, this is not an issue with master currently due to some other changes that occurred in master. Fixes: [YOCTO #15026] (From OE-Core rev: 80839835ec9fcb63069289225a3c1af257ffdef7) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* less: backport the fix for CVE-2022-46663Hitendra Prajapati2023-03-092-0/+32
| | | | | | | | | | Upstream-Status: Backport from https://github.com/gwsw/less/commit/a78e1351113cef564d790a730d657a321624d79c (From OE-Core rev: 6cec065d795a562460c422947ac70c4a6f3f3175) 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>
* libsdl2: fix CVE-2022-4743Changqing Li2023-03-092-0/+41
| | | | | | | | (From OE-Core rev: 41e13e88dd1f9d251d1e86ee1de543165789a579) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils : Fix CVE-2023-22608Yash Shinde2023-03-094-0/+751
| | | | | | | | | | Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=8af23b30edbaedf009bc9b243cd4dfa10ae1ac09] (From OE-Core rev: 3dd27bbe8c19aa358916de940453de81d3831510) Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to kirkstone head revisionyocto-4.0.8kirkstone-4.0.8Richard Purdie2023-02-271-1/+1
| | | | | | (From OE-Core rev: b20e2134daec33fbb8ce358d984751d887752bd5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: bump version for 4.0.8Steve Sakoman2023-02-271-1/+1
| | | | | | | (From meta-yocto rev: 2903a4ac643f390bc0ca0899187b89ecd346d294) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/bbtests: Update message lookup for test_git_unpack_nonetwork_failAlexandre Belloni2023-02-241-1/+1
| | | | | | | | | | | | bitbake's output changed, update the test (From OE-Core rev: 6b50713cd51002584915f46eb366b8667db210ea) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7e64b63f96dd1d71e263e7bbbe6591e51e98395a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa qemurunner.py: try to avoid reading one character at a timeMikko Rapeli2023-02-241-0/+2
| | | | | | | | | | | | | | Read from serial console with a small delay to bundle data to e.g. full lines. Reading one character at a time is not needed and causes busy looping. (From OE-Core rev: e91a09702680b713293bcfcc851b27a73e884a8b) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 0049f6757f6f956fb4cc77b3df6a672c20b53cf4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa qemurunner.py: add timeout to QMP callsMikko Rapeli2023-02-241-0/+3
| | | | | | | | | | | | | | | | | | When a qemu machine hangs, the QMP calls can hang for ever too, and when this happens any failing test commands from ssh runner may be followed by dump_monitor() calls which then also hang. Hangs followed by hangs. Use runqemutime at setup and run_monitor() specific timeout for later calls. (From OE-Core rev: 3b99d0ce6445084038f89dfa98605a7aec49107b) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 3a07bdf77dc6ecbf4c620b051dd032abaaf1e4ff) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa qemurunner: read more data at a time from serialMikko Rapeli2023-02-241-1/+3
| | | | | | | | | | | | | | Use a short sleep to bundle serial console reads so that we are not reading one character at a time which reduces busy looping. (From OE-Core rev: 3699e5bf2f9259266c49aaf69127183988b9d052) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit cafe65d8cf7544edbd387f7f5f6d77c64c6b18fa) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa dump.py: add error counter and stop after 5 failuresMikko Rapeli2023-02-241-2/+21
| | | | | | | | | | | | | | | | | | | | | | If test target qemu machine hangs completely, dump_target() calls over serial console are taking a long time to time out, possibly for every failing ssh command execution and a lot of test cases, and same with dump_monitor(). Instead of trying for ever, count errors and after 5 stop trying to dump_target() and dump_monitor() completely. These help to end testing earlier when a test target is completely deadlocked and all ssh, serial and QMP communication with it are failing. (From OE-Core rev: 91bc1e03bc990c527d8aadbdcd7bf97217db124e) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit d9ad0a055abba983c6cee1dca4d2f0a8a3c48782) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa ssh.py: add connection keep alive options to ssh clientMikko Rapeli2023-02-241-0/+2
| | | | | | | | | | | | | | | | | | | | Configure ssh client to test that connection with server is up. If the server does not respond within a minute then the connection, target machine or sshd daemon are stuck and it's better to exit the command execution with errors. Some tests can execute a long time without returning stdout/stderror data and it's difficult to adjust timers for those cases if connection to target machine or the target machine itself hangs and output is not expected in minutes or even hours. (From OE-Core rev: 94021c8571242dd491ee3c7c40144c5a12ca8e42) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit ba68ff04c5786eca7cd8dd44056705867dea8ac4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>