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
(From OE-Core rev: a886ee55d6137efbcc194f7c4ba09e3b5c66990b)
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>
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
(From OE-Core rev: d066c78c0946f76b3a0a6720b41b3c865dbba012)
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>
Upstream went with something slightly different so let's update the
patch so we don't have to carry a patch that isn't going to be merged.
This patch is part of snapshot 1.17.6.
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: d40dbaf85511f074fde32b22dc864b856976d7c8)
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 19eb1e388fbbe5bfb8462710c745f2bb5446b5b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: cc8ec63310f9a936371ea1070cb257c926808755)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: bf9cb1a3d68da6463195f79caf8baf94cd01a30a)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 7d45d4696970c45534b905dc7a65418073108f97)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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")
(From OE-Core rev: 38224b19bda2592705ef4274c28cb250d9e980dc)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: e44f0cda8176186d42a752631810c1cb5f1971eb)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: d9e9653616638f2b187d5e04540071ac34d99f56)
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: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 408bf1b4bb4f4ed126c17fb3676f9fa0513065ba)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE is in the io/fs package, which first appeared in go1.16.
Since dunfell is using go1.14, this issue does not apply.
CVE was fixed in fa2d41d0ca736f3ad6b200b2a4e134364e9acc59
Original code in b64202bc29b9c1cf0118878d1c0acc9cdb2308f6
(From OE-Core rev: 1e258940e9a6fabda6e7e60841082c113fdf9500)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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."
[1] https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
(From OE-Core rev: 54c40730bc54aa2b2c12b37decbcc99bbcafd07a)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
[1] https://groups.google.com/g/golang-announce/c/0fM21h43arc
(From OE-Core rev: 2329902f994b631d6b77e8bd501d5599db6d5306)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: b8a851faef9990ccb41ded875fc79cf28abd4a4e)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>