Bruce Ashfield [Mon, 19 Dec 2022 17:41:46 +0000 (12:41 -0500)]
linux-yocto/5.4: update to v5.4.228
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>
Bruce Ashfield [Mon, 19 Dec 2022 17:41:45 +0000 (12:41 -0500)]
linux-yocto/5.4: update to v5.4.225
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>
Bruce Ashfield [Mon, 19 Dec 2022 17:41:44 +0000 (12:41 -0500)]
linux-yocto/5.4: update to v5.4.224
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>
Bruce Ashfield [Mon, 19 Dec 2022 17:41:43 +0000 (12:41 -0500)]
linux-yocto/5.4: update to v5.4.221
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>
Minjae Kim [Thu, 29 Dec 2022 17:37:14 +0000 (18:37 +0100)]
ppp: fix CVE-2022-4603
<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>
Richard Purdie [Thu, 1 Dec 2022 17:40:34 +0000 (17:40 +0000)]
oeqa/selftest/tinfoil: Add test for separate config_data with 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>
Chen Qi [Thu, 1 Dec 2022 05:00:50 +0000 (21:00 -0800)]
psplash: consider the situation of psplash not exist for systemd
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>
Alexey Smirnov [Wed, 30 Nov 2022 16:21:13 +0000 (19:21 +0300)]
classes: make TOOLCHAIN more permissive for kernel
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>
Harald Seiler [Thu, 24 Nov 2022 10:52:59 +0000 (11:52 +0100)]
opkg: Set correct info_dir and status_file in opkg.conf
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>
<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>
Chen Qi [Thu, 17 Nov 2022 04:11:55 +0000 (12:11 +0800)]
kernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuild
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>
Mike Crowe [Thu, 7 Oct 2021 13:17:57 +0000 (14:17 +0100)]
kernel: improve transformation from KERNEL_IMAGETYPE_FOR_MAKE
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>
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>
sstate: Account for reserved characters when shortening sstate filenames
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>
Ralph Siemsen [Thu, 17 Nov 2022 16:54:55 +0000 (11:54 -0500)]
golang: ignore CVE-2022-30580
Only affects Windows platform, as per the release announcement [1]:
"If, on Windows, Cmd.Run, cmd.Start, cmd.Output, or cmd.CombinedOutput
are executed when Cmd.Path is unset and, in the working directory, there
are binaries named either "..com" or "..exe", they will be executed."
Ralph Siemsen [Thu, 17 Nov 2022 16:54:54 +0000 (11:54 -0500)]
golang: ignore CVE-2021-41772
Dunfell uses golang 1.14 which does not contain the affected code (it
was introduced in golang 1.16). From the golang announcement [1]
"Reader.Open (the API implementing io/fs.FS introduced in Go 1.16) can
be made to panic by an attacker providing either a crafted ZIP archive
containing completely invalid names or an empty filename argument.
Ralph Siemsen [Thu, 17 Nov 2022 16:54:53 +0000 (11:54 -0500)]
golang: ignore CVE-2021-33194
This is a bug in golang.org/x/net/html/parse.go. The golang compiler
includes a partial copy of this under src/vendor/golang.org/x/net/
however the "html" subdirectory is not included. So this bug does not
apply to the compiler itself.
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Omkar [Wed, 16 Nov 2022 05:20:36 +0000 (10:50 +0530)]
python3: Fix CVE-2022-45061
Fix CVE-2022-45061, referenced as
https://github.com/python/cpython/issues/98433
patch taken from
https://github.com/python/cpython/pull/99231/commits/064ec20bf7a181ba5fa961aaa12973812aa6ca5d
Signed-off-by: Omkar <omkarpatil10.93@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
An off-by-one Error issue was discovered in Systemd in format_timespan()
function of time-util.c. An attacker could supply specific values for
time and accuracy that leads to buffer overrun in format_timespan(),
leading to a Denial of Service.
Add a patch to solve above CVE issue Link: https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton [Fri, 28 Oct 2022 15:23:53 +0000 (16:23 +0100)]
sanity: check for GNU tar specifically
We need the system tar to be GNU tar, as we reply on --xattrs. Some
distributions may be using libarchive's tar binary, which is definitely
not as featureful, so check for this and abort early with a clear
message instead of later with mysterious errors.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7dd2b1cd1bb10e67485dab8600c0787df6c2eee7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
externalsrc.bbclass: Remove a trailing slash from ${B}
The trailing slash in ${B} caused -fdebug-prefix-map=${B}=... to not
match as intended, resulting in ${TMPDIR} ending up in files in
${PN}-dbg when externalsrc was in use, which in turn triggered buildpath
QA warnings.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b5031ed5a0d102905fa75acc418246c23df6eef) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* it added check for s_dir + git-dir (typically '.git') isn't
the same as ${TOPDIR} + git-dir, but due to copy-paste issue
it was just comparing it with s_dir + git-dir again, resulting
in most external repos (where git-dir is '.git') to be processed
as regular directory (not taking advantage of git write-tree).
* normally this wouldn't be an issue, but for big repo with a lot of
files this added a lot of checksums in:
d.setVarFlag('do_compile', 'file-checksums', '${@srctree_hash_files(d)}')
and I mean *a lot, e.g. in chromium build it was 380227 paths
which still wouldn't that bad, but the checksum processing in
siggen.py isn't trivial and just looping through all these
checksums takes very long time (over 1000sec on fast NVME drive
with warm cache) and then
https://git.openembedded.org/bitbake/commit/?id=b4975d2ecf615ac4c240808fbc5a3f879a93846b
made the processing a bit more complicated and the loop in
get_taskhash() function took 6448sec and to make things worse
there was no output from bitbake during that time, so even with -DDD
it looks like this:
DEBUG: virtual/libgles2 resolved to: mesa (langdale/oe-core/meta/recipes-graphics/mesa/mesa_22.2.0.bb)
Bitbake still alive (no events for 600s). Active tasks:
Bitbake still alive (no events for 1200s). Active tasks:
Bitbake still alive (no events for 1800s). Active tasks:
Bitbake still alive (no events for 2400s). Active tasks:
Bitbake still alive (no events for 3000s). Active tasks:
Bitbake still alive (no events for 3600s). Active tasks:
Bitbake still alive (no events for 4200s). Active tasks:
Bitbake still alive (no events for 4800s). Active tasks:
Bitbake still alive (no events for 5400s). Active tasks:
Bitbake still alive (no events for 6000s). Active tasks:
DEBUG: Starting bitbake-worker
without -DDD it will get stuck for almost 2 hours in:
"Initialising tasks..."
before it finally writes sstate summary like:
"Sstate summary: Wanted 3102 Local 0 Mirrors 0 Missed 3102 Current 1483 (0% match, 32% complete)"
* fix the copy&paste typo to use git work-tree in most cases, but
be aware that this issue still exists for huge local source
trees not in git
[YOCTO #14942]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9102e5a94b8146cb1da27afbe41d3db999a914ff) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Alex Kiernan [Fri, 11 Nov 2022 13:06:32 +0000 (13:06 +0000)]
openssl: upgrade 1.1.1q to 1.1.1s
Major changes between OpenSSL 1.1.1r and OpenSSL 1.1.1s [1 Nov 2022]
* Fixed a regression introduced in OpenSSL 1.1.1r not refreshing the
certificate data to be signed before signing the certificate.
Major changes between OpenSSL 1.1.1q and OpenSSL 1.1.1r [11 Oct 2022]
* Added a missing header for memcmp that caused compilation failure on
some platforms
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Sundeep KOKKONDA [Thu, 10 Nov 2022 03:09:13 +0000 (08:39 +0530)]
glibc : stable 2.31 branch updates.
Below commits on glibc-2.31 stable branch are updated. d4b7559457 x86-64: Require BMI2 for avx2 functions [BZ #29611] b8bb48a18d x86-64: Require BMI2 for strchr-avx2.S [BZ #29611] c8f2a3e803 Add test for bug 29530 e6ae5b25cd Fix memmove call in vfprintf-internal.c:group_number 1dbe841a67 Remove most vfprintf width/precision-dependent allocations (bug 14231, bug 26211). 5a802723db stdio: Add tests for printf multibyte convertion leak [BZ#25691] ae7748e67f stdio: Remove memory leak from multibyte convertion [BZ#25691] 174d0b61c7 Linux: Require properly configured /dev/pts for PTYs 0a167374fd Linux: Detect user namespace support in io/tst-getcwd-smallbuff 4ad1659d8c getcwd: Set errno to ERANGE for size == 1 (CVE-2021-3999) 3319cea99e support: Add helpers to create paths longer than PATH_MAX f733e291bb support: Fix xclone build failures on ia64 and hppa 43757c70ee support: Add xclone 29d3aeb0e8 Add xchdir to libsupport. 2d7720f316 support: Add create_temp_file_in_dir 183709983d NEWS: Add a bug fix entry for BZ #28896 d385079bd5 x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c 7df3ad6560 x86: Test wcscmp RTM in the wcsncmp overflow case [BZ #28896] fc133fcf49 x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #28896] 775c05b28c string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755] c6b346ec55 x86-64: Test strlen and wcslen with 0 in the RSI register [BZ #28064] 0675185923 x86: Remove wcsnlen-sse4_1 from wcslen ifunc-impl-list [BZ #28064] 5db3239baf x86: Black list more Intel CPUs for TSX [BZ #27398] 5b99f172b8 x86: Check RTM_ALWAYS_ABORT for RTM [BZ #28033] 70d293a158 NEWS: Add a bug fix entry for BZ #27974 a2be2c0f5d String: Add overflow tests for strnlen, memchr, and strncat [BZ #27974] 489006c3c5 x86: Optimize strlen-evex.S 937f2c783a x86: Fix overflow bug in wcsnlen-sse4_1 and wcsnlen-avx2 [BZ #27974] 0058c73d11 x86-64: Add wcslen optimize for sse4.1 665d0252f1 x86-64: Move strlen.S to multiarch/strlen-vec.S 82ff13e2cc x86-64: Fix an unknown vector operation in memchr-evex.S 539b593a1d x86: Optimize memchr-evex.S 7b37ae60c6 x86: Optimize strlen-avx2.S 0381c1c10d x86: Fix overflow bug with wmemchr-sse2 and wmemchr-avx2 [BZ #27974] 10368cb76b x86: Optimize memchr-avx2.S 66ca40582e test-strnlen.c: Check that strnlen won't go beyond the maximum length 927bcaf892 test-strnlen.c: Initialize wchar_t string with wmemset [BZ #27655] 0d4159c36c x86-64: Require BMI2 for __strlen_evex and __strnlen_evex c0cbb9345e NEWS: Add a bug fix entry for BZ #27457 e81b975fcc x86-64: Fix ifdef indentation in strlen-evex.S aa4e48e73c x86-64: Use ZMM16-ZMM31 in AVX512 memmove family functions ac911d3b57 x86-64: Use ZMM16-ZMM31 in AVX512 memset family functions 20d37de533 x86: Add string/memory function tests in RTM region fbaa99ed41 x86-64: Add AVX optimized string/memory functions for RTM 096e14f632 x86-64: Add memcmp family functions with 256-bit EVEX f00fad4e4c x86-64: Add memset family functions with 256-bit EVEX cf239ddd2e x86-64: Add memmove family functions with 256-bit EVEX 7257ba7bf2 x86-64: Add strcpy family functions with 256-bit EVEX db9071c0f6 x86-64: Add ifunc-avx2.h functions with 256-bit EVEX 2d612b2c5f x86: Set Prefer_No_VZEROUPPER and add Prefer_AVX2_STRCMP 5b13651085 NEWS: Add a bug fix entry for BZ #28755 5ee8a436ab x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Sundeep KOKKONDA [Thu, 10 Nov 2022 03:04:16 +0000 (08:34 +0530)]
binutils: stable 2.34 branch updates
Below commits on binutils-2.34 stable branch are updated. c4e78c0868a PR27755, powerpc-ld infinite loop 33973d228c9 gas, arm: PR26858 Fix availability of single precision vmul/vmla in arm mode 0c8652fe288 x86: Update GNU property tests 5c1bd3f52c6 x86: Properly merge -z ibt and -z shstk 93b9bf1651a PowerPC TPREL_HA/LO optimisation 58950a3bfd4 Date update e3b314d3a61 aarch64: set sh_entsize of .plt to 0 26b6ab7a0e4 S/390: z13: Accept vector alignment hints 7324292cd94 gas: Fix checking for backwards .org with negative offset 463ec189fe9 Prevent a potential use-after-fee memory corruption bug in the linker (for PE format files). ef2826c0fdb Fix the ARM assembler to generate a Realtime profile for armv8-r. 8524bb5bd28 Re: Fix tight loop on recursively-defined symbols 5768460022b Fix tight loop on recursively-defined symbols a72427b1ae0 gas: PR 25863: Fix scalar vmul inside it block when assembling for MVE 9f57ab49b32 BFD: Exclude sections with no content from compress check. aaf3f0599a2 Arm: Fix LSB of GOT for Thumb2 only PLT. 97f92b3e90a Arm: Fix thumb2 PLT branch offsets. 3053d7a163c include: Sync plugin-api.h with GCC f7aec2b8e09 PR25745, powerpc64-ld overflows string buffer in --stats mode 1b2bf0f65c1 include: Sync plugin-api.h with GCC 5e8619b9597 include: Sync lto-symtab.h and plugin-api.h with GCC 23820109ced plugin: Don't invoke LTO-wrapper 64f5c0afcc4 plugin: Use LDPT_ADD_SYMBOLS_V2 to get symbol type aaa1e160040 Silence warnings due to plugin API change e7c0ee5110c Include: Sync lto-symtab.h and plugin-api.h with GCC b6520be37fd Fix dwarf.c build with GCC 10 a560c29ca5a bfd: Change num_group to unsigned int 3ca4cd1ebde gas, arm: Fix bad backport b3174859c4b gas, arm: PR25660L Fix vadd/vsub with lt and le condition codes for MVE de9c1b7cfe6 powerpc64-ld infinite loop 0318fc4e18e Adjust PR25355 testcase 40bfb976274 Re: PR24511, nm should not mark symbols in .init_array as "t" 42b2380cdce Don't call lto-wrapper for ar and ranlib acc4a8b8ac8 PR25585, PHDR segment not covered by LOAD segment
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Daniel McGregor [Wed, 28 Sep 2022 22:13:18 +0000 (16:13 -0600)]
coreutils: add openssl PACKAGECONFIG
coreutils-native will pick up openssl on the host if it's GPL
compatible (version >= 3), which causes uninative failures with hosts
that don't have openssl3.
Add a PACKAGECONFIG entry for openssl so it can be enabled, but isn't
by default.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9859a8124a0c09ac38d476445e7df7097f41d153) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ceac0492e75baa63a46365d8b63275437ad5671f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
cve-update-db-native: add timeout to urlopen() calls
The urlopen() call can block indefinitely under some circumstances.
This can result in the bitbake process to run endlessly because of
the 'do_fetch' task of cve-update-bb-native to remain active.
This adds a default timeout of 60 seconds to avoid this hang, while
being large enough to minimize the risk of unwanted timeouts.
Signed-off-by: Frank de Brabander <debrabander@gmail.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5f6652854f544106b40d860de2946954de642f3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add a patch to fix CVE-2022-43680 issue where use-after free caused by
overeager destruction of a shared DTD in XML_ExternalEntityParserCreate
in out-of-memory situations Link: https://nvd.nist.gov/vuln/detail/CVE-2022-43680 Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Thu, 20 Oct 2022 14:36:01 +0000 (10:36 -0400)]
linux-yocto/5.4: update to v5.4.219
Updating to the latest korg -stable release that comprises
the following commits:
fd92cfed8bc6 Linux 5.4.219 0cb5be43dc4b wifi: mac80211: fix MBSSID parsing use-after-free 9478c5f9c007 wifi: mac80211: don't parse mbssid in assoc response 7f441a6c90fe mac80211: mlme: find auth challenge directly c248c3330d5f Revert "fs: check FMODE_LSEEK to control internal pipe splicing" 1d0da8674c23 Linux 5.4.218 3ff54a91e4ea Input: xpad - fix wireless 360 controller breaking after suspend 690467759573 Input: xpad - add supported devices as contributed on github 9389750ac6b0 wifi: cfg80211: update hidden BSSes to avoid WARN_ON 7fab3bf52059 wifi: mac80211_hwsim: avoid mac80211 warning on bad rate 77bb20ccb9df wifi: cfg80211: avoid nontransmitted BSS list corruption 785eaabfe310 wifi: cfg80211: fix BSS refcounting bugs 359ce507f751 wifi: cfg80211: ensure length byte is present before access 43689bf2cd8e wifi: cfg80211/mac80211: reject bad MBSSID elements 020402c7dd58 wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans() c634a9107f6a random: use expired timer rather than wq for mixing fast pool 39800adc38f6 random: avoid reading two cache lines on irq randomness bc0375ca434b random: restore O_NONBLOCK support 49d2fc9f998b USB: serial: qcserial: add new usb-id for Dell branded EM7455 20a5bde60597 scsi: stex: Properly zero out the passthrough command structure 46b822a7550d efi: Correct Macmini DMI match in uefi cert quirk b719d10f7ec3 ALSA: hda: Fix position reporting on Poulsbo e5d25a3bfde4 random: clamp credited irq bits to maximum mixed 194f59391d6c ceph: don't truncate file in atomic_open 259c0f68168a nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure b7e409d11db9 nilfs2: fix leak of nilfs_root in case of writer thread creation failure 792211333ad7 nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level() 963089ad76cb rpmsg: qcom: glink: replace strncpy() with strscpy_pad() 2da677c0c725 mmc: core: Terminate infinite loop in SD-UHS voltage switch 373eca05b5b8 mmc: core: Replace with already defined values for readability 7ec8f073c2bf USB: serial: ftdi_sio: fix 300 bps rate for SIO 21446ad9cb98 usb: mon: make mmapped memory read only d2f3a51ca27e arch: um: Mark the stack non-executable to fix a binutils warning bb2d4c37b1fc um: Cleanup compiler warning in arch/x86/um/tls_32.c 9e26e0eef622 um: Cleanup syscall_handler_t cast in syscalls_32.h 3c9a75b3d2f7 net/ieee802154: fix uninit value bug in dgram_sendmsg 61be8898d704 scsi: qedf: Fix a UAF bug in __qedf_probe() c790d3a00d42 ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer aefe2f55a986 dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure db702ecd713a dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property 59684c877783 firmware: arm_scmi: Add SCMI PM driver remove routine 70e4f70d54e0 fs: fix UAF/GPF bug in nilfs_mdt_destroy 398312c687bb perf tools: Fixup get_current_dir_name() compilation 393a1aa4215b mm: pagewalk: Fix race between unmap and page walker 6e150d605c9e Linux 5.4.217 0c41153c367b docs: update mediator information in CoC docs 096740d67560 Makefile.extrawarn: Move -Wcast-function-type-strict to W=1 e911caf9a158 Revert "drm/amdgpu: use dirty framebuffer helper" ae19c3c76dc4 xfs: remove unused variable 'done' 538657def702 xfs: fix uninitialized variable in xfs_attr3_leaf_inactive 9ff41b8d71ba xfs: streamline xfs_attr3_leaf_inactive c893fedaf10c xfs: move incore structures out of xfs_da_format.h 5e13ad940a2a xfs: fix memory corruption during remote attr value buffer invalidation 821e0951b4b3 xfs: refactor remote attr value buffer invalidation a1b66abe30da xfs: fix IOCB_NOWAIT handling in xfs_file_dio_aio_read 1e4a0723eb38 xfs: fix s_maxbytes computation on 32-bit kernels 16de74ee3ad6 xfs: truncate should remove all blocks, not just to the end of the page cache 87e73331e4b7 xfs: introduce XFS_MAX_FILEOFF bd67d06b099d xfs: fix misuse of the XFS_ATTR_INCOMPLETE flag 24f45c878299 x86/speculation: Add RSB VM Exit protections 564275d4b93f x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced IBRS parts 4891e5fd1001 x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current 9862c0f4fd6c x86/speculation: Disable RRSBA behavior b9ae02c3c253 x86/bugs: Add Cannon lake to RETBleed affected CPU list d6a8a470dc22 x86/cpu/amd: Enumerate BTC_NO 2edfa537f3b1 x86/common: Stamp out the stepping madness 17a9fc4a7b91 x86/speculation: Fill RSB on vmexit for IBRS 2242cf215013 KVM: VMX: Fix IBRS handling after vmexit 51c71ed134e9 KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS a31bdec99a95 KVM: VMX: Convert launched argument to flags 5895a9297e60 KVM: VMX: Flatten __vmx_vcpu_run() 64723cd346ea KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hw 57ba312f1037 KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S 87dfe68a3513 x86/speculation: Remove x86_spec_ctrl_mask 4109a8ce107d x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit 0fd086edf887 x86/speculation: Fix SPEC_CTRL write on SMT state change 18d5a93fd202 x86/speculation: Fix firmware entry SPEC_CTRL handling 03a575a0f954 x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n 8afd1c7da2b0 x86/speculation: Change FILL_RETURN_BUFFER to work with objtool 3ee9e9a5af07 intel_idle: Disable IBRS during long idle 97bc52c14a93 x86/bugs: Report Intel retbleed vulnerability fd67fe3db93f x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation() 2d4ce2d72c3b x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS e2d793a3742a x86/bugs: Optimize SPEC_CTRL MSR writes a3111faed5c1 x86/entry: Add kernel IBRS implementation fd32a31553a1 x86/entry: Remove skip_r11rcx 3c93ff4e23ea x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value 9a596426d7bd x86/bugs: Add AMD retbleed= boot parameter 063b7f980607 x86/bugs: Report AMD retbleed vulnerability 954d591a84d0 x86/cpufeatures: Move RETPOLINE flags to word 11 893cd858b09c x86/kvm/vmx: Make noinstr clean f62d272c2fec x86/cpu: Add a steppings field to struct x86_cpu_id 69460b1ed63d x86/cpu: Add consistent CPU match macros 87449d94e75c x86/devicetable: Move x86 specific macro out of generic code fbd29b7549b2 Revert "x86/cpu: Add a steppings field to struct x86_cpu_id" 3a8ff61e6f13 Revert "x86/speculation: Add RSB VM Exit protections"
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Thu, 20 Oct 2022 14:36:00 +0000 (10:36 -0400)]
linux-yocto/5.4: update to v5.4.216
Updating to the latest korg -stable release that comprises
the following commits:
f28b7414ab71 Linux 5.4.216 b8b87cb13681 clk: iproc: Do not rely on node name for correct PLL setup d417d5eb29d7 clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks 762706bd12a6 selftests: Fix the if conditions of in test_extra_filter() ae0d3a431639 nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices 18ef5cd4c53c nvme: add new line after variable declatation 3ea4a5342452 usbnet: Fix memory leak in usbnet_disconnect() 6ca922ec7598 Input: melfas_mip4 - fix return value check in mip4_probe() 38c4d8230f93 Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time" 7291d19a9eeb soc: sunxi: sram: Fix debugfs info for A64 SRAM C cdbcdfc96126 soc: sunxi: sram: Fix probe function ordering issues 73dbc6e136b5 soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource() 26170e4fd145 soc: sunxi: sram: Prevent the driver from being unbound 883778a1f4fa soc: sunxi: sram: Actually claim SRAM regions 1ba52486082b ARM: dts: am33xx: Fix MMCHS0 dma properties d0c69c722ff1 ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver d18565280076 media: dvb_vb2: fix possible out of bound access 0f4634f70bfd mm: fix madivse_pageout mishandling on non-LRU page ffd11370b74f mm/migrate_device.c: flush TLB while holding PTL b9e31f4885c4 mm: prevent page_frag_alloc() from corrupting the memory d535fb83844e mm/page_alloc: fix race condition between build_all_zonelists and page allocation 2ec4949738c8 mmc: moxart: fix 4-bit bus width and remove 8-bit bus width bb7c23e4e523 libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205 5cebfac6a8c9 Revert "net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()" 9a3740f448be ntfs: fix BUG_ON in ntfs_lookup_inode_by_name() 46e784cf4a84 ARM: dts: integrator: Tag PCI host with device_type 85b5edb1b429 clk: ingenic-tcu: Properly enable registers before accessing timers f8a2e22289e4 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455 43699b8fbcf1 uas: ignore UAS for Thinkplus chips fc540f6e4bb4 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS 383c663c7359 uas: add no-uas quirk for Hiksemi usb_disk 6215647d9699 Linux 5.4.215 579976dc0d9f ext4: make directory inode spreading reflect flexbg size 26e7c965f41b xfs: fix use-after-free when aborting corrupt attr inactivation 8b3c9eb1b3dd xfs: fix an ABBA deadlock in xfs_rename 37ec5a20c80d xfs: don't commit sunit/swidth updates to disk if that would cause repair failures 4668f08cda30 xfs: split the sunit parameter update into two parts fd6c5da3fa2b xfs: refactor agfl length computation function 6363fdf7acac xfs: use bitops interface for buf log item AIL flag check a95582d9d500 xfs: stabilize insert range start boundary to avoid COW writeback race 7a20c664a7d8 xfs: fix some memory leaks in log recovery ad9759d48802 xfs: always log corruption errors 0336599b645e xfs: constify the buffer pointer arguments to error functions 8856a6572fed xfs: convert EIO to EFSCORRUPTED when log contents are invalid 9185003c93b3 xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename() 796ff09598cd xfs: attach dquots and reserve quota blocks during unwritten conversion a33bcad48b48 xfs: range check ri_cnt when recovering log items a102869fb173 xfs: add missing assert in xfs_fsmap_owner_from_rmap 979eb1230413 xfs: slightly tweak an assert in xfs_fs_map_blocks c494dbca9928 xfs: replace -EIO with -EFSCORRUPTED for corrupt metadata bb7eb3ca4b3b ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0 04aa8187eba5 workqueue: don't skip lockdep work dependency in cancel_work_sync() a874609522b5 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid 75ed7dee26ab drm/amd/display: Limit user regamma to a valid value c89849ecfd2e drm/amdgpu: use dirty framebuffer helper 0b467eab0aad Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region 8c8d0f7ac82f cifs: always initialize struct msghdr smb_msg completely 1438e412aeda usb: xhci-mtk: fix issue of out-of-bounds array access 2e473351400e s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup 9eb710d1843a serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting 6cc0434f9d44 serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting 556e827b0f63 serial: Create uart_xmit_advance() 903f7d322c17 net: sched: fix possible refcount leak in tc_new_tfilter() 0e8de8f54b04 net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD 67199c26a006 perf kcore_copy: Do not check /proc/modules is unchanged 80b2f37b3370 perf jit: Include program header in ELF files 95c5637d3d1f can: gs_usb: gs_can_open(): fix race dev->can.state condition 11ebf32fde46 netfilter: ebtables: fix memory leak when blob is malformed 6a3239f80682 net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs d12a1eb07003 net/sched: taprio: avoid disabling offload when it was never enabled 420c9b10737b of: mdio: Add of_node_put() when breaking out of for_each_xx d2ac2baf1fc4 i40e: Fix set max_tx_rate when it is lower than 1 Mbps 450d106804ff i40e: Fix VF set max MTU size 3daf09781982 iavf: Fix set max MTU size with port VLAN and jumbo frames bfaff9adaa89 iavf: Fix bad page state 9bf52411eeaa MIPS: Loongson32: Fix PHY-mode being left unspecified 405bd0ebb00c MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko 37f79374bba4 net: team: Unsync device addresses on ndo_stop 346e94aa4a99 ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header b84fdb6be105 iavf: Fix cached head and tail value for iavf_get_tx_pending 721ea8ac063d netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find() d0a24bc8e2aa netfilter: nf_conntrack_irc: Tighten matching on DCC message 0376a77fa7bc netfilter: nf_conntrack_sip: fix ct_sip_walk_headers c9355b7e5a6f arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma 312eb4574d16 arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz a52ef6ae2842 arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob 016b150992ee mm/slub: fix to return errno if kmalloc() fails cafb9cad9bcc efi: libstub: check Shim mode using MokSBStateRT 9599d4601941 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop befadcf8f7f2 ALSA: hda/realtek: Add quirk for ASUS GA503R laptop b90ac48c0540 ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack 5f622518a7d0 ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack 8f8a740e9160 ALSA: hda/realtek: Re-arrange quirk table entries dafeac1226a4 ALSA: hda/realtek: Add quirk for Huawei WRT-WX9 95b9a7f0bfbb ALSA: hda: add Intel 5 Series / 3400 PCI DID 7fff38ab90b8 ALSA: hda/tegra: set depop delay for tegra 78d3ae9bfad6 USB: serial: option: add Quectel RM520N 55f0f59e8227 USB: serial: option: add Quectel BG95 0x0203 composition 95b97afdde75 USB: core: Fix RST error in hub.c f5e322ffe7aa Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio" 430c9bd664ec Revert "usb: add quirks for Lenovo OneLink+ Dock" 05ec31717feb usb: cdns3: fix issue with rearming ISO OUT endpoint 10c5d34f6f68 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio ddf7bc221817 usb: add quirks for Lenovo OneLink+ Dock da8ac086943e tty: serial: atmel: Preserve previous USART mode if RS485 disabled e56a40281997 serial: atmel: remove redundant assignment in rs485_config 85a64208b319 tty/serial: atmel: RS485 & ISO7816: wait for TXRDY before sending data 9ad48cbf8b07 wifi: mac80211: Fix UAF in ieee80211_scan_rx() 9a3695bde9c7 usb: xhci-mtk: relax TT periodic bandwidth allocation 174645cc63c3 usb: xhci-mtk: allow multiple Start-Split in a microframe 6cfde07c5d8e usb: xhci-mtk: add some schedule error number 664b0b8f4efa usb: xhci-mtk: add a function to (un)load bandwidth info d1eed0d3fb8c usb: xhci-mtk: use @sch_tt to check whether need do TT schedule 1833e8e049d0 usb: xhci-mtk: add only one extra CS for FS/LS INTR 3826d4f0ef89 usb: xhci-mtk: get the microframe boundary for ESIT 4ccf7afa4729 usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop a5bdea59f43d usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup() 67bf926f16b3 usb: dwc3: gadget: Refactor pullup() 24e4f6308d95 usb: dwc3: gadget: Prevent repeat pullup() 62b6cbc5983e usb: dwc3: Issue core soft reset before enabling run/stop e24f90d7617b usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind 85371aad2855 ALSA: hda/sigmatel: Fix unused variable warning for beep power change 07191f984842 cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all() 1878eaf0edb8 video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write 47c5ef29e52f mksysmap: Fix the mismatch of 'L0' symbols in System.map f0ebdfc10bd1 MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping() c53c3cbca5ef afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked 1aea20f98ed3 net: usb: qmi_wwan: add Quectel RM520N 447f95d41397 ALSA: hda/tegra: Align BDL entry to 4KB boundary 9f55da12d05d ALSA: hda/sigmatel: Keep power up while beep is enabled 39265647c4a6 rxrpc: Fix calc of resend age cc273ed79e7c rxrpc: Fix local destruction being repeated da01ec04a0b0 regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe() 17a21341d953 ASoC: nau8824: Fix semaphore unbalance at error paths 323f289a9044 iomap: iomap that extends beyond EOF should be marked dirty d88039e6fee4 MAINTAINERS: add Chandan as xfs maintainer for 5.4.y 36128fd71f03 cifs: don't send down the destination address to sendmsg for a SOCK_STREAM 81081a5c9c74 cifs: revalidate mapping when doing direct writes 834f4d856fda tracing: hold caller_addr to hardirq_{enable,disable}_ip 2c4e260d45fd task_stack, x86/cea: Force-inline stack helpers 4051324a6daf ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC 47d7e6af5bd4 parisc: ccio-dma: Add missing iounmap in error path in ccio_probe() 2aae9b7d0723 drm/meson: Fix OSD1 RGB to YCbCr coefficient 5dd9cb66b712 drm/meson: Correct OSD1 global alpha value f1de50e1db99 gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx 82e276e5fcdc NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0 e0e88c25f88b of: fdt: fix off-by-one error in unflatten_dt_nodes() 9f02aa34e179 Linux 5.4.214 c629ec4ddd4f tracefs: Only clobber mode/uid/gid on remount if asked fe26b6ca0404 soc: fsl: select FSL_GUTS driver for DPIO 1bd66f1053be net: dp83822: disable rx error interrupt c128bff9ff35 mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region() bf3cd8f2c69b usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS 72b31dc26415 platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes 0573dc9f154a perf/arm_pmu_platform: fix tests for platform_get_irq() failure baba0cfc3df0 nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change() 161e7555520b Input: iforce - add support for Boeder Force Feedback Wheel a725bc34d81a ieee802154: cc2520: add rc code in cc2520_tx() 2670d1d3f59c tg3: Disable tg3 device on system reboot to avoid triggering AER c118ae56a5fb hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message 3e89e8d1c634 HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo 7e214f5b2f34 drm/msm/rd: Fix FIFO-full deadlock
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Mon, 11 Jul 2022 12:23:26 +0000 (13:23 +0100)]
qemu: Avoid accidental librdmacm linkage
Avoid accidentally linking to the rdma library from the host by
adding a PACKAGECONFIG for the option. This was found on new
Fedora 36 autobuilder workers.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a0f3cb225e4d5471155abbcd05d09bd6bf1620f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Steve Sakoman [Tue, 12 Jul 2022 21:18:30 +0000 (11:18 -1000)]
qemu: Avoid accidental libvdeplug linkage
Avoid accidentally linking to the vde library from the host by
adding a PACKAGECONFIG for the option.
Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8839e9540528b0b46c4fb4f95e508f038bcef8b9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This change provides an alternate method for gathering the submodules
information.
Tested:
Build recipes with and without submodules
Signed-off-by: Carson Labrado <clabrado@google.com> Signed-off-by: John Edward Broadbent <jebr@google.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d9364e5f3535954f65cbbc694ee7933ac1d664f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Michael Halstead [Fri, 12 Aug 2022 21:57:36 +0000 (14:57 -0700)]
uninative: Upgrade to 3.7 to work with glibc 2.36
Update uninative to work with the new glibc 2.36 version
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 410226b053e14e32add1f9b4b811f84a1c445a7c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This is a security release of Python 3.8
Note: The release you're looking at is Python 3.8.14, a security bugfix
release for the legacy 3.8 series. Python 3.10 is now the latest
feature release series of Python 3.
Security content in this release
CVE-2020-10735: converting between int and str in bases other than
2 (binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base
10 (decimal) now raises a ValueError if the number of digits in string
form is above a limit to avoid potential denial of service attacks due
to the algorithmic complexity.
gh-87389: http.server: Fix an open redirection vulnerability in the HTTP
server when an URI path starts with //.
gh-93065: Fix contextvars HAMT implementation to handle iteration over
deep trees to avoid a potential crash of the interpreter.
gh-90355: Fix ensurepip environment isolation for the subprocess running
pip.
gh-80254: Raise ProgrammingError instead of segfaulting on recursive usage
of cursors in sqlite3 converters.
Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Paul Barker [Fri, 30 Sep 2022 10:52:02 +0000 (11:52 +0100)]
licenses: Handle newer SPDX license names
License names were updated in commit 2456f523cfbb (after the dunfell
release) to match the current SPDX license list. We don't want to do any
wholesale renaming on the dunfell stable branch but we should add
mappings for the newer '*-only' names to allow for layers which support
both dunfell and newer releases.
Signed-off-by: Paul Barker <paul.barker@sancloud.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Martin Jansa [Mon, 26 Sep 2022 20:24:47 +0000 (22:24 +0200)]
create-pull-request: don't switch the git remote protocol to git://
Many git repos prefer https:// nowadays and many removed support
for git://.
This breaks the script when using github.com even when selected remote
is ssh (git@github.com:openembedded/...), it will re-write it to git://
before calling git pull-request causing:
openembedded-core $ scripts/create-pull-request -u github -b jansa/artifacts -o pull-kernel
NOTE: Assuming local branch HEAD, use -l to override.
fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Connection timed out
warn: No match for commit ea003bd026aa24bb4c8b7562f44ed6512e921259 found at git://github.com/shr-distribution/oe-core
warn: Are you sure you pushed 'jansa/artifacts' there?
ERROR: git request-pull reported an error
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64c466920b808c35d1ac87b47cf438bc79becea7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add packages for the new Qualcomm firmware released for Lenovo X13s
laptop.
The INSANE_SKIP:${PN} has to be provided to silent following warnings:
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcslpi8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af9924a3da0569e90c2d3abe030584456e66229b) Signed-off-by: Steve Sakoman <steve@sakoman.com>