Backport [22130dcd98]
Fixes:
In function ?SetDevicePathEndNode?,
inlined from ?FileDevicePath? at DevicePathUtilities.c:857:5:
DevicePathUtilities.c:321:3: error: writing 4 bytes into a region of size 1 [-Werror=stringop-overflow=]
321 | memcpy (Node, &mUefiDevicePathLibEndDevicePath, sizeof (mUefiDevicePathLibEndDevicePath));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from UefiDevicePathLib.h:22,
from DevicePathUtilities.c:16:
../Include/Protocol/DevicePath.h: In function ?FileDevicePath?:
../Include/Protocol/DevicePath.h:51:9: note: destination object ?Type? of size 1
51 | UINT8 Type; ///< 0x01 Hardware Device Path.
| ^~~~
(From OE-Core rev: a33abd759e2e9f41e056f87024de3b333e9b948b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Yocto #14346]
Systemd may be slow in killing pam session sometimes [1][2]. It may cause rpm
test to fail because there's process (sd_pam) running and own by "test1" user
after timeout.
Increasing timeout to 2 mins and assert earlier with debug output if
there's such process(es). If increasing of timeout doesn't help we may
want to force deletion of the user as [2] suggests.
[1] https://github.com/systemd/systemd/issues/8598
[2] https://access.redhat.com/solutions/6969188
(From OE-Core rev: e4d2351a2b5aa0c4d900abc5d75ab5da9b5e1f8a)
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 972fcc0ed1e0d36c3470071a9c667c5327c1ef78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_rm_work() task is using the first available 'rm' binary
available in PATH to remove files and folders.
However, depending on the PATH setup and RECIPE_SYSROOT_NATIVE
contents, the function can be using the 'rm' binary available
in RECIPE_SYSROOT_NATIVE, a folder that will get removed.
This causes a sporadic race-condition when trying to access the
'rm' binary of a folder already deleted.
Solve this by exclusively using the HOSTTOOLS 'rm' binary, as
this folder will not get removed.
(From OE-Core rev: 75b7e86c9d9931c9e4e114af026b51710f1920a2)
Signed-off-by: Luis Martins <luis.pinto.martins@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edcd9ad333bc4e504594e8af83e8cb7007d2e35c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous code had 2 issues:
1. make hosttools/ccache always link to host's ccache (/usr/bin/ccache)
even we have one buildtools
2. make hosttools/gcc etc, link to host's gcc event we have one
buildtools when keyword ccache in buildtools's path, eg:
/mnt/ccache/bin/buildtools
This patch is for fix above issues.
(From OE-Core rev: f2f70bf8d93b33b65875828c0402a98e943f660a)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b7c81414cf252a7203d95703810a770184d7e4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The /proc/pressure support in buildstats is creating directories in the
buildstats tree called reduced_proc_pressure, which confuses the parsing
logic as that cannot be parsed as a name-epoc-version-revision tuple.
Explicitly skip this directory to solve the problem.
(From OE-Core rev: deb919a693e4371ace649680ca06ca6b6e3da4e2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 24f0331f0b7e51161b1fa43d4592b491d2037fe9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The QB_DEFAULT_KERNEL is set to pick bundled initramfs kernel image
if the Linux kernel image is generated with INITRAMFS_IMAGE_BUNDLE="1".
This makes runqemu to automatically pick bundled initramfs kernel image
instead of explicitly mentioning bundled initramfs kernel image in
runqemu.
[YOCTO #14748]
(From OE-Core rev: 0c63018ef3843cfefd2be31c0a6693181037410d)
Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52371624313184e1a825519160c3833e282df8b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default GOCACHE is set to $HOME/.cache.
Same issue for all other go recipes had been fixed by commit 9a6d208b:
[ go: avoid host contamination by GOCACHE ]
but that commit missed go-crosssdk recipe.
(From OE-Core rev: 22fef4e278beae60d1a6afbe4645fb36732bc736)
Signed-off-by: Robert Andersson <robert.m.andersson@atlascopco.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e5fd10c647ac4baad65f9efa964c3380aad7dd10)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 0533edac27 broke
bitbake parsing when bitbake is executed from directory with existing .gitmodules
and the recipe in externalsrc does not have .gitmodules
The check needs to search for .gitmodules in sources path, not cwd.
iParsing recipes...ERROR: ExpansionError during parsing <path to recipe>
...
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception CalledProcessError: Command '['git', 'config', '--file', '.gitmodules', '--get-regexp', 'path']' returned non-zero exit status 1.
(From OE-Core rev: c58d82b98348b167b60ec3c8b9651d73b1bdfbdc)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 66ff3d1f65cd2e7f5319e98fa41f47a59b714c72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bc is needed for compiling kernel modules, more specifially
whenr running `make scripts prepare'.
In linux-yocto.inc, we have bc-native in DEPENDS. But we will
need nativesdk-bc in case we compile a kernel module inside
SDK.
(From OE-Core rev: aab8d528ceeb2ee1ab7cffdeff4007fd66275f1b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 95b5c89066baccb1e64bfba7d9a66feeeb086da9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
(From OE-Core rev: ff27ea21d7c14086335da5c3e2fac353e44438da)
(From OE-Core rev: 0624c7a77cfc7288fd3154624150b49adce8d8f8)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1596d37ba)
Signed-off-by: Nikhil R <nikhil.r@kpit.com>
Signed-off-by: Omkar Patil <omkarpatil10.93@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: f261daa8a04e97bfc932a72deedddbd87209daec)
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:
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>
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: 9102c625a6
(From OE-Core rev: e2db40ca49b8ed217f14c7f861087837e8b3f389)
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the path to bitbake.lock is in a deep directory, bitbake will hang. The
reason was that the max file length limiting code (to 255 chars) was including
the directory name and it should only act on the filename within the directory.
Fix it to just use the base filename.
[YOCTO #14766]
(Bitbake rev: e3db9c2e9eded3c5cb6040714a6054b44f6b3880)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89d70e7b71eecfe06592202f326e566c579ba01d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fetcher mirror code can go crazy creating lock filenames which exceed the
filesystem limits. When this happens, the code will loop/hang.
Handle the filename too long exception correctly but also truncate lockfile
lengths to under 256 since the worst case situation is lockfile overlap
and lack of parallelism.
(Bitbake rev: 30d42ef030d03e11322b6b05ea7bbb64ab3d6f21)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63baf3440b16e41ac6601de21ced94a94bdf1509)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 8f852648fe730615c99bcdaace8a4748ef4e96a5)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: fa89e048e223ae2e96d0f55979f93f29904b5229)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fix issue introduced in:
https://git.openembedded.org/openembedded-core/commit/?id=95fbac8dcad6c93f4c9737e9fe13e92ab6befa09
* 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]
(From OE-Core rev: 1f0e4de8d92edd7438d462c779d917ac0ccd5499)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: a39a32efd41c92a3ada49d667979c79101a4a2da)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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]
(From OE-Core rev: 1d047a1f19ea57f919180273589cdf7fb4dacaa3)
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: ad15d44b6c56ccbbe8e4c12717e7dfe3492a659a)
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
archive/tar: limit size of headers
Set a 1MiB limit on special file blocks (PAX headers, GNU long names,
GNU link names), to avoid reading arbitrarily large amounts of data
into memory.
Link: https://github.com/golang/go/commit/0a723816cd2
(From OE-Core rev: a8e2f91edfe2df5204a482c4e53fbdd08f80e878)
Signed-off-by: Sunil Kumar <sukumar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unless we're using systemd, dbus is not pulled into the system
automatically. Bluez5 will not work without dbus so add it to RDEPENDS
explicitly.
(From OE-Core rev: babcb7cd3bbefe9c0ea28e960e4fd6cefbc03cae)
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 377ef7009a8638efe688b6b61f67ae399eb1f23d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 590d8f2bdbb7ea558b9e99e58a1dae2b5eb58153)
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: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: f51a6742bcae3a151a326d17cd44935815eb78c7)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: 54bbfe94ae4514386c572564bf221edfdbb2ce38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the newer version of ssh in Ubuntu 22.04 we are getting errors of this type:
Unable to negotiate with 192.168.7.2 port 22: no matching host key type found. Their offer: ssh-rsa
Add -o HostKeyAlgorithms=+ssh-rsa to command invocation as suggested at:
http://www.openssh.com/legacy.html
(From OE-Core rev: 9275d23c782071382c201bca2d647f6426a64e2f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a UBOOT_MKIMAGE_SIGN_ARGS variable to enable passing additional
options to uboot-mkimage when it is run the second time to perform
signing.
(From OE-Core rev: fd39b936b03a6416e7a66408c47578daa2a08cf1)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8fd7ee7414b45a1feeef7982af3583475902a677)
Signed-off-by: Massimiliano Minella <massimiliano.minella@se.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:
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"
(From OE-Core rev: 285fdd43a20ccb12231bd36e5e75fe13ad2a32fd)
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:
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
(From OE-Core rev: 8cf29e02798b98ed8f5fe504cf5f10f63d491300)
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>
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.
(From OE-Core rev: aa9d0c2b777c10bb6c68b0232d54cbcd1af1493f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a0f3cb225e4d5471155abbcd05d09bd6bf1620f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid accidentally linking to the rbd library from the host by
adding a PACKAGECONFIG for the option.
(From OE-Core rev: bb32854dbe68335d834aaa80e42d6a524ea4e1b2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid accidentally linking to the vde library from the host by
adding a PACKAGECONFIG for the option.
(From OE-Core rev: cc979908beec8a40a636d00a1fdcf2769358377f)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Git has removed support for "git submodule--helper list".
31955475d1
This change provides an alternate method for gathering the submodules
information.
Tested:
Build recipes with and without submodules
(From OE-Core rev: 6c50d83af0af677c2dff864ac40c580ae446372b)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: 8f53bba4936b79dfe8dfa30216990b3d440150a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Security and bug fixes.
* Drop CVE-2021-28861.patch as it was merged in 3.8.14 release.
Fixes:
* CVE-2020-10735
https://nvd.nist.gov/vuln/detail/CVE-2020-10735
* CVE-2021-28861
https://nvd.nist.gov/vuln/detail/CVE-2021-28861
* CVE-2018-25032
https://nvd.nist.gov/vuln/detail/CVE-2018-25032
Python 3.8.14
Release Date: Sept. 6, 2022
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.
(From OE-Core rev: 25fafd35a4698daa0d4abb814a91601e68223128)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2022-39253 in git meant file:// urls within submodules were disabled. Add
a parameter to the commands in the tests to allow this to continue to work.
(Bitbake rev: 8ea8e443005ad92f4ad264d9abd9e90e33fb5c17)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a wrong reference no longer tolerated by Sphinx 5.x
(missing "bitbake:" prefix)
(From yocto-docs rev: 2359aff814f5faccffbf3cb2cd180979c248fc3c)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License names were updated in commit 2456f523cf (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.
(From OE-Core rev: 2a646cbdaca914e6f2c76ccb75065a811a9f94de)
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: 7a08f2ae1c12e3511b409c4535d2eab83a27b64a)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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!
(From OE-Core rev: 6227efbf03d2e7ca773ab29177705203f2550722)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create separate packages with firmware files for APQ8096 SoC and for
Adreno 2xx/4xx. Include A330 firmware into the 3xx package.
(From OE-Core rev: 705de0a585b9e6343075eb6af41b8f8972ee327d)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a0cb8f9131d1f238dc150e583a7ff816645765f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes a fix for CVE-2022-3234.
(From OE-Core rev: dabda290f3d40a9ef4f2b5720634280f712f554d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d6b54f37aa4db1457296b8981b630a49d251ceb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix telnetd crash if the first two bytes of a new connection
are 0xff 0xf7 (IAC EC) or 0xff 0xf8 (IAC EL).
CVE: CVE-2022-39028
(From OE-Core rev: 1c385e70d4bfab2334361ba82f29988bb11d6902)
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>
Updating to the latest korg -stable release that comprises
the following commits:
7e17397001a9 Linux 5.4.213
077041e486fe MIPS: loongson32: ls1c: Fix hang during startup
4e8d7039cf52 x86/nospec: Fix i386 RSB stuffing
64f9755b408b sch_sfb: Also store skb len before calling child enqueue
9d3237b5906c tcp: fix early ETIMEDOUT after spurious non-SACK RTO
19816a021468 nvme-tcp: fix UAF when detecting digest errors
a4f0d34580b6 RDMA/mlx5: Set local port to one when accessing counters
3df71e11a477 ipv6: sr: fix out-of-bounds read when setting HMAC data.
e7f78835d551 RDMA/siw: Pass a pointer to virt_to_page()
5332a0945148 i40e: Fix kernel crash during module removal
d488e2baf2ef tipc: fix shift wrapping bug in map_get()
279c7668e354 sch_sfb: Don't assume the skb is still around after enqueueing to child
a2f0ff5beee5 afs: Use the operation issue time instead of the reply time for callbacks
8077a50c8cce rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2()
36f7b71f8ad8 netfilter: nf_conntrack_irc: Fix forged IP logic
323b6847e509 netfilter: br_netfilter: Drop dst references before setting.
367a655f074b RDMA/hns: Fix supported page size
57b2897ec3ff soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
87fe1703bada RDMA/cma: Fix arguments order in net device validation
d80ad9991198 regulator: core: Clean up on enable failure
c108e2035151 ARM: dts: imx6qdl-kontron-samx6i: remove duplicated node
e192a08f6534 smb3: missing inode locks in punch hole
59c6902a96b4 cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock
13d67aadb1c9 cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree
059516952cc9 cgroup: Optimize single thread migration
d0e7be0dc9f2 scsi: lpfc: Add missing destroy_workqueue() in error path
5682c94644fd scsi: mpt3sas: Fix use-after-free warning
8d66989b5f7b nvmet: fix a use-after-free
9fc8c5fa4230 debugfs: add debugfs_lookup_and_remove()
0d895d2bb120 kprobes: Prohibit probes in gate area
0492798bf8df ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()
e275cf331824 ALSA: aloop: Fix random zeros in capture data when using jiffies timer
45321a7d02b7 ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc()
adbbc1a8c5ac drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctly
e1955cdd3122 fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init()
fcab25a6b0ac arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level
a3714415c449 parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines
dcf54e6cae9e parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()
c72d97146fc5 drm/radeon: add a force flush to delay work when radeon
ae2c6cc8fb21 drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.
bca46f2295fa drm/gem: Fix GEM handle release errors
bd2a3bff310e scsi: megaraid_sas: Fix double kfree()
944f276cbce4 USB: serial: ch341: fix disabled rx timer on older devices
f0003ab97a07 USB: serial: ch341: fix lost character on LCR updates
d288c6383a8e usb: dwc3: disable USB core PHY management
9c670d0bb144 usb: dwc3: fix PHY disable sequence
9ab0c653ef03 btrfs: harden identification of a stale device
4e5ba186d9cf drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk
3af1316df747 ALSA: seq: Fix data-race at module auto-loading
4fa63d526c87 ALSA: seq: oss: Fix data-race for max_midi_devs access
82a86f82bc67 net: mac802154: Fix a condition in the receive path
d228b897b813 ip: fix triggering of 'icmp redirect'
66689c5c02ac wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected
1142f04f920c driver core: Don't probe devices after bus_type.match() probe deferral
bb87fe79bc2c usb: gadget: mass_storage: Fix cdrom data transfers on MAC-OS
df1875084898 USB: core: Prevent nested device-reset calls
87b47c7f9f95 s390: fix nospec table alignments
b604e79fba12 s390/hugetlb: fix prepare_hugepage_range() check for 2 GB hugepages
33f8f8302473 usb-storage: Add ignore-residue quirk for NXP PN7462AU
e2e153bb6d69 USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020)
8ef85884f441 usb: dwc2: fix wrong order of phy_power_on and phy_init
08f27a242898 usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles
1abdc68b49c7 USB: serial: option: add support for Cinterion MV32-WA/WB RmNet mode
3cd8e3448eac USB: serial: option: add Quectel EM060K modem
b988c14d7c82 USB: serial: option: add support for OPPO R11 diag port
234fd17306cb USB: serial: cp210x: add Decagon UCA device id
0143b573612f xhci: Add grace period after xHC start to prevent premature runtime suspend.
c7e5a90eee5f thunderbolt: Use the actual buffer in tb_async_error()
cb2684e906f9 gpio: pca953x: Add mutex_lock for regcache sync in PM
7756eb1ed124 hwmon: (gpio-fan) Fix array out of bounds access
979fe68b2e39 clk: bcm: rpi: Fix error handling of raspberrypi_fw_get_rate
389a45dc06dd Input: rk805-pwrkey - fix module autoloading
1929a5275ecb clk: core: Fix runtime PM sequence in clk_core_unprepare()
577b32abfd51 Revert "clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops"
582e87c6bbf2 clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops
5d4acadcdf26 drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"
bc37b0570220 usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup
30d0901b307f binder: fix UAF of ref->proc caused by race condition
b30dd08fd5aa USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id
f8632b8bb53e misc: fastrpc: fix memory corruption on open
ec186b9f4aa2 misc: fastrpc: fix memory corruption on probe
0d90ef874966 iio: adc: mcp3911: use correct formula for AD conversion
d186c65599bf Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag
a6b7e8d97530 tty: serial: lpuart: disable flow control while waiting for the transmit engine to complete
1cf1930369c9 vt: Clear selection before changing the font
214877169e5b powerpc: align syscall table for ppc32
d0aac7146e96 staging: rtl8712: fix use after free bugs
a65a2a33c6d0 serial: fsl_lpuart: RS485 RTS polariy is inverse
ae5e8d0baa0a net/smc: Remove redundant refcount increase
47e679431613 Revert "sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb"
91ecfbcd8dc1 tcp: annotate data-race around challenge_timestamp
f8a94fdf0288 sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb
0946ff31d1a8 kcm: fix strp_init() order and cleanup
02986e1bb63e ethernet: rocker: fix sleep in atomic context bug in neigh_timer_handler
fffa19b5e58c net: sched: tbf: don't call qdisc_put() while holding tree lock
e1ba258dac0b Revert "xhci: turn off port power in shutdown"
2dca3c61269b wifi: cfg80211: debugfs: fix return type in ht40allow_map_read()
bed12d7531df ieee802154/adf7242: defer destroy_workqueue call
ddc6e823218f iio: adc: mcp3911: make use of the sign bit
630a97e4da75 platform/x86: pmc_atom: Fix SLP_TYPx bitfield mask
765497cc748d drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfg
fced8363b460 drm/msm/dsi: fix the inconsistent indenting
83b25f9eb243 net: dp83822: disable false carrier interrupt
007541bc27c2 Revert "mm: kmemleak: take a full lowmem check in kmemleak_*_phys()"
96f09cd54472 fs: only do a memory barrier for the first set_buffer_uptodate()
d51e1682faec net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()
f4c4637a3836 wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd()
8028ff4cdbb3 efi: capsule-loader: Fix use-after-free in efi_capsule_write
(From OE-Core rev: ef38f7acee3f0ae400138fa60f4695a86dffc16e)
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:
d6deb370b5a5 Linux 5.4.212
0052348329c9 net: neigh: don't call kfree_skb() under spin_lock_irqsave()
25a80e728412 net/af_packet: check len when min_header_len equals to 0
fc78b2fc21f1 io_uring: disable polling pollfree files
b474ff1b2095 kprobes: don't call disarm_kprobe() for disabled kprobes
6fbc49b7f007 lib/vdso: Mark do_hres() and do_coarse() as __always_inline
2161d3c12c74 lib/vdso: Let do_coarse() return 0 to simplify the callsite
06ebb40b8720 btrfs: tree-checker: check for overlapping extent items
63c790584031 netfilter: conntrack: NF_CONNTRACK_PROCFS should no longer default to y
5c5cd52ab09d drm/amd/display: Fix pixel clock programming
c570198c3d9e s390/hypfs: avoid error message under KVM
51be9dd391fd neigh: fix possible DoS due to net iface start/stop loop
814b756d4ec3 drm/amd/display: clear optc underflow before turn off odm clock
a06e4eb65169 drm/amd/display: Avoid MPC infinite loop
2608885a4f7e btrfs: unify lookup return value when dir entry is missing
1fe3375cf2be btrfs: do not pin logs too early during renames
e9b4baabf852 btrfs: introduce btrfs_lookup_match_dir
2fe3eee48899 mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse
8b68e53d5669 bpf: Don't redirect packets with invalid pkt_len
934e49f7d696 ftrace: Fix NULL pointer dereference in is_ftrace_trampoline when ftrace is dead
7d9591b32a90 fbdev: fb_pm2fb: Avoid potential divide by zero error
53c7c4d5d40b HID: hidraw: fix memory leak in hidraw_release()
466b67c0543b media: pvrusb2: fix memory leak in pvr_probe
63d8c1933ed2 udmabuf: Set the DMA mask for the udmabuf device (v2)
fa2b822d86be HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report
6551fbe25853 Bluetooth: L2CAP: Fix build errors in some archs
adc7640e1931 kbuild: Fix include path in scripts/Makefile.modpost
80a7fe2b7012 x86/bugs: Add "unknown" reporting for MMIO Stale Data
09602177d80c s390/mm: do not trigger write fault when vma does not allow VM_WRITE
c9c5501e8151 mm: Force TLB flush for PFNMAP mappings before unlink_file_vma()
b4c928ace9a1 scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq
2045b9d30619 perf/x86/intel/uncore: Fix broken read_counter() for SNB IMC PMU
8e7fb19f1a74 md: call __md_stop_writes in md_stop
f35c4fec07a2 mm/hugetlb: fix hugetlb not supporting softdirty tracking
f09c1b80df55 ACPI: processor: Remove freq Qos request for all CPUs
cacd522e6652 s390: fix double free of GS and RI CBs on fork() failure
c3862f559265 asm-generic: sections: refactor memory_intersects
13b2856037a6 loop: Check for overflow while configuring loop
2668aeac01ac x86/unwind/orc: Unwind ftrace trampolines with correct ORC entry
dd3365d3b496 btrfs: check if root is readonly while setting security xattr
5b44dcf8b79b btrfs: add info when mount fails due to stale replace target
40554fa41a78 btrfs: replace: drop assert for suspended replace
201bb5d745ae btrfs: fix silent failure when deleting root reference
571a13b35005 ixgbe: stop resetting SYSTIME in ixgbe_ptp_start_cyclecounter
aa0a3f72c6da net: Fix a data-race around sysctl_somaxconn.
923fa41adebd net: Fix a data-race around netdev_budget_usecs.
adeb24afd2fd net: Fix a data-race around netdev_budget.
575c57e9e00c net: Fix a data-race around sysctl_net_busy_read.
6e8f9df62dbe net: Fix a data-race around sysctl_net_busy_poll.
5da0632c07d4 net: Fix a data-race around sysctl_tstamp_allow_data.
4482215f93d2 ratelimit: Fix data-races in ___ratelimit().
a90afeab21ae net: Fix data-races around netdev_tstamp_prequeue.
c1d0ef0e6f11 net: Fix data-races around weight_p and dev_weight_[rt]x_bias.
dbd0f1991adf netfilter: nft_tunnel: restrict it to netdev family
fba05d250256 netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet families
a2ce367ae743 netfilter: nft_payload: do not truncate csum_offset and csum_type
870015352911 netfilter: nft_payload: report ERANGE for too long offset and length
bc7ba4cd0bc3 bnxt_en: fix NQ resource accounting during vf creation on 57500 chips
160c4eb47db0 netfilter: ebtables: reject blobs that don't provide all entry points
8b9155eae85d net: ipvtap - add __init/__exit annotations to module init/exit funcs
1498077d562f bonding: 802.3ad: fix no transmission of LACPDUs
ac3541b11e5b net: moxa: get rid of asymmetry in DMA mapping/unmapping
eb8236dff703 net/mlx5e: Properly disable vlan strip on non-UL reps
6e4b20d548fc rose: check NULL rose_loopback_neigh->loopback
4c14faf16632 SUNRPC: RPC level errors should set task->tk_rpc_status
8ee27a4f0f1a af_key: Do not call xfrm_probe_algs in parallel
63da7a2bbf3f xfrm: fix refcount leak in __xfrm_policy_check()
a9f94dc4ddee kernel/sched: Remove dl_boosted flag comment
d2b65976bf1a sched/deadline: Fix priority inheritance with multiple scheduling classes
c498c8cbc271 sched/deadline: Fix stale throttling on de-/boosted tasks
184c8ab53424 sched/deadline: Unthrottle PI boosted threads while enqueuing
71b7edfc76d2 pinctrl: amd: Don't save/restore interrupt status and wake status bits
8e52d0c57d5f Revert "selftests/bpf: Fix test_align verifier log patterns"
2b13ddc9e0e3 Revert "selftests/bpf: Fix "dubious pointer arithmetic" test"
a89c4b5868cb usb: cdns3: Fix issue for clear halt endpoint
87b41b041cd4 kernel/sys_ni: add compat entry for fadvise64_64
945dc19778f6 parisc: Fix exception handler for fldw and fstw instructions
bb415d2687ac audit: fix potential double free on error path from fsnotify_add_inode_mark
684cc17be897 Linux 5.4.211
473f43725bb7 btrfs: raid56: don't trust any cached sector in __raid56_parity_recover()
6fd4cea04400 btrfs: only write the sectors in the vertical stripe which has data stripes
04e41b6bacf4 can: j1939: j1939_session_destroy(): fix memory leak of skbs
18e0ab31b028 can: j1939: j1939_sk_queue_activate_next_locked(): replace WARN_ON_ONCE with netdev_warn_once()
5c9637279f65 tracing/probes: Have kprobes and uprobes use $COMM too
5d8244d42d34 MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0
2b7f559152a3 video: fbdev: i740fb: Check the argument of i740_calc_vclk()
5e14b04c8459 powerpc/64: Init jump labels before parse_early_param()
720f6112c393 smb3: check xattr value length earlier
29e734ec33ae f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page()
dd9d894b4163 ALSA: timer: Use deferred fasync helper
76f87b11a4b2 ALSA: core: Add async signal helpers
f4159834d17f powerpc/32: Don't always pass -mcpu=powerpc to the compiler
d78d0ee79bb8 watchdog: export lockup_detector_reconfigure
814d83c5e127 RISC-V: Add fast call path of crash_kexec()
812cb21259ad riscv: mmap with PROT_WRITE but no PROT_READ is invalid
1b49707df679 mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start
3e6994735c1c vfio: Clear the caps->buf to NULL after free
ca3fc1c38e42 tty: serial: Fix refcount leak bug in ucc_uart.c
3c0efcd608f1 lib/list_debug.c: Detect uninitialized lists
a6805b3dcf5c ext4: avoid resizing to a partial cluster size
5bebfd607726 ext4: avoid remove directory when directory is corrupted
f5d46f1b47f6 drivers:md:fix a potential use-after-free bug
7a2fe1594689 nvmet-tcp: fix lockdep complaint on nvmet_tcp_wq flush during queue teardown
0bf3dcfb0396 dmaengine: sprd: Cleanup in .remove() after pm_runtime_get_sync() failed
d13b990d4fbe selftests/kprobe: Do not test for GRP/ without event failures
082da6a9c30f um: add "noreboot" command line option for PANIC_TIMEOUT=-1 setups
c3ce788be376 PCI/ACPI: Guard ARM64-specific mcfg_quirks
695af60af755 cxl: Fix a memory leak in an error handling path
ca06b4cde54f gadgetfs: ep_io - wait until IRQ finishes
927907f1cbb3 scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input
d401611a93b3 clk: qcom: ipq8074: dont disable gcc_sleep_clk_src
f78ac62e6b9d vboxguest: Do not use devm for irq
cfa8f707a58d usb: renesas: Fix refcount leak bug
0334d23c56ec usb: host: ohci-ppc-of: Fix refcount leak bug
b743d6cef4f1 drm/meson: Fix overflow implicit truncation warnings
29b30e041376 irqchip/tegra: Fix overflow implicit truncation warnings
e2d531806569 usb: gadget: uvc: call uvc uvcg_warn on completed status instead of uvcg_info
e65d9b7147d7 usb: cdns3 fix use-after-free at workaround 2
e7170b5a2826 PCI: Add ACS quirk for Broadcom BCM5750x NICs
d58ef2567813 drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
d0c4307aeae5 locking/atomic: Make test_and_*_bit() ordered on failure
90fb514a1656 gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file
55197ba6d64d igb: Add lock to avoid data race
44b406aab057 fec: Fix timer capture timing in `fec_ptp_enable_pps()`
f861285de84b i40e: Fix to stop tx_timeout recovery if GLOBR fails
781212b34447 ice: Ignore EEXIST when setting promisc mode
545ec873f16e net: dsa: microchip: ksz9477: fix fdb_dump last invalid entry
b360ce159cb1 net: moxa: pass pdev instead of ndev to DMA functions
cb1753bc689c net: dsa: mv88e6060: prevent crash on an unused port
ccb0a42d3f40 powerpc/pci: Fix get_phb_number() locking
b5dd26e07397 netfilter: nf_tables: really skip inactive sets when allocating name
f415fda65931 clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks
ff289f2be589 iavf: Fix adminq error handling
2b4daaed4f57 nios2: add force_successful_syscall_return()
d6d9dd2cc325 nios2: restarts apply only to the first sigframe we build...
01e783b45e3b nios2: fix syscall restart checks
9e9151768bde nios2: traced syscall does need to check the syscall number
73c088373234 nios2: don't leave NULLs in sys_call_table[]
86a89da5cdbd nios2: page fault et.al. are *not* restartable syscalls...
965333345fe9 tee: add overflow check in register_shm_helper()
cfa215a76a40 dpaa2-eth: trace the allocated address instead of page struct
9a6cbaa50f26 atm: idt77252: fix use-after-free bugs caused by tst_timer
2f14656fe1a8 xen/xenbus: fix return type in xenbus_file_read()
c61d3b92f56a nfp: ethtool: fix the display error of `ethtool -m DEVNAME`
a1d13886fd2e NTB: ntb_tool: uninitialized heap data in tool_fn_write()
215cbd3c0d40 tools build: Switch to new openssl API for test-libcrypto
a91204264ebd tools/vm/slabinfo: use alphabetic order when two values are equal
12f777a957be dt-bindings: arm: qcom: fix MSM8916 MTP compatibles
0ecc55feceb1 vsock: Set socket state back to SS_UNCONNECTED in vsock_connect_timeout()
f82f1e2042b3 vsock: Fix memory leak in vsock_connect()
f4f2acf01298 plip: avoid rcu debug splat
85b5747321ed geneve: do not use RT_TOS for IPv6 flowlabel
760a01c36b83 ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool
49c1ae5fc8dd pinctrl: sunxi: Add I/O bias setting for H6 R-PIO
b0de3436ca57 pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed
c26012a1e61c pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
ac6d4482f29a net: bgmac: Fix a BUG triggered by wrong bytes_compl
1ad4ba9341f1 devlink: Fix use-after-free after a failed reload
c1bdc6de5178 SUNRPC: Reinitialise the backchannel request buffers before reuse
b0e283987358 sunrpc: fix expiry of auth creds
0a901c2f7fa7 can: mcp251x: Fix race condition on receive interrupt
f7ee3b772d9d NFSv4/pnfs: Fix a use-after-free bug in open
14b5a92e3398 NFSv4.1: RECLAIM_COMPLETE must handle EACCES
89dd9bec6630 NFSv4: Fix races in the legacy idmapper upcall
e7eba28ba774 NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly
68a84001f7a2 NFSv4.1: Don't decrease the value of seq_nr_highest_sent
2c8477600cd6 Documentation: ACPI: EINJ: Fix obsolete example
7db182a2ebee apparmor: Fix memleak in aa_simple_write_to_buffer()
ef6fb6f0d0d8 apparmor: fix reference count leak in aa_pivotroot()
7f6092dc8f7a apparmor: fix overlapping attachment computation
98ab8dfa048b apparmor: fix aa_label_asxprint return check
1b4c44823a13 apparmor: Fix failed mount permission check error message
825b0f6bb035 apparmor: fix absroot causing audited secids to begin with =
dd78c35a27d4 apparmor: fix quiet_denied for file rules
45be56968d6e can: ems_usb: fix clang's -Wunaligned-access warning
f67c43e4b131 tracing: Have filter accept "common_cpu" to be consistent
90b0526dd82a btrfs: fix lost error handling when looking up extended ref on log replay
d33e770f0a56 mmc: pxamci: Fix an error handling path in pxamci_probe()
6db5285844c4 mmc: pxamci: Fix another error handling path in pxamci_probe()
b1b2b8adb0eb ata: libata-eh: Add missing command name
70e0c8a454e2 rds: add missing barrier to release_refill
d040e85ae959 ALSA: info: Fix llseek return value when using callback
992480132ed3 net_sched: cls_route: disallow handle of 0
7d9d0ba99c47 net/9p: Initialize the iounit field during fid creation
13e17a18a46b Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regression
4d5e45fdf048 Revert "net: usb: ax88179_178a needs FLAG_SEND_ZLP"
f135c65085ee scsi: sg: Allow waiting for commands to complete on removed device
cf218ff991ce tcp: fix over estimation in sk_forced_mem_schedule()
8cdba919acef KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
8fb5e7760444 KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
4c08dd3fbdc5 KVM: Add infrastructure and macro to mark VM as bugged
8659026858e0 btrfs: reject log replay if there is unsupported RO compat flag
1fcd691cc2e7 net_sched: cls_route: remove from list when handle is 0
b12304984654 iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE)
18048cba444a firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
7c77d1f9ba11 timekeeping: contribute wall clock to rng on time change
5e0fcc5ad3e0 ACPI: CPPC: Do not prevent CPPC from working in the future
2c7e93e33832 dm writecache: set a default MAX_WRITEBACK_JOBS
05cef0999b32 dm thin: fix use-after-free crash in dm_sm_register_threshold_callback
cb583ca6125a dm raid: fix address sanitizer warning in raid_status
71f601c779b3 dm raid: fix address sanitizer warning in raid_resume
2f2fa48c9f98 intel_th: pci: Add Meteor Lake-P support
ab1f9cb5001c intel_th: pci: Add Raptor Lake-S PCH support
0d8fd1fa178f intel_th: pci: Add Raptor Lake-S CPU support
8887ef07ff55 ext4: correct the misjudgment in ext4_iget_extra_inode
be9614e15eec ext4: correct max_inline_xattr_value_size computing
b9a2dfd1a0c8 ext4: fix extent status tree race in writeback error recovery path
b10b2122d709 ext4: update s_overhead_clusters in the superblock during an on-line resize
9d1468732118 ext4: fix use-after-free in ext4_xattr_set_entry
41ff115b14b6 ext4: make sure ext4_append() always allocates new block
748d17d47687 ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h
025604c7023b btrfs: reset block group chunk force if we have to wait
cf8927ce6619 tpm: eventlog: Fix section mismatch for DEBUG_SECTION_MISMATCH
61a1793b058a kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification
37690cb8662c spmi: trace: fix stack-out-of-bound access in SPMI tracing functions
91d11a3376e0 x86/olpc: fix 'logical not is only applied to the left hand side'
42afeecce25e scsi: qla2xxx: Fix erroneous mailbox timeout after PCI error injection
d2e82c78e352 scsi: qla2xxx: Turn off multi-queue for 8G adapters
83cb0fb8482b scsi: qla2xxx: Fix discovery issues in FC-AL topology
bc98764d80ee scsi: zfcp: Fix missing auto port scan and thus missing target ports
eacb50f17336 video: fbdev: s3fb: Check the size of screen before memset_io()
53198b81930e video: fbdev: arkfb: Check the size of screen before memset_io()
d71528ccdc7a video: fbdev: vt8623fb: Check the size of screen before memset_io()
09777c16a0f4 tools/thermal: Fix possible path truncations
a249e1b89ca2 video: fbdev: arkfb: Fix a divide-by-zero bug in ark_set_pixclock()
46513b4a8038 x86/numa: Use cpumask_available instead of hardcoded NULL check
26d2d13d9fc3 scripts/faddr2line: Fix vmlinux detection on arm64
563ffb782da7 genelf: Use HAVE_LIBCRYPTO_SUPPORT, not the never defined HAVE_LIBCRYPTO
9813d27d596b powerpc/pci: Fix PHB numbering when using opal-phbid
6a119c1a584a kprobes: Forbid probing on trampoline and BPF code areas
cc53477d8926 perf symbol: Fail to read phdr workaround
f388643657cd powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address
d99733ad47a6 powerpc/xive: Fix refcount leak in xive_get_max_prio
14329d29a048 powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader
3ec50b8a0128 powerpc/pci: Prefer PCI domain assignment via DT 'linux,pci-domain' and alias
44a43b65d7e1 powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32
ddaa8cc5a6bb video: fbdev: sis: fix typos in SiS_GetModeID()
49a4c1a87ef8 video: fbdev: amba-clcd: Fix refcount leak bugs
a9286ff4c19f watchdog: armada_37xx_wdt: check the return value of devm_ioremap() in armada_37xx_wdt_probe()
ba406e310041 ASoC: audio-graph-card: Add of_node_put() in fail path
bb1cc434df08 fuse: Remove the control interface for virtio-fs
083984627411 ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp()
3edcd1348ba7 s390/zcore: fix race when reading from hardware system area
50be644f7ddd iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop
b948ff8a9e9a mfd: max77620: Fix refcount leak in max77620_initialise_fps
8d01edaf9eea mfd: t7l66xb: Drop platform disable callback
b45bcdf627a9 kfifo: fix kfifo_to_user() return type
8ee5d40ae29e rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge
9a87a532848a iommu/exynos: Handle failed IOMMU device registration properly
44913ccfa1d5 tty: n_gsm: fix missing corner cases in gsmld_poll()
ae9bfcbfd76a tty: n_gsm: fix DM command
b625b745497f tty: n_gsm: fix wrong T1 retry count handling
373343d8a796 vfio/ccw: Do not change FSM state in subchannel event
51642e132859 remoteproc: qcom: wcnss: Fix handling of IRQs
fbf979564682 tty: n_gsm: fix race condition in gsmld_write()
597bec4a4cc0 tty: n_gsm: fix packet re-transmission without open control channel
ba10f6c2f079 tty: n_gsm: fix non flow control frames during mux flow off
8b355d6b1fcf profiling: fix shift too large makes kernel panic
8791703eddf4 ASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLV
ba4d971fe11a ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV
34734e4c526a serial: 8250_dw: Store LSR into lsr_saved_flags in dw8250_tx_wait_empty()
79f566907d27 ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe
4f97b5bb81be ASoC: codecs: da7210: add check for i2c_add_driver
b488ceb23369 ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe
d6d41f04640d ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe
d3f15a4be209 opp: Fix error check in dev_pm_opp_attach_genpd()
fa5b65d39332 jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal aborted
fc1ec67ba503 ext4: recover csum seed of tmp_inode after migrating to extents
36a88efe8747 jbd2: fix outstanding credits assert in jbd2_journal_commit_transaction()
242303bf7fe0 null_blk: fix ida error handling in null_add_dev()
b348e204a531 RDMA/rxe: Fix error unwind in rxe_create_qp()
38403d143d1f mm/mmap.c: fix missing call to vm_unacct_memory in mmap_region
d3beb91c99d1 platform/olpc: Fix uninitialized data in debugfs write
358db0ebec41 USB: serial: fix tty-port initialized comments
06f56d9e7470 PCI: tegra194: Fix link up retry sequence
f916f6e03955 PCI: tegra194: Fix Root Port interrupt handling
ed44d9ce8c37 HID: alps: Declare U1_UNICORN_LEGACY support
46f545821144 mmc: cavium-thunderx: Add of_node_put() when breaking out of loop
d0cc1ba2be1c mmc: cavium-octeon: Add of_node_put() when breaking out of loop
b100b0b0026a gpio: gpiolib-of: Fix refcount bugs in of_mm_gpiochip_add_data()
2f90813f1c21 RDMA/hfi1: fix potential memory leak in setup_base_ctxt()
11edf0bba15e RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY event
fb9193af53a3 RDMA/hns: Fix incorrect clearing of interrupt status register
414849317b36 usb: gadget: udc: amd5536 depends on HAS_DMA
bc6f609401c4 scsi: smartpqi: Fix DMA direction for RAID requests
b1b803495374 mmc: sdhci-of-at91: fix set_uhs_signaling rewriting of MC1R
9d8b911fe3c3 memstick/ms_block: Fix a memory leak
830c38ec9aca memstick/ms_block: Fix some incorrect memory allocation
4c472a2c9ed6 mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch
6bb0f109660a staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback
b5d924cb4c7b intel_th: msu: Fix vmalloced buffers
d81195c47465 intel_th: msu-sink: Potential dereference of null pointer
859342220acc intel_th: Fix a resource leak in an error handling path
3771ee6c46ad soundwire: bus_type: fix remove and shutdown support
2fcb7182dee9 clk: qcom: camcc-sdm845: Fix topology around titan_top power domain
7dc9eb967a47 clk: qcom: ipq8074: set BRANCH_HALT_DELAY flag for UBI clocks
5780dde5104f clk: qcom: ipq8074: fix NSS port frequency tables
15f4d52835b7 usb: host: xhci: use snprintf() in xhci_decode_trb()
7cfb3120ecf2 clk: qcom: clk-krait: unlock spin after mux completion
8191b6cd9ada driver core: fix potential deadlock in __driver_attach
be8f7c44d5af misc: rtsx: Fix an error handling path in rtsx_pci_probe()
507cabdb3692 clk: mediatek: reset: Fix written reset bit offset
9ecabd76bfc7 usb: xhci: tegra: Fix error check
65d36ec409b6 usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
8cbc3870ff35 usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
8e88b4257532 fpga: altera-pr-ip: fix unsigned comparison with less than zero
44ffee3979d6 mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path
f3cc27198c5d mtd: partitions: Fix refcount leak in parse_redboot_of
a1cdbd344f86 mtd: sm_ftl: Fix deadlock caused by cancel_work_sync in sm_release
519ff31a6ddd HID: cp2112: prevent a buffer overflow in cp2112_xfer()
1367f4a3e6b5 mtd: rawnand: meson: Fix a potential double free issue
80b1465b2ae8 mtd: maps: Fix refcount leak in ap_flash_init
9124d51e0123 mtd: maps: Fix refcount leak in of_flash_probe_versatile
e0012773af09 clk: renesas: r9a06g032: Fix UART clkgrp bitsel
51fb8c2c106b dccp: put dccp_qpolicy_full() and dccp_qpolicy_push() in the same lock
d3b292263731 net: rose: fix netdev reference changes
34b88491b4de netdevsim: Avoid allocation warnings triggered from user space
9d9e0d55601d iavf: Fix max_rate limiting
50a7949fd9ea crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of
439297ec5c05 net/mlx5e: Fix the value of MLX5E_MAX_RQ_NUM_MTTS
878e7f39803a wifi: libertas: Fix possible refcount leak in if_usb_probe()
5cca5f714fe6 wifi: iwlwifi: mvm: fix double list_add at iwl_mvm_mac_wake_tx_queue
52b11a48cf07 wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`
becbc82919bc i2c: mux-gpmux: Add of_node_put() when breaking out of loop
6d9f3128c0ee i2c: cadence: Support PEC for SMBus block read
80df14022cec Bluetooth: hci_intel: Add check for platform_driver_register
26168f0656a3 can: pch_can: pch_can_error(): initialize errc before using it
a025f6ca15b2 can: error: specify the values of data[5..7] of CAN error frames
61bcc556ff8c can: usb_8dev: do not report txerr and rxerr during bus-off
d8833eaa5f37 can: kvaser_usb_leaf: do not report txerr and rxerr during bus-off
a37e2bad7635 can: kvaser_usb_hydra: do not report txerr and rxerr during bus-off
80b135a02389 can: sun4i_can: do not report txerr and rxerr during bus-off
d20bf7e76136 can: hi311x: do not report txerr and rxerr during bus-off
e94369cdc038 can: sja1000: do not report txerr and rxerr during bus-off
5b9d4919a7d7 can: rcar_can: do not report txerr and rxerr during bus-off
4cb29f25b215 can: pch_can: do not report txerr and rxerr during bus-off
ecbdb2985e08 selftests/bpf: fix a test for snprintf() overflow
e134d998a98c wifi: p54: add missing parentheses in p54_flush()
6942c45a2270 wifi: p54: Fix an error handling path in p54spi_probe()
60c998342516 wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()
72d9ce5b085a fs: check FMODE_LSEEK to control internal pipe splicing
8cf6e837dcfc selftests: timers: clocksource-switch: fix passing errors from child
2f243fe8db21 selftests: timers: valid-adjtimex: build fix for newer toolchains
8ebe6121e7cc libbpf: Fix the name of a reused map
fd35e34ece33 tcp: make retransmitted SKB fit into the send window
6296d09d2b21 drm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed.
1ae9edf7e875 mediatek: mt76: mac80211: Fix missing of_node_put() in mt76_led_init()
e86a88d39cc7 media: platform: mtk-mdp: Fix mdp_ipi_comm structure alignment
cf411bcc657b crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq
2e34d6c8180a drm/msm/mdp5: Fix global state lock backoff
5d4128a163a9 drm: bridge: sii8620: fix possible off-by-one
3a7ebe131ca9 drm/mediatek: dpi: Only enable dpi after the bridge is enabled
42c8e38e8620 drm/mediatek: dpi: Remove output format of YUV
0f214563ab6d drm/rockchip: Fix an error handling path rockchip_dp_probe()
3345fd35335f drm/rockchip: vop: Don't crash for invalid duplicate_state()
9f64fb45514a crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE
b53cbaf9b3b3 drm/vc4: dsi: Correct DSI divider calculations
120161c12731 drm/vc4: plane: Fix margin calculations for the right/bottom edges
84f638fbf83c drm/vc4: plane: Remove subpixel positioning check
59340f399c0a media: hdpvr: fix error value returns in hdpvr_read
87c35bbefdfa drm/mcde: Fix refcount leak in mcde_dsi_bind
289079d6c5f0 drm: bridge: adv7511: Add check for mipi_dsi_driver_register
73304c759408 wifi: iwlegacy: 4965: fix potential off-by-one overflow in il4965_rs_fill_link_cmd()
e9e21206b8ea ath9k: fix use-after-free in ath9k_hif_usb_rx_cb
fef3261630eb media: tw686x: Register the irq at the end of probe
871a1e94929a i2c: Fix a potential use after free
127ecd6b1f17 drm: adv7511: override i2c address of cec before accessing it
8cdf42c7baa6 drm/mediatek: Add pull-down MIPI operation in mtk_dsi_poweroff function
db1a9add3f90 drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers()
6a5ade10a38e drm/mipi-dbi: align max_chunk to 2 in spi_transfer
f52b31ecaf59 wifi: rtlwifi: fix error codes in rtl_debugfs_set_write_h2c()
c59876f8c982 ath10k: do not enforce interrupt trigger type
08cc3995fb6b dm: return early from dm_pr_call() if DM device is suspended
bc4e8b95c407 thermal/tools/tmon: Include pthread and time headers in tmon.h
91732a2794bb nohz/full, sched/rt: Fix missed tick-reenabling bug in dequeue_task_rt()
35f9e861d9b9 regulator: of: Fix refcount leak bug in of_get_regulation_constraints()
52e1f85bf7de blk-mq: don't create hctx debugfs dir until q->debugfs_dir is created
bee4d2ab4db5 erofs: avoid consecutive detection for Highmem memory
62060951ccb9 arm64: dts: mt7622: fix BPI-R64 WPS button
850167439429 bus: hisi_lpc: fix missing platform_device_put() in hisi_lpc_acpi_probe()
3d698238584c ARM: dts: qcom: pm8841: add required thermal-sensor-cells
bc73c72a856c soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register
a530fa52d4fd cpufreq: zynq: Fix refcount leak in zynq_get_revision
c4f92af7fc8c ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init
935035cf97c8 ARM: OMAP2+: Fix refcount leak in omapdss_init_of
b95e19f1ec73 ARM: dts: qcom: mdm9615: add missing PMIC GPIO reg
1f0448cb8a44 soc: fsl: guts: machine variable might be unset
1e9cc69eae6d ARM: dts: ast2600-evb: fix board compatible
4a4bb53e635b ARM: dts: ast2500-evb: fix board compatible
0b7f674c12c0 x86/pmem: Fix platform-device leak in error path
5afe042c8894 ARM: bcm: Fix refcount leak in bcm_kona_smc_init
6b28bf3e044f meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init
ef5102a0a724 ARM: findbit: fix overflowing offset
c7835f93db67 spi: spi-rspi: Fix PIO fallback on RZ platforms
90bdf50ae70c selinux: Add boundary check in put_entry()
3c48d3067eaf PM: hibernate: defer device probing when resuming from hibernation
930e7b260e6a ARM: shmobile: rcar-gen2: Increase refcount for new reference
a770da1866ac arm64: dts: allwinner: a64: orangepi-win: Fix LED node name
5f1510dd2fc9 arm64: dts: qcom: ipq8074: fix NAND node name
308bb82c61b7 ACPI: LPSS: Fix missing check in register_device_clock()
b61119d0850e ACPI: PM: save NVS memory for Lenovo G40-45
81abef841f32 ACPI: EC: Remove duplicate ThinkPad X1 Carbon 6th entry from DMI quirks
3e505298a75f ARM: OMAP2+: display: Fix refcount leak bug
749ee1c4c35a spi: synquacer: Add missing clk_disable_unprepare()
f7e6740e1e45 ARM: dts: imx6ul: fix qspi node compatible
5db7e1796d41 ARM: dts: imx6ul: fix lcdif node compatible
82cff0cf7141 ARM: dts: imx6ul: fix csi node compatible
667023a28419 ARM: dts: imx6ul: change operating-points to uint32-matrix
a6e620361617 ARM: dts: imx6ul: add missing properties for sram
bd80dd86f9bf wait: Fix __wait_event_hrtimeout for RT/DL tasks
3fb368c0ae39 genirq: Don't return error on missing optional irq_request_resources()
b3f423683818 ext2: Add more validity checks for inode counts
04549063d570 arm64: fix oops in concurrently setting insn_emulation sysctls
fa09c3926583 arm64: Do not forget syscall when starting a new thread.
c5940c082185 x86: Handle idle=nomwait cmdline properly for x86_idle
cf2db24ec4b8 epoll: autoremove wakers even more aggressively
a452bc3deb23 netfilter: nf_tables: fix null deref due to zeroed list head
4dad1c820771 netfilter: nf_tables: do not allow RULE_ID to refer to another chain
fab2f61cc3b0 netfilter: nf_tables: do not allow SET_ID to refer to another table
cc525d667b3f arm64: dts: uniphier: Fix USB interrupts for PXs3 SoC
57e2c8444529 ARM: dts: uniphier: Fix USB interrupts for PXs2 SoC
5d952c7ae339 USB: HCD: Fix URB giveback issue in tasklet function
e9205d8dd1ca coresight: Clear the connection field properly
274e44e21234 MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
dbd005901840 powerpc/powernv: Avoid crashing if rng is NULL
5b8f55bc0526 powerpc/ptdump: Fix display of RW pages on FSL_BOOK3E
28a6d14ba60a powerpc/fsl-pci: Fix Class Code of PCIe Root Port
9293b7ee5297 PCI: Add defines for normal and subtractive PCI bridges
8c3ae6b1d76c ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr()
ce839b9331c1 md-raid10: fix KASAN warning
ecd489683a74 serial: mvebu-uart: uart2 error bits clearing
d11e3f4fdc90 fuse: limit nsec
ed43fb20d3d1 iio: light: isl29028: Fix the warning in isl29028_remove()
a5b8aad54824 drm/amdgpu: Check BO's requested pinning domains against its preferred_domains
8afbf206aa3d drm/nouveau: fix another off-by-one in nvbios_addr
5557e9469b8e drm/gem: Properly annotate WW context on drm_gem_lock_reservations() error
b8f3830cd905 parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode
d7ba24d3a893 parisc: Fix device names in /proc/iomem
a7573260ad0d ovl: drop WARN_ON() dentry is NULL in ovl_encode_fh()
8b4588b8b00b usbnet: Fix linkwatch use-after-free on disconnect
2afb553d6825 fbcon: Fix boundary checks for fbcon=vc:n1-n2 parameters
6f9cd356eb27 thermal: sysfs: Fix cooling_device_stats_setup() error code path
a698d2fa85be fs: Add missing umask strip in vfs_tmpfile
e2a231454e2b vfs: Check the truncate maximum size in inode_newsize_ok()
cc9e874dace0 tty: vt: initialize unicode screen buffer
9e274a4f6029 ALSA: hda/realtek: Add quirk for another Asus K42JZ model
495f153c1587 ALSA: hda/cirrus - support for iMac 12,1 model
f4f2d3742b97 ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model
79e522101cf4 mm/mremap: hold the rmap lock in write mode when moving page table entries.
731436e1eee2 KVM: x86: Set error code to segment selector on LLDT/LTR non-canonical #GP
914a274320e5 KVM: x86: Mark TSS busy during LTR emulation _after_ all fault checks
78359865870d KVM: nVMX: Let userspace set nVMX MSR to any _host_ supported value
68e1313bb880 KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0
e40bde8a28ed KVM: nVMX: Snapshot pre-VM-Enter DEBUGCTL for !nested_run_pending case
c841dfce0b0d KVM: nVMX: Snapshot pre-VM-Enter BNDCFGS for !nested_run_pending case
717c93c7f6c4 HID: wacom: Don't register pad_input for touch switch
0ca140b28425 HID: wacom: Only report rotation for art pen
d14b6fe91149 add barriers to buffer_uptodate and set_buffer_uptodate
6f3342a5e83c wifi: mac80211_hwsim: use 32-bit skb cookie
4f4bf4e52b5a wifi: mac80211_hwsim: add back erroneously removed cast
84014008bc7f wifi: mac80211_hwsim: fix race condition in pending packet
ae52cf801a14 igc: Remove _I_PHY_ID checking
05e0bb8c3c4d ALSA: bcd2000: Fix a UAF bug on the error path of probing
58e337d27f8a scsi: Revert "scsi: qla2xxx: Fix disk failure to rediscover"
013acaa59752 x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments
635e8e6f6837 Makefile: link with -z noexecstack --no-warn-rwx-segments
(From OE-Core rev: ddfc3eebd96197fec56ac781fcf9d7da0c9eca27)
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>
The upstream qemu recipe uses host's pkg-config files as a solution to
detecting host's SDL. This has a side effect of using other host
libraries that are later queried by the configure script. This can get
into a situation when the host provides libnfs (for example) and because
later this dependency is not in place anymore, qemu will fail at
runtime.
This change adds a PACKAGECONFIG definition for libnfs that is disabled
by default, in turn disabling the pkgconfig autodetection in configure.
(From OE-Core rev: 9badcf0261f6b735d65a5498bb8fbb9979d7a07f)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 42b364a25fdbc987c85dd46b8427045033924d99)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes fixes for CVE-2022-3099 and CVE-2022-3134.
(From OE-Core rev: 46ba253059738dbd4de4bc7a7ac02a2585c498f5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d042923262130b6b96f703b5cd4184f659caeb92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
backport fix for:
CVE-2022-1920
CVE-2022-1921
CVE-2022-1922
CVE-2022-1923
CVE-2022-1924
CVE-2022-1925
CVE-2022-2122
also set ignore at gstreamer1.0_1.16.3.bb
(From OE-Core rev: c852d3e6742fe82b9f4ec84b077d6e1b0bfd021e)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd defines a default set of fallback DNS servers in
https://github.com/systemd/systemd/blob/v251/meson_options.txt#L328-L330
By adding a PACKAGECONFIG knob providing a convenient way to opt out,
and then adding that value to systemd's PACKAGECONFIG, the output from
runtime 'resolvectl status' command no longer contains the following
line:
Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google
(From OE-Core rev: 2b300d6b9ec6288a99d9dacb24a86949caf99e55)
(From OE-Core rev: 834ccad676b3d8d58d1a66bbe813a331599435b4)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 8089cefed8 ("systemd: Add
PACKAGECONFIG for sysvinit") decoupled enabling of systemd's sysvinit
handling behavior behind a distinct PACKAGECONFIG feature.
This new option affects among other things the installing of
tmpfiles.d/legacy.conf, which is responsible for creating /run/lock
directory, which is pointed to by /var/lock symlink provided by
base-files package.
In case the option is not enabled, then base-files provided /var/lock
is a dangling symlink on resulting rootfs, causing problems with
certain Linux userspace components that rely on existence of writable
/var/lock directory. As an example:
# fw_printenv
Error opening lock file /var/lock/fw_printenv.lock
Since Filesystem Hierarchy Standard Version 3.0 states in
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s09.html that
Lock files should be stored within the /var/lock directory structure.
Ensure the /run/lock directory is always created, so that lock files
can be stored under /var/lock also when 'sysvinit' handling is
disabled.
(From OE-Core rev: 85e5ee2c35cf5778c3aefda45f526e8f6a511131)
(From OE-Core rev: b8aa4d53b636bec55ad0ff4de764222662647859)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can have multiple processes reading the database at the same time, and
cursors only release their locks when they're garbage collected.
This might be the cause of random sqlite errors on the autobuilder, so
explicitly close the cursors when we're done with them.
(From OE-Core rev: 48742ddf4d0acd419c8ffb8f22124ed525efc2d9)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 5d2e90e4a58217a943ec21140bc2ecdd4357a98a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE check database needs to have a shared lock acquired on it before
it is accessed. This to prevent cve-update-db-native from deleting the
database file out from underneath it.
[YOCTO #14899]
(From OE-Core rev: 374dd13db2c4fa92793f12c93d68d09304f77c17)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20a9911b73df62a0d0d1884e57085f13ac5016dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is insufficent space to change the interpreter, we were
printing an error here but the overall script did not return an error
code, and thus the SDK installation appeared to succeed - but some of
the binaries will not be in a working state. Allow the relocation to
proceed (so we still get a full list of the failures) but error out at
the end so that the installation is halted.
(From OE-Core rev: 345193f36d08cfe4899c65e8edf3f79db09c50d2)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5a9a448e462d3e5457e8403c5a1a54148ecd224)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix:
| cryptodev-module/1.10-r0/git/ioctl.c:875:4: error: implicit declaration of function 'ksys_close'; did you mean 'ksys_chown'? [-Werror=implicit-function-declaration]
| 875 | ksys_close(fd);
| | ^~~~~~~~~~
| | ksys_chown
| cc1: some warnings being treated as errors
(From OE-Core rev: 653b03aa6fc8effd3b2215a7a0ba005979e78e9f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.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:
de0cd3ea700d Linux 5.4.210
b58882c69f66 x86/speculation: Add LFENCE to RSB fill sequence
f2f41ef0352d x86/speculation: Add RSB VM Exit protections
3a0ef79c6abe macintosh/adb: fix oob read in do_adb_query() function
54e1abbe8560 media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
17c2356e467f selftests: KVM: Handle compiler optimizations in ucall
170465715a60 KVM: Don't null dereference ops->destroy
6098562ed9df selftests/bpf: Fix "dubious pointer arithmetic" test
6a9b3f0f3bad selftests/bpf: Fix test_align verifier log patterns
9d6f67365d9c bpf: Test_verifier, #70 error message updates for 32-bit right shift
751f05bc6f95 selftests/bpf: Extend verifier and bpf_sock tests for dst_port loads
7c1134c7da99 bpf: Verifer, adjust_scalar_min_max_vals to always call update_reg_bounds()
a8ba72bbeda5 ACPI: APEI: Better fix to avoid spamming the console with old error logs
fa829bd4af43 ACPI: video: Shortening quirk list by identifying Clevo by board_name only
8ed6e5c5e23c ACPI: video: Force backlight native for some TongFang devices
828f4c31684d thermal: Fix NULL pointer dereferences in of_thermal_ functions
(From OE-Core rev: 2663435831c0ef953fb7fe6c883f42cf0c86ae43)
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>
Since we're keeping cve-check aligned between the active branches,
and dunfell is supported on Python 3.5, we can't use f-strings.
(From OE-Core rev: 4cc681fd66031c8355f69e53443536b31377eba9)
Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1821cf7464cbba521b55a9c128fe8812c0cc5eca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: https://github.com/golang/go
MR: 120634
Type: Security Fix
Disposition: Backport from 703c8ab7e5
ChangeID: 3ade323dd52a6b654358f6738a0b3411ccc6d3f8
Description:
CVE-2022-32189 golang: math/big: decoding big.Float and big.Rat types can panic if the encoded message is too short, potentially allowing a denial of service.
(From OE-Core rev: 9b3420c9a91059eb55754078bb1e733972e94489)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: https://gitlab.com/libtiff/libtiff
MR: 120545
Type: Security Fix
Disposition: Backport from 275735d035
ChangeID: 4c781586f7aba27420a7adc0adc597cc68495387
Description:
CVE-2022-34526 libtiff: A stack overflow was discovered in the _TIFFVGetField function of Tiffsplit.
(From OE-Core rev: 462d4a55a460c60a7b8c36fe3899e66f13835761)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass additional arguments in the fileslocked() context manager to the
underlying lockfile() function. This allows the context manager to be
used for any types of locks (non-blocking, shared, etc.) that the
lockfile() function supports.
(Bitbake rev: 048d682b031644fb9f0d41a489bacb873aa27bd7)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
numa is an existing machine feature, add it to the list so that users
are aware of it.
(From yocto-docs rev: d9931a04bccd115f854275cd46c8195c3fa1d391)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The user does need to be told about this but it isn't really a warning,
just something they may need to be aware of. Drop the level accordingly.
(Bitbake rev: 3b719e8e115b7fde869f62ddc180e045c1b51cdf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent new tasks from being scheduled if the memory pressure is above
a certain threshold, specified through the "BB_MAX_PRESSURE_MEMORY"
variable in the conf/local.conf file. This is an extension to the
following commit and hence regulates pressure in the same way:
48a6d84de1 bitbake: runqueue: add cpu/io pressure regulation
Memory pressure is experienced when time is spent swapping, refaulting
pages from the page cache or performing direct reclaim. This is why
memory pressure is rarely seen but might be useful as a last resort to
prevent OOM errors.
(Bitbake rev: 44c395434c7be8dab968630a610c8807f512920c)
(Bitbake rev: 82b683f8c7a559f4fcab68f6a0fa7dc3dc20fa05)
Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
Signed-off-by: Randy Macleod <Randy.Macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the scheduler from starting new tasks if the current cpu or io
pressure is above a certain threshold and there is at least one active
task. This threshold can be specified through the
"BB_PRESSURE_MAX_{CPU|IO}" variables in conf/local.conf.
The threshold represents the difference in "total" pressure from the
previous second. The pressure data is discussed in this oe-core commit:
061931520b buildstats.py: enable collection of /proc/pressure data
where one can see that the average and "total" values are available.
>From tests, it was seen that while using the averaged data was somewhat
useful, the latency in regulating builds was too high. By taking the
difference between the current pressure and the pressure seen in the
previous second, better regulation occurs. Using a shorter time period
is appealing but due to fluctations in pressure, comparing the current
pressure to 1 second ago achieves a reasonable compromise. One can look
at the buildstats logs, that usually sample once per second, to decide a
sensible threshold.
If the thresholds aren't specified, pressure is not monitored and hence
there is no impact on build times. Arbitary lower limit of 1.0 results
in a fatal error to avoid extremely long builds. If the limits are higher
than 1,000,000, then warnings are issued to inform users that the specified
limit is very high and unlikely to result in any regulation.
The current bitbake scheduling algorithm requires that at least one
task be active. This means that if high pressure is seen, then new tasks
will not be started and pressure will be checked only for as long as at
least one task is active. When there are no active tasks, an additional task
will be started and pressure checking resumed. This behaviour means that
if an external source is causing the pressure to exceed the threshold,
bitbake will continue to make some progress towards the requested target.
This violates the intent of limiting pressure but, given the current
scheduling algorithm as described above, there seems to be no other option.
In the case where only one bitbake build is running, the implications of
the scheduler requirement will likely result in pressure being higher
than the threshold. More work would be required to ensure that
the pressure threshold is never exceeded, for example by adding pressure
monitoring to make and ninja.
(Bitbake rev: 502e05cbe67fb7a0e804dcc2cc0764a2e05c014f)
(Bitbake rev: 66741d216e9d4343e82a94f00cd39751632a5b96)
Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the usage of enterprise proxy, the user-agent defined are
too old and refused by proxy configuration. Updating to something
more modern is desirable.
(Bitbake rev: 17be38290d1e971cd89785e6bf44caef0a6416f8)
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7001fdd7c4dca372cbebd8fd2c0b03c5d43f9400)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`rc` runs all the KILL scripts in a runlevel before the START scripts.
The umountnfs script is currently configured as a START script, and
runs after the networking KILL script. During shutdown, this causes a
~3 minute timeout after networking is shutdown when the system tries
to connect to and unmount any mounted network shares.
Fix this by changing the script configuration to "stop" so that it can
run before networking is stopped and unmount any network shares
safely.
(From OE-Core rev: e59c72d570102d72786e44c8ace69fd4d0e8e5ef)
Signed-off-by: Shruthi Ravichandran <shruthi.ravichandran@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c419bd4537756e9f6c2fe6da3a9b798526e27eca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is to ensure host-user-contaminated.txt would be removed before
do_rootfs runs, since ${S} is in cleandirs of do_rootfs, otherwise, a
host-user-contaminated.txt file that generated from previous builds
could be used which is wrong.
(From OE-Core rev: 06cfa8be54c9aee23bd8570a370a974b463a0a1a)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 54a3fd63e684d070fad962be97e549f3af7ac111)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes the bin_package.bbclass work properly with the native class.
(From OE-Core rev: 0bf78a8e0e1cf7e74b55aca4db0e62dd9dfa55ce)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad330b6d4b6e2ba051b5c6c437e07a183831f757)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building external kernel modules like lttng-modules was showing build paths
inside the debug symbols for the modules and breaking build reproducibility.
Fix this by adding in the mapping needed to map the kernel build directory
to something more approriate on target.
(From OE-Core rev: c4d8834ed3d200f25f12fec8acfa2b954f3240e0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b56dc9009ba93174de6bf4c01e17808ef249dc5c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Restore WHENCE_CHKSUM variable which is used to hold the WHENCE file
checksum. It is necessary to allow easily overriding it from local.conf
if the devupstream version is selected:
PREFERRED_VERSION_linux-firmware = "1:20220708+git%"
SRCREV:class-devupstream = "${AUTOREV}"
WHENCE_CHKSUM:class-devupstream:pn-linux-firmware = "abf1077491eeb261ecdcb680a34fc059"
Without the WHENCE_CHECKSUM one would need to manually patch the
LIC_FILES_CHKSUM variable to change the checksum of WHENC (e.g. using
the anonymous python function or remove expression).
(From OE-Core rev: ba997f02b2cb86aeaa308873727a9280d1f88b5b)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 554be2af1e0a03a2d23032d48afbbe0913a45409)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: a few obsolete firmware were dropped
(particularly i2400m and tda7706), file list updates.
(From OE-Core rev: a151460d9234d6cd0bd1920c48aff8c78454931a)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e89fb37e13fcb832ee7d35e7d92d45eaca20689e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop crosscompile.patch which was merged as part of:
509695c1c (tag: v9.0.0065) patch 9.0.0065: \
cross-compiling doesn't work because of timer_create check
Also drop: racefix.patch which may have been fixed upstream
and is being tracked by:
https://github.com/vim/vim/pull/10776
where upstream is asking if the different approach resolves the
race condition. Let's see what's out there!
(From OE-Core rev: 083d6de4139859a5eb66f78c2a62a1d59c8aee35)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 6996472cd33d2d4b91821f2dfe24a27a697e4afe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pulls in several CVE fixes.
Added a patch to avoid timer_create cross compile issue (and submitted upstream).
Also submit the race fix upstream.
We disable timer_create in the native case since some systems have it
and some don't so this makes us consistent.
Change from master commit: we also disable timer_create in the target case
since the function isn't available in our glibc.
(From OE-Core rev: f99677f79449032a3b0ea79d704fdccbd5be68b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d0c1de084c7ce030d47a428e4bbfbc4ce2996057)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: https://github.com/madler/zlib
MR: 120531
Type: Security Fix
Disposition: Backport from eff308af42 & 1eb7682f84
ChangeID: 364c17d74213c64fe40b9b37ee78aa172ff93acf
Description:
CVE-2022-37434 zlib: a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field.
(From OE-Core rev: 10ed7cf347d9e73b29e4a3f6ef77e0a4b08e350b)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* but it still won't work well on hosts without libxml2, make
sure to use pre-generated testapi.c in do_compile_ptest
* this is reproducible with SOURCE_DATE_EPOCH set to 0 which
e.g. meta-updater still sets by default for DISTROs which
use it :(, see https://github.com/uptane/meta-updater/pull/35
(From OE-Core rev: 2f78dbcb300e7deae6cf39263e874ee8776d7a7b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: 33d006ed8d93ea4c185d6b28a72b2d252fbb5ae1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenSSH 9.0 uses sftp by default as the transport for scp, add in
sftp-server so that this works as expected for users, rather than being
left with a confusing "scp: Connection closed" message.
(From OE-Core rev: 788e2c6bccc58e5a88b33fa91ea3c3ffec7611ca)
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be61b9dac78f0d85c870a0d8304fb4b536ec4bc8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If enabled, the buildpaths test hangs in psplash as it tries to open
a fifo and read from it, hanging indefinitely.
Tweak the test to ignore fifo/socket/device files.
(From OE-Core rev: 0106c6a629d0a9f07d76ffaad2dc92e48021e1b0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2567edb7e0a8c5ca9a88d6940491bf33bfe0eff9)
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:
8d8935e76f6f Linux 5.4.209
0b0088e47587 scsi: core: Fix race between handling STS_RESOURCE and completion
85fe8623f061 mt7601u: add USB device ID for some versions of XiaoDu WiFi Dongle.
d5a596c148b3 ARM: crypto: comment out gcc warning that breaks clang builds
8d6dab81ee3d sctp: leave the err path free in sctp_stream_init to sctp_stream_free
a49282eca8ab sfc: disable softirqs for ptp TX
7799f742f24b perf symbol: Correct address for bss symbols
388b3f14ff60 virtio-net: fix the race between refill work and close
52be29e8b645 netfilter: nf_queue: do not allow packet truncation below transport header offset
8e0ed463dbd5 sctp: fix sleep in atomic context bug in timer handlers
bc135e464dee i40e: Fix interface init with MSI interrupts (no MSI-X)
46462e26e65f tcp: Fix a data-race around sysctl_tcp_comp_sack_nr.
d42f68a9ceb4 tcp: Fix a data-race around sysctl_tcp_comp_sack_delay_ns.
c2b57a4d3ff6 Documentation: fix sctp_wmem in ip-sysctl.rst
2d30375343b6 tcp: Fix a data-race around sysctl_tcp_invalid_ratelimit.
5d235c2fc295 tcp: Fix a data-race around sysctl_tcp_autocorking.
e02c7ee5a430 tcp: Fix a data-race around sysctl_tcp_min_rtt_wlen.
558a2949608f tcp: Fix a data-race around sysctl_tcp_min_tso_segs.
fb200869eabe net: sungem_phy: Add of_node_put() for reference returned by of_get_parent()
e20dd1b0e0ea igmp: Fix data-races around sysctl_igmp_qrv.
73e5a0b59129 ipv6/addrconf: fix a null-ptr-deref bug for ip6_ptr
421e5dd1f12e net: ping6: Fix memleak in ipv6_renew_options().
3d492b008b3d tcp: Fix a data-race around sysctl_tcp_challenge_ack_limit.
dfdc635d55f9 tcp: Fix a data-race around sysctl_tcp_limit_output_bytes.
d62e255ecc33 scsi: ufs: host: Hold reference returned by of_parse_phandle()
b1343528c7ae ice: do not setup vlan for loopback VSI
15d019860159 ice: check (DD | EOF) bits on Rx descriptor rather than (EOP | RS)
cd23a2ad7b7c tcp: Fix a data-race around sysctl_tcp_nometrics_save.
f9a03fd8ed31 tcp: Fix a data-race around sysctl_tcp_frto.
3be498bcf6ea tcp: Fix a data-race around sysctl_tcp_adv_win_scale.
f4b83df01105 tcp: Fix a data-race around sysctl_tcp_app_win.
f240d0cad26c tcp: Fix data-races around sysctl_tcp_dsack.
b9f937d3d54d s390/archrandom: prevent CPACF trng invocations in interrupt context
911904c577e0 ntfs: fix use-after-free in ntfs_ucsncmp()
098e07ef0059 Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put
(From OE-Core rev: bd55001d9f895c7d52fedc7d1d2eb7b2ad7032b1)
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:
77ba2b9b46f8 Linux 5.4.208
ca5762c5896e x86: drop bogus "cc" clobber from __try_cmpxchg_user_asm()
f88d8c188229 net: usb: ax88179_178a needs FLAG_SEND_ZLP
f7785092cb7f tty: use new tty_insert_flip_string_and_push_buffer() in pty_write()
815d936e92f9 tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()
2ea77b0b6d22 tty: drop tty_schedule_flip()
f20912215c9c tty: the rest, stop using tty_schedule_flip()
aa60c0cce8b4 tty: drivers/tty/, stop using tty_schedule_flip()
126137a53d7e Bluetooth: Fix bt_skb_sendmmsg not allocating partial chunks
836b47e6436b Bluetooth: SCO: Fix sco_send_frame returning skb->len
aa2d34cab3e6 Bluetooth: Fix passing NULL to PTR_ERR
10bacb891722 Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg
bf46574d4655 Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg
f00b06003b11 Bluetooth: Add bt_skb_sendmmsg helper
55bf99849be0 Bluetooth: Add bt_skb_sendmsg helper
015af30d373d ALSA: memalloc: Align buffer allocations in page size
352affc31e26 bitfield.h: Fix "type of reg too small for mask" test
0a0fbbd6cb65 x86/mce: Deduplicate exception handling
b524137fa1d8 mmap locking API: initial implementation as rwsem wrappers
592a1c6066dd x86/uaccess: Implement macros for CMPXCHG on user addresses
1d778b54a5c0 x86: get rid of small constant size cases in raw_copy_{to,from}_user()
d0d583484d2e locking/refcount: Consolidate implementations of refcount_t
dab787c73f6e locking/refcount: Consolidate REFCOUNT_{MAX,SATURATED} definitions
0d3182fbe689 locking/refcount: Move saturation warnings out of line
809554147d60 locking/refcount: Improve performance of generic REFCOUNT_FULL code
9c9269977f03 locking/refcount: Move the bulk of the REFCOUNT_FULL implementation into the <linux/refcount.h> header
04bff7d7b808 locking/refcount: Remove unused refcount_*_checked() variants
513b19a43bec locking/refcount: Ensure integer operands are treated as signed
68b4ee68e8c8 locking/refcount: Define constants for saturation and max refcount values
3f71d0e292eb ima: remove the IMA_TEMPLATE Kconfig option
bc7581e36d40 dlm: fix pending remove if msg allocation fails
4f1d21c77b15 bpf: Make sure mac_header was set before using it
a1f8765f68bc mm/mempolicy: fix uninit-value in mpol_rebind_policy()
76668d2a2f36 spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers
50a1d3d09750 tcp: Fix data-races around sysctl_tcp_max_reordering.
c64b99819de4 tcp: Fix a data-race around sysctl_tcp_rfc1337.
6cc566df6806 tcp: Fix a data-race around sysctl_tcp_stdurg.
7f68bed16c7b tcp: Fix a data-race around sysctl_tcp_retrans_collapse.
369d99c2b89f tcp: Fix data-races around sysctl_tcp_slow_start_after_idle.
492f3713b282 tcp: Fix a data-race around sysctl_tcp_thin_linear_timeouts.
92c35113c633 tcp: Fix data-races around sysctl_tcp_recovery.
83767fe800a3 tcp: Fix a data-race around sysctl_tcp_early_retrans.
795aee11fda4 tcp: Fix data-races around sysctl knobs related to SYN option.
f39b03bd727a udp: Fix a data-race around sysctl_udp_l3mdev_accept.
6727f39e99e0 ipv4: Fix a data-race around sysctl_fib_multipath_use_neigh.
a8569f76df7e be2net: Fix buffer overflow in be_get_module_eeprom
91d6aa19dd72 gpio: pca953x: only use single read/write for No AI mode
031af9e617a6 ixgbe: Add locking to prevent panic when setting sriov_numvfs to zero
55a2a28b3285 i40e: Fix erroneous adapter reinitialization during recovery process
d88d59faf4e6 iavf: Fix handling of dummy receive descriptors
25d53d858a6c tcp: Fix data-races around sysctl_tcp_fastopen.
78420d8e46df tcp: Fix data-races around sysctl_max_syn_backlog.
dc58e68d1e26 tcp: Fix a data-race around sysctl_tcp_tw_reuse.
e9362a993886 tcp: Fix a data-race around sysctl_tcp_notsent_lowat.
b0d9f04c870e tcp: Fix data-races around some timeout sysctl knobs.
ea309c467dac tcp: Fix data-races around sysctl_tcp_reordering.
b222de2560ab tcp: Fix data-races around sysctl_tcp_syncookies.
ff55c025e647 igmp: Fix a data-race around sysctl_igmp_max_memberships.
1656ecaddf90 igmp: Fix data-races around sysctl_igmp_llm_reports.
2aad2c5745ec net/tls: Fix race in TLS device down flow
573768dede0e net: stmmac: fix dma queue left shift overflow issue
911b81fca2d7 i2c: cadence: Change large transfer count reset logic to be unconditional
73a11588751a tcp: Fix a data-race around sysctl_tcp_probe_interval.
b04817c94fbd tcp: Fix a data-race around sysctl_tcp_probe_threshold.
033963b22063 tcp: Fix a data-race around sysctl_tcp_mtu_probe_floor.
fdb96b69f590 tcp: Fix data-races around sysctl_tcp_min_snd_mss.
30b73edc1d24 tcp: Fix data-races around sysctl_tcp_base_mss.
f966773e13cd tcp: Fix data-races around sysctl_tcp_mtu_probing.
a7386602a2fe tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept.
25a635a67c83 ip: Fix a data-race around sysctl_fwmark_reflect.
281de3719986 ip: Fix data-races around sysctl_ip_nonlocal_bind.
7828309df0f8 ip: Fix data-races around sysctl_ip_fwd_use_pmtu.
5af6d9226376 ip: Fix data-races around sysctl_ip_no_pmtu_disc.
16cb6717f4f4 igc: Reinstate IGC_REMOVED logic and implement it properly
98c3c8fd0d4c perf/core: Fix data race between perf_event_set_output() and perf_mmap_close()
6194c021496a pinctrl: ralink: Check for null return of devm_kcalloc
78bdf732cf5d power/reset: arm-versatile: Fix refcount leak in versatile_reboot_probe
f4248bdb7d5c xfrm: xfrm_policy: fix a possible double xfrm_pols_put() in xfrm_bundle_lookup()
c68f6e2e4fda serial: mvebu-uart: correctly report configured baudrate value
2230428fb866 PCI: hv: Fix interrupt mapping for multi-MSI
7121d7120fd4 PCI: hv: Reuse existing IRTE allocation in compose_msi_msg()
584c9d41800b PCI: hv: Fix hv_arch_irq_unmask() for multi-MSI
8e94cc883011 PCI: hv: Fix multi-MSI to allow more than one MSI vector
3048666143be xen/gntdev: Ignore failure to unmap INVALID_GRANT_HANDLE
ed3fea55066b lockdown: Fix kexec lockdown bypass with ima policy
c3856fe718ad mlxsw: spectrum_router: Fix IPv4 nexthop gateway indication
c3dc75118445 riscv: add as-options for modules with assembly compontents
e5a6b05d0c68 pinctrl: stm32: fix optional IRQ support to gpios
002c3bbb4713 Linux 5.4.207
08d90846e438 can: m_can: m_can_tx_handler(): fix use after free of skb
579c8a2e6361 serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle
0c8649a49788 serial: stm32: Clear prev values before setting RTS delays
f4c7f5028b48 serial: 8250: fix return error code in serial8250_request_std_resource()
07379bd79d86 tty: serial: samsung_tty: set dma burst_size to 1
edcb2612218d usb: dwc3: gadget: Fix event pending check
40034fe6b8a7 usb: typec: add missing uevent when partner support PD
42373b717a3f USB: serial: ftdi_sio: add Belimo device ids
cbc98dcc38e2 signal handling: don't use BUG_ON() for debugging
172cd32ada70 ARM: dts: stm32: use the correct clock source for CEC on stm32mp151
c7d4b3ec6306 soc: ixp4xx/npe: Fix unused match warning
a3c7c1a726a4 x86: Clear .brk area at early boot
549f70b29953 irqchip: or1k-pic: Undefine mask_ack for level triggered hardware
b0f41db50084 ASoC: madera: Fix event generation for rate controls
79067a663247 ASoC: madera: Fix event generation for OUT1 demux
0e7e515a6733 ASoC: cs47l15: Fix event generation for low power mux control
20b921f22a8b ASoC: wm5110: Fix DRE control
f298d2e4c60c ASoC: ops: Fix off by one in range control validation
ede990cfc427 net: sfp: fix memory leak in sfp_probe()
555cee1bc40b nvme: fix regression when disconnect a recovering ctrl
08082a642aaa NFC: nxp-nci: don't print header length mismatch on i2c error
4919d82f7041 net: tipc: fix possible refcount leak in tipc_sk_create()
70d8aee1de6e platform/x86: hp-wmi: Ignore Sanitization Mode event
8dda30f81c75 cpufreq: pmac32-cpufreq: Fix refcount leak bug
b749af1b8f11 netfilter: br_netfilter: do not skip all hooks with 0 priority
0c9203e75dae virtio_mmio: Restore guest page size on resume
569f1ee032c9 virtio_mmio: Add missing PM calls to freeze/restore
70433d9ea6ff mm: sysctl: fix missing numa_stat when !CONFIG_HUGETLB_PAGE
da346adcf557 sfc: fix kernel panic when creating VF
ba60ca0ed12e seg6: bpf: fix skb checksum in bpf_push_seg6_encap()
de7849d9de1d seg6: fix skb checksum in SRv6 End.B6 and End.B6.Encaps behaviors
487f0f77f1cd seg6: fix skb checksum evaluation in SRH encapsulation/insertion
bcad880865bf sfc: fix use after free when disabling sriov
b8d77f2396d5 net: ftgmac100: Hold reference returned by of_get_child_by_name()
9b61d3f6df1b ipv4: Fix data-races around sysctl_ip_dynaddr.
cc9540ba5b36 raw: Fix a data-race around sysctl_raw_l3mdev_accept.
df691b991043 icmp: Fix a data-race around sysctl_icmp_ratemask.
8bc1f6871490 icmp: Fix a data-race around sysctl_icmp_ratelimit.
3093a6fe3170 drm/i915/gt: Serialize TLB invalidates with GT resets
40d58aad2f66 ARM: dts: sunxi: Fix SPI NOR campatible on Orange Pi Zero
bf676c940865 ARM: dts: at91: sama5d2: Fix typo in i2s1 node
7c1acd98fb22 ipv4: Fix a data-race around sysctl_fib_sync_mem.
0cba7ca667ce icmp: Fix data-races around sysctl.
0e41a0f73ccb cipso: Fix data-races around sysctl.
861f1852af6d net: Fix data-races around sysctl_mem.
8d2daf565f61 inetpeer: Fix data-races around sysctl.
2968830c9b47 net: stmmac: dwc-qos: Disable split header for Tegra194
1273fd5153e8 ASoC: sgtl5000: Fix noise on shutdown/remove
388f3df7c3c8 ima: Fix a potential integer overflow in ima_appraise_measurement
72f231b9a88a drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()
0f02e7c02bb0 ARM: 9210/1: Mark the FDT_FIXED sections as shareable
41ea241fb3c2 ARM: 9209/1: Spectre-BHB: avoid pr_info() every time a CPU comes out of idle
851730a1989f ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count
18881d7e5171 ext4: fix race condition between ext4_write and ext4_convert_inline_data
423f2695007d sched/rt: Disable RT_RUNTIME_SHARE by default
31e99fa969fd Revert "evm: Fix memleak in init_desc"
d85d19f3b664 nilfs2: fix incorrect masking of permission flags for symlinks
393594aad551 drm/panfrost: Fix shrinker list corruption by madvise IOCTL
ad44e05f3e01 cgroup: Use separate src/dst nodes when preloading css_sets for migration
444be5a02b77 wifi: mac80211: fix queue selection for mesh/OCB interfaces
dba548476909 ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction
b4d99aa5ae90 ARM: 9213/1: Print message about disabled Spectre workarounds only once
2c1cc40fb2a1 ip: fix dflt addr selection for connected nexthop
fb5a7f1548d6 net: sock: tracing: Fix sock_exceed_buf_limit not to dereference stale pointer
ecc6dec12c33 tracing/histograms: Fix memory leak problem
7425479d20f9 xen/netback: avoid entering xenvif_rx_next_skb() with an empty rx queue
9026b280eb7f ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
bbb82d4d9b3d ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc221
7e2fbf2d9b61 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
33d33a66e31c ALSA: hda/conexant: Apply quirk for another HP ProDesk 600 G3 model
5e7cc47ab923 ALSA: hda - Add fixup for Dell Latitidue E5430
658410791556 Linux 5.4.206
15a3adfe7593 Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting"
(From OE-Core rev: b98028117b82aab650affb0538e77bb69fb5fdf8)
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>
If a remote patch is compressed we need to have run the unpack task for
the file to exist locally. Currently cve_check only depends on fetch so
instead of erroring out, emit a warning that this file won't be scanned
for CVE references.
Typically, remote compressed patches won't contain our custom tags, so
this is unlikely to be an issue.
(From OE-Core rev: a2d03f445c45558997484240d2549eaa1e103692)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cefc8741438c91f74264da6b59dece2e31f9e5a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: https://github.com/qemu/qemu
MR: 119832
Type: Security Fix
Disposition: Backport from 418ade7849
ChangeID: 1246afd7bb950d2d5fe2e198961797c0fa14ac00
Description:
CVE-2022-35414 qemu: can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash.
(From OE-Core rev: 7c3043df56b3090138fe56f8c06df5ca08cafd26)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
cc478e363cc3 rt: fixup random and irq/manage merge issues
(From OE-Core rev: 597eef3b2f6cb884c474c44e87b1137e6acbe6b5)
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:
0ec831fa971d Linux 5.4.205
1be11d7f3c89 dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
b31ab132561c dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
f19026ede26e dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
164e88024f82 dmaengine: pl330: Fix lockdep warning about non-static key
5af3f2a697d5 ida: don't use BUG_ON() for debugging
d88022b41eff dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
aaf875578fd9 misc: rtsx_usb: set return value in rsp_buf alloc err path
29612c43a2c5 misc: rtsx_usb: use separate command and response buffers
0e517d0d7feb misc: rtsx_usb: fix use of dma mapped buffer for usb bulk transfer
858c2d070895 dmaengine: imx-sdma: Allow imx8m for imx7 FW revs
67586906893c i2c: cadence: Unregister the clk notifier in error path
acb72388aed5 selftests: forwarding: fix error message in learning_test
7adf3d45c460 selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT
681738560bf2 selftests: forwarding: fix flood_unicast_test when h2 supports IFF_UNICAST_FLT
0711d15ccb27 ibmvnic: Properly dispose of all skbs during a failover.
aa698affa62c ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt
6b4747d5af43 ARM: at91: pm: use proper compatible for sama5d2's rtc
123540275034 pinctrl: sunxi: sunxi_pconf_set: use correct offset
12a690536931 pinctrl: sunxi: a83t: Fix NAND function name for some pins
3cf8ece91132 ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
c465bbcd3c74 xfs: remove incorrect ASSERT in xfs_rename
845dac0276a5 can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits
9afdff9dd820 can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression
93f228fcbef2 can: kvaser_usb: replace run-time checks with struct kvaser_usb_driver_info
0adb049bac09 powerpc/powernv: delay rng platform device creation until later in boot
782b65ee7bbe video: of_display_timing.h: include errno.h
af93e8219734 fbcon: Prevent that screen size is smaller than font size
4f34f380f952 fbcon: Disallow setting font bigger than screen size
997d86cd3e39 fbmem: Check virtual screen sizes in fb_set_var()
407c1b491fbd fbdev: fbmem: Fix logo center image dx issue
14ff1184310f iommu/vt-d: Fix PCI bus rescan device hot add
800bb66ab275 net: rose: fix UAF bug caused by rose_t0timer_expiry
04894ab34faf usbnet: fix memory leak in error case
6f655b5e13fa can: gs_usb: gs_usb_open/close(): fix memory leak
eb7bbd7728da can: grcan: grcan_probe(): remove extra of_node_get()
5b48f5711f1c can: bcm: use call_rcu() instead of costly synchronize_rcu()
e7e3e90d6710 mm/slub: add missing TID updates on slab deactivation
3defefd22ad5 esp: limit skb_page_frag_refill use to a single page
49286fbdad47 Linux 5.4.204
0ac2845937ce clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup()
d40057538bee net: usb: qmi_wwan: add Telit 0x1070 composition
ea89a522b4cc net: usb: qmi_wwan: add Telit 0x1060 composition
5c03cad51b84 xen/arm: Fix race in RB-tree based P2M accounting
60ac50daad36 xen/blkfront: force data bouncing when backend is untrusted
ede57be88a5f xen/netfront: force data bouncing when backend is untrusted
04945b5beb73 xen/netfront: fix leaking data in shared pages
42112e8f9461 xen/blkfront: fix leaking data in shared pages
b7c996abe545 selftests/rseq: Change type of rseq_offset to ptrdiff_t
dc2825288012 selftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area
f89d15c9861c selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area
618da2318e15 selftests/rseq: Fix: work-around asm goto compiler bugs
58082d4e8186 selftests/rseq: Remove arm/mips asm goto compiler work-around
1c9f13880f47 selftests/rseq: Fix warnings about #if checks of undefined tokens
6f87493c3aa6 selftests/rseq: Fix ppc32 offsets by using long rather than off_t
4e9c8fd7f7f0 selftests/rseq: Fix ppc32 missing instruction selection "u" and "x" for load/store
d0ca70238f40 selftests/rseq: Fix ppc32: wrong rseq_cs 32-bit field pointer on big endian
20e2f0108539 selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35
71c04fdf59ca selftests/rseq: Introduce thread pointer getters
f491e073b992 selftests/rseq: Introduce rseq_get_abi() helper
158d91ffe0be selftests/rseq: Remove volatile from __rseq_abi
7037c511f67d selftests/rseq: Remove useless assignment to cpu variable
9aa134cb66b4 selftests/rseq: introduce own copy of rseq uapi header
8417f4475959 selftests/rseq: remove ARRAY_SIZE define from individual tests
b13119007056 rseq/selftests,x86_64: Add rseq_offset_deref_addv()
7b6bffcfb9d3 ipv6/sit: fix ipip6_tunnel_get_prl return value
05387c4ff568 sit: use min
e99a98616191 net: dsa: bcm_sf2: force pause link settings
ac9cd4f66a4d hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails
ee25841221c1 xen/gntdev: Avoid blocking in unmap_grant_pages()
5eac00ef2a11 net: tun: avoid disabling NAPI twice
8f968872ec34 NFC: nxp-nci: Don't issue a zero length i2c_master_read()
37287fd28fb0 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value
893825289ba8 net: bonding: fix use-after-free after 802.3ad slave unbind
6fdef80e7eaa net: bonding: fix possible NULL deref in rlb code
bb1dc7cc576e net/sched: act_api: Notify user space if any actions were flushed before error
3b2ddeb89fe7 netfilter: nft_dynset: restore set element counter when failing to update
5b3a1c6bca38 s390: remove unneeded 'select BUILD_BIN2C'
bdecd912e99a PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
e1284ec4a6d7 caif_virtio: fix race between virtio_device_ready() and ndo_open()
9204bc3e8722 net: ipv6: unexport __init-annotated seg6_hmac_net_init()
7a79f71f6931 usbnet: fix memory allocation in helpers
5af106f8e072 linux/dim: Fix divide by 0 in RDMA DIM
85d7d672e896 RDMA/qedr: Fix reporting QP timeout attribute
ea0519bc578d net: tun: stop NAPI when detaching queues
a8cf91902237 net: tun: unlink NAPI from device on destruction
22e75461014b selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test
1d877327da33 virtio-net: fix race between ndo_open() and virtio_device_ready()
7f89bb5d7102 net: usb: ax88179_178a: Fix packet receiving
bb91556d2af0 net: rose: fix UAF bugs caused by timer handler
76a477d39836 SUNRPC: Fix READ_PLUS crasher
13816057eaf2 s390/archrandom: simplify back to earlier design and initialize earlier
f157bd9cf377 dm raid: fix KASAN warning in raid5_add_disks
90de15357504 dm raid: fix accesses beyond end of raid member array
b6125c5dc3d6 powerpc/bpf: Fix use of user_pt_regs in uapi
1ef2e87736a6 powerpc/prom_init: Fix kernel config grep
d5e32f08e7f1 nvdimm: Fix badblocks clear off-by-one error
53fb996f2709 ipv6: take care of disable_policy when restoring routes
(From OE-Core rev: c954fc1097cb99b7caac764db007f6b2541c248f)
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>
Literal blocks make sphinx take their text verbatim. This means that
directives cannot be used in literal blocks. This means :term:`S` was
printed as-is, without actually creating a link to the S variable
definition as would be expected outside of literal blocks.
Initially contributed to the master branch by Quentin Schulz.
(From yocto-docs rev: 882810d294762a6340909b59736acc660c4eaf5c)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moving the function will allow other classes to capture which CVEs have
been patched, in particular SBoM generation.
Also add a function to capture the CPE ID from the CVE Product and
Version
(From OE-Core rev: 75d34259a715120be1d023e4fd7b6b4b125f2443)
(From OE-Core rev: bba069463ca3813666d084643b0239b9af0199e1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fa6c07bc1a)
Signed-off-by: Akash Hadke <akash.hadke@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed AES OCB failure to encrypt some bytes on 32-bit x86 platforms (CVE-2022-2097)
(From OE-Core rev: 6031eecee8ac8bed1c43a04ecf06ed08014346f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The usehead url parameter for git repositories causes bitbake to use
whatever commit the repository HEAD is pointing to if the repository
happens to have the name 'default'. This is the default name so in many
cases it works just fine, but if a different name is specified with the
url parameter 'name=newName' then it will fail to parse the recipe with
an error along the lines of:
ERROR: ExpansionError during parsing /path/to/my/recipe.bb
Traceback (most recent call last):
File "/path/to/poky/bitbake/lib/bb/fetch2/git.py", line 235, in Git.urldata_init:
> ud.setup_revisions(d)
File "/path/to/poky/bitbake/lib/bb/fetch2/__init__.py", line 1302, in FetchData.setup_revisions:
for name in self.names:
> self.revisions[name] = srcrev_internal_helper(self, d, name)
File "/path/to/poky/bitbake/lib/bb/fetch2/__init__.py", line 1167, in srcrev_internal_helper(name='newName'):
if srcrev == "AUTOINC":
> srcrev = ud.method.latest_revision(ud, d, name)
File "/path/to/poky/bitbake/lib/bb/fetch2/__init__.py", line 1562, in Git.latest_revision(name='newName'):
except KeyError:
> revs[key] = rev = self._latest_revision(ud, d, name)
return rev
File "/path/to/poky/bitbake/lib/bb/fetch2/git.py", line 650, in Git._latest_revision(name='newName'):
raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \
> (ud.unresolvedrev[name], ud.host+ud.path))
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Unable to resolve 'master' in upstream git repository in git ls-remote output for /path/to/local/git/repo
Let's fix this by setting the unresolved rev of _all_ repository names
to 'HEAD' when the usehead url parameter is specified. Update the
currently failing test, test_local_gitfetch_usehead_withname, to now
expect success.
This change preserves existing behavior that allows usehead to be
overridden by a valid looking revision if one happens to be specified
instead of AUTOREV.
(Bitbake rev: a247f56df680382d62910bb9a174e0fdd29e4ca8)
Signed-off-by: Joey Degges <jdegges@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01e901c44ab0f496606b1d45c8953dc54970204c)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autobuilder workers were non-deterministically enabling capstone
depending on whether the worker had libcapstone installed.
Add PACKAGECONFIG for capstone with default off, since qemu does not
require capstone support.
Qemu version in dunfell has capstone in the source tree as a submodule
and has configure options to enable it using that source code or using
the system libcapstone.
Qemu versions in master and kirkstone have removed the capstone
submodule and configure options, but added libcapstone autodetection to
meson.
In all cases using PACKAGECONFIG will allow a deterministic build.
(From OE-Core rev: af25fff399fa623b4fd6efbca21e01ea6b4d1fd7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 052ef1f14d1e6a5ee34f742f65e51b20b416f79f)
Signed-off-by: Steve Sakoman <steve@sakoman.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #14851]
Under some circumstances it is not desirable to create a combined locale
archive (/usr/lib/locale/locale-archive).
The new variable IMAGE_LOCALES_ARCHIVE defaults to '1', so the default
behaviour is not changed.
Modified to work with code before move to lib/oe/package_manager
(From OE-Core rev: af32908dfcebbc0f617ad828d895f504c37ee2d1)
Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d78b819c2ec33fce3a34254fa90864ee5fa7617)
Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise the SDK fails to build as the main openssh and dropbear packages
conflict with each other
(From OE-Core rev: 7bc7d4d24ee05a3bbb9a82ff1089da5d162c8497)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 4667abcc925ae0c430cccb480ec530506f6201ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise the SDK fails to build as the main openssh and dropbear packages
conflict with each other
(From OE-Core rev: e863fc060940d11cd6fd58f0f314333ed419cf54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit f90647e9dd95cfd29b5bdb8d7dcd688a10fc060c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need sftp so that scp works with recent openssh. Use the packagegroup
instead of a direct dependency to ensure this.
(From OE-Core rev: 70b3c7004e8f14a99adf6119f153a08ec4a4bc6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b76c8e5fc8802bbe54371119e6bf6312bf2a8ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Seems sad to have to do this but openssh is moving to use sftp instead
of scp to move files. This means scp from Fedora 36 will no longer be
able to move files to/from a dropbear based image. This breaks a number
of our key QA tests and I suspect will cause users pain too.
The sftp server from openssh is small (200kb uncompressed) and standalone
so adding it to the packagegroup seems to be the best way to preserve user
sanity. If people really don't want it, they can just use dropbear instead
of the packageground.
(From OE-Core rev: 93796b2787c410385d3176495e5307327449d2f7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a98188e83b2c027d99cc38e3367e1ec2a98efbb0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fedora is switching to use sftp as the backend for scp. This means the
scp test fails on Fedora 36 hosts with a dropbear target as dropbear
doesn't support sftp. This change is in the upstream openssh code, other
distros have not yet changed the default but probably will follow.
The easiest way to resolve test failures in dropbear images is to stop
testing this against dropbear as it is no longer expected to work and will
likely spread as the change filters through other distros.
(From OE-Core rev: e7fb95c0b22b52b253f8d0ff10426bee9967854e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a71fc7d455400f406b0d607be712a1133fe91166)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has changed branch name to main from master. Change SRC_URI
accordingly.
(From OE-Core rev: f7af3c555d9ddef54264fa7da911507bca3eecb4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.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:
871cbc208bf0 Linux 5.4.203
572cc34503d4 crypto: arm/ghash-ce - define fpu before fpu registers are referenced
3bf992f9d9a8 crypto: arm - use Kconfig based compiler checks for crypto opcodes
1b43c30cd5d5 ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler
9e00e5d195ed ARM: OMAP2+: drop unnecessary adrl
3657432a75e3 ARM: 8929/1: use APSR_nzcv instead of r15 as mrc operand
02c200fdba46 ARM: 8933/1: replace Sun/Solaris style flag on section directive
54e6ecd5b7ca crypto: arm/sha512-neon - avoid ADRL pseudo instruction
5e6f80033286 crypto: arm/sha256-neon - avoid ADRL pseudo instruction
e120403c0e7c ARM: 8971/1: replace the sole use of a symbol with its definition
0a43679016f0 ARM: 8990/1: use VFP assembler mnemonics in register load/store macros
472671eec98a ARM: 8989/1: use .fpu assembler directives instead of assembler arguments
2bfb0d43a47c net: mscc: ocelot: allow unregistered IP multicast flooding
223d551a6681 kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add]
ab3ed204a146 powerpc/ftrace: Remove ftrace init tramp once kernel init is complete
77e2ad091850 drm: remove drm_fb_helper_modinit
9ef3ad40a81f Linux 5.4.202
ceda71d49f6b powerpc/pseries: wire up rng during setup_arch()
ece983890287 kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS (2nd attempt)
2a81e813141e random: update comment from copy_to_user() -> copy_to_iter()
80f0038d757e modpost: fix section mismatch check for exported init/exit sections
d1359e4129ad ARM: cns3xxx: Fix refcount leak in cns3xxx_init
29ca9c4efacc ARM: Fix refcount leak in axxia_boot_secondary
734a4d15142b soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe
f9b77a529375 ARM: exynos: Fix refcount leak in exynos_map_pmu
615907ccc421 ARM: dts: imx6qdl: correct PU regulator ramp delay
93e6137d2a5b powerpc/powernv: wire up rng during setup_arch
97808c781721 powerpc/rtas: Allow ibm,platform-dump RTAS call with null buffer address
b6232979320a powerpc: Enable execve syscall exit tracepoint
e0701f150b28 parisc: Enable ARCH_HAS_STRICT_MODULE_RWX
e5234a9d64a9 xtensa: Fix refcount leak bug in time.c
a52972ee706b xtensa: xtfpga: Fix refcount leak bug in setup
f0fc7cdf5f19 iio: adc: axp288: Override TS pin bias current for some models
11c7ea38be91 iio: adc: stm32: fix maximum clock rate for stm32mp15x
5e39397d60da iio: trigger: sysfs: fix use-after-free on remove
6d2e68d02171 iio: gyro: mpu3050: Fix the error handling in mpu3050_power_up()
1ad6d668543d iio: accel: mma8452: ignore the return value of reset operation
a391bced8404 iio:accel:mxc4005: rearrange iio trigger get and register
23c158caa032 iio:accel:bma180: rearrange iio trigger get and register
8ea16a64aafc iio:chemical:ccs811: rearrange iio trigger get and register
2333db14d875 usb: chipidea: udc: check request status before setting device address
47e41b4dabbf xhci: turn off port power in shutdown
d62d1c606db0 iio: adc: vf610: fix conversion mode sysfs node name
741b6c8363c2 s390/cpumf: Handle events cycles and instructions identical
4837d1c81223 gpio: winbond: Fix error code in winbond_gpio_get()
bb18ad00c0b7 Revert "net/tls: fix tls_sk_proto_close executed repeatedly"
8c7a32b7c155 virtio_net: fix xdp_rxq_info bug after suspend/resume
28a78414f21e igb: Make DMA faster when CPU is active on the PCIe link
a5ed066bc246 regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
844168a5dabf ice: ethtool: advertise 1000M speeds properly
e3a232e57670 afs: Fix dynamic root getattr
cacab1e620e0 MIPS: Remove repetitive increase irq_err_count
788c954f194c x86/xen: Remove undefined behavior in setup_features()
c7bdaad9cbfe udmabuf: add back sanity check
05c6c36c7931 net/tls: fix tls_sk_proto_close executed repeatedly
02da602bc2f3 erspan: do not assume transport header is always set
d1592d3e362c drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
f1f9c2a5a3d9 net/sched: sch_netem: Fix arithmetic in netem_dump() for 32-bit platforms
47d31b97bf47 bonding: ARP monitor spams NETDEV_NOTIFY_PEERS notifiers
104a59b74577 phy: aquantia: Fix AN when higher speeds than 1G are not advertised
8ffe2e50e967 bpf: Fix request_sock leak in sk lookup helpers
f074ab253988 USB: serial: option: add Quectel RM500K module support
ea7b23eadebc USB: serial: option: add Quectel EM05-G modem
613c849d73df USB: serial: option: add Telit LE910Cx 0x1250 composition
ae183969bd66 random: quiet urandom warning ratelimit suppression message
06a24ddba93a dm mirror log: clear log bits up to BITS_PER_LONG boundary
1f350f3cf0c1 dm era: commit metadata in postsuspend after worker stops
0e75acbe1b76 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
71c76f56b97c mtd: rawnand: gpmi: Fix setting busy timeout setting
c8d37e6ca180 mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing
af28f602df74 net: openvswitch: fix parsing of nw_proto for IPv6 fragments
6fda65dabd3e ALSA: hda/realtek: Add quirk for Clevo PD70PNT
5fbad99e76c0 ALSA: hda/realtek - ALC897 headset MIC no sound
cf81f367cf81 ALSA: hda/conexant: Fix missing beep setup
eca9b5e36e24 ALSA: hda/via: Fix missing beep setup
1df5178fdebe random: schedule mix_interrupt_randomness() less often
c87e851b23e5 vt: drop old FONT ioctls
23db944f754e Linux 5.4.201
3994d2ee55e2 Revert "hwmon: Make chip parameter for with_info API mandatory"
7b9c3bfbad25 arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA transfer
2e1591c27b95 tcp: drop the hash_32() part from the index calculation
c26e1addf157 tcp: increase source port perturb table to 2^16
77d29f3b18c4 tcp: dynamically allocate the perturb table used by source ports
7c0a777b7dbd tcp: add small random increments to the source port
53c5de3092ad tcp: use different parts of the port_offset for index and offset
95921a3bab76 tcp: add some entropy in __inet_hash_connect()
bdcbf2602feb usb: gadget: u_ether: fix regression in setting fixed MAC address
2577d67a9a8a dm: remove special-casing of bio-based immutable singleton target on NVMe
4143503b486a s390/mm: use non-quiescing sske for KVM switch to keyed guest
f0c280af0ec7 Linux 5.4.200
ab8dff4b716e powerpc/mm: Switch obsolete dssall to .long
1a48a41f1422 riscv: Less inefficient gcc tishift helpers (and export their symbols)
2464a1c0de53 RISC-V: fix barrier() use in <vdso/processor.h>
490a02cd8205 arm64: kprobes: Use BRK instead of single-step when executing instructions out-of-line
ef6f9ce0a79a net: openvswitch: fix leak of nested actions
6bb3c77c74f5 net: openvswitch: fix misuse of the cached connection on tuple changes
b47319b4aa21 net/sched: act_police: more accurate MTU policing
13fbdea1184b virtio-pci: Remove wrong address verification in vp_del_vqs()
80e4d8a27451 ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machine
119e0268cc1c ALSA: hda/realtek: fix mute/micmute LEDs for HP 440 G8
fba542891767 ext4: add reserved GDT blocks check
4ca0d2f1e04e ext4: make variable "count" signed
a6b31616e5af ext4: fix bug_on ext4_mb_use_inode_pa
ae4603128751 dm mirror log: round up region bitmap size to BITS_PER_LONG
64d2df648003 serial: 8250: Store to lsr_save_flags after lsr read
b75bddfcc181 usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
6506aff2dc2f usb: dwc2: Fix memory leak in dwc2_hcd_init
940653b51c33 USB: serial: io_ti: add Agilent E5805A support
31363b2b868e USB: serial: option: add support for Cinterion MV31 with new baseline
d0c3730f2763 comedi: vmk80xx: fix expression for tx buffer size
bf833c484881 i2c: designware: Use standard optional ref clock implementation
8d884c08eeb8 irqchip/gic-v3: Fix refcount leak in gic_populate_ppi_partitions
58e67c81e229 irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions
56526c3883fc irqchip/gic/realview: Fix refcount leak in realview_gic_of_init
4695bafabf5b faddr2line: Fix overlapping text section failures, the sequel
1b34d6a93832 certs/blacklist_hashes.c: fix const confusion in certs blacklist
fb775ee3cfff arm64: ftrace: fix branch range checks
0e21311ba459 net: bgmac: Fix an erroneous kfree() in bgmac_remove()
c19cdd72b3ec mlxsw: spectrum_cnt: Reorder counter pools
c03304dc4234 misc: atmel-ssc: Fix IRQ check in ssc_probe
f7183c76d500 tty: goldfish: Fix free_irq() on remove
ff6e03fe84bc i40e: Fix call trace in setup_tx_descriptors
4b94408e1617 i40e: Fix calculating the number of queue pairs
43f65970eeb2 i40e: Fix adding ADQ filter to TC0
cff3a7ce6e81 clocksource: hyper-v: unexport __init-annotated hv_init_clocksource()
11c870c0b532 pNFS: Don't keep retrying if the server replied NFS4ERR_LAYOUTUNAVAILABLE
e32fe87afcfe random: credit cpu and bootloader seeds by default
9e4cab02b7ec net: ethernet: mtk_eth_soc: fix misuse of mem alloc interface netdev[napi]_alloc_frag
2f42389d270f ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg
6b4d8b44e716 nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred
786428a1dec2 virtio-mmio: fix missing put_device() when vm_cmdline_parent registration failed
aacb264d54c4 ALSA: hda/realtek - Add HW8326 support
ff882404dff7 scsi: pmcraid: Fix missing resource cleanup in error case
c48119223618 scsi: ipr: Fix missing/incorrect resource cleanup in error case
fe0855944a64 scsi: lpfc: Allow reduced polling rate for nvme_admin_async_event cmd completion
1f1be79189fd scsi: lpfc: Fix port stuck in bypassed state after LIP in PT2PT topology
001de3d8ce82 scsi: vmw_pvscsi: Expand vcpuHint to 16 bits
9e3a0d3fc71c ASoC: wm_adsp: Fix event generation for wm_adsp_fw_put()
bc046649c5d6 ASoC: es8328: Fix event generation for deemphasis control
a81f5a7f7a20 ASoC: wm8962: Fix suspend while playing music
253334f84c81 ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()
052cd621acbf ASoC: cs42l56: Correct typo in minimum level for SX volume controls
6d180913b3ab ASoC: cs42l52: Correct TLV for Bypass Volume
385a031c56a9 ASoC: cs53l30: Correct number of volume levels on SX controls
675b6a49cf70 ASoC: cs35l36: Update digital volume TLV
b00f63dba5b8 ASoC: cs42l52: Fix TLV scales for mixer controls
cd8c1e6c01f1 dma-debug: make things less spammy under memory pressure
a45e19fd6ed8 ASoC: nau8822: Add operation for internal PLL off and on
348831a9e8aa powerpc/kasan: Silence KASAN warnings in __get_wchan()
5624055c8f4b random: account for arch randomness in bits
c0bf6bfce70a random: mark bootloader randomness code as __init
f96250197b43 random: avoid checking crng_ready() twice in random_init()
072cd87d12a8 crypto: drbg - make reseeding from get_random_bytes() synchronous
e9eb0c4741a7 crypto: drbg - always try to free Jitter RNG instance
f284afc3a9ca crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed()
babba4bf53a6 crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()
1b93b302e942 crypto: drbg - prepare for more fine-grained tracking of seeding state
98e574a73414 crypto: drbg - always seeded with SP800-90B compliant noise source
61f87ea3f957 Revert "random: use static branch for crng_ready()"
3faf33a85650 random: check for signals after page of pool writes
2177cef53ec9 random: wire up fops->splice_{read,write}_iter()
35db2a073118 random: convert to using fops->write_iter()
43e62db84a99 random: convert to using fops->read_iter()
c23188facd10 random: unify batched entropy implementations
1aeedbe02b5c random: move randomize_page() into mm where it belongs
ceaf1feefe6e random: move initialization functions out of hot pages
d3bf98d61fb6 random: make consistent use of buf and len
70fce7f105bb random: use proper return types on get_random_{int,long}_wait()
d05948dc23e6 random: remove extern from functions in header
d8b4296417ea random: use static branch for crng_ready()
087a14b9cf9b random: credit architectural init the exact amount
ac48f7bee198 random: handle latent entropy and command line from random_init()
736a22645d98 random: use proper jiffies comparison macro
3266fba20661 random: remove ratelimiting for in-kernel unseeded randomness
c5373bd6e4fb random: move initialization out of reseeding hot path
0747ad152fa1 random: avoid initializing twice in credit race
0baeec0effc7 random: use symbolic constants for crng_init states
55d64df3ad5b siphash: use one source of truth for siphash permutations
e4e8a9f8a616 random: help compiler out with fast_mix() by using simpler arguments
bf3b51eb0f13 random: do not use input pool from hard IRQs
6d4203a2cddc random: order timer entropy functions below interrupt functions
58da574f105a random: do not pretend to handle premature next security model
e739d5bd1466 random: use first 128 bits of input as fast init
c44f8b386376 random: do not use batches when !crng_ready()
e247ea8d97bf random: insist on random_get_entropy() existing in order to simplify
9bfbcb37e5f6 xtensa: use fallback for random_get_entropy() instead of zero
fa15650b51f6 sparc: use fallback for random_get_entropy() instead of zero
9dfc14590c5d um: use fallback for random_get_entropy() instead of zero
0cc41e2c73f7 x86/tsc: Use fallback for random_get_entropy() instead of zero
f2a6e8727084 nios2: use fallback for random_get_entropy() instead of zero
db1d13fe4c80 arm: use fallback for random_get_entropy() instead of zero
6fa912f987fa mips: use fallback for random_get_entropy() instead of just c0 random
36f38f838c5b m68k: use fallback for random_get_entropy() instead of zero
a7d04ca9da61 timekeeping: Add raw clock fallback for random_get_entropy()
eb2f9d72f32a powerpc: define get_cycles macro for arch-override
10455a367c33 alpha: define get_cycles macro for arch-override
5f0b77ca1978 parisc: define get_cycles macro for arch-override
80459abc9fee s390: define get_cycles macro for arch-override
73385644490a ia64: define get_cycles macro for arch-override
5fac86663976 init: call time_init() before rand_initialize()
b88ae87b100c random: fix sysctl documentation nits
465425748359 random: document crng_fast_key_erasure() destination possibility
ec07b3494517 random: make random_get_entropy() return an unsigned long
fe156368f987 random: allow partial reads if later user copies fail
70788723da70 random: check for signals every PAGE_SIZE chunk of /dev/[u]random
2ce859d91fe9 random: check for signal_pending() outside of need_resched() check
0e8030c9e03d random: do not allow user to keep crng key around on stack
95aed891f7be random: do not split fast init input in add_hwgenerator_randomness()
1d53d5a0973e random: mix build-time latent entropy into pool at init
0aba75c6173d random: re-add removed comment about get_random_{u32,u64} reseeding
81ea8a609b48 random: treat bootloader trust toggle the same way as cpu trust toggle
a08d52a6081b random: skip fast_init if hwrng provides large chunk of entropy
8320bc665c29 random: check for signal and try earlier when generating entropy
3a53b818bb0e random: reseed more often immediately after booting
905759e0fc17 random: make consistent usage of crng_ready()
ad4c6bd98c54 random: use SipHash as interrupt entropy accumulator
631503001ccf random: replace custom notifier chain with standard one
1ae73fb2a635 random: don't let 644 read-only sysctls be written to
ed409757100b random: give sysctl_random_min_urandom_seed a more sensible value
75d95c1b5dea random: do crng pre-init loading in worker rather than irq
219c84fe93e5 random: unify cycles_t and jiffies usage and types
673637c4c9e0 random: cleanup UUID handling
4d5151cc288a random: only wake up writers after zap if threshold was passed
ac0081dec7d6 random: round-robin registers as ulong, not u32
62cd795e465a random: clear fast pool, crng, and batches in cpuhp bring up
a7f8f385bb6f random: pull add_hwgenerator_randomness() declaration into random.h
ff607fc7607d random: check for crng_init == 0 in add_device_randomness()
20788eb4ce70 random: unify early init crng load accounting
49567f947735 random: do not take pool spinlock at boot
4a61bf7f9b18 random: defer fast pool mixing to worker
944d1bd0e5be random: rewrite header introductory comment
c0e35949c736 random: group sysctl functions
d946084180ee random: group userspace read/write functions
565a66043bdf random: group entropy collection functions
f2d587c493fc random: group entropy extraction functions
a8786d54762f random: group crng functions
c12dfec1aacf random: group initialization wait functions
22e3db57ab94 random: remove whitespace and reorder includes
cee64be60591 random: remove useless header comment
904e6123c400 random: introduce drain_entropy() helper to declutter crng_reseed()
47c56790d51c random: deobfuscate irq u32/u64 contributions
e280b79c3127 random: add proper SPDX header
776927dfd4ac random: remove unused tracepoints
d68883956d36 random: remove ifdef'd out interrupt bench
4a14a5a6969a random: tie batched entropy generation to base_crng generation
d8a6684950c1 random: fix locking for crng_init in crng_reseed()
b1d561138150 random: zero buffer after reading entropy from userspace
21da00f8cb3a random: remove outdated INT_MAX >> 6 check in urandom_read()
b530684129b2 random: make more consistent use of integer types
3eed6af93ecd random: use hash function for crng_slow_load()
cee3c7056900 random: use simpler fast key erasure flow on per-cpu keys
ea9941fd6e26 random: absorb fast pool into input pool after fast load
a3562bf4e8c9 random: do not xor RDRAND when writing into /dev/random
574c8839504b random: ensure early RDSEED goes through mixer on init
d3d3c1c214c3 random: inline leaves of rand_initialize()
817315517af9 random: get rid of secondary crngs
c15fc80b7df0 random: use RDSEED instead of RDRAND in entropy extraction
72db8151c889 random: fix locking in crng_fast_load()
7229c6d90a1a random: remove batched entropy locking
6c8911579221 random: remove use_input_pool parameter from crng_reseed()
4ef908fb81d9 random: make credit_entropy_bits() always safe
42a9a7e80750 random: always wake up entropy writers after extraction
373ef51f3e8a random: use linear min-entropy accumulation crediting
a1a2bae5ef93 random: simplify entropy debiting
4e5814bd2e75 random: use computational hash for entropy extraction
99a0f8e22d4c random: only call crng_finalize_init() for primary_crng
88609b892fdd random: access primary_pool directly rather than through pointer
0b9f9b94f1ea random: continually use hwgenerator randomness
811e333c4eb2 random: simplify arithmetic function flow in account()
56de23dcf9d0 random: selectively clang-format where it makes sense
86eac12b1cf5 random: access input_pool_data directly rather than through pointer
4f5400ca7fc1 random: cleanup fractional entropy shift constants
1b6f1d32a858 random: prepend remaining pool constants with POOL_
0fe4a64fd946 random: de-duplicate INPUT_POOL constants
e35576c4cb18 random: remove unused OUTPUT_POOL constants
74cb3093f2de random: rather than entropy_store abstraction, use global
14652d864280 random: remove unused extract_entropy() reserved argument
12f17e3f3a14 random: remove incomplete last_data logic
adcbbb44ccc1 random: cleanup integer types
4ac4c7f057ff random: cleanup poolinfo abstraction
5c3818e3bd7b random: fix typo in comments
0a7e65810269 random: don't reset crng_init_cnt on urandom_read()
8d7c55563ed0 random: avoid superfluous call to RDRAND in CRNG extraction
8b4695640bc5 random: early initialization of ChaCha constants
cfc69065005e random: initialize ChaCha20 constants with correct endianness
922d082e3363 random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs
565b3af16894 random: harmonize "crng init done" messages
346c4a697c29 random: mix bootloader randomness into pool
afce74c0c04f random: do not re-init if crng_reseed completes before primary init
d76758c71209 random: do not sign extend bytes for rotation when mixing
c2f0a89cd1d5 random: use BLAKE2s instead of SHA1 in extraction
6e6ae70c1eac random: remove unused irq_flags argument from add_interrupt_randomness()
2580b0b3fd5a random: document add_hwgenerator_randomness() with other input functions
3cc36a4aa1ca crypto: blake2s - adjust include guard naming
09342a544c4b crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>
f850f3643d6b MAINTAINERS: co-maintain random.c
967e3a136f9b random: remove dead code left over from blocking pool
610f0b439a6b random: avoid arch_get_random_seed_long() when collecting IRQ randomness
ad3fce669105 random: add arch_get_random_*long_early()
41b0d3e86c50 powerpc: Use bool in archrandom.h
89533373e11c linux/random.h: Mark CONFIG_ARCH_RANDOM functions __must_check
0222f9f1d168 linux/random.h: Use false with bool
15f93060b718 linux/random.h: Remove arch_has_random, arch_has_random_seed
a95ed04e21da s390: Remove arch_has_random, arch_has_random_seed
aab52172d9f9 powerpc: Remove arch_has_random, arch_has_random_seed
35e28a05f659 x86: Remove arch_has_random, arch_has_random_seed
98f749e29728 random: avoid warnings for !CONFIG_NUMA builds
c13b9c3627d8 random: split primary/secondary crng init paths
c070b07aaf34 random: remove some dead code of poolinfo
898498bb4414 random: fix typo in add_timer_randomness()
2c53d6d6a7be random: Add and use pr_fmt()
f3375cfe31bc random: convert to ENTROPY_BITS for better code readability
9f757cad20b7 random: remove unnecessary unlikely()
4431c366fe23 random: remove kernel.random.read_wakeup_threshold
ec134003cc39 random: delete code to pull data into pools
a9564e14c6dd random: remove the blocking pool
940cbc47b369 random: make /dev/random be almost like /dev/urandom
c4edc1055c11 random: ignore GRND_RANDOM in getentropy(2)
7f9f864af021 random: add GRND_INSECURE to return best-effort non-cryptographic bytes
479d39707ff7 random: Add a urandom_read_nowait() for random APIs that don't warn
69441ba56f13 random: Don't wake crng_init_wait when crng_init == 1
69ef3109d422 random: don't forget compat_ioctl on urandom
927fc225af29 compat_ioctl: remove /dev/random commands
996fba14fa35 lib/crypto: sha1: re-roll loops to reduce code size
c4f48374407b lib/crypto: blake2s: move hmac construction into wireguard
97126d2f65b3 crypto: blake2s - generic C library implementation and selftest
76101f1b7f59 nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION
e804587ecdcd bpf: Fix incorrect memory charge cost calculation in stack_map_alloc()
f91da317e6fa 9p: missing chunk of "fs/9p: Don't update file type when updating file attributes"
(From OE-Core rev: 6126f40a7ce1c55638277e45c084b82364a654b6)
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:
a31bd366116c Linux 5.4.199
4cc40b1022bb x86/speculation/mmio: Print SMT warning
d49c22094e6f KVM: x86/speculation: Disable Fill buffer clear within guests
d96159263593 x86/speculation/mmio: Reuse SRBDS mitigation for SBDS
bc64f38b5a38 x86/speculation/srbds: Update SRBDS mitigation selection
020ce7495cfc x86/speculation/mmio: Add sysfs reporting for Processor MMIO Stale Data
8d25482fc96a x86/speculation/mmio: Enable CPU Fill buffer clearing on idle
7f898baa2044 x86/bugs: Group MDS, TAA & Processor MMIO Stale Data mitigations
0800f1b45bf6 x86/speculation/mmio: Add mitigation for Processor MMIO Stale Data
ae649e0cbf76 x86/speculation: Add a common function for MD_CLEAR mitigation update
814ccb673035 x86/speculation/mmio: Enumerate Processor MMIO Stale Data bug
91f8147c8371 Documentation: Add documentation for Processor MMIO Stale Data
1e9f4e8a7aa9 x86/cpu: Add another Alder Lake CPU to the Intel family
45e744de251c x86/cpu: Add Lakefield, Alder Lake and Rocket Lake models to the to Intel CPU family
79568d551570 x86/cpu: Add Jasper Lake to Intel family
9e2efaa5dd10 cpu/speculation: Add prototype for cpu_show_srbds()
9d6e67bf5090 Linux 5.4.198
602b338e3c3c tcp: fix tcp_mtup_probe_success vs wrong snd_cwnd
b35e08edb2c2 mtd: cfi_cmdset_0002: Use chip_ready() for write on S29GL064N
0c12d7625502 md/raid0: Ignore RAID0 layout if the second zone has only one device
0c4bc0a2f825 powerpc/32: Fix overread/overwrite of thread_struct via ptrace
3c953d47eb1e Input: bcm5974 - set missing URB_NO_TRANSFER_DMA_MAP urb flag
6ec537c50033 ixgbe: fix unexpected VLAN Rx in promisc mode on VF
24030768a7b4 ixgbe: fix bcast packets Rx on VF after promisc removal
3eca2c42daa4 nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling
31f9c39b4a37 nfc: st21nfca: fix incorrect validating logic in EVT_TRANSACTION
4f4ab5004633 mmc: block: Fix CQE recovery reset success
0245434e381e ata: libata-transport: fix {dma|pio|xfer}_mode sysfs files
b651f70ed3a8 cifs: return errors during session setup during reconnects
850965edc861 ALSA: hda/conexant - Fix loopback issue with CX20632
6c04a2ae039b scripts/gdb: change kernel config dumping method
1a36f77dc23c vringh: Fix loop descriptors check in the indirect cases
a3f9b0afd8b4 nodemask: Fix return values to be unsigned
9b306339a511 cifs: version operations for smb20 unneeded when legacy support disabled
5cb13cdc180a s390/gmap: voluntarily schedule during key setting
69893d6d7f5c nbd: fix io hung while disconnecting device
8a7da4ced236 nbd: fix race between nbd_alloc_config() and module removal
1be608e1ee1f nbd: call genl_unregister_family() first in nbd_cleanup()
045045b522c6 x86/cpu: Elide KCSAN for cpu_has() and friends
460083de66c4 modpost: fix undefined behavior of is_arm_mapping_symbol()
28fd384c78d7 drm/radeon: fix a possible null pointer dereference
9223144fdd64 ceph: allow ceph.dir.rctime xattr to be updatable
7df12bee5415 Revert "net: af_key: add check for pfkey_broadcast in function pfkey_process"
0331d261c398 scsi: myrb: Fix up null pointer access on myrb_cleanup()
cf6b9316879f md: protect md_unregister_thread from reentrancy
99e4c67a5581 watchdog: wdat_wdt: Stop watchdog when rebooting the system
6fd031799e7b kernfs: Separate kernfs_pr_cont_buf and rename_lock.
19f4b51b836d serial: msm_serial: disable interrupts in __msm_console_write()
52a0d88c3280 staging: rtl8712: fix uninit-value in r871xu_drv_init()
58762f1c63c7 staging: rtl8712: fix uninit-value in usb_read8() and friends
1bcfb95de192 clocksource/drivers/sp804: Avoid error on multiple instances
d472c78cc829 extcon: Modify extcon device to be created after driver data is set
fa0b2dd6829d misc: rtsx: set NULL intfdata when probe fails
d232ca0bbc7d usb: dwc2: gadget: don't reset gadget's driver->bus
3a7170a3de62 USB: hcd-pci: Fully suspend across freeze/thaw cycle
2dcec0bc142b drivers: usb: host: Fix deadlock in oxu_bus_suspend()
09a5958a2452 drivers: tty: serial: Fix deadlock in sa1100_set_termios()
c91a74b1f0f2 USB: host: isp116x: check return value after calling platform_get_resource()
64b05fa212c7 drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop()
1fbe033c5248 drivers: staging: rtl8192u: Fix deadlock in ieee80211_beacons_stop()
8c014373f178 tty: Fix a possible resource leak in icom_probe
f6e07eb7ebec tty: synclink_gt: Fix null-pointer-dereference in slgt_clean()
1b04c934e1e6 lkdtm/usercopy: Expand size of "out of frame" object
ca2498cce875 iio: st_sensors: Add a local lock for protecting odr
ab75e02366e1 iio: dummy: iio_simple_dummy: check the return value of kstrdup()
36acb4d9ce55 drm: imx: fix compiler warning with gcc-12
8174acbef87b net: altera: Fix refcount leak in altera_tse_mdio_create
3d08bc3a5d9b ip_gre: test csum_start instead of transport header
957d298526b5 net/mlx5: fs, fail conflicting actions
8a6740fdc562 net/mlx5: Rearm the FW tracer after each tracer event
317260b3eb63 net: ipv6: unexport __init-annotated seg6_hmac_init()
ef6d2354de23 net: xfrm: unexport __init-annotated xfrm4_protocol_init()
6a90a44d5342 net: mdio: unexport __init-annotated mdio_bus_init()
978dcc55cf36 SUNRPC: Fix the calculation of xdr->end in xdr_get_next_encode_buffer()
180473e8e42a net/mlx4_en: Fix wrong return value on ioctl EEPROM query failure
7c8df6fad43d net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list
e412b3d178ea bpf, arm64: Clear prog->jited_len along prog->jited
556720013c36 af_unix: Fix a data-race in unix_dgram_peer_wake_me().
b49c884146e2 xen: unexport __init-annotated xen_xlate_map_ballooned_pages()
5b8d63489c3b netfilter: nf_tables: memleak flow rule from commit path
d5a1e7f33c88 ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe
e0212033ff68 netfilter: nat: really support inet nat without l3 address
da99331fa621 xprtrdma: treat all calls not a bcall when bc_serv is NULL
48dea4d3a11f video: fbdev: pxa3xx-gcu: release the resources correctly in pxa3xx_gcu_probe/remove()
a2b3be930e79 NFSv4: Don't hold the layoutget locks across multiple RPC calls
83960276ffc9 dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type
4917e43bca50 m68knommu: fix undefined reference to `_init_sp'
f6bdafbb9b04 m68knommu: set ZERO_PAGE() to the allocated zeroed page
27fdb4572344 i2c: cadence: Increase timeout per message if necessary
0a7a1fc7e71e f2fs: remove WARN_ON in f2fs_is_valid_blkaddr
23b2163b887f tracing: Avoid adding tracer option before update_tracer_options
48c6ee7d6c61 tracing: Fix sleeping function called from invalid context on RT kernel
cc0aed22d33c mips: cpc: Fix refcount leak in mips_cpc_default_phys_base
ff66ae4359ff perf c2c: Fix sorting in percent_rmt_hitm_cmp()
8b91d0dfc839 tipc: check attribute length for bearer name
c2eba68d185b afs: Fix infinite loop found by xfstest generic/676
d05c2fdf8e10 tcp: tcp_rtx_synack() can be called from process context
1bd2f7f38bac net: sched: add barrier to fix packet stuck problem for lockless qdisc
77b954ce2d64 net/mlx5e: Update netdev features after changing XDP state
a4c52440acf4 net/mlx5: Don't use already freed action pointer
00803d30518f nfp: only report pause frame configuration for physical device
8302620aeb94 ubi: ubi_create_volume: Fix use-after-free when volume creation failed
d3a4fff1e7e4 jffs2: fix memory leak in jffs2_do_fill_super
acf92b525723 modpost: fix removing numeric suffixes
a101793994c0 net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register
2bd1faedb74d net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()
be73e3bf6862 net: sched: fixed barrier to prevent skbuff sticking in qdisc backlog
51ed32c1cfcf s390/crypto: fix scatterwalk_unmap() callers in AES-GCM
80f6712f241c clocksource/drivers/oxnas-rps: Fix irq_of_parse_and_map() return value
e5d479d73f21 ASoC: fsl_sai: Fix FSL_SAI_xDR/xFR definition
5b110d940417 watchdog: ts4800_wdt: Fix refcount leak in ts4800_wdt_probe
593b595332bd driver core: fix deadlock in __device_attach
5d709f58c743 driver: base: fix UAF when driver_attach failed
3157118c1795 bus: ti-sysc: Fix warnings for unbind for serial
a724634b2a49 firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle
c3a16e7c8624 serial: stm32-usart: Correct CSIZE, bits, and parity
29d963635ee6 serial: st-asc: Sanitize CSIZE and correct PARENB for CS7
5c01c19f64c7 serial: sifive: Sanitize CSIZE and c_iflag
841cab744cc0 serial: sh-sci: Don't allow CS5-6
942aa88467b9 serial: txx9: Don't allow CS5-6
eb8de4bac35a serial: rda-uart: Don't allow CS5-6
0de3d2344ee0 serial: digicolor-usart: Don't allow CS5-6
035bc3b734aa serial: 8250_fintek: Check SER_RS485_RTS_* only with RS485
1b3ae6d85069 serial: meson: acquire port->lock in startup()
d77f28c1bc9d rtc: mt6397: check return value after calling platform_get_resource()
d041e885749f clocksource/drivers/riscv: Events are stopped during CPU suspend
69a30b2ed620 soc: rockchip: Fix refcount leak in rockchip_grf_init
0f91755514b8 coresight: cpu-debug: Replace mutex with mutex_trylock on panic notifier
47e4c42faab9 serial: sifive: Report actual baud base rather than fixed 115200
f2a16af2ee0a phy: qcom-qmp: fix pipe-clock imbalance on power-on failure
b6b0f8904bd6 rpmsg: qcom_smd: Fix returning 0 if irq_of_parse_and_map() fails
088f449d9d3c iio: adc: sc27xx: Fine tune the scale calibration values
e5d48301d1fc iio: adc: sc27xx: fix read big scale voltage not right
0f57d139300f iio: adc: stmpe-adc: Fix wait_for_completion_timeout return value check
bec18bb00f11 firmware: stratix10-svc: fix a missing check on list iterator
8ad7b3d9f838 usb: dwc3: pci: Fix pm_runtime_get_sync() error checking
1026ee392ba3 rpmsg: qcom_smd: Fix irq_of_parse_and_map() return value
89d1b9dfccce pwm: lp3943: Fix duty calculation in case period was clamped
8e9f3f508a9c staging: fieldbus: Fix the error handling path in anybuss_host_common_probe()
67c2aa77b40e usb: musb: Fix missing of_node_put() in omap2430_probe
b78499772fa7 USB: storage: karma: fix rio_karma_init return
72ab0f6f2ba8 usb: usbip: add missing device lock on tweak configuration cmd
2f0ae93ec33c usb: usbip: fix a refcount leak in stub_probe()
077f58e469a6 tty: serial: fsl_lpuart: fix potential bug when using both of_alias_get_id and ida_simple_get
7320308b189c tty: serial: owl: Fix missing clk_disable_unprepare() in owl_uart_probe
9ae3d073f7db tty: goldfish: Use tty_port_destroy() to destroy port
d88fdea1477c iio: adc: ad7124: Remove shift from scan_type
1aa30dc88372 staging: greybus: codecs: fix type confusion of list iterator variable
6c8c536e0020 pcmcia: db1xxx_ss: restrict to MIPS_DB1XXX boards
4faa6308e1b8 md: bcache: check the return value of kzalloc() in detached_dev_do_request()
5f62b21b7c93 block: fix bio_clone_blkg_association() to associate with proper blkcg_gq
ccddf8cd411c bfq: Make sure bfqg for which we are queueing requests is online
8afc13b958bd bfq: Get rid of __bio_blkcg() usage
be1b78f94992 bfq: Remove pointless bfq_init_rq() calls
f885f55033a1 bfq: Drop pointless unlock-lock pair
97be7d13fbd4 bfq: Avoid merging queues with different parents
54073410537f MIPS: IP27: Remove incorrect `cpu_has_fpu' override
427c3c7ebd5f RDMA/rxe: Generate a completion for unsupported/invalid opcode
4946cfd1c8f0 Kconfig: add config option for asm goto w/ outputs
7ac21b24af85 phy: qcom-qmp: fix reset-controller leak on probe errors
d19fa8f25200 blk-iolatency: Fix inflight count imbalances and IO hangs on offline
8a068913d19d dt-bindings: gpio: altera: correct interrupt-cells
3b8c37780d11 docs/conf.py: Cope with removal of language=None in Sphinx 5.0.0
da9634374d41 ARM: pxa: maybe fix gpio lookup tables
1668ad103679 phy: qcom-qmp: fix struct clk leak on probe errors
2040b6076544 arm64: dts: qcom: ipq8074: fix the sleep clock frequency
8dd2e5f9c1f1 gma500: fix an incorrect NULL check on list iterator
a62591e36100 tilcdc: tilcdc_external: fix an incorrect NULL check on list iterator
77ec584d3de0 serial: pch: don't overwrite xmit->buf[0] by x_char
f6cb1470ba22 carl9170: tx: fix an incorrect use of list iterator
2ea49d6310c9 ASoC: rt5514: Fix event generation for "DSP Voice Wake Up" control
b8ce58ab80fa rtl818x: Prevent using not initialized queues
6f4a489d8458 hugetlb: fix huge_pmd_unshare address update
73bdb2359dbc nodemask.h: fix compilation error with GCC12
6e071eaf5002 iommu/msm: Fix an incorrect NULL check on list iterator
9caad70819ae um: Fix out-of-bounds read in LDT setup
6cbe83680f01 um: chan_user: Fix winch_tramp() return value
3466e4265244 mac80211: upgrade passive scan to active scan on DFS channels after beacon rx
cf465ecfe3a8 irqchip: irq-xtensa-mx: fix initial IRQ affinity
36bab24bb81b irqchip/armada-370-xp: Do not touch Performance Counter Overflow on A375, A38x, A39x
8858284dd749 RDMA/hfi1: Fix potential integer multiplication overflow errors
64623236263f Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug
532aa3f7a50c media: coda: Add more H264 levels for CODA960
adcea1c8eea8 media: coda: Fix reported H264 profile
f2c2ad538e49 mtd: cfi_cmdset_0002: Move and rename chip_check/chip_ready/chip_good_for_write
16e993ac7c81 md: fix an incorrect NULL check in md_reload_sb
d0bdc809f788 md: fix an incorrect NULL check in does_sb_need_changing
3623f833e19b drm/bridge: analogix_dp: Grab runtime PM reference for DP-AUX
8fa6eb03e3f5 drm/nouveau/clk: Fix an incorrect NULL check on list iterator
19323b3671a8 drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem
c12984cdb077 drm/amdgpu/cs: make commands with 0 chunks illegal behaviour.
8e105178c26a scsi: ufs: qcom: Add a readl() to make sure ref_clk gets enabled
494685db0023 scsi: dc395x: Fix a missing check on list iterator
82bf8e7271fa ocfs2: dlmfs: fix error handling of user_dlm_destroy_lock
17ea63484975 dlm: fix missing lkb refcount handling
49cd9eb7b9a7 dlm: fix plock invalid read
f160e7b4b02a mm, compaction: fast_find_migrateblock() should return pfn in the target zone
665602c83776 PCI: qcom: Fix unbalanced PHY init on probe errors
c3919b10c45f PCI: qcom: Fix runtime PM imbalance on probe errors
c99306cf5983 PCI/PM: Fix bridge_d3_blacklist[] Elo i2 overwrite of Gigabyte X299
c27f744ceefa tracing: Fix potential double free in create_var_ref()
742736dc9c01 ACPI: property: Release subnode properties with data nodes
e157c8f87e8f ext4: avoid cycles in directory h-tree
17034d45ec44 ext4: verify dir block before splitting it
73fd5b192851 ext4: fix bug_on in ext4_writepages
0ab308d72af7 ext4: fix warning in ext4_handle_inode_extension
eaecf7ebfd5d ext4: fix use-after-free in ext4_rename_dir_prepare
f36736fbd484 netfilter: nf_tables: disallow non-stateful expression in sets earlier
28a8060a0bd2 bfq: Track whether bfq_group is still online
da9f3025d595 bfq: Update cgroup information before merging bio
31326bf55126 bfq: Split shared queues on move between cgroups
b1cda6dd2c44 efi: Do not import certificates from UEFI Secure Boot for T2 Macs
440d345d0274 fs-writeback: writeback_sb_inodes:Recalculate 'wrote' according skipped pages
e0dddab01f94 iwlwifi: mvm: fix assert 1F04 upon reconfig
265bec4779a3 wifi: mac80211: fix use-after-free in chanctx code
9259227605df f2fs: fix fallocate to use file_modified to update permissions consistently
1f926457c3e7 f2fs: don't need inode lock for system hidden quota
12ffc0044aba f2fs: fix deadloop in foreground GC
54c116615c99 f2fs: fix to clear dirty inode in f2fs_evict_inode()
7361c9f2bd6a f2fs: fix to do sanity check on block address in f2fs_do_zero_range()
f8b3c3fcf331 f2fs: fix to avoid f2fs_bug_on() in dec_valid_node_count()
7f51f2734555 perf jevents: Fix event syntax error caused by ExtSel
9eb684dc41d8 perf c2c: Use stdio interface if slang is not supported
e23eb2f43f4d iommu/amd: Increase timeout waiting for GA log enablement
db7ea8b261ef dmaengine: stm32-mdma: remove GISR1 register
8db59df7f582 video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup
dcc00106c325 NFSv4/pNFS: Do not fail I/O when we fail to allocate the pNFS layout
3d216510f8af NFS: Don't report errors from nfs_pageio_complete() more than once
55f0fc32b2f2 NFS: Do not report flush errors in nfs_write_end()
59137943af75 NFS: Do not report EINTR/ERESTARTSYS as mapping errors
4826af9a07cf i2c: at91: Initialize dma_buf in at91_twi_xfer()
d77a0f2842b3 i2c: at91: use dma safe buffers
e4db5f4b680a iommu/mediatek: Add list_del in mtk_iommu_remove
5e47a7add3dd f2fs: fix dereference of stale list iterator after loop body
c8735252f93f Input: stmfts - do not leave device disabled in stmfts_input_open
addb192000d8 RDMA/hfi1: Prevent use of lock before it is initialized
6d8b9f574bca mailbox: forward the hrtimer if not queued and under a lock
49c1e32e7b3f mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()
bcb6c4c5eb48 powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
2631fe5b53b5 macintosh: via-pmu and via-cuda need RTC_LIB
bc21634ce430 powerpc/perf: Fix the threshold compare group constraint for power9
cf0b52858f74 powerpc/64: Only WARN if __pa()/__va() called with bad addresses
bbc2b0ce6042 Input: sparcspkr - fix refcount leak in bbc_beep_probe
6d7b2cf5c7ed crypto: cryptd - Protect per-CPU resource by disabling BH.
3219ac364ac3 tty: fix deadlock caused by calling printk() under tty_port->lock
ded067f24b90 PCI: imx6: Fix PERST# start-up sequence
0b35a685d911 ipc/mqueue: use get_tree_nodev() in mqueue_get_tree()
203537caad3c proc: fix dentry/inode overinstantiating under /proc/${pid}/net
6cdb6582b566 powerpc/4xx/cpm: Fix return value of __setup() handler
337eef19aad8 powerpc/idle: Fix return value of __setup() handler
1d83f304215b powerpc/8xx: export 'cpm_setbrg' for modules
662b70a45b32 dax: fix cache flush on PMD-mapped pages
386e69e06817 drivers/base/node.c: fix compaction sysfs file leak
d1f908bd0100 pinctrl: mvebu: Fix irq_of_parse_and_map() return value
9282496aac8b nvdimm: Allow overwrite in the presence of disabled dimms
b0e4bafac896 firmware: arm_scmi: Fix list protocols enumeration in the base protocol
ffd3bed66b54 scsi: fcoe: Fix Wstringop-overflow warnings in fcoe_wwn_from_mac()
829ea474876f mfd: ipaq-micro: Fix error check return value of platform_get_irq()
8c4eeab72608 powerpc/fadump: fix PT_LOAD segment for boot memory area
bbf58e97426d arm: mediatek: select arch timer for mt7629
e7a0d0c2802f crypto: marvell/cesa - ECB does not IV
de65c32ace9a misc: ocxl: fix possible double free in ocxl_file_register_afu
7f287d0c7001 ARM: dts: bcm2835-rpi-b: Fix GPIO line names
3a37022d48a5 ARM: dts: bcm2837-rpi-3-b-plus: Fix GPIO line name of power LED
fd1c098b3bdd ARM: dts: bcm2837-rpi-cm3-io3: Fix GPIO line names for SMPS I2C
e0bf7f084412 ARM: dts: bcm2835-rpi-zero-w: Fix GPIO line name for Wifi/BT
e4594ca90b4e can: xilinx_can: mark bit timing constants as const
6077a1e637b3 KVM: nVMX: Leave most VM-Exit info fields unmodified on failed VM-Entry
9cccb3f6ed9a PCI: rockchip: Fix find_first_zero_bit() limit
f063429ac33f PCI: cadence: Fix find_first_zero_bit() limit
5543752a48ad soc: qcom: smsm: Fix missing of_node_put() in smsm_parse_ipc
669575521633 soc: qcom: smp2p: Fix missing of_node_put() in smp2p_parse_ipc
56b8d748ec43 ARM: dts: suniv: F1C100: fix watchdog compatible
754ef324b70b arm64: dts: rockchip: Move drive-impedance-ohm to emmc phy on rk3399
60546c0b4b46 net/smc: postpone sk_refcnt increment in connect()
91121ee57414 rxrpc: Fix decision on when to generate an IDLE ACK
d7b16ee15fc6 rxrpc: Don't let ack.previousPacket regress
2fd958ae29fd rxrpc: Fix overlapping ACK accounting
5aa14dafd2b0 rxrpc: Don't try to resend the request if we're receiving the reply
91b34bf0409f rxrpc: Fix listen() setting the bar too high for the prealloc rings
0bfaff00d1a7 NFC: hci: fix sleep in atomic context bugs in nfc_hci_hcp_message_tx
9934025c4d66 ASoC: wm2000: fix missing clk_disable_unprepare() on error in wm2000_anc_transition()
b3461ccaa5d2 thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe
449374565f34 drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()
6832e36f156e drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init
48d331a03b0d ext4: reject the 'commit' option on ext2 filesystems
3dc032375595 media: ov7670: remove ov7670_power_off from ov7670_remove
dc794fa2b3c4 sctp: read sk->sk_bound_dev_if once in sctp_rcv()
d43a87d66039 m68k: math-emu: Fix dependencies of math emulation support
6f55fac0af35 Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeout
c3c8c7e409d0 media: vsp1: Fix offset calculation for plane cropping
1310fc3538dc media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init
83345b536599 media: exynos4-is: Change clk_disable to clk_disable_unprepare
b87d3a043b32 media: st-delta: Fix PM disable depth imbalance in delta_probe
12480f757810 media: aspeed: Fix an error handling path in aspeed_video_probe()
d2b1dc3a0432 scripts/faddr2line: Fix overlapping text section failures
0be5d9da5743 regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt
18b907ff0ae4 ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe
96fc3da6184a ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe
ddb1a77f94d7 perf/amd/ibs: Use interrupt regs ip for stack unwinding
f2e2e934d2b6 Revert "cpufreq: Fix possible race in cpufreq online error path"
1253811c71e0 iomap: iomap_write_failed fix
6b8291e574a8 media: uvcvideo: Fix missing check to determine if element is found in list
ab888b1a9a6d drm/msm: return an error pointer in msm_gem_prime_get_sg_table()
22d8424913b1 drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected
b2aa2c4efe93 drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected
cd4cfd99ec14 regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET
db5a21f2dd62 x86/mm: Cleanup the control_va_addr_alignment() __setup handler
d2476a1fc50b irqchip/aspeed-i2c-ic: Fix irq_of_parse_and_map() return value
b97eb924a234 irqchip/exiu: Fix acknowledgment of edge triggered interrupts
9777de28cfea x86: Fix return value of __setup handlers
ee3901d7c7f4 virtio_blk: fix the discard_granularity and discard_alignment queue limits
a9b4599665e4 drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()
35d9a84e3b35 drm/msm/hdmi: fix error check return value of irq_of_parse_and_map()
2b3ed7547b1a drm/msm/hdmi: check return value after calling platform_get_resource_byname()
11709592b350 drm/msm/dsi: fix error checks and return values for DSI xmit functions
ef10d0c68e86 drm/msm/disp/dpu1: set vbif hw config to NULL to avoid use after memory free during pm runtime resume
db681127e96d perf tools: Add missing headers needed by util/data.h
31de06ef06a8 ASoC: rk3328: fix disabling mclk on pclk probe failure
ed8d5cf1dcad x86/speculation: Add missing prototype for unpriv_ebpf_notify()
1d0c4bc628ca x86/pm: Fix false positive kmemleak report in msr_build_context()
b889619eba6f scsi: ufs: core: Exclude UECxx from SFR dump list
e120d31d04bf of: overlay: do not break notify on NOTIFY_{OK|STOP}
b0be017bc59d fsnotify: fix wrong lockdep annotations
60d159e0d084 inotify: show inotify mask flags in proc fdinfo
2326d398ccd4 ath9k_htc: fix potential out of bounds access with invalid rxstatus->rs_keyix
cd1f386120d0 cpufreq: Fix possible race in cpufreq online error path
e7f0fd6f2566 spi: img-spfi: Fix pm_runtime_get_sync() error checking
735b57a96088 sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq
55fddbb1e278 drm/bridge: Fix error handling in analogix_dp_probe
f1d4f19a7965 HID: elan: Fix potential double free in elan_input_configured
75a89bc1baee HID: hid-led: fix maximum brightness for Dream Cheeky
3caa2d7943ca drbd: fix duplicate array initializer
65065f96d53e efi: Add missing prototype for efi_capsule_setup_info
fbf9c4c714d3 NFC: NULL out the dev->rfkill to prevent UAF
2c59535b6be0 spi: spi-ti-qspi: Fix return value handling of wait_for_completion_timeout
fa0d7ba25a53 drm: mali-dp: potential dereference of null pointer
797f8ee35f03 drm/komeda: Fix an undefined behavior bug in komeda_plane_add()
1a994f1f1841 nl80211: show SSID for P2P_GO interfaces
93c0f9d78ddd bpf: Fix excessive memory allocation in stack_map_alloc()
c398c2149b17 drm/vc4: txp: Force alpha to be 0xff if it's disabled
8a60b54e41c9 drm/vc4: txp: Don't set TXP_VSTART_AT_EOF
a0c890c0ae9f drm/mediatek: Fix mtk_cec_mask()
ea8b2ecc920d x86/delay: Fix the wrong asm constraint in delay_loop()
c71494f5f2b4 ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe
23f340ed906c ASoC: mediatek: Fix error handling in mt8173_max98090_dev_probe
e92b927fffb6 drm/bridge: adv7511: clean up CEC adapter when probe fails
224e1eef0386 drm/edid: fix invalid EDID extension block filtering
657734866839 ath9k: fix ar9003_get_eepmisc
ebede9aadfa3 drm: fix EDID struct for old ARM OABI format
e60ad83f645e RDMA/hfi1: Prevent panic when SDMA is disabled
cb4f2dc513e9 powerpc/iommu: Add missing of_node_put in iommu_init_early_dart
6557555a86f3 macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled
793b82d1c424 powerpc/powernv: fix missing of_node_put in uv_init()
537a317e5ff4 powerpc/xics: fix refcount leak in icp_opal_init()
a910e9613130 tracing: incorrect isolate_mote_t cast in mm_vmscan_lru_isolate
c9a81f9ed6ae PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store()
e10905816513 ARM: hisi: Add missing of_node_put after of_find_compatible_node
2f46a955b6f5 ARM: dts: exynos: add atmel,24c128 fallback to Samsung EEPROM
fcd1999ba974 ARM: versatile: Add missing of_node_put in dcscb_init
fd48cf8f972f fat: add ratelimit to fat*_ent_bread()
60ce637c194b powerpc/fadump: Fix fadump to work with a different endian capture kernel
41c7096286aa ARM: OMAP1: clock: Fix UART rate reporting algorithm
e54fd01178eb fs: jfs: fix possible NULL pointer dereference in dbFree()
a0180e324a9a PM / devfreq: rk3399_dmc: Disable edev on remove()
1995a60be7cb ARM: dts: ox820: align interrupt controller node name with dtschema
58e55f4f5a2a IB/rdmavt: add missing locks in rvt_ruc_loopback
56fd9dcfe10c selftests/bpf: fix btf_dump/btf_dump due to recent clang change
063d945795a0 eth: tg3: silence the GCC 12 array-bounds warning
88d730463e9b rxrpc: Return an error to sendmsg if call failed
1ec0bc72f5da hwmon: Make chip parameter for with_info API mandatory
a7a41dd47303 ASoC: max98357a: remove dependency on GPIOLIB
3cf43978ffd1 media: exynos4-is: Fix compile warning
1e5fbfc2a6f3 net: phy: micrel: Allow probing without .driver_data
9d1764b9266b nbd: Fix hung on disconnect request if socket is closed before
abe7554da62c ASoC: rt5645: Fix errorenous cleanup order
f76729662650 nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags
69edf28d2c42 openrisc: start CPU timer early in boot
67fb49438858 media: cec-adap.c: fix is_configuring state
4172a34ef93f media: coda: limit frame interval enumeration to supported encoder frame sizes
8f2a5721cdc3 rtlwifi: Use pr_warn instead of WARN_ONCE
2d966c94adce ipmi: Fix pr_fmt to avoid compilation issues
2064a1eab2ec ipmi:ssif: Check for NULL msg when handling events and messages
17cfc9455830 ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default
5a71f14a9b2e dma-debug: change allocation mode from GFP_NOWAIT to GFP_ATIOMIC
6583d0d6ad6d spi: stm32-qspi: Fix wait_cmd timeout in APM mode
1651a95517fb s390/preempt: disable __preempt_count_add() optimization for PROFILE_ALL_BRANCHES
890b16b4709d ASoC: tscs454: Add endianness flag in snd_soc_component_driver
00771de7cc28 HID: bigben: fix slab-out-of-bounds Write in bigben_probe
0d7074792bb9 drm/amdgpu/ucode: Remove firmware load type check in amdgpu_ucode_free_bo
2317f3bfda6d mlxsw: spectrum_dcb: Do not warn about priority changes
121f56a9a832 ASoC: dapm: Don't fold register value changes into notifications
430af81135d5 net/mlx5: fs, delete the FTE when there are no rules attached to it
f857855a8a83 ipv6: Don't send rs packets to the interface of ARPHRD_TUNNEL
b507f067e9fc drm: msm: fix error check return value of irq_of_parse_and_map()
efd183d988b4 arm64: compat: Do not treat syscall number as ESR_ELx for a bad syscall
a610cfe56c38 drm/amd/pm: fix the compile warning
1e29d829ad51 drm/plane: Move range check for format_count earlier
e1599ced6be1 scsi: megaraid: Fix error check return value of register_chrdev()
7923f95997a7 mmc: jz4740: Apply DMA engine limits to maximum segment size
0959aa00f976 md/bitmap: don't set sb values if can't pass sanity check
222292930c8e media: cx25821: Fix the warning when removing the module
fa636e9ee444 media: pci: cx23885: Fix the error handling in cx23885_initdev()
0ac84ab50712 media: venus: hfi: avoid null dereference in deinit
de16cdf0b73d ath9k: fix QCA9561 PA bias level
af832028af6f drm/amd/pm: fix double free in si_parse_power_table()
7bd0ac1e2345 tools/power turbostat: fix ICX DRAM power numbers
6266ab1f31fa spi: spi-rspi: Remove setting {src,dst}_{addr,addr_width} based on DMA direction
f68bed124c76 ALSA: jack: Access input_dev under mutex
aea748501d09 drm/komeda: return early if drm_universal_plane_init() fails.
8ded0af90e97 ACPICA: Avoid cache flush inside virtual machines
c7b41fd76ce2 fbcon: Consistently protect deferred_takeover with console_lock()
4460066eb248 ipv6: fix locking issues with loops over idev->addr_list
8fb1b9beb085 ipw2x00: Fix potential NULL dereference in libipw_xmit()
303380919df7 b43: Fix assigning negative value to unsigned variable
60d515fd8797 b43legacy: Fix assigning negative value to unsigned variable
92225d3c2241 mwifiex: add mutex lock for call in mwifiex_dfs_chan_sw_work_queue
f85cb059fad0 drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes
670f5e40d7b3 btrfs: repair super block num_devices automatically
622ced791ed8 btrfs: add "0x" prefix for unsupported optional features
0ca511204740 ptrace: Reimplement PTRACE_KILL by always sending SIGKILL
f5faa24137d7 ptrace/xtensa: Replace PT_SINGLESTEP with TIF_SINGLESTEP
e10356eae1c2 ptrace/um: Replace PT_DTRACE with TIF_SINGLESTEP
00c93ce2665c perf/x86/intel: Fix event constraints for ICL
1b767500d151 usb: core: hcd: Add support for deferring roothub registration
114790876393 USB: new quirk for Dell Gen 2 devices
7c5a52dd4d91 USB: serial: option: add Quectel BG95 modem
6b3ecb2d92a0 ALSA: hda/realtek - Fix microphone noise on ASUS TUF B550M-PLUS
1c6cfb9e8a5c binfmt_flat: do not stop relocating GOT entries prematurely on riscv
35c6471fd2c1 Linux 5.4.197
e00c2f22fbfa bpf: Enlarge offset check value to INT_MAX in bpf_skb_{load,store}_bytes
a2235bc65ade NFSD: Fix possible sleep during nfsd4_release_lockowner()
f5b6bc69a792 NFS: Memory allocation failures are not server fatal errors
0490cd2aee18 docs: submitting-patches: Fix crossref to 'The canonical patch format'
72ef5d01fe37 tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe()
7ecd237e5036 tpm: Fix buffer access in tpm2_get_tpm_pt()
396d1f51764d HID: multitouch: Add support for Google Whiskers Touchpad
25f0e9459f94 raid5: introduce MD_BROKEN
fd2f7e998485 dm verity: set DM_TARGET_IMMUTABLE feature flag
f00597350210 dm stats: add cond_resched when looping over entries
65e6282f0d75 dm crypt: make printing of the key constant-time
a4415f39e3e8 dm integrity: fix error code in dm_integrity_ctr()
fc658c083904 zsmalloc: fix races between asynchronous zspage free and page migration
7632451ad926 crypto: ecrdsa - Fix incorrect use of vli_cmp
b16bb373988d netfilter: conntrack: re-fetch conntrack after insertion
1fe82bfd9e4c exec: Force single empty string when argv is empty
241b566e0403 drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency()
3dbab9e37ca1 cfg80211: set custom regdomain after wiphy registration
039fa25d95ce assoc_array: Fix BUG_ON during garbage collect
8c668da61bd0 drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers
fdcbdb3d089a i2c: ismt: Provide a DMA buffer for Interrupt Cause Logging
827980029d0f net: ftgmac100: Disable hardware checksum on AST2600
e619506ed010 net: af_key: check encryption module availability consistency
fa77d2a3a755 pinctrl: sunxi: fix f1c100s uart2 function
2208c31d864e ACPI: sysfs: Fix BERT error region memory mapping
92d4b5e14830 ACPI: sysfs: Make sparse happy about address space in use
5a73bd4f4710 media: vim2m: initialize the media device earlier
b7248281afb1 media: vim2m: Register video device after setting up internals
ab5b00cfe050 secure_seq: use the 64 bits of the siphash for port offset calculation
80cca53a48c8 tcp: change source port randomizarion at connect() time
9ce35dad5a1a Input: goodix - fix spurious key release events
bdbc7ef3eb2c staging: rtl8723bs: prevent ->Ssid overflow in rtw_wx_set_scan()
4f0750839421 x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests
8bb828229da9 lockdown: also lock down previous kgdb use
(From OE-Core rev: 5503425172d832dae12bad6af8ca22ece454e4b0)
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>
The license checksum changed due to a major version change in the referenced file.
(From OE-Core rev: cc245b75ebd8dfc4925a21e3ff08d841fef77635)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89f34d8aa4f4572d048dbb732ca4c83d443157fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cve-check class writes temporary files to preserve state across the
build, and cleans them up in a CookerExit handler.
However, in memory-resident builds the cooker won't exit in between
builds, so the state isn't cleared and the CVE report generation fails:
NOTE: Generating JSON CVE summary
ERROR: Error adding the same package twice
Easily solved by hooking to BuildCompleted, instead of CookerExit.
(From OE-Core rev: ee3270709158aff463fec6798f3b8968268b4d4b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fccdcfd301de281a427bfee48d8ff47fa07b7259)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove obsolete comments/data from the file. Add in three CVEs to ignore.
Two are qemu CVEs which upstream aren't particularly intersted in and aren't
serious issues. Also ignore the nasm CVE found from fuzzing as this isn't
a issue we'd expose from OE.
(From OE-Core rev: b82c95720488eea8ea4b5684c9f89e4931085fa5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 68291026aab2fa6ee1260ca95198dd1d568521e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current home path that is compared against is incorrect as it is missing the
package name, this patch adds it.
[YOCTO #14553]
(From OE-Core rev: b75caf4a985e3c20996531785125eaffdc832104)
Signed-off-by: Ahmed Hossam <Ahmed.Hossam@opensynergy.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit ae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add missing % to print the values instead of:
| INFO: Build artifacts not found, exiting.
| INFO: (Please check that the build artifacts for the machine
| INFO: selected in local.conf actually exist and that they
| INFO: are the correct artifacts for the image (.wks file)).
|
| ERROR: ("The artifact that couldn't be found was %s:\n %s", 'kernel-dir', '/OE/build/deploy/images/qemux86-64')
(From OE-Core rev: c83cabad78dbc98bb72be7fd7dd51023853a3ff9)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e104c2b1273d8c5bd97893f318bf2a2699ef7f2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Operations such as mkfs fail on devices that are not
switched to the actual rootfs before switch_root is
called. The kernel interprets these devices as still
being used even after unmounting and errors such as
below are seen when the target is fully booted
root@v1000:~# umount /dev/sdb1
root@v1000:~# mkfs.ext4 /dev/sdb1
mke2fs 1.43.8 (1-Jan-2018)
/dev/sdb1 contains a ext4 file system
last mounted on Wed Nov 28 07:33:54 2018
Proceed anyway? (y,N) y
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!
(From OE-Core rev: ce27982c24d2398c9eadb9d4d9e7475509424195)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ec53ffd01972d1be2d6a28de828b3f0b80dc1e61)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Linux kernel commit 14c174633f349 ("random: remove unused tracepoints")
removed unused tracepoints and has been backported to stable Linux kernel
releases. This causes build failure of lttng-modules:
"
lttng-modules-2.11.6/probes/lttng-probe-random.c:18:10: fatal error: trace/events/random.h: No such file or directory
| 18 | #include <trace/events/random.h>
| | ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
"
Backport patches from lttng-modules master branch to address the build
failure on all of Linux 5.18.y, 5.15.y 5.10.y, 5.4, 4.19, 4.14, and 4.9 kernel versions.
(From OE-Core rev: 9f301f5563df868626d624c2d0781dae1b81a4c0)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ignored CVEs aren't patched, but do not apply in our configuration
for some reason. Up till now they were only partially supported
and reported as "Patched".
This patch adds separate reporting of Ignored CVEs. The variable
CVE_CHECK_REPORT_PATCHED now manages reporting of both patched
and ignored CVEs.
(From OE-Core rev: 14b3c0ca46a0aa97565a24b7a5116306237d7cfe)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry-picked from c773102d4828fc4ddd1024f6115d577e23f1afe4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: https://github.com/argoheyard/lang-net
MR: 114874
Type: Security Fix
Disposition: Backport from 701957006e
ChangeID: bd3c4f9f44dd1c45e810172087004778522d28eb
Description:
CVE-2021-31525 golang: net/http: panic in ReadRequest and ReadResponse when reading a very large header.
(From OE-Core rev: 2850ef58f2a39a5ab19b1062d1b50160fec4daa8)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The keep alive timeout is excessively long at 83 minutes (5000 seconds),
reduce this to 10 minutes: this should be long enough that it rarely
triggers in normal builds, but when it does it has useful information.
(Bitbake rev: a496a8952d8542ce814b13f460811d8849d25a3c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dcf52157d3635925491783be656c6b76d1efe1a4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In interactive bitbake sessions it is obvious what tasks are running
when one of them hangs or otherwise takes a long time. However, in
non-interactive sessions (such as automated builds) bitbake just prints
a message saying that it is "still alive" with no clues as to what tasks
are active still.
By simply listing the active tasks when printing the keep alive message,
we don't need to parse the bitbake log to identify which of the tasks
is still active and has presumably hung.
(Bitbake rev: 36fe8bae9fec61547ee0b13bcb721033afd3ac0e)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30f6c3f175617beea8e8bb75dcf255611e3fc2fd)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've talked about having this for long enough. Add a command which queries a single
variable value with history. This saves "bitbake -e | grep" and avoids the
various pitfalls that has.
It also provides a neat example of using tinfoil to make such a query.
Parameters to limit the output to just the value, to limit to a variable flag
and to not expand the output are provided.
[YOCTO #10748]
(Bitbake rev: 47ed06d441152f8b6d374cacfac2c668c354423e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c1881b620e885f55d7772f8626b8a76c2828333)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't access the emit() function of varhistory currently as the datastore parameter
isn't handled correctly, nor is the output stream. Add a custom wrapper for this
function which handles the two details correctly.
(Bitbake rev: 144a1cfe8b60c677bb6ec66c242e064c7ba3ed88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ba0fa084ccd2b1ade96425d158fd31e49e42f286)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases it is useful to be able to test the snapshot of
linux-firmware (e.g. to test if the updated firmware works on the
particular hardware). Allow building the linux-firmware snapshots.
To switch to the most recent branch, add the following lines to the
local.conf file:
PREFERRED_VERSION_linux-firmware = "1:20220509+git%"
SRCREV:class-devupstream = "${AUTOREV}"
WHENCE_CHKSUM:class-devupstream:pn-linux-firmware = "4288aad55d189fa225d492526b8406d5"
(From OE-Core rev: 6654baf267003ac62bc886901e5197fc211239f4)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b023570ae1d239de14b50a0e827582d0e84ddf81)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using multiconfig with the same TMP folder we can have
races because the shared recipes like gcc-source run twice.
ARCHIVER_OUTDIR = ${ARCHIVER_TOPDIR}/${TARGET_SYS}/${PF}/
which includes TARGET_SYS and between the two different MACHINE values,
this changes from 'arm-poky-linux-gnueabi' to 'aarch64-poky-linux'.
This leads to the task running twice, once for each multiconfig.
To solve this we need to store the shared output in a common place
for all machines and in this way the stamps will be the same for each
machine so the gcc-source will on run once regardless of the machine used.
(From OE-Core rev: 135adeb82c9303c26193bb6f6bd3bc696793aa62)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5abe497aad39a6ce8d72556fcdda1938a0f8c1bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tasks may reference ${B} for gcc-source which in general would not exist.
It has dependencies on HOST_SYS and TARGET_SYS which are not appropriate for a
shared recipe like gcc-source. This causes problems for the archiver and
multiconfigs in particlar.
Set B to something else to avoid these task hash issues.
Acked-by: Jose Quaresma <jose.quaresma@foundries.io>
(From OE-Core rev: 14aa189c2e47a2c5a4a0099235a2605666651f74)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit beb2a76c591e985c6fc7ed473abd1bee27f955a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building busybox with CONFIG_LSATTR=y and installing that in the same
filesystem as e2fsprogs breaks:
ERROR: ... do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Fix that by also alternatifying lsattr just as chattr already is.
(From OE-Core rev: 28090d32c88d99ea36a03f3bb723838746001e4b)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96703961eeb3460e9da26503d7942cc965d1e573)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When multilib enabled and add layers/meta-openembedded/meta-oe in
conf/bblayers.conf, it reports below error when run oe-selftest.
$ oe-selftest -r oescripts
[snip]
[20:36:33-0700] 2022-05-16 03:36:33,494 - oe-selftest - INFO - RESULTS - oescripts.OEListPackageconfigTests.test_packageconfig_flags_option_flags: FAILED (585.37s)
[snip]
It is because the output of "list-packageconfig-flags.py -f" as below:
$ ../scripts/contrib/list-packageconfig-flags.py -f
[snip]
qt lib32-pinentry lib32-wxwidgets nativesdk-pinentry pinentry pinentry-native wxwidgets wxwidgets-native
secret lib32-pinentry nativesdk-pinentry pinentry pinentry-native
[snip]
But the check logic as below:
class OEListPackageconfigTests(OEScriptTests):
#oe-core.scripts.List_all_the_PACKAGECONFIG's_flags
def check_endlines(self, results, expected_endlines):
for line in results.output.splitlines():
for el in expected_endlines:
if line.split() == el.split():
expected_endlines.remove(el)
break
def test_packageconfig_flags_option_flags(self):
results = runCmd('%s/contrib/list-packageconfig-flags.py -f' % self.scripts_dir)
expected_endlines = []
expected_endlines.append("PACKAGECONFIG FLAG RECIPE NAMES")
expected_endlines.append("qt nativesdk-pinentry pinentry pinentry-native")
expected_endlines.append("secret nativesdk-pinentry pinentry pinentry-native")
self.check_endlines(results, expected_endlines)
And the test will fail as line.split() doesn't equal el.split() as
line.split() is ['lib32-pinentry', 'lib32-wxwidgets', 'nativesdk-pinentry',
'pinentry', 'pinentry-native', 'wxwidgets', 'wxwidgets-native'] and
el.split() is ['nativesdk-pinentry', 'pinentry', 'pinentry-native'].
So change the compare logic to fix the gap.
(From OE-Core rev: 9eecfbfc957359b7933f1e1bde3aba1780dde202)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 239f22847bcae0cb31769adb0a42b5440173a7c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that begin_idx (i.e., beginline - 1) and end_idx (i.e.,
endline) are positive numbers in copy_license_files(). This makes sure
the same lines are copied as populate_lic_qa_checksum() uses when it
calculates the checksum. Before, beginline=0 would typically lead to
that no lines were copied at all.
(From OE-Core rev: 27cd074d747c5ef4b475c8a62a8ede2bbe58f996)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab3cc3651d08d226675c461da760cda0bb6c0ce0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix PACKAGECONFIG to refer to libavtp instead of avtp as this is what
the project and everything is really called everywhere.
(From OE-Core rev: a1b73bc6ba90fb079e514e4eeda8e231a950b9f4)
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8824d91fe2063195014c38c134b97946d3b429c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several tasks deactivate exiting on non-zero return codes via set +e because
they run subcommands that have legitimate non-zero return codes. However when
appending to those tasks, this behavior is not expected and can lead to builds
silently proceeding in case of an error. Therefore reset the default behavior
at the end of the respective tasks via set -e.
(From OE-Core rev: 7777cc853db7200b819095be6f6a3561738ac94d)
Signed-off-by: Stefan Wiehler <stefan.wiehler@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83a6f28d2e464f00202090e998a63045adba9e4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In scheduler/cert.c the previous algorithm didn't expect the strings can
have a different length, so one string can be a substring of the other
and such substring was reported as equal to the longer string.
Backport patch from upstream to fix:
de4f8c1961
CVE: CVE-2022-26691
(From OE-Core rev: cc657868d31cc8b4218a07aa10fa098c379e473c)
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:
04b092e4a01a Linux 5.4.196
dba1941f5bc3 afs: Fix afs_getattr() to refetch file status if callback break occurred
ef5374d532ca i2c: mt7621: fix missing clk_disable_unprepare() on error in mtk_i2c_probe()
10a221e2d3d8 x86/xen: Mark cpu_bringup_and_idle() as dead_end_function
a12884ff4340 x86/xen: fix booting 32-bit pv guest
b2f140a9f980 Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
060f38b1dfb4 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
b38cf3cb17df firmware_loader: use kernel credentials when reading firmware
e14e3856e94d net: stmmac: disable Split Header (SPH) for Intel platforms
9ea8e6a8323e block: return ELEVATOR_DISCARD_MERGE if possible
36ac6caf742d Input: ili210x - fix reset timing
1c450bdf2e8c net: atlantic: verify hw_head_ lies within TX buffer ring
e5307704c4ad net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe()
91d8d7edf192 ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()
dd5de66f5c8a selftests: add ping test with ping_group_range tuned
9919585e5f41 mac80211: fix rx reordering with non explicit / psmp ack policy
19e2cd737c16 scsi: qla2xxx: Fix missed DMA unmap for aborted commands
74168c2207a5 perf bench numa: Address compiler error on s390
d1915d9c9fa3 gpio: mvebu/pwm: Refuse requests with inverted polarity
3fdd67e83c42 gpio: gpio-vf610: do not touch other bits when set the target bit
1fe6dc5f5d19 net: bridge: Clear offload_fwd_mark when passing frame up bridge interface.
622be11fa385 igb: skip phy status check where unavailable
eb92a8ecce23 ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2
463a7b957db0 ARM: 9196/1: spectre-bhb: enable for Cortex-A15
1b93631c77c9 net: af_key: add check for pfkey_broadcast in function pfkey_process
c0be5fec786b net/mlx5e: Properly block LRO when XDP is enabled
3277789f332e NFC: nci: fix sleep in atomic context bugs caused by nci_skb_alloc
b368e07fb44d net/qla3xxx: Fix a test in ql_reset_work()
d672eee9e404 clk: at91: generated: consider range when calculating best rate
8cb1a05fe38b ice: fix possible under reporting of ethtool Tx and Rx statistics
dc64e8874e87 net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup()
32f779e6fbbe net: vmxnet3: fix possible use-after-free bugs in vmxnet3_rq_alloc_rx_buf()
1eb2d7858155 net/sched: act_pedit: sanitize shift argument before usage
50f70ee30236 net: macb: Increment rx bd head after allocating skb and buffer
a42ffe88332c ARM: dts: aspeed-g6: fix SPI1/SPI2 quad pin group
6493ff94c022 ARM: dts: aspeed-g6: remove FWQSPID group in pinctrl dtsi
fe2a9469eca0 dma-buf: fix use of DMA_BUF_SET_NAME_{A,B} in userspace
8cf6c24ed488 drm/dp/mst: fix a possible memory leak in fetch_monitor_name()
8be06f62b426 crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
f4a093215b8e KVM: x86/mmu: Update number of zapped pages even if page list is stable
de8745182749 PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold
3a12b2c413b2 Fix double fget() in vhost_net_set_backend()
dd0ea88b0a0f perf: Fix sys_perf_event_open() race against self
c8a5e14cb407 ALSA: wavefront: Proper check of get_user() error
2f8f6c393b11 SUNRPC: Ensure we flush any closed sockets before xs_xprt_free()
975a0f14d5cd SUNRPC: Don't call connect() more than once on a TCP socket
aa4d71edd609 SUNRPC: Prevent immediate close+reconnect
2d6f096476e6 SUNRPC: Clean up scheduling of autoclose
f3fe8d13ac89 mmc: core: Default to generic_cmd6_time as timeout in __mmc_switch()
def047ae1266 mmc: block: Use generic_cmd6_time when modifying INAND_CMD38_ARG_EXT_CSD
f10260f35992 mmc: core: Specify timeouts for BKOPS and CACHE_FLUSH for eMMC
1e93f939927d nilfs2: fix lockdep warnings during disk space reclamation
307d021b1a7f nilfs2: fix lockdep warnings in page operations for btree nodes
77b71a4c8767 ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame()
54f7358be14d platform/chrome: cros_ec_debugfs: detach log reader wq from devm
232128f6e60f drbd: remove usage of list iterator variable after loop
83abb076f473 MIPS: lantiq: check the return value of kzalloc()
e7947c031ffe rtc: mc146818-lib: Fix the AltCentury for AMD platforms
7be785032c05 nvme-multipath: fix hang when disk goes live over reconnect
ee0323cc8bbb ALSA: hda/realtek: Enable headset mic on Lenovo P360
c0d86f2a3c03 crypto: x86/chacha20 - Avoid spurious jumps to other functions
f0213894337a crypto: stm32 - fix reference leak in stm32_crc_remove
8c015cd52442 Input: stmfts - fix reference leak in stmfts_input_open
bb83a744bc67 Input: add bounds checking to input_set_capability()
4fd396695646 um: Cleanup syscall_handler_t definition/cast, fix warning
0c319b998835 rtc: fix use-after-free on device removal
05df3bdbc259 x86/xen: Make the secondary CPU idle tasks reliable
0d3817cb4ebe x86/xen: Make the boot CPU idle task reliable
67e2b62461b5 floppy: use a statically allocated error counter
0187300e6aa6 Linux 5.4.195
8fcefb43ecfc tty/serial: digicolor: fix possible null-ptr-deref in digicolor_uart_probe()
6d80857c4fc7 ping: fix address binding wrt vrf
7845532adb53 arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map
c0b735fef2af net: phy: Fix race condition on link status change
a60def756821 MIPS: fix build with gcc-12
a3112d5da17c drm/vmwgfx: Initialize drm_mode_fb_cmd2
463c7431490d cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp()
f25145c37c4e i40e: i40e_main: fix a missing check on list iterator
17c744716af5 drm/nouveau/tegra: Stop using iommu_present()
c8f567c46543 serial: 8250_mtk: Fix register address for XON/XOFF character
aa3ea7451bd6 serial: 8250_mtk: Fix UART_EFR register address
031fda28d0a6 slimbus: qcom: Fix IRQ check in qcom_slim_probe
7de6f3059629 USB: serial: option: add Fibocom MA510 modem
65732f62f730 USB: serial: option: add Fibocom L610 modem
6c78537f3e29 USB: serial: qcserial: add support for Sierra Wireless EM7590
e40d00494712 USB: serial: pl2303: add device id for HP LM930 Display
056a56f8fbfe usb: typec: tcpci: Don't skip cleanup in .remove() on error
457d9401b8c1 usb: cdc-wdm: fix reading stuck on device close
4d93303fd877 tty: n_gsm: fix mux activation issues in gsm_config()
6e34ee5b5b92 tcp: resalt the secret every 10 seconds
39c26fe93c76 net: emaclite: Don't advertise 1000BASE-T and do auto negotiation
638bfbc84cca s390: disable -Warray-bounds
f66d3fa5089f ASoC: ops: Validate input values in snd_soc_put_volsw_range()
13b850a6cc80 ASoC: max98090: Generate notifications on changes for custom control
5c766c000a64 ASoC: max98090: Reject invalid values in custom control put()
22f6c68b4927 hwmon: (f71882fg) Fix negative temperature
208200e573bd gfs2: Fix filesystem block deallocation for short writes
42daae7d845c net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe()
e038c457bd12 net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending
2ec2dd7d51a9 net/sched: act_pedit: really ensure the skb is writable
48c6a40e2f25 s390/lcs: fix variable dereferenced before check
467ddbbe7e74 s390/ctcm: fix potential memory leak
2cbce0110070 s390/ctcm: fix variable dereferenced before check
1c40e85d0aa0 hwmon: (ltq-cputemp) restrict it to SOC_XWAY
0a778db9319f dim: initialize all struct fields
522986cc39c1 mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection
0729594cb788 netlink: do not reset transport header in netlink_recvmsg()
33ce32587c44 drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name()
5809a1c53049 ipv4: drop dst in multicast routing path
c9d75e87f45b net: Fix features skip in for_each_netdev_feature()
5c9057670504 mac80211: Reset MBSSID parameters upon connection
cfe74fd41f18 hwmon: (tmp401) Add OF device ID table
3915341a935f batman-adv: Don't skb_split skbuffs with frag_list
90659487578c Linux 5.4.194
2f4e0bf651e3 mm: userfaultfd: fix missing cache flush in mcopy_atomic_pte() and __mcopy_atomic()
e4db0c3ce0c5 mm: hugetlb: fix missing cache flush in copy_huge_page_from_user()
ea9cad1c5d95 mm: fix missing cache flush for all tail pages of compound page
45c05171d6e3 Bluetooth: Fix the creation of hdev->name
f52c4c067aa5 KVM: x86/svm: Account for family 17h event renumberings in amd_pmc_perf_hw_id
c1bdf1e6e706 x86: kprobes: Prohibit probing on instruction which has emulate prefix
6af6427a9600 x86: xen: insn: Decode Xen and KVM emulate-prefix signature
c67a4a91f5e1 x86: xen: kvm: Gather the definition of emulate prefixes
4c39e1ace3dc x86/asm: Allow to pass macros to __ASM_FORM()
29afcd5af012 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
ea65a7d76c00 arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
5755f946a89f can: grcan: only use the NAPI poll budget for RX
caba5c13a892 can: grcan: grcan_probe(): fix broken system id check for errata workaround needs
76b64c690f03 nfp: bpf: silence bitwise vs. logical OR warning
86ccefb83ede drm/i915: Cast remain to unsigned long in eb_relocate_vma
de542bd76541 drm/amd/display/dc/gpio/gpio_service: Pass around correct dce_{version, environment} types
e6ff94d31c53 block: drbd: drbd_nl: Make conversion to 'enum drbd_ret_code' explicit
f668da98ad83 MIPS: Use address-of operator on section symbols
01565c91b789 Linux 5.4.193
8a7f92053dc9 mmc: rtsx: add 74 Clocks in power on flow
d789b9891761 PCI: aardvark: Fix reading MSI interrupt number
253bc43ca5b7 PCI: aardvark: Clear all MSIs at setup
786dc86c8434 dm: interlock pending dm_io and dm_wait_for_bios_completion
ad1393b92e50 dm: fix mempool NULL pointer race when completing IO
40bcd39a0093 tcp: make sure treq->af_specific is initialized
9661bf674d6a ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
37b12c16beb6 ALSA: pcm: Fix races among concurrent prealloc proc writes
2a559eec81ac ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls
08d1807f097a ALSA: pcm: Fix races among concurrent read/write and buffer changes
fbeb492694ce ALSA: pcm: Fix races among concurrent hw_params and hw_free calls
f098f8b9820f mm: fix unexpected zeroed page mapping with zram swap
c7337efd1d11 block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern
9588ac2eddc2 net: ipv6: ensure we call ipv6_mc_down() at most once
367b49086b41 KVM: LAPIC: Enable timer posted-interrupt only when mwait/hlt is advertised
c2fadf2d0ab4 x86/kvm: Preserve BSP MSR_KVM_POLL_CONTROL across suspend/resume
8b78939f4b0b kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU
f455c8e657e3 NFSv4: Don't invalidate inode attributes on delegation return
89e7a625ec5c drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu
1d14c1c7a3bd net: igmp: respect RCU rules in ip_mc_source() and ip_mc_msfilter()
2b99ff4c3e3e btrfs: always log symlinks in full mode
dc4784489426 smsc911x: allow using IRQ0
cff6cb162f7a bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag
64ece01adb42 selftests: mirror_gre_bridge_1q: Avoid changing PVID while interface is operational
52401926c863 net: emaclite: Add error handling for of_address_to_resource()
354cac1e392b net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux()
0510b6ccfb4f net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init()
102986592ffd RDMA/siw: Fix a condition race issue in MPA request processing
e6ae21eb948a ASoC: dmaengine: Restore NULL prepare_slave_config() callback
df3ea6cc1af5 hwmon: (adt7470) Fix warning on module removal
01d4363dd717 NFC: netlink: fix sleep in atomic bug when firmware download timeout
33d3e76fc7a7 nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs
85aecdef77f9 nfc: replace improper check device_is_registered() in netlink related functions
da9eb43b9a56 can: grcan: use ofdev->dev when allocating DMA memory
8b451b7d7e95 can: grcan: grcan_close(): fix deadlock
8f4246450a95 s390/dasd: Fix read inconsistency for ESE DASD devices
91193a2c2f4f s390/dasd: Fix read for ESE with blksize < 4k
1aa75808edd8 s390/dasd: prevent double format of tracks for ESE devices
061a424dd1c4 s390/dasd: fix data corruption for ESE devices
860db6cdc5be ASoC: meson: Fix event generation for G12A tohdmi mux
d4864e8c4ba8 ASoC: wm8958: Fix change notifications for DSP controls
6723ab2ed8bb ASoC: da7219: Fix change notifications for tone generator frequency
ac5894fb8626 genirq: Synchronize interrupt thread startup
8624e2c5af95 ACPICA: Always create namespace nodes using acpi_ns_create_node()
27183539cfac firewire: core: extend card->lock in fw_core_handle_bus_reset
2fefc6259861 firewire: remove check of list iterator against head past the loop body
34b9b9182911 firewire: fix potential uaf in outbound_phy_packet_callback()
f6b6e9336936 Revert "SUNRPC: attempt AF_LOCAL connect on setup"
d403ff32e566 gpiolib: of: fix bounds check for 'gpio-reserved-ranges'
94842485b4ec ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
73ce49fa59a7 parisc: Merge model and model name into one line in /proc/cpuinfo
0d5bb59858c6 MIPS: Fix CP0 counter erratum detection for R4k CPUs
(From OE-Core rev: 7e056e79a5acce8261cb5124c172cc40ad608b82)
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>
Make it possible to disable the database update completely by using
a negative update interval CVE_DB_UPDATE_INTERVAL.
Disabling the update is useful when running multiple parallel builds
when we want to have a control on the database version. This allows
coherent cve-check results without an database update for only
some of the builds.
(From OE-Core rev: 487a53522a739b9a52720c4c40b93f88ad77d242)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5c2269240327c2a8f93b9e55354698f52c976f3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Until now the CVE checker was giving information about CVEs found for
a product (or more products) contained in a recipe. However, there was
no easy way to find out which products or recipes have no CVEs. Having
no reported CVEs might mean there are simply none, but can also mean
a product name (CPE) mismatch.
This patch adds CVE_CHECK_COVERAGE option enabling a new type of
statistics. Then we use the new JSON format to report the information.
The legacy text mode report does not contain it.
This option is expected to help with an identification of recipes with
mismatched CPEs, issues in the database and more.
This work is based on [1], but adding the JSON format makes it easier
to implement, without additional result files.
[1] https://lists.openembedded.org/g/openembedded-core/message/159873
(From OE-Core rev: c63d06becc340270573bdef2630749db1f5230d4)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d1849a1facd64fa0bcf8336a0ed5fbf71b2e3cb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the cve-check text mode output, we didn't write fragment
files if there are no CVEs (if CVE_CHECK_REPORT_PATCHED is 1),
or no unpached CVEs otherwise.
However, in a system after multiple builds,
cve_check_write_rootfs_manifest might find older files and use
them as current, what leads to incorrect reporting.
Fix it by always writing a fragment file, even if empty.
(From OE-Core rev: 4c10ee956f21ea2f805403704ac3c54b7f1be78c)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1b7877acd0f6e3626faa57d9f89809cfcdfd0f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have libxml2 2.9.10 and we don't link statically against libxml2 anyway
so the CVE doesn't apply to libxslt.
(From OE-Core rev: c6315d8a2a1429a0fb7563b1d6352ceee7bc222c)
(From OE-Core rev: 9c736c9dcf5f18b8db082a0903be0acb3fbb51c2)
Signed-off-by: Omkar Patil <Omkar.Patil@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad63694e6d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are getting an additional ptest failure after fixing the expired certificates.
Backport a patch from upstream to fix this.
(From OE-Core rev: 3af161acc13189cb68549f898f3964d83d00ce56)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ptests in in openssl have started failing as test certificates have
expired. Backport a fix for this from upstream, replacing the test
certificates to allow the ptests to pass again.
(From OE-Core rev: 40858a05989d45b0c772fdec837d3dc95d4df59d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version 1.1.1 requires additional changes
This reverts commit 4051d1a3aa5f70da96c381f9dea5f52cd9306939.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ptests in in openssl have started failing as one of the test certificates has
expired. Backport a fix for this from upstream, replacing the test
certificate to allow the ptests to pass again.
(From OE-Core rev: 4051d1a3aa5f70da96c381f9dea5f52cd9306939)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f26f0b34f12bbca2beed153da402a3594d127374)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running CVE checks in CI we're usually not interested in warnings on the
console for any CVEs present. Add a configuration option CVE_CHECK_SHOW_WARNINGS
to allow this to be disabled (it is left enabled by default).
(From OE-Core rev: d009233f36fb866f6bdaa12fb6deedf5e253e9c9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1054d3366ba528f2ad52585cf951e508958c5c68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 8fd6a9f521ea6b1e10c80fe33968943db30991ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before this the rootfs manifest and the summary were identical.
We should separate the summary and rootfs manifest more clearly,
now the summary is for all CVEs and the rootfs manifest is only for
things in that image. This is even more useful if you build multiple
images.
(From OE-Core rev: 2bacd7cc67b2f624885ce9c9c9e48950b359387d)
Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b8cc6fc45f0ea5677729ee2b1819bdc7a441ab1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 65498411d73e8008d5550c2d0a1148f990717587)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As product, sdk should do cve check as well as rootfs.
(From OE-Core rev: df09cd71b4cd3f830fced9ce91aa202c1609bfc5)
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit cc17753935c5f9e08aaa6c5886f059303147c07b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ncurses 6.3 before patch 20220416 has an out-of-bounds read and
segmentation violation in convert_strings in tinfo/read_entry.c in the
terminfo library.
Backported from the link below, extracting only the relevant changes.
9d1d651878
(From OE-Core rev: 2287d591cf32f5580ea6679805d04c3a5146ecd5)
Signed-off-by: Gustavo Lima Chaves <gustavo.chaves@microsoft.com>
Signed-off-by: Dan Tran <dantran@microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test to verify that the JSON reports are generated correctly for
both single recipe builds and image builds.
More tests are needed, but this is better than nothing.
(From OE-Core rev: add860e1a69f848097bbc511137a62d5746e5019)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df0f35555b09c4bc75470eb45ec9c74e6587d460)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The addition of summary output caused two issues: error when building
an image and the fact that JSON output was generated even when
CVE_CHECK_FORMAT_JSON.
When generating an image it caused an error like:
ERROR: core-image-minimal-1.0-r0 do_rootfs: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:cve_check_write_rootfs_manifest(d)
0003:
File: '/home/alexk/poky/meta/classes/cve-check.bbclass', lineno: 213, function: cve_check_write_rootfs_manifest
0209:
0210: link_path = os.path.join(deploy_dir, "%s.json" % link_name)
0211: manifest_path = d.getVar("CVE_CHECK_MANIFEST_JSON")
0212: bb.note("Generating JSON CVE manifest")
*** 0213: generate_json_report(json_summary_name, json_summary_link_name)
0214: bb.plain("Image CVE JSON report stored in: %s" % link_path)
0215:}
0216:
0217:ROOTFS_POSTPROCESS_COMMAND:prepend = "${@'cve_check_write_rootfs_manifest; ' if d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"
Exception: NameError: name 'json_summary_name' is not defined
The fix is to pass the d variable to the pure python function generate_json_report
to get correct values of variables and add conditions for the JSON
output where needed.
In addition clarify the message presenting the summary JSON file,
which isn't related to an image.
Uses partial fixes from Alex Kiernan, Ernst Sjöstrand (ernstp),
and Davide Gardenal.
Fixes: f2987891d315 ("cve-check: add JSON format to summary output")
(From OE-Core rev: 665f981fccbb09d51349c4bd4cfe4ca91001e3bd)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9015dec93233c7d45fd0c9885ff5d4ec23ad377d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: 48ce924dc82aa959fb897ec36873db7dc3813b71)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
if a setup is using RPM for packaging and there are multiple
recipes that install to ${nonarch_base_libdir}/firmware by using
install -d ${nonarch_base_libdir}/firmware, it will create installation
clashes on image install, as linux-firmware in before this patch
used mkdir -p, which creates different file mode bits (depending
on the current user's settings).
In a particular example
linux-fimware created /lib/firmware with 0600
while other-firmware-package created it with 0644
making the combination not installable by rpm backend
(From OE-Core rev: c89bc0fc7f8afdf8ff0e93c3ebd7538987170a0c)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98bf3f427702687bf81ed759e7cde5d6d15e77eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes fixes for CVE-2022-1381, CVE-2022-1420.
(From OE-Core rev: c7d43000ce137e1f9302b4b6cec149adb1435f47)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 77d745bd49c979de987c75fd7a3af116e99db82b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is horrible but I'm running out of better ideas. We hit circular reference
issues which we were trying to avoid in the core HOSTTOOLS code. When building
the eSDK, there can be two copies of the script.
Therefore assume git will never be in a directory called scripts. This
fixes eSDK build failures.
(From OE-Core rev: 0f6ae13d76129d96f788b7ede312cfc361ee2bda)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27de610ac30d4c81352efc794df7e9b1060f7a68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous minimially invasive git intercept simply isn't enough. For example,
meson used in the igt-gpu-tools recipe hardcodes the path to git in the configure
step so at install time, changing PATH has no effect.
There are lots of interesting things we could do to try and avoid problems but
making the git intercept and dropping fakeroot privs for git global is probably
the least worst solution at this point. It will add slight overhead to git calls
but we don't make many so the overall impact is likely minimal.
(From OE-Core rev: ce6e606ba8b975a33df2f3dc6104abed9cfa7a36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af27c81eaf68ee681dcd9456a74cca6a9ab40bf6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We'd like to intercept git calls but we don't want circular references
and HOSTTOOLS currently sets them up. Tweak to avoid them.
(From OE-Core rev: 1567b7cec5ccbe198bfd0cca9ee8a2b1cf6dbf42)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52c37e133fa55846aca2248ffcf3a10648dbb8d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating the manifest and the testdata.json links, if the link
name is equal to the output name the link is not created, otherwise
it is. This prevents a link-to-self in the first case.
(From OE-Core rev: e3672b5ccd6e0f130b1657017802db130a859d20)
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bed63756c56f296ff3d5a7eef66e978bd19f1008)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The systemd-unit parameter DefaultDependencies changed from true/false
to yes/no. This changed in systemd in v242.
(From OE-Core rev: 00db62342e67b916213c3b54db23c8090621462f)
Signed-off-by: Portia Stephens <stephensportia@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit add4dcb03dc7b034253db05f0023cb97cab8b26d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 9da23a2b912edd043037a8e2e1047f7f3ba6886a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An if statement now checks if the link and output path are
the same, if they are then the link is not created,
otherwise it is.
(From OE-Core rev: 62965ca8ca7077c12d75dac37efe204d7159cddd)
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 2f024c0236c4806f0e59e4ce51a42f6b80fdf1b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create generate_json_report including all the code used to generate the JSON
manifest file.
Add to cve_save_summary_handler the ability to create the summary in JSON format.
(From OE-Core rev: d8ef964ffeb92684d01d71c983af9dbb1e1b0c4f)
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f2987891d315466b7ef180ecce81d15320ce8487)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new variable CVE_DB_UPDATE_INTERVAL allowing the user to set
the database update interval.
- a positive value sets an interval (in seconds)
- a zero ("0") forces the database update
(From OE-Core rev: ce79a724dc0f9baac480cbadc05894ffcaf48eb7)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe7bc6f16184d5ebdb1dd914b6dcb75c9e5e0c9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update of the NVD database was expected to happen once per hour.
However, the database file date changes only if the content was actually
updated. In practice, the check worked for the first hour after the
new download.
As the NVD database changes usually only once a day, we can just
update it less frequently.
(From OE-Core rev: d0a56ad3a278e18e766f833619cf97869bdf6a4c)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 35bccdedadeaba820d58b69fe74ce5e4c1f577e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 88f2fb1581a17b2cf59a694ca9afb89e38ed40b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The only part of the cve-check task which needs files is the patch
examination, and typically these patches are local so fetch isn't needed.
(From OE-Core rev: 72e5204bc7272414cc7bcfba18f52a177242ed79)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c9b3186d3b7c18cbea239ab9b06e85b7c243b54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 3dc8edd6611e7ad4abcece44ca4701eda7aeff94)
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:
1d72b776f6dc Linux 5.4.192
aa2a047b5842 mm, hugetlb: allow for "high" userspace addresses
6a79b2433eb1 hugetlbfs: get unmapped area below TASK_UNMAPPED_BASE for hugetlbfs
b69e60f6fc00 tty: n_gsm: fix incorrect UA handling
0f4be29febdc tty: n_gsm: fix wrong command frame length field encoding
21cc640385b4 tty: n_gsm: fix wrong command retry handling
49c40febd45c tty: n_gsm: fix missing explicit ldisc flush
85522dcf0053 tty: n_gsm: fix insufficient txframe size
563bb0f794ca netfilter: nft_socket: only do sk lookups when indev is available
fae209521000 tty: n_gsm: fix malformed counter for out of frame data
cec2d0782a7b tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2
a6d9847a4f82 x86/cpu: Load microcode during restore_processor_state()
9e9d12b81df6 net: ethernet: stmmac: fix write to sgmii_adapter_base
10ba1ac9a22a drivers: net: hippi: Fix deadlock in rr_close()
a8275219759e cifs: destage any unwritten data to the server before calling copychunk_write
5335370366a3 x86: __memcpy_flushcache: fix wrong alignment if size > 2^32
0ecc5304e80a ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
781571034993 ASoC: wm8731: Disable the regulator when probing fails
a71df406a6a5 tcp: fix F-RTO may not work correctly when receiving DSACK
a4ed61e30e32 ixgbe: ensure IPsec VF<->PF compatibility
406aaef0feae bnx2x: fix napi API usage sequence
c3e7ea58608a tls: Skip tls_append_frag on zero copy size
cd5cec3a0c8f drm/amd/display: Fix memory leak in dcn21_clock_source_create
ffce11a39102 net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK
3a179538bfd7 net: bcmgenet: hide status block before TX timestamping
8ef6d60aa2f1 clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
194f474ad9b4 bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create()
e80054ea0cde tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT
685ff7d24487 ip_gre: Make o_seqno start from 0 in native mode
69555bb27b2e net/smc: sync err code when tcp connection was refused
daca23846eb3 net: hns3: add validity check for message data length
7763a7956632 cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe
f5bb5940d754 pinctrl: pistachio: fix use of irq_of_parse_and_map()
d22fc603694b arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock
68f5200a1f60 ARM: dts: imx6ull-colibri: fix vqmmc regulator
c45180375afd sctp: check asoc strreset_chunk in sctp_generate_reconf_event
2cba635570d8 tcp: ensure to use the most recently sent skb when filling the rate sample
3ea6190be92f tcp: md5: incorrect tcp_header_len for incoming connections
2b9a13d98dfc bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook
2e7f70d324ef mtd: rawnand: Fix return value check of wait_for_completion_timeout
2a36ba067b36 ipvs: correctly print the memory size of ip_vs_conn_tab
abe86a10dc5c ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35
54212850e38f ARM: dts: am3517-evm: Fix misc pinmuxing
bba67fe6b022 ARM: dts: Fix mmc order for omap3-gta04
416e0f890732 phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe
6ff7c1b827c8 phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe
59bdaed5dd73 ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek
dbce8fc16a08 phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks
b7fc45354be6 ARM: OMAP2+: Fix refcount leak in omap_gic_of_init
dd99939b70c4 phy: samsung: exynos5250-sata: fix missing device put in probe error paths
6331b77fdc17 phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe
fccbc3168e5e ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue
b8f0c19d4864 USB: Fix xhci event ring dequeue pointer ERDP update issue
1f47c2625773 mtd: rawnand: fix ecc parameters for mt7622
0405bd7f1888 arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards
5f80b5c5f406 arm64: dts: meson: remove CPU opps below 1GHz for G12B boards
f6db63819db6 video: fbdev: udlfb: properly check endpoint type
c00f3892f4f0 hex2bin: fix access beyond string end
15b78a8e38e8 hex2bin: make the function hex_to_bin constant-time
73f4668ee875 arch_topology: Do not set llc_sibling if llc_id is invalid
a3cdd33ca163 serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device
89a5728b053c serial: 8250: Also set sticky MCR bits in console restoration
42f749f2232a serial: imx: fix overrun interrupts in DMA mode
d29c197df7fa usb: dwc3: gadget: Return proper request status
0f3d081315c5 usb: dwc3: core: Fix tx/rx threshold settings
e2ec7b1f6a06 usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
debb276670b0 usb: gadget: uvc: Fix crash when encoding data for usb request
324e67c3b2fc usb: typec: ucsi: Fix role swapping
0366beb40239 usb: misc: fix improper handling of refcount in uss720_probe()
2c97a2b5ef84 iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on()
e82c726c94ec iio: dac: ad5446: Fix read_raw not returning set value
1aea30f87c65 iio: dac: ad5592r: Fix the missing return value.
1e8716a5c087 xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms
b8d3a4681f28 xhci: stop polling roothubs after shutdown
c8fbc2f875b6 USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions
68088dec9b3c USB: serial: option: add support for Cinterion MV32-WA/MV32-WB
56cbdb9d958a USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader
6b10dd966c12 USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS
890fc65448ea USB: quirks: add STRING quirk for VCOM device
c4b31d41f5f2 USB: quirks: add a Realtek card reader
5666334ce3bf usb: mtu3: fix USB 3.0 dual-role-switch from device to host
b2589647008f lightnvm: disable the subsystem
c9af90f0c6b8 hamradio: remove needs_free_netdev to avoid UAF
7361a35bf330 hamradio: defer 6pack kfree after unregister_netdev
7dea5913000c floppy: disable FDRAWCMD by default
4426e6017f73 Linux 5.4.191
3c946909a3ed Revert "net: micrel: fix KS8851_MLL Kconfig"
c028b81d062e block/compat_ioctl: fix range check in BLKGETSIZE
27da8d16e4f0 staging: ion: Prevent incorrect reference counting behavour
cb158b152ea6 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
1b6ad2421084 jbd2: fix a potential race while discarding reserved buffers after an abort
0b1ba14ab263 ext4: force overhead calculation if the s_overhead_cluster makes no sense
425301ef608a ext4: fix overhead calculation to account for the reserved gdt blocks
ea9c206111ea ext4, doc: fix incorrect h_reserved size
259dc49deaa2 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
faadbf7ac4f2 ext4: fix use-after-free in ext4_search_dir
0309665eb244 ext4: fix symlink file size not match to file content
ddfe3babc546 arm_pmu: Validate single/group leader events
852b02d1f808 ARC: entry: fix syscall_trace_exit argument
016ba7cbed57 e1000e: Fix possible overflow in LTR decoding
1217cf141b24 ASoC: soc-dapm: fix two incorrect uses of list iterator
aa7070556087 openvswitch: fix OOB access in reserve_sfa_size()
d24e0d9d691b xtensa: fix a7 clobbering in coprocessor context load/store
4c26a96d0c29 xtensa: patch_text: Fixup last cpu should be master
8d6937c1e093 powerpc/perf: Fix power9 event alternatives
0dafb826ed70 drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
013231f75fce KVM: PPC: Fix TCE handling for VFIO
9cf05812cb10 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
4f08e85ca0fc drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
23f0ba5585a5 dma: at_xdmac: fix a missing check on list iterator
a22f3c99268c ata: pata_marvell: Check the 'bmdma_addr' beforing reading
0441d3e95bca oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
530d32ac52f7 EDAC/synopsys: Read the error count from the correct register
91367af460da stat: fix inconsistency between struct stat and struct compat_stat
837e319ebe62 scsi: qedi: Fix failed disconnect handling
4b813ce289ed net: macb: Restart tx only if queue pointer is lagging
a1419bee4dde drm/msm/mdp5: check the return of kzalloc()
80b188da30aa dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
46f9fa0a6632 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
12a753edd963 mt76: Fix undefined behavior due to shift overflowing the constant
7c48a6e62ddb cifs: Check the IOCB_DIRECT flag, not O_DIRECT
435142fbdcc0 vxlan: fix error return code in vxlan_fdb_append
99c2d9a52f37 ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
3e28d157e5f2 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
54be94d33660 reset: tegra-bpmp: Restore Handle errors in BPMP response
0cb2c00dd1ab ARM: vexpress/spc: Avoid negative array index when !SMP
3a5ad1b8db9f selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
d37295129efa netlink: reset network and mac headers in netlink_dump()
4c4f2a019ff9 l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
8c5ca6492a86 net/sched: cls_u32: fix possible leak in u32_init_knode()
f883def54654 net/packet: fix packet_sock xmit return value checking
e1bc684c81f1 net/smc: Fix sock leak when release after smc_shutdown()
f10e5c9f226c rxrpc: Restore removed timer deletion
9a9c48159365 igc: Fix BUG: scheduling while atomic
f9d5d17d234f igc: Fix infinite loop in release_swfw_sync
6d6271dbbbe5 dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
65c36555bd7d dmaengine: imx-sdma: Fix error checking in sdma_event_remap
ccf554d148eb ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
6a20bf46c625 ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
6a54979c7830 ALSA: usb-audio: Clear MIDI port active flag after draining
9c99aacfb4c6 tcp: Fix potential use-after-free due to double kfree()
5a4f3eba211a net/sched: cls_u32: fix netns refcount changes in u32_change()
b01b700e0c5a tcp: fix race condition when creating child sockets from syncookies
ebb3b84596bd gfs2: assign rgrp glock before compute_bitstructs
660784e7194a can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
2da11442a1e3 tracing: Dump stacktrace trigger to the corresponding instance
bad7ed55756f mm: page_alloc: fix building error on -Werror=array-compare
ac94e87675b2 etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
(From OE-Core rev: 9784b5a0629cd223865a21a9b72641116d332cf0)
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>
BusyBox through 1.35.0 allows remote attackers to execute arbitrary code
if netstat is used to print a DNS PTR record's value to a VT compatible
terminal. Alternatively, the attacker could choose to change the terminal's colors.
https://nvd.nist.gov/vuln/detail/CVE-2022-28391
Backported from kirkstone 3e17df4cd17c132dc7732ebd3d1c80c81c85bcc4.
2nd patch adjusted to apply on 1.31.1.
(From OE-Core rev: 0b9cbcc4ceac3938afd1dd6010ce6d9a3da21598)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are reports of issues with the new libstdc++ from gcc 12. This upgrades
to a gcc 12 version of uninative to allow builds on those systems. Gcc 12 isn't
finalised so we may need to add a new version of this if/as appropriate when it
is.
(From OE-Core rev: 7c0345ab1058a7e29d37f110923ecd368e102ed7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e3da4da7e5da5bb9e1d360e2be2fdd5132e69320)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're going to use the environment approach for solving this issue.
(From OE-Core rev: a58a94e451bb62df70c60b5d7d27c0074b849e0e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0982977dc052ad4e65608f6853f930121d08837a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In a devshell, recent versions of git will complain if the repo is owned
by someone other than the current UID - consider this example:
------
bitbake -c devshell linux-yocto
[...]
kernel-source#git branch
fatal: unsafe repository ('/home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source
kernel-source#
------
Of course the devshell has UID zero and the "real" UID is for "paul" in
this case. And so recent git versions complain.
As the whole purpose of the devshell is to invoke a shell where development
can take place, having a non-functional git is clearly unacceptable.
Richard suggested we could use PSEUDO_UNLOAD=1 to evade this issue, and I
suggested we probably will see other similar instances like this and should
make use of PATH to intercept via devshell wrappers - conveniently we already
have examples of this.
Here, we copy the existing "ar" example and tune it to the needs of git to
combine Richard's suggestion and mine.
As such we now also can store commit logs and use send-email with our user
specific settings, instead of "root", so in additon to fixing basic
commands like "git branch" it should also increase general usefulness.
RP: Tweaked the patch so the PATH change only applies to the devshell task
and is a generic git intercept rather than devshell specific.
RP: Also apply the PATH change to do_install tasks since that also runs under
fakeroot and several software projects inject "git describe" output into
their binaries (systemd, iputils, llvm, ipt-gpu-tools at least) causing
reproducibility issues from systems with different git versions.
(From OE-Core rev: 0ff2cff2c1eac3fe6304644db0fc27ba3130c237)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3266c327dfa186791e0f1e2ad63c6f5d39714814)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This symlink is not valid when using usrmerge and ptest packaging would fail
Exception: FileExistsError: [Errno 17] File exists: '/usr/bin/busybox.suid' -> '/mnt/b/yoe/master/build/tmp/work/ppc64p9le-yoe-linux-musl/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login'
(From OE-Core rev: e40f202d5f3228934c0e4b49218767864580d003)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 238fd30689054c7b44176dce7180fb6dac4e1b6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2015-20107 describes an arbitrary command execution in the mailcap
module, but this is by design in mailcap and needs to be worked around
by the calling application.
Upstream Python will be documenting this flaw in the library reference,
and it is likely that the mailcap module will be deprecated and removed
in the future.
(From OE-Core rev: 1ed7bb74d35f08af3babf73c68ee01af5f28a50b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 85fac8408baf92d8b71946f5bfea92952b7eab01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use of those tools was removed in b5c131006e3fad0a15e6cdf81f71dc1e96647028
perf-build-test/report: Drop phantomjs and html email reports support
(From OE-Core rev: bb3fc61f0d7f7bcd77ef194b76f4fdd8a7ff6aa5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
phantomjs isn't reliable and we've moved to sharing the reports via a webserver.
Update the scripts to more match those being used in the autobuilder helper
where the html email support was removed.
(From OE-Core rev: ce6d41812a70a1586aaabb8de5d748a81f6d7cae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5c131006e3fad0a15e6cdf81f71dc1e96647028)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport to dunfell from master df567de36ae5964bee433ebb97e8bf702034994a
Add an option to output the CVE check in a JSON-based format.
This format is easier to parse in software than the original
text-based one and allows post-processing by other tools.
Output formats are now handed by CVE_CHECK_FORMAT_TEXT and
CVE_CHECK_FORMAT_JSON. The text format is enabled by default
to maintain compatibility, while the JSON format is disabled
by default.
The JSON output format gets generated in a similar way to the
text format with the exception of the manifest: appending to
JSON arrays requires parsing the file. Because of that we
first write JSON fragments and then assemble them in one pass
at the end.
(From OE-Core rev: 92b6011ab25fd36e2f8900a4db6883cdebc3cd3d)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to the WHENCE file, some a3k firmware files are licensed
under the special ar3k license, while others are licensed under the more
generic Atheros license. Document this by adding extending the
LICENSE_${PN}-ar3k and depending on both of them.
(From OE-Core rev: 8c0aa16d76e5492f774fcfe08c829c877991afbd)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 8e651814af706285d64b532095fcd6f5f02629ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
dc213ac85601 Linux 5.4.190
a83a18c4c903 ax25: Fix UAF bugs in ax25 timers
40cb8b3b19c0 ax25: Fix NULL pointer dereferences in ax25 timers
d2be5b563ef3 ax25: fix NPD bug in ax25_disconnect
eaa7eb23fa76 ax25: fix UAF bug in ax25_send_control()
9e1e088a57c2 ax25: Fix refcount leaks caused by ax25_cb_del()
7528d0f2210c ax25: fix UAF bugs of net_device caused by rebinding operation
1db0b2c55c93 ax25: fix reference count leaks of ax25_dev
418993bbaafb ax25: add refcount in ax25_dev to avoid UAF bugs
4459946e867a dma-direct: avoid redundant memory sync for swiotlb
7efb8e49f659 i2c: pasemi: Wait for write xfers to finish
659855c62c34 smp: Fix offline cpu check in flush_smp_call_function_queue()
7f84c9372229 dm integrity: fix memory corruption when tag_size is less than digest size
89931d476257 ARM: davinci: da850-evm: Avoid NULL pointer dereference
28956e530b11 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
f4fb50ee2594 genirq/affinity: Consider that CPUs on nodes can be unbalanced
f616ecec0fae drm/amd/display: don't ignore alpha property on pre-multiplied mode
ab2f5afb7af5 ipv6: fix panic when forwarding a pkt with no in6 dev
377a80ca6590 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
5f77b1c0e673 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
358e7b451a5a btrfs: mark resumed async balance as writing
d5b0b11c064e btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
0aad67337ff7 ath9k: Fix usage of driver-private space in tx_info
7fb98e4f5b2e ath9k: Properly clear TX status area before reporting to mac80211
7a9e1327ccb2 gcc-plugins: latent_entropy: use /dev/urandom
534d0aebe164 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
b56d305274b6 mm, page_alloc: fix build_zonerefs_node()
e07a70ca831e perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
d05cd68ed846 drivers: net: slip: fix NPD bug in sl_tx_timeout()
6d41134f3037 scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
3ecd43dcdac4 scsi: mvsas: Add PCI ID of RocketRaid 2640
deab81144d5a powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
dd9b4b435a56 drm/amd/display: Fix allocate_mst_payload assert on resume
404998a137bc net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
4a244167964a tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
29c2910c5060 arm64: alternatives: mark patch_alternative() as `noinstr`
8c4db601ac8c regulator: wm8994: Add an off-on delay for WM8994 variant
066180758fd0 gpu: ipu-v3: Fix dev_dbg frequency output
b4ef44c7c27b ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
4cd3c9e070d6 net: micrel: fix KS8851_MLL Kconfig
6117facb44a1 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
fb7a5115422f scsi: target: tcmu: Fix possible page UAF
70b97c1546f9 Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
c7a268b33882 drm/amdkfd: Check for potential null return of kmalloc_array()
2f3e1f38631f drm/amdkfd: Fix Incorrect VMIDs passed to HWS
46ca8233f12d drm/amd/display: Update VTEM Infopacket definition
74090c44c1f2 drm/amd/display: fix audio format not updated after edid updated
0b3c2222d73a drm/amd: Add USBC connector ID
22d658c6c5af cifs: potential buffer overflow in handling symlinks
5c63ad2b0a26 nfc: nci: add flush_workqueue to prevent uaf
1407cc68aaa8 testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
37e54d151eab sctp: Initialize daddr on peeled off socket
a05f5e26cb8b net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
1ac7c6d75ede drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
02ee10d2a4a0 cfg80211: hold bss_lock while updating nontrans_list
99a435c3789c net/sched: taprio: Check if socket flags are valid
7e59fdf9547c net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
94541468c11a net/sched: fix initialization order when updating chain 0 head
4f83ba16a1b8 mlxsw: i2c: Fix initialization error flow
8cefae8c40df gpiolib: acpi: use correct format characters
2fd90b86dff4 veth: Ensure eth header is in skb's linear part
5f2e54391893 net/sched: flower: fix parsing of ethertype following VLAN header
9250186785f4 memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
e7f5213d755b Linux 5.4.189
b15feb09a32e ACPI: processor idle: Check for architectural support for LPI
60b6aae07249 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
598a22a077a8 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
a3f6c5949f66 selftests: cgroup: Test open-time credential usage for migration checks
48848242d378 selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
8a887060af61 cgroup: Use open-time cgroup namespace for process migration perm checks
9bd1ced6466e cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv
691a0fd625e0 cgroup: Use open-time credentials for process migraton perm checks
1a623d361ffe io_uring: fix fs->users overflow
33fcb359a642 drm/amdkfd: Fix -Wstrict-prototypes from amdgpu_amdkfd_gfx_10_0_get_functions()
1549bc8cc165 drm/amdkfd: add missing void argument to function kgd2kfd_init
fdfb9ae26161 mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
a0c0867f06b9 arm64: module: remove (NOLOAD) from linker script
2bd5b0d56d7b mm: don't skip swap entry even if zap_details specified
dfa87d9a5db3 mmc: mmci: stm32: correctly check all elements of sg list
c645de49e971 mmc: mmci_sdmmc: Replace sg_dma_xxx macros
0d99cce85e34 dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
9e6980c68cbf tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
f0752ee5efdc tools build: Filter out options and warnings not supported by clang
3c07cc242baf irqchip/gic-v3: Fix GICR_CTLR.RWP polling
e44d6af17b15 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
55e1465ba795 ata: sata_dwc_460ex: Fix crash due to OOB write
b0c4b3fc01ae arm64: patch_text: Fixup last cpu should be master
44277c50fdba btrfs: fix qgroup reserve overflow the qgroup limit
17f3e31c8603 x86/speculation: Restore speculation related MSRs during S3 resume
0b8043e0fcea x86/pm: Save the MSR validity status at context setup
25f506273b6a mm/mempolicy: fix mpol_new leak in shared_policy_replace
c19d8de4e682 mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
73953dfa9d50 lz4: fix LZ4_decompress_safe_partial read out of bound
3b3514388895 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
0869cb9f6235 Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
c79c1846bdd7 perf session: Remap buf if there is no space for event
9b6894db7c46 perf tools: Fix perf's libperf_print callback
4ecef6f28aa1 SUNRPC: Handle low memory situations in call_status()
9a0da98a36b4 SUNRPC: Handle ENOMEM in call_transmit_status()
b6a4055036ee drbd: Fix five use after free bugs in get_initial_state
a581b089216d bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
eb175e060699 spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
034a92c6a810 qede: confirm skb is allocated before using
7ee84d29f22d rxrpc: fix a race in rxrpc_exit_net()
fee500c33534 net: openvswitch: don't send internal clone attribute to the userspace.
c154cf184b2c ipv6: Fix stats accounting in ip6_pkt_drop
fbe5f4c0dd34 dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
8a50937227c3 IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
1ef586a864df bnxt_en: reserve space inside receive page for skb_shared_info
c539a6a5896e drm/imx: Fix memory leak in imx_pd_connector_get_modes
cc9c2f51cd48 net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
f5064531c23a net: ipv4: fix route with nexthop object delete warning
2b7d14c105dd net/tls: fix slab-out-of-bounds bug in decrypt_internal
34a47f7ddb4f scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
2133c422a103 Drivers: hv: vmbus: Fix potential crash on module unload
c5e12c3a47db drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
00914290958d KVM: arm64: Check arm64_get_bp_hardening_data() didn't return NULL
18e0097daf8c mm: fix race between MADV_FREE reclaim and blkdev direct IO read
abb1f310e7f0 parisc: Fix patch code locking and flushing
bab8e3b4f68a parisc: Fix CPU affinity for Lasi, WAX and Dino chips
1b8a6d1bdac5 SUNRPC: Fix socket waits for write buffer space
e19c3149a80e jfs: prevent NULL deref in diFree
3504b0a17720 virtio_console: eliminate anonymous module_init & module_exit
60ade478c965 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
14e6bab37373 NFS: swap-out must always use STABLE writes.
66cf5de08460 NFS: swap IO handling is slightly different for O_DIRECT IO
fa47286c010a SUNRPC/call_alloc: async tasks mustn't block waiting for memory
e427cd0ad559 clk: Enforce that disjoints limits are invalid
8a7462b5211c xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
3f8f3a1c10e2 NFSv4: Protect the state recovery thread against direct reclaim
96cdf2fdbe89 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
823f0364d4a4 clk: si5341: fix reported clk_rate when output divider is 2
f4e16d12bc7c minix: fix bug when opening a file with O_DIRECT
a95bbfea8f70 init/main.c: return 1 from handled __setup() functions
b4be80aa4bda netlabel: fix out-of-bounds memory accesses
3803d896ddd9 Bluetooth: Fix use after free in hci_send_acl
8beb760f634e xtensa: fix DTC warning unit_address_format
d41bdccb3c29 usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
5cf2ce8967b0 scsi: libfc: Fix use after free in fc_exch_abts_resp()
0aeaadc52b05 MIPS: fix fortify panic when copying asm exception handlers
c871b8374896 bnxt_en: Eliminate unintended link toggle during FW reset
1166f5c139d5 tuntap: add sanity checks about msg_controllen in sendmsg
c68dd44fb896 macvtap: advertise link netns via netlink
060a485df4ec mips: ralink: fix a refcount leak in ill_acc_of_setup()
1dd7569b8c70 net/smc: correct settings of RMB window update limit
2fda284a3acb scsi: aha152x: Fix aha152x_setup() __setup handler return value
a0ef536256c9 scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
a45af7e34091 drm/amdkfd: make CRAT table missing message informational only
0320bac5801b dm ioctl: prevent potential spectre v1 gadget
73dd98ac192d ipv4: Invalidate neighbour for broadcast address upon address addition
f5e4f728d5c9 power: supply: axp288-charger: Set Vhold to 4.4V
6e2dff272cb4 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
4225947957f8 usb: ehci: add pci device support for Aspeed platforms
ea057ac8c942 iommu/arm-smmu-v3: fix event handling soft lockup
4e85f5ab589d PCI: aardvark: Fix support for MSI interrupts
c0e9d868a1e0 drm/amdgpu: Fix recursive locking warning
cee00fd8004f powerpc: Set crashkernel offset to mid of RMA region
fbb7b033209c ipv6: make mc_forwarding atomic
9f24efe239df power: supply: axp20x_battery: properly report current when discharging
3575fa75da6c scsi: bfa: Replace snprintf() with sysfs_emit()
9cd46ee37456 scsi: mvsas: Replace snprintf() with sysfs_emit()
ca5da71a5838 bpf: Make dst_port field in struct bpf_sock 16-bit wide
90dbc4c6649f powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
9388d8760997 ptp: replace snprintf with sysfs_emit
4009f104b02b drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
c4e2f577271e ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
61ffe2183351 drm: Add orientation quirk for GPD Win Max
01f700bae439 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
a5476f8d359f ARM: 9187/1: JIVE: fix return value of __setup handler
63efb9003069 riscv module: remove (NOLOAD)
68a7bb69486e rtc: wm8350: Handle error for wm8350_register_irq
d95e0367fdc5 ubifs: Rectify space amount budget for mkdir/tmpfile operations
9e24d03dd4fe KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
1553126eccf4 KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
eb05ef70b621 openvswitch: Fixed nd target mask field in the flow dump.
ce8043771fcd um: Fix uml_mconsole stop/go
337eb9557035 ARM: dts: spear13xx: Update SPI dma properties
4e48a6662356 ARM: dts: spear1340: Update serial node properties
7f19400e5957 ASoC: topology: Allow TLV control to be either read or write
32a76a557494 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
0c1a26c3d325 dt-bindings: spi: mxic: The interrupt property is not mandatory
97ba943e9940 dt-bindings: mtd: nand-controller: Fix a comment in the examples
a42ab650d33b dt-bindings: mtd: nand-controller: Fix the reg property description
7d418a0a5626 bpf: Fix comment for helper bpf_current_task_under_cgroup()
a075e95614f0 mm/usercopy: return 1 from hardened_usercopy __setup() handler
abc0b4ea02f6 mm/memcontrol: return 1 from cgroup.memory __setup() handler
2e16f48838fc mm/mmap: return 1 from stack_guard_gap __setup() handler
d650ed0617e0 ASoC: soc-compress: Change the check for codec_dai
7f19245c3647 powerpc/kasan: Fix early region not updated correctly
cb249f8c00f4 ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
7d4a3c930d1d ARM: iop32x: offset IRQ numbers by 1
d727fd32cbd1 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
4f9a59cf842a ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
230987c2bbc5 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
18455cc74e95 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
9611d8ef6829 pinctrl: pinconf-generic: Print arguments for bias-pull-*
b0c0f4057020 net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
2a548fbf09f3 gfs2: Make sure FITRIM minlen is rounded up to fs block size
8d67f67361c0 rtc: check if __rtc_read_time was successful
9a8835902eb6 XArray: Update the LRU list in xas_split()
cbd110b8dd7a can: mcba_usb: properly check endpoint type
2dfe9422d528 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
3e2852eda19e XArray: Fix xas_create_range() when multi-order entry present
a840286f13df ubifs: rename_whiteout: correct old_dir size computing
b80ccbec0e48 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
1afe219e4a66 ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
786013ecbaed ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
37bdf1ad5925 ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
14276d38c89a ubifs: rename_whiteout: Fix double free for whiteout_ui->data
01df5f7627f1 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
4c277c846a21 KVM: x86: fix sending PV IPI
a1c03f11cc3c KVM: Prevent module exit until all VMs are freed
8f608ee87ebf scsi: qla2xxx: Use correct feature type field during RFF_ID processing
af744ef8f18e scsi: qla2xxx: Reduce false trigger to login
7f9ce17a1d1b scsi: qla2xxx: Fix N2N inconsistent PLOGI
2d087c7e55db scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
4a0a3c66a58e scsi: qla2xxx: Fix hang due to session stuck
9d1651c8a40d scsi: qla2xxx: Fix incorrect reporting of task management failure
2eb127417609 scsi: qla2xxx: Fix disk failure to rediscover
8077a7162bc3 scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
c478b2cde9b5 scsi: qla2xxx: Check for firmware dump already collected
96391480abfe scsi: qla2xxx: Add devids and conditionals for 28xx
08d04784ccc5 scsi: qla2xxx: Fix device reconnect in loop topology
167debaeaaca scsi: qla2xxx: Fix warning for missing error code
e67e9620a09c scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
8e561cbb7863 scsi: qla2xxx: Fix stuck session in gpdb
f196d94cc7c2 powerpc: Fix build errors with newer binutils
71ca99a50960 powerpc/lib/sstep: Fix build errors with newer binutils
d42b045e92c2 powerpc/lib/sstep: Fix 'sthcx' instruction
0af21531f5ed ALSA: hda/realtek: Add alc256-samsung-headphone fixup
95d65bca6eb9 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
813553e4a91f media: hdpvr: initialize dev->worker at hdpvr_register_videodev
236311be0976 media: Revert "media: em28xx: add missing em28xx_close_extension"
3b36c05f68ba video: fbdev: sm712fb: Fix crash in smtcfb_write()
11186875ba8f ARM: mmp: Fix failure to remove sram device
dc958cd4c88c ARM: tegra: tamonten: Fix I2C3 pad setting
691b0c0cb6df media: cx88-mpeg: clear interrupt status register before streaming video
b239e9d52dbe ASoC: soc-core: skip zero num_dai component in searching dai name
7d0afbc41b89 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
efe9631a76e6 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
ee7ce43367f3 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
046d9fd86bd8 ASoC: madera: Add dependencies on MFD
46ac0e768dc7 ARM: dts: bcm2837: Add the missing L1/L2 cache information
bf27f5dfcf82 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
3856562e940c video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
53a2088a396c video: fbdev: cirrusfb: check pixclock to avoid divide by zero
b19c7df304f5 video: fbdev: w100fb: Reset global state
055cdd2e7b99 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
fe41ad8be036 ntfs: add sanity check on allocation size
5a016c053f42 ext4: don't BUG if someone dirty pages without asking ext4 first
07150842fac9 spi: tegra20: Use of_device_get_match_data()
0cccf9d4fb45 PM: core: keep irq flags in device_pm_check_callbacks()
f24e2362d667 ACPI/APEI: Limit printable size of BERT table data
931aff627469 Revert "Revert "block, bfq: honor already-setup queue merges""
7a7b11d694ed lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
c7f6ae51b1b4 ACPICA: Avoid walking the ACPI Namespace if it is not there
5117c9ff4c2e bfq: fix use-after-free in bfq_dispatch_request
e464aafd3537 irqchip/nvic: Release nvic_base upon failure
c159eb634e52 irqchip/qcom-pdc: Fix broken locking
c345724f2b79 Fix incorrect type in assignment of ipv6 port for audit
927649f3f379 loop: use sysfs_emit() in the sysfs xxx show()
799f22279e11 selinux: use correct type for context length
c4f5a678add5 block, bfq: don't move oom_bfqq
f409e9d1780b pinctrl: npcm: Fix broken references to chip->parent_device
f36dd10d1b95 gcc-plugins/stackleak: Exactly match strings instead of prefixes
ddcdda888e14 LSM: general protection fault in legacy_parse_param
1f316b42a8e3 lib/test: use after free in register_test_dev_kmod()
7a2ba24cee9a net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
910a98e5c1e5 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
9acf05b4e7b5 net/x25: Fix null-ptr-deref caused by x25_disconnect
d15a70fcda7b qlcnic: dcb: default to returning -EOPNOTSUPP
8ba93ab509ec selftests: test_vxlan_under_vrf: Fix broken test case
ae713d7d9987 net: phy: broadcom: Fix brcm_fet_config_init()
ab2c789d1c0a xen: fix is_xen_pmu()
d85841e4b2ff clk: Initialize orphan req_rate
025c75ba3811 clk: qcom: gcc-msm8994: Fix gpll4 width
f6f1c9a51e28 NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
806ef544cf1a netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
cec71a718ce1 jfs: fix divide error in dbNextAG
b3ac1e01963d driver core: dd: fix return value of __setup handler
1bb231de81fc firmware: google: Properly state IOMEM dependency
e9f2a8c6428d kgdbts: fix return value of __setup handler
16fe77f86aa5 kgdboc: fix return value of __setup handler
7c617cb38c19 tty: hvc: fix return value of __setup handler
0615a444c5dd pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
bc1e29a35147 pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
27681f9e02e7 pinctrl: mediatek: paris: Fix pingroup pin config state readback
e9eacc8952ea pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
b348618c175e pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
6e0d69618863 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
efc605469e47 NFS: remove unneeded check in decode_devicenotify_args()
110c038779cc clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
2b5e68095c43 clk: clps711x: Terminate clk_div_table with sentinel element
166c0185f32f clk: loongson1: Terminate clk_div_table with sentinel element
1d04467bbbd0 clk: actions: Terminate clk_div_table with sentinel element
50b48ba439bc remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
b5625e7a16e3 remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
16ad029942bd clk: qcom: clk-rcg2: Update the frac table for pixel clock
52592f9afbfe clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
b576488fa3b5 clk: imx7d: Remove audio_mclk_root_clk
79467b956333 dma-debug: fix return value of __setup handlers
fe334765e4bb NFS: Return valid errors from nfs2/3_decode_dirent()
546604de8acc iio: adc: Add check for devm_request_threaded_irq
1da082f728c7 serial: 8250: Fix race condition in RTS-after-send handling
617d9c0b9806 serial: 8250_mid: Balance reference count for PCI DMA device
61d3fdef61b9 phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
84ee0c81dd28 clk: qcom: ipq8074: Use floor ops for SDCC1 clock
dd719fca42e4 pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
b82465c1ff4a staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
3ba0143128ee misc: alcor_pci: Fix an error handling path
af1fdbbb7b22 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
996291d06851 mxser: fix xmit_buf leak in activate when LSR == 0xff
58200dedbd10 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
043b19701332 tipc: fix the timer expires after interval 100ms
6e2e80b2e9be openvswitch: always update flow key after nat
7a970dbb7d16 tcp: ensure PMTU updates are processed during fastopen
b4725ad1e459 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
1c7b252a6053 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
41249fff5073 af_netlink: Fix shift out of bounds in group mask calculation
874eca93966a Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
2fe415601b2d USB: storage: ums-realtek: fix error code in rts51x_read_mem()
94c6ac22abcd bpf, sockmap: Fix double uncharge the mem of sk_msg
244ce90c8d0b bpf, sockmap: Fix more uncharged while msg has more_data
6d03722c34d9 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
0174a89663a5 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
9b08d211db4c mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
443121c9948d MIPS: RB532: fix return value of __setup handler
9a9a62846c15 vxcan: enable local echo for sent CAN frames
6f259b1a4ab0 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
d87803ba6be8 selftests/bpf: Make test_lwt_ip_encap more stable and faster
ac6edd6fcbf5 mfd: mc13xxx: Add check for mc13xxx_irq_request
d2577dc2b3c3 powerpc/sysdev: fix incorrect use to determine if list is empty
7192df97a018 mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
10705a430557 PCI: Reduce warnings on possible RW1C corruption
90bec38f6a4c power: supply: wm8350-power: Add missing free in free_charger_irq
a16d8f4191a7 power: supply: wm8350-power: Handle error for wm8350_register_irq
c7032923159c i2c: xiic: Make bus names unique
6f41e4a69ba3 hv_balloon: rate-limit "Unhandled message" warning
c00a91aca237 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
5f43ec383eba KVM: x86: Fix emulation in writing cr8
e91ba23f55cf powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
3c660fa0f905 libbpf: Skip forward declaration when counting duplicated type names
b62e615a619d bpf, arm64: Feed byte-offset into bpf line info
8f3192a241d1 bpf, arm64: Call build_prologue() first in first JIT pass
54bc98a0ab2b drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
30c5cf4bf219 scsi: hisi_sas: Change permission of parameter prot_mask
e2cd206815a6 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
a72507070188 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
cc16d0bc1c69 ext2: correct max file size computing
b689622cc42a TOMOYO: fix __setup handlers return values
aa7981012a98 drm/amd/display: Remove vupdate_int_entry definition
765674e3b301 scsi: pm8001: Fix abort all task initialization
442685f95296 scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
e7336d47759d scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
898c73387e8f scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
5e3359ed0944 dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
37e847b674f1 iwlwifi: mvm: Fix an error code in iwl_mvm_up()
4ad7d29ee42c iwlwifi: Fix -EIO error code that is never returned
770d42fff12d dax: make sure inodes are flushed before destroy cache
c10980c522d8 IB/cma: Allow XRC INI QPs to set their local ACK timeout
2eaa9d86e007 drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
8ae97a595b84 iommu/ipmmu-vmsa: Check for error num after setting mask
a29ce9592cf6 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
41ed61364285 power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
af5ad6e8370b PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
93b47d22d6a9 net: dsa: mv88e6xxx: Enable port policy support on 6097
b03c06171b6e mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
eb5932160e37 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
d2ee8da9f72d powerpc/perf: Don't use perf_hw_context for trace IMC PMU
135eb4e2bed1 ray_cs: Check ioremap return value
3be1bb175f2c power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
9a0e270c40ae i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
5607badbb145 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
4d244b731188 ath9k_htc: fix uninit value bugs
57f4ad5e286f drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
1feb6ff89d7f drm/edid: Don't clear formats if using deep color
0d0ee651e72c mtd: rawnand: gpmi: fix controller timings setting
750d2dc19f25 mtd: onenand: Check for error irq
d58d281d6a3f Bluetooth: hci_serdev: call init_rwsem() before p->open()
5d50f851dd30 udmabuf: validate ubuf->pagecount
2cf7d537d330 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
820e469a2f37 drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
e7a0c8546f74 drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
f419751373a5 ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
1f31073b7772 mmc: davinci_mmc: Handle error for clk_enable
93476f9f8277 ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
9e1fdf18fecb ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
67e12f1cb2f9 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
ed41d104be54 ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
29e91a49b6fb ivtv: fix incorrect device_caps for ivtvfb
0342da635054 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
58e42ee4a022 ASoC: fsi: Add check for clk_enable
ea9adaa598ec ASoC: wm8350: Handle error for wm8350_register_irq
0325193cf40d ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
3cc050df73e3 media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
97398470c9b6 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
7025f40690a2 ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
fd5dda439e1c memory: emif: check the pointer temp in get_device_details()
0ead05f7218f memory: emif: Add check for setup_interrupts
68a69ad8df95 ASoC: soc-compress: prevent the potentially use of null pointer
af6e1d11f758 ASoC: atmel_ssc_dai: Handle errors for clk_enable
fd0c4082fd14 ASoC: mxs-saif: Handle errors for clk_enable
5847873140e6 printk: fix return value of printk.devkmsg __setup handler
38bc92ae39b1 arm64: dts: broadcom: Fix sata nodename
9873232fde53 arm64: dts: ns2: Fix spi-cpol and spi-cpha property
c6475df1e7bf ALSA: spi: Add check for clk_enable()
e0cfb41d4635 ASoC: ti: davinci-i2s: Add check for clk_enable()
3905742f93b4 ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
a975000e7aa3 uaccess: fix nios2 and microblaze get_user_8()
14cd5a8e61c6 media: usb: go7007: s2250-board: fix leak in probe()
92f84aa82dfa media: em28xx: initialize refcount before kref_get
c6f0999461e6 media: video/hdmi: handle short reads of hdmi info frame.
a9d0bb298880 ARM: dts: imx: Add missing LVDS decoder on M53Menlo
cac1473d83e4 soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
fb7f2eabfe18 arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
583fcb66ab17 soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
755dbc3d7378 soc: qcom: rpmpd: Check for null return of devm_kcalloc
12081a152046 ARM: dts: qcom: ipq4019: fix sleep clock
547d36fa4100 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
125d10f0bef8 video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
da8b269cc0a2 video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
4d847e455d0b media: aspeed: Correct value for h-total-pixels
bd342c7bef23 media: hantro: Fix overfill bottom register field name
db1b3b99d610 media: coda: Fix missing put_device() call in coda_get_vdoa_data
b0f6b41490a7 media: bttv: fix WARNING regression on tunerless devices
0478ccdc8ea0 f2fs: fix to avoid potential deadlock
005f9cdab70c f2fs: fix missing free nid in f2fs_handle_failed_inode
a2e534c6a06f perf/x86/intel/pt: Fix address filter config for 32-bit kernel
015d31165da3 perf/core: Fix address filter parser for multiple filters
841f5b235d69 sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
715a34317255 clocksource: acpi_pm: fix return value of __setup handler
4c0173521db1 hwmon: (pmbus) Add Vin unit off handling
acba28618203 crypto: ccp - ccp_dmaengine_unregister release dma channels
39a521faf426 ACPI: APEI: fix return value of __setup handlers
8dc887ae33d2 clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
b305975a6625 crypto: vmx - add missing dependencies
b7f3e230ca45 hwrng: atmel - disable trng on failure path
63266a148888 PM: suspend: fix return value of __setup handler
6c4c026c3d91 PM: hibernate: fix __setup handler error handling
84fe3ca6e791 block: don't delete queue kobject before its children
b68d1742f420 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
bf78aca8e41d hwmon: (pmbus) Add mutex to regulator ops
00d67f54b830 spi: pxa2xx-pci: Balance reference count for PCI DMA device
40e6d5d1de06 crypto: ccree - don't attempt 0 len DMA mappings
c3a5acf91cb9 audit: log AUDIT_TIME_* records only from rules
152ebc0ee9b4 selftests/x86: Add validity check and allow field splitting
f8a3de8d7c2f spi: tegra114: Add missing IRQ check in tegra_spi_probe
e5e748a6ff11 crypto: mxs-dcp - Fix scatterlist processing
30d3f45bcfa7 crypto: authenc - Fix sleep in atomic context in decrypt_tail
9b19022137e8 regulator: qcom_smd: fix for_each_child.cocci warnings
accf175d0c54 PCI: pciehp: Clear cmd_busy bit in polling mode
a92f72055486 brcmfmac: pcie: Fix crashes due to early IRQs
51fffd722ef0 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
d0ab87f8dcdf brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
2c894b12b206 brcmfmac: firmware: Allocate space for default boardrev in nvram
34a57be0f9f0 xtensa: fix xtensa_wsr always writing 0
54c9fb17bef1 xtensa: fix stop_machine_cpuslocked call in patch_text
4df9d88a9c54 media: davinci: vpif: fix unbalanced runtime PM get
28859c3a7782 DEC: Limit PMAX memory probing to R3k systems
baa4aa800d32 crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
058b2e59dbf5 crypto: rsa-pkcs1pad - restore signature length check
7973dc9118ba crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
002288800e10 lib/raid6/test: fix multiple definition linking error
e73efa5ad5d2 thermal: int340x: Increase bitmap size
5d553ed5c5d4 carl9170: fix missing bit-wise or operator for tx_params
55f078dc6620 ARM: dts: exynos: add missing HDMI supplies on SMDK5420
0e0d9bd6be8d ARM: dts: exynos: add missing HDMI supplies on SMDK5250
a77dd759bd71 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
2fafe8b57c0d ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
51186190c4e8 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
478154be3a8c video: fbdev: sm712fb: Fix crash in smtcfb_read()
67643b89fbe5 drm/edid: check basic audio support on CEA extension block
3f91687e6e5d block: don't merge across cgroup boundaries if blkcg is enabled
8d3a7b206458 mailbox: tegra-hsp: Flush whole channel
28c8fd84bea1 drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
5217ae080efd ACPI: properties: Consistently return -ENOENT if there are no more references
f3ec0c9db5d3 udp: call udp_encap_enable for v6 sockets when enabling encap
11dc8286f9f6 powerpc/kvm: Fix kvm_use_magic_page
ded627763026 drbd: fix potential silent data corruption
35b72d8e2c8e mm/kmemleak: reset tag when compare object pointer
d102fcacfcf3 mm,hwpoison: unmap poisoned page before invalidation
099553a1a87f ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
a86bde89304a ALSA: cs4236: fix an incorrect NULL check on list iterator
848977412065 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
097479aeb214 riscv: Fix fill_callchain return value
c82cbbefc6e6 qed: validate and restrict untrusted VFs vlan promisc mode
5081cbfb62d2 qed: display VF trust config
930a3ed5d8d0 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
ae2a271ed562 mempolicy: mbind_range() set_policy() after vma_merge()
d1313f5e8fe5 mm: invalidate hwpoison page cache page in fault path
2efe956a74dc mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
455f4a23490b jffs2: fix memory leak in jffs2_scan_medium
0978e9af4559 jffs2: fix memory leak in jffs2_do_mount_fs
30bf7244acf3 jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
e27caad38b59 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
00a856fa6976 spi: mxic: Fix the transmit path
e05221d20153 pinctrl: samsung: drop pin banks references on error paths
0996eaaddfe4 f2fs: fix to do sanity check on .cp_pack_total_block_count
f1d5946d47c0 f2fs: quota: fix loop condition at f2fs_quota_sync()
947ca26390d2 f2fs: fix to unlock page correctly in error path of is_alive()
ce1aa09cc14e NFSD: prevent integer overflow on 32 bit systems
85259340fc9b NFSD: prevent underflow in nfssvc_decode_writeargs()
1cfeeeee8cf0 SUNRPC: avoid race between mod_timer() and del_timer_sync()
1a1e73e9add7 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
beb7d969063a Documentation: update stable tree link
20de1038e245 Documentation: add link to stable release candidate tree
d312c0035eb4 KEYS: fix length validation in keyctl_pkey_params_get_2()
2458ecd21f29 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
8a609c88fe3c clk: uniphier: Fix fixed-rate initialization
9d97610e74e4 greybus: svc: fix an error handling bug in gb_svc_hello()
468757502e2f iio: inkern: make a best effort on offset calculation
be2b89a909b3 iio: inkern: apply consumer scale when no channel scale is available
5be8a07b9574 iio: inkern: apply consumer scale on IIO_VAL_INT cases
c459b2794597 iio: afe: rescale: use s64 for temporary scale calculations
576a1ce64c62 coresight: Fix TRCCONFIGR.QE sysfs interface
d8f98a23b4ad xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
b310e82e779f xhci: make xhci_handshake timeout for xhci_reset() adjustable
a771cc784a9c xhci: fix runtime PM imbalance in USB2 resume
b5a7ab0e1a66 USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
212765c94fc9 virtio-blk: Use blk_validate_block_size() to validate block size
40f282870d6c block: Add a helper to validate the block size
a27ed2f3695b tpm: fix reference counting for struct tpm_chip
631bb18e8371 iommu/iova: Improve 32-bit free space estimate
2e2dee5e226b net: dsa: microchip: add spi_device_id tables
ef388db2fe35 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
0cdb512da072 spi: Fix erroneous sgs value with min_t()
ab951c9c23a3 net:mcf8390: Use platform_get_irq() to get the interrupt
e62e6c2d7aa8 spi: Fix invalid sgs value
96f9c386fec2 ethernet: sun: Free the coherent when failing in probing
aa3c3746e781 virtio_console: break out of buf poll on remove
291efbad3d6e xfrm: fix tunnel model fragmentation behavior
a83df90a3b61 HID: logitech-dj: add new lightspeed receiver id
5c727ba42ca3 netdevice: add the case if dev is NULL
7e9c9e3f626a USB: serial: simple: add Nokia phone driver
80e5bf89a895 USB: serial: pl2303: add IBM device IDs
6bfc5377a210 swiotlb: fix info leak with DMA_FROM_DEVICE
(From OE-Core rev: 84f30aecf2767becd4a623a1ab80a52535f1d4a2)
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 linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
8e24ff11b5d2 Linux 5.4.186
fcbdaa6a3c92 fixup for "arm64 entry: Add macro for reading symbol address from the trampoline"
b8bc0718baed kselftest/vm: fix tests build with old libc
2643ca24f511 sfc: extend the locking on mcdi->seqno
46fd0a07409b tcp: make tcp_read_sock() more robust
16a2e50fe934 nl80211: Update bss channel on channel switch for P2P_CLIENT
941e8bcd2b2b drm/vrr: Set VRR capable prop only if it is attached to connector
6becb057247e iwlwifi: don't advertise TWT support
51969ebe7f97 atm: firestream: check the return value of ioremap() in fs_init()
23352749f0b2 can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready
4006447f558c ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
c2420bc33331 MIPS: smp: fill in sibling and core maps earlier
d1df59e3124c mac80211: refuse aggregations sessions before authorized
fb35b0cfbaf8 ARM: dts: rockchip: fix a typo on rk3288 crypto-controller
4857a9b291db ARM: dts: rockchip: reorder rk322x hmdi clocks
ba14ba2d4c63 arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg"
aca8fdddeee0 arm64: dts: rockchip: reorder rk3399 hdmi clocks
e49ebea3f536 arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity
bd33f9b864ec xfrm: Fix xfrm migrate issues when address family changes
3c21ece77549 xfrm: Check if_id in xfrm_migrate
970a21404ebc arm64: Use the clearbhb instruction in mitigations
fb65675f6620 KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
9013fd4bc958 arm64: Mitigate spectre style branch history side channels
26129ea2953b KVM: arm64: Add templates for BHB mitigation sequences
1b735c8dc1fb arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2
c45d885c5a77 arm64: Add percpu vectors for EL1
1bb1944970a9 arm64: entry: Add macro for reading symbol addresses from the trampoline
3abf6e8a7aa0 arm64: entry: Add vectors that have the bhb mitigation sequences
2933ca8c816f arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
9232867e4fc2 arm64: entry: Allow the trampoline text to occupy multiple pages
ad8800443b69 arm64: entry: Make the kpti trampoline's kpti sequence optional
4b91f35c8739 arm64: entry: Move trampoline macros out of ifdef'd section
0bfdd7334882 arm64: entry: Don't assume tramp_vectors is the start of the vectors
fb117a27c64e arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
788fbb5fe290 arm64: entry: Move the trampoline data page before the text page
33397322d4c3 arm64: entry: Free up another register on kpti's tramp_exit path
3f95cc642c3f arm64: entry: Make the trampoline cleanup optional
8aa1257128a1 arm64: entry.S: Add ventry overflow sanity checks
503fdc244aee arm64: Add Cortex-X2 CPU part definition
7103651c98c8 arm64: add ID_AA64ISAR2_EL1 sys register
f5f94aa5004a arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
ed5bf8a5075b arm64: Add part number for Arm Cortex-A77
0b84cfaefea6 sctp: fix the processing for INIT chunk
57e401a53c9f Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
70f77a2cb528 Linux 5.4.185
afb684cb976a KVM: SVM: Don't flush cache if hardware enforces cache coherency across encryption domains
690909c6d971 x86/mm/pat: Don't flush cache if hardware enforces cache coherency across encryption domnains
6b13a188609f x86/cpu: Add hardware-enforced cache coherency as a CPUID feature
9dd71ec10658 x86/cpufeatures: Mark two free bits in word 3
a4eef9e76934 ext4: add check to prevent attempting to resize an fs with sparse_super2
269db254c3b7 ARM: fix Thumb2 regression with Spectre BHB
635959a82154 virtio: acknowledge all features before access
ffeb42e05d7d virtio: unexport virtio_finalize_features
19d57cfbf8c0 arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
978e4f2648c1 riscv: Fix auipc+jalr relocation range checks
d6948de3b630 mmc: meson: Fix usage of meson_mmc_post_req()
ba0d7beec2c2 net: macb: Fix lost RX packet wakeup race in NAPI receive
403e3afe241b staging: gdm724x: fix use after free in gdm_lte_rx()
a9174077febf fuse: fix pipe buffer lifetime for direct_io
d72c79b60d6a ARM: Spectre-BHB: provide empty stub for non-config
ad66df9064f4 selftests/memfd: clean up mapping in mfd_fail_write
849c78024e65 selftest/vm: fix map_fixed_noreplace test failure
500158df8757 tracing: Ensure trace buffer is at least 4096 bytes large
090e73fb9cce ipv6: prevent a possible race condition with lifetimes
1d4bdaaa8d23 Revert "xen-netback: Check for hotplug-status existence before watching"
60e4e3198ce8 Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
8879b5313e9f net-sysfs: add check for netdevice being present to speed_show
dcf55b071de9 selftests/bpf: Add test for bpf_timer overwriting crash
e0eca9285cf4 net: bcmgenet: Don't claim WOL when its not available
bbf59d7ae558 sctp: fix kernel-infoleak for SCTP sockets
e93437197131 net: phy: DP83822: clear MISR2 register to disable interrupts
f7b3b5203491 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
54fd6b2eb1d7 gpio: ts4900: Do not set DAT and OE together
82b298e0142d selftests: pmtu.sh: Kill tcpdump processes launched by subshell.
cd2a5c0da0d1 NFC: port100: fix use-after-free in port100_send_complete
1a4017926eee net/mlx5: Fix a race on command flush flow
6102e2e5c62d net/mlx5: Fix size field in bufferx_reg struct
0a64aea5fe02 ax25: Fix NULL pointer dereference in ax25_kill_by_device
45bfd0a937ba net: ethernet: lpc_eth: Handle error for clk_enable
e84d37af40a9 net: ethernet: ti: cpts: Handle error for clk_enable
8ee065a7a9b6 ethernet: Fix error handling in xemaclite_of_probe
4c0b769d9571 ARM: dts: aspeed: Fix AST2600 quad spi group
7db2bc08619f drm/sun4i: mixer: Fix P010 and P210 format numbers
7f8f5641417e qed: return status of qed_iov_get_link
f59e78609075 net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
45d470e4f808 virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero
278b2c7d9fe5 arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias
f62922b601c5 clk: qcom: gdsc: Add support to update GDSC transition delay
1346e17653a5 Linux 5.4.184
f7fc9c348790 Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"
0e35f3ab69bc xen/netfront: react properly to failing gnttab_end_foreign_access_ref()
782e5ebcc888 xen/gnttab: fix gnttab_end_foreign_access() without page specified
051c4cc7bdb7 xen/pvcalls: use alloc/free_pages_exact()
be63ea883e56 xen/9p: use alloc/free_pages_exact()
8efaf0c862c7 xen: remove gnttab_query_foreign_access()
d193785a4bc9 xen/gntalloc: don't use gnttab_query_foreign_access()
089a8e491d6d xen/scsifront: don't use gnttab_query_foreign_access() for mapped status
b507879c1e2d xen/netfront: don't use gnttab_query_foreign_access() for mapped status
a83400456f9c xen/blkfront: don't use gnttab_query_foreign_access() for mapped status
44d86dccd2a5 xen/grant-table: add gnttab_try_end_foreign_access()
95ff82383266 xen/xenbus: don't let xenbus_grant_ring() remove grants in error case
56f1b3c5c82a ARM: fix build warning in proc-v7-bugs.c
40da947ba076 ARM: Do not use NOCROSSREFS directive with ld.lld
583662bfd8df ARM: fix co-processor register typo
21a466c32f3e ARM: fix build error when BPF_SYSCALL is disabled
d1cfdd50778c ARM: include unprivileged BPF status in Spectre V2 reporting
920f7970cf0d ARM: Spectre-BHB workaround
dcf33beb492a ARM: use LOADADDR() to get load address of sections
31814db6e478 ARM: early traps initialisation
fdfc0baf829d ARM: report Spectre v2 status through sysfs
26171b016b40 arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit()
baaaba74e014 arm/arm64: Provide a wrapper for SMCCC 1.1 calls
6c1599fd1bf8 x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT
7c7702569422 x86/speculation: Warn about Spectre v2 LFENCE mitigation
865da3868b56 x86/speculation: Update link to AMD speculation whitepaper
b1bacf22a847 x86/speculation: Use generic retpoline by default on AMD
1e47ab3df908 x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting
327a4da9b0ef Documentation/hw-vuln: Update spectre doc
96b3d45aeae0 x86/speculation: Add eIBRS + Retpoline options
41b50510e593 x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
b70bc2e3552a x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
22aed240891c x86/speculation: Merge one test in spectre_v2_user_select_mitigation()
(From OE-Core rev: bcabfe3640d9963c60ebf479ae016e7bee94ce66)
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 linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e7d1268f5671 Linux 5.4.183
5817c13cd6dc hamradio: fix macro redefine warning
3c7d63cfa150 net: dcb: disable softirqs in dcbnl_flush_dev()
5f53a6a8ae0f Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
f73eb7342bb0 btrfs: add missing run of delayed items after unlink during log replay
f8d4a8eebb22 btrfs: qgroup: fix deadlock between rescan worker and remove qgroup
39403d72b4c1 btrfs: fix lost prealloc extents beyond eof after full fsync
4dd5d3310c75 tracing: Fix return value of __setup handlers
c0f7253376c8 tracing/histogram: Fix sorting on old "cpu" value
35fa6f2a31d3 HID: add mapping for KEY_ALL_APPLICATIONS
ecefb8cc0f8b HID: add mapping for KEY_DICTATE
52b984b17df9 Input: elan_i2c - fix regulator enable count imbalance after suspend/resume
16eb602eaddf Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
3f123c305e4a nl80211: Handle nla_memdup failures in handle_nan_filter
ec89b276464c net: chelsio: cxgb3: check the return value of pci_find_capability()
6650fa5f3bcf soc: fsl: qe: Check of ioremap return value
e89c53fcd28c memfd: fix F_SEAL_WRITE after shmem huge page allocated
58b07100c20e ibmvnic: free reset-work-item when flushing
2e7abe2efc31 igc: igc_write_phy_reg_gpy: drop premature return
5c215ea574a0 ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
89b881f339ce ARM: Fix kgdb breakpoint for Thumb2
87765309bf59 igc: igc_read_phy_reg_gpy: drop premature return
44ff6c29b2ea arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output
d59120a48997 can: gs_usb: change active_channels's type from atomic_t to u8
bc653724929c ASoC: cs4265: Fix the duplicated control name
cff3987e097d firmware: arm_scmi: Remove space in MODULE_ALIAS name
461a26ebf0dd efivars: Respect "block" flag in efivar_entry_set_safe()
b4f46598431f ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc()
e50c589678e5 net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()
044e209c72cc net: sxgbe: fix return value of __setup handler
a54dedf620d2 iavf: Fix missing check for running netdev
150b8a05d005 net: stmmac: fix return value of __setup handler
e9fa4009032d mac80211: fix forwarded mesh frames AC & queue selection
f17b27f3d4bc ia64: ensure proper NUMA distance and possible map initialization
80998dbde14d sched/topology: Fix sched_domain_topology_level alloc in sched_init_numa()
407ec382ba67 sched/topology: Make sched_init_numa() use a set for the deduplicating sort
b40c91262477 xen/netfront: destroy queues before real_num_tx_queues is zeroed
fa84d44df437 block: Fix fsync always failed if once failed
849339fd72ff net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server
8e306a76b9b0 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client
1f5abd671dbd net: dcb: flush lingering app table entries for unregistered devices
ed05368024a9 batman-adv: Don't expect inter-netns unique iflink indices
863953227106 batman-adv: Request iflink once in batadv_get_real_netdevice
a1ccea6183eb batman-adv: Request iflink once in batadv-on-batadv check
43c25da41e30 netfilter: nf_queue: fix possible use-after-free
3c934f1087ff netfilter: nf_queue: don't assume sk is full socket
d2c96b19305f xfrm: enforce validity of offload input flags
019b4b9d5977 xfrm: fix the if_id check in changelink
49c24579cec4 netfilter: fix use-after-free in __nf_register_net_hook()
ac858e4462bd xfrm: fix MTU regression
f3537f1b2bfd ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min
75a471401b10 ALSA: intel_hdmi: Fix reference to PCM buffer address
e28372b295d8 ata: pata_hpt37x: fix PCI clock detection
58b419d16e87 usb: gadget: clear related members when goto fail
ba6fdd55b166 usb: gadget: don't release an existing dev->buf
0babb778ff75 net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
a7ef01d25a31 i2c: qup: allow COMPILE_TEST
da9bf89344a6 i2c: cadence: allow COMPILE_TEST
bb07c8bb77d0 dmaengine: shdma: Fix runtime PM imbalance on error
e208668ef7ba cifs: fix double free race when mount fails in cifs_get_root()
2ed93e3e3f82 Input: clear BTN_RIGHT/MIDDLE on buttonpads
7b6d98f86905 ASoC: rt5682: do not block workqueue if card is unbound
e2106e429f05 ASoC: rt5668: do not block workqueue if card is unbound
7b7c65abeb10 i2c: bcm2835: Avoid clock stretching timeouts
964f155c382f mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
1a7d2fccd8f6 mac80211_hwsim: report NOACK frames in tx_status
(From OE-Core rev: d0399ed433e3a77cb66d30bd027f52bd356d7acf)
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 linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
866ae42cf478 Linux 5.4.182
fb2bbb7d3021 fget: clarify and improve __fget_files() implementation
d6a29ce52a79 memblock: use kfree() to release kmalloced memblock regions
5d9453bf4126 Revert "drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR"
1fb051bbbce3 gpio: tegra186: Fix chip_data type confusion
2782b05d0208 tty: n_gsm: fix NULL pointer access due to DLCI release
c03a49581417 tty: n_gsm: fix proper link termination after failed open
912144e8a3b0 tty: n_gsm: fix encoding of control signal octet bit DV
1879db4f2521 xhci: Prevent futile URB re-submissions due to incorrect return value.
80922d7b52b0 xhci: re-initialize the HC during resume if HCE was set
0139a10090da usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
6e74aebbf78b usb: dwc3: pci: Fix Bay Trail phy GPIO mappings
ba3e83e5a0b4 USB: serial: option: add Telit LE910R1 compositions
92ac25b79d5d USB: serial: option: add support for DW5829e
40256addf566 tracefs: Set the group ownership in apply_options() not parse_options()
6b23eda98923 USB: gadget: validate endpoint index for xilinx udc
9ab652d41dea usb: gadget: rndis: add spinlock for rndis response list
39848d7e4ea6 Revert "USB: serial: ch341: add new Product ID for CH341A"
7c453de366c3 ata: pata_hpt37x: disable primary channel on HPT371
a28f8dbd474a iio: Fix error handling for PM
8fff0310e66c iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
ce1076b33e29 iio: adc: men_z188_adc: Fix a resource leak in an error handling path
cb90ab3f0997 tracing: Have traceon and traceoff trigger honor the instance
901206f71e6a RDMA/ib_srp: Fix a deadlock
b7e2b91fcb5c configfs: fix a race in configfs_{,un}register_subsystem()
df14d2bed8e2 spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
a62f4266d572 net/mlx5: Fix wrong limitation of metadata match on ecpf
45618e915757 net/mlx5: Fix possible deadlock on rule deletion
53026346a94c netfilter: nf_tables: fix memory leak during stateful obj update
5ad5886f85b6 nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
dfe537b0c94e net: Force inlining of checksum functions in net/checksum.h
eee01c88c90f net: ll_temac: check the return value of devm_kmalloc()
fc92a14fa076 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
3cbf1f98d893 drm/edid: Always set RGB444
d0251c38dff8 openvswitch: Fix setting ipv6 fields causing hw csum failure
2b3cdd70ea5f gso: do not skip outer ip header in case of ipip and net_failover
0240bb276fd6 tipc: Fix end of loop tests for list_for_each_entry()
2ed132637619 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
97a6c07d6ff4 bpf: Do not try bpf_msg_push_data with len 0
dffce58f6f75 perf data: Fix double free in perf_session__delete()
3174b09fe16c ping: remove pr_err from ping_lookup
767099f0ec5b lan743x: fix deadlock in lan743x_phy_link_status_change()
5d76e0b69da9 optee: use driver internal tee_context for some rpc
0e526f533f35 tee: export teedev_open() and teedev_close_context()
64e0b5894c81 x86/fpu: Correct pkru/xstate inconsistency
49c011a44edd netfilter: nf_tables_offload: incorrect flow offload action array size
49a4536a46ed USB: zaurus: support another broken Zaurus
b95d71abeb7d sr9700: sanity check for packet length
d0dac454b9e3 drm/amdgpu: disable MMHUB PG for Picasso
eb88a38831e5 parisc/unaligned: Fix ldw() and stw() unalignment handlers
b783ef3eb66a parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
0b608b3392c4 vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
dd0de3510240 clk: jz4725b: fix mmc0 clock gating
d1f1de5dff78 cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
b6e8856b8a5f Linux 5.4.181
3e73b02af6c3 kconfig: fix failing to generate auto.conf
90c0d3cc676f net: macb: Align the dma and coherent dma masks
f1c3f41245d8 net: usb: qmi_wwan: Add support for Dell DW5829e
6b364ca4814a tracing: Fix tp_printk option related with tp_printk_stop_on_boot
8bf73d5ea94a drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
5a21d5072300 ata: libata-core: Disable TRIM on M88V29
41da91158ed9 kconfig: let 'shell' return enough output for deep path names
913932a306f0 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610
d2fd1c7804e8 arm64: dts: meson-g12: add ATF BL32 reserved-memory region
daa868080996 arm64: dts: meson-gx: add ATF BL32 reserved-memory region
ba4b40356abd netfilter: conntrack: don't refresh sctp entries in closed state
d4de2bbcbc91 irqchip/sifive-plic: Add missing thead,c900-plic match string
2d7a327a129e ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
fff21185f598 ARM: OMAP2+: hwmod: Add of_node_put() before break
3deabc3f60fd KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
fe595759c2a4 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
ba71b1b30d85 i2c: brcmstb: fix support for DSL and CM variants
6f08452c560d copy_process(): Move fd_install() out of sighand->siglock critical section
e52dfd2a4906 dmaengine: sh: rcar-dmac: Check for error num after setting mask
c83049cb8817 net: sched: limit TC_ACT_REPEAT loops
87c575d2a238 lib/iov_iter: initialize "flags" in new pipe_buffer
091dac5c6392 EDAC: Fix calculation of returned address and next offset in edac_align_ptr()
f0c2c023c226 scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop
56f9abba9805 mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status
bdc70b603da9 mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()
3758a570762e NFS: Do not report writeback errors in nfs_getattr()
357d42d593fc NFS: LOOKUP_DIRECTORY is also ok with symlinks
20f4ee3c3340 block/wbt: fix negative inflight counter when remove scsi device
4cd3281a910a mtd: rawnand: gpmi: don't leak PM reference in error path
c6fee7c8546a powerpc/lib/sstep: fix 'ptesync' build error
edfac6b77bc2 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
d6d8d1db8094 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
99c2b13ce951 ALSA: hda: Fix missing codec probe on Shenker Dock 15
2b2b531ceba9 ALSA: hda: Fix regression on forced probe mask option
aca7e5b6a500 libsubcmd: Fix use-after-free for realloc(..., 0)
7af6164ceefe bonding: fix data-races around agg_select_timer
aeb993412eb2 drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
db3ffc5d332e bonding: force carrier update when releasing slave
fb8c98f92ad3 ping: fix the dif and sdif check in ping_lookup
8198c4d4c2f8 net: ieee802154: ca8210: Fix lifs/sifs periods
a06440508acd net: dsa: lan9303: fix reset on probe
73f8575216b1 netfilter: nft_synproxy: unregister hooks on init error path
5e8c5b217cfb iwlwifi: pcie: gen2: fix locking when "HW not ready"
e1d0e738b02e iwlwifi: pcie: fix locking when "HW not ready"
902528183f4d mmc: block: fix read single on recovery logic
5f326fe2aef4 vsock: remove vsock from connected table when connect is interrupted by a signal
f48a38703c11 dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
41ce06a3ec6a taskstats: Cleanup the use of task->exit_code
8583d2ea90fe ext4: prevent partial update of the extent blocks
d57fcf0d9195 ext4: check for inconsistent extents between index and leaf block
6a332d095ce4 ext4: check for out-of-order index extents in ext4_valid_extent_entries()
13f6ebef03b0 drm/radeon: Fix backlight control on iMac 12,1
494de920d98f iwlwifi: fix use-after-free
6194b4689731 arm64: module/ftrace: intialize PLT at load time
adcc4b795f4c arm64: module: rework special section handling
dfe928f16cc5 module/ftrace: handle patchable-function-entry
30af4dcfa8b4 ftrace: add ftrace_init_nop()
42c8cccf83d5 Revert "module, async: async_synchronize_full() on module init iff async is used"
5c7726bd5736 drm/amdgpu: fix logic inversion in check
d411b2a5da68 nvme-rdma: fix possible use-after-free in transport error_recovery work
61a26ffd5ad3 nvme-tcp: fix possible use-after-free in transport error_recovery work
70356b756a58 nvme: fix a possible use-after-free in controller reset during load
89d2bd13252a quota: make dquot_quota_sync return errors from ->sync_fs
f124d9eff984 vfs: make freeze_super abort when sync_filesystem returns error
cfc8b37ef041 ax25: improve the incomplete fix to avoid UAF and NPD bugs
dd2fcac324ea selftests/zram: Adapt the situation that /dev/zram0 is being used
c3a9afa82493 selftests/zram01.sh: Fix compression ratio calculation
8d1c50c8683e selftests/zram: Skip max_comp_streams interface on newer kernel
455ef08d6e54 net: ieee802154: at86rf230: Stop leaking skb's
3bd8bebb16fe selftests: rtc: Increase test timeout so that all tests run
bc6ac6c0f67d platform/x86: ISST: Fix possible circular locking dependency detected
bd6492930a10 btrfs: send: in case of IO error log it
3ff48a67ed65 parisc: Fix sglist access in ccio-dma.c
efccc9b0c7e2 parisc: Fix data TLB miss in sba_unmap_sg
3434d8837fe9 parisc: Drop __init from map_pages declaration
bd282ee53e34 serial: parisc: GSC: fix build when IOSAPIC is not set
9d2aad133b22 Revert "svm: Add warning message for AVIC IPI invalid target"
190272552099 HID:Add support for UGTABLET WP5540
866a85813b92 Makefile.extrawarn: Move -Wunaligned-access to W=1
7b3eb66d0daf Linux 5.4.180
9d09cb110868 ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
a2ed7b29d067 perf: Fix list corruption in perf_cgroup_switch()
f79cbf75ac76 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
a1a018e2a068 hwmon: (dell-smm) Speed up setting of fan speed
1e30073c0e55 seccomp: Invalidate seccomp mode to catch death failures
a3769078c945 USB: serial: cp210x: add CPI Bulk Coin Recycler id
fade0cbf6682 USB: serial: cp210x: add NCR Retail IO box id
697b9ed28b39 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
ed4fddac9d7c USB: serial: option: add ZTE MF286D modem
f729dfd364b8 USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
f297b6109cbe usb: gadget: f_uac2: Define specific wTerminalType
c9e952871ae4 usb: gadget: rndis: check size of RNDIS_MSG_SET command
38fd68f55a7e USB: gadget: validate interface OS descriptor requests
3054dfef06a7 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
8f032eaebc2f usb: dwc3: gadget: Prevent core from processing stale TRBs
3a9953b2806c usb: ulpi: Call of_node_put correctly
12ab57a21372 usb: ulpi: Move of_node_put to ulpi_dev_release
a0fd5492ee76 net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
3937c35493ee eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
d4dc28db1b98 n_tty: wake up poll(POLLRDNORM) on receiving data
0e31f914d761 vt_ioctl: add array_index_nospec to VT_ACTIVATE
ae3d57411562 vt_ioctl: fix array_index_nospec in vt_setactivate
311c82a68093 net: amd-xgbe: disable interrupts during pci removal
b3e998a5dc46 tipc: rate limit warning for received illegal binding update
e7daad5c28ad net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
c99e66350ca0 veth: fix races around rq->rx_notify_masked
a80817adc2a4 net: fix a memleak when uncloning an skb dst and its metadata
0b6087c63586 net: do not keep the dst cache when uncloning an skb dst and its metadata
3f41ec8c830e nfp: flower: fix ida_idx not being released
16dcfde98a25 ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
4bcfbec337cf bonding: pair enable_port with slave_arr_updates
e432f25c77a2 ixgbevf: Require large buffers for build_skb on 82599VF
4e6fd2b5fcf8 misc: fastrpc: avoid double fput() on failed usercopy
c9fc422c9a43 usb: f_fs: Fix use-after-free for epfile
336222182a3b ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
94888cf75535 staging: fbtft: Fix error path in fbtft_driver_module_init()
2650ed47077b ARM: dts: meson: Fix the UART compatible strings
4ccb639bde50 perf probe: Fix ppc64 'perf probe add events failed' case
b4a59eafcbc5 net: bridge: fix stale eth hdr pointer in br_dev_xmit
b55a0cdbec5b PM: s2idle: ACPI: Fix wakeup interrupts handling
e37a2a6b52d4 ACPI/IORT: Check node revision for PMCG resources
153d0f357b12 nvme-tcp: fix bogus request completion when failing to send AER
a44ca4038725 ARM: socfpga: fix missing RESET_CONTROLLER
8a0bad445a50 ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
9d5e5832ffe7 riscv: fix build with binutils 2.38
c230f6ba1011 bpf: Add kconfig knob for disabling unpriv bpf by default
e2424c010a98 KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
a437c524394c net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
032065cc5b6c usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
0863dedf58c8 PM: hibernate: Remove register_nosave_region_late()
5c5ceea00c8c scsi: myrs: Fix crash in error case
7cc32ff0cd6c scsi: qedf: Fix refcount issue when LOGO is received during TMF
c6a7077144ed scsi: target: iscsi: Make sure the np under each tpg is unique
9babdef28879 net: sched: Clarify error message when qdisc kind is unknown
978264fbc524 drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
162e8d788545 NFSv4 expose nfs_parse_server_name function
852c95db75a7 NFSv4 remove zero number of fs_locations entries error check
75e67eed756a NFSv4.1: Fix uninitialised variable in devicenotify
6efe39614039 nfs: nfs4clinet: check the return value of kstrdup()
2acac498a507 NFSv4 only print the label when its queried
891c4ebf3b94 nvme: Fix parsing of ANA log page
d7d345c80727 NFSD: Fix offset type in I/O trace points
34217d7730b9 NFSD: Clamp WRITE offsets
5fde7ca7b17d NFS: Fix initialisation of nfs_client cl_flags field
09295a989319 net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
f84d17e6dd90 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
60027834114d mmc: sdhci-of-esdhc: Check for error num after setting mask
8a9511fd10ea ima: Do not print policy rule with inactive LSM labels
89e51f2ab81c ima: Allow template selection with ima_template[_fmt]= after ima_hash=
0939988b16a4 ima: Remove ima_policy file before directory
ea58704f06f1 integrity: check the return value of audit_log_start()
52871671099d Linux 5.4.179
d692e3406e05 tipc: improve size validations for received domain records
3a0a7ec5574b moxart: fix potential use-after-free on remove path
(From OE-Core rev: 7efa786ed2fb2f214c0a34cf933429ed31c9c510)
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>
Security release, fixes CVE-2021-21300, so remove that patch.
22539ec3b5 unpack_trees(): start with a fresh lstat cache
0d58fef58a run-command: invalidate lstat cache after a command finished
684dd4c2b4 checkout: fix bug that makes checkout follow symlinks in leading path
(From OE-Core rev: 8606d99041c3c1a002b2300c59afc116050c73cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids a redirect.
(From OE-Core rev: 4da46e0423a7003fb689a8b6a03f5924b8f22cb9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 879bc5098943cf6977c32555ac31cb21be7b46ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 2233e83da4fab1d6d34517f6ebf5860f4fd5b2a1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:
Version of driver files updated
Added files for some drivers
(From OE-Core rev: de880e23bff4e0da0306ec61396044e1f3b48aa1)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01684df3a51be476081ee21eb54c24fef00acb3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license in this code is listed as MIT and whilst it is compatible with and
usable as MIT, it actually looks like HPND. Clarify the license field accordingly.
(From OE-Core master rev: 922b645f443c33060a8990d32e6b7b62ea5497c3)
(From OE-Core rev: 8fd5133fc7f6bc84193ec6fcbc1746c59bfc8caf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Define METADATA_BRANCH and METADATA_REVISION using immediate expansion.
This avoids running `git rev-parse HEAD` multiple times during recipe
parsing.
(From OE-Core rev: f76fc325520386c0d25c6d6b422c85e9fb87e663)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 34e1841ec14c545c73fbe03a9f946d43d65ab326)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recently we've begun seeing issues with apt SHA256 generation/checking on some
distros (fedora 35, alma 8). The version of apt in dunfell uses its own
SHA256 code, not a standard library.
Investigation reveals that the issue is related to -fstrict-aliasing enabled by
-O2 optimization, so turn it off with -fno-strict-aliasing
(From OE-Core rev: dc61dfd7791976c70c93e0d253a8fdbd40d27f3b)
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>
Update to a version of pseudo which has a fix for absolute links,
evaluating them from the chroot path.
(From OE-Core rev: 4e79b3fa07d6b8d044f2fb21e691ff3683aee1ea)
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33147b89bc3c9e9bdd53a942a5551d8a1d06130c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to a version of pseudo which includes a workaround for crazy
long paths, as shown by the libfm failures from the libtool upgrade.
(From OE-Core rev: 5cac1e855e397b58c3c2b251a9794f3d480c8ad6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 67dfa32d82b8862e6e543c37315f211aba3ec28b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Everyone I've talked to doesn't see this as a major issue. The CVE
asks for a documentation improvement on the --mirror option to
git clone as deleted content could be leaked into a mirror. For OE's
general users/use cases, we wouldn't build or ship docs so this wouldn't
affect us.
(From OE-Core rev: f35500a442d6a4564d52e23f9602a3f90a4ceee5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5dfe2dd5482c9a446f8e722fe51903d205e6770d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merge in the changes from master allowing conf.py to use information from
poky.yaml. This allows the head version mapped to X.999 on the website to
have the version information displayed clearly and correctly.
(From yocto-docs rev: df813c6d6c1477519f13699987215c8d9bc0a7bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python gc can trigger whilst we're holding the event stream lock
and when cleaning up objects, they can trigger warnings. This translates
into a new event which would then need the lock and we can deadlock.
Disable gc whilst we hold that lock to avoid this unfortunate and
problematic situation.
(Bitbake rev: 0784db7dd0fef6f0621ad8d74372f44e87fef950)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96a6303949cefd469bcf5ed250ff512271354357)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The missing gitsm:// mappings looks like an oversight, add them.
(From OE-Core rev: f748360a854a5c80c8008ba6ac90546865651f10)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6600b9fca7888fb41647cd000b9efb7f0762dfde)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Security Fixes
The rules for acceptance of records into the cache have been tightened
to prevent the possibility of poisoning if forwarders send records
outside the configured bailiwick. (CVE-2021-25220)
License-Update: copyright years
(From OE-Core rev: 58aea0c02bb101dbb378afb578b70b8730cce6fd)
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>
Fix heap overflow when appending prepare writes
The code shall check if the prepare writes would append more the
allowed maximum attribute length.
Upstream-Status: Backport [591c546c53]
CVE: CVE-2022-0204
(From OE-Core rev: 058dec11cc6580212c6d4560d0f0e5b704d501dc)
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>
No error was being reported when the hash string was set to empty.
For example: SRC_URI[md5sum] = ""
On a related note (not a bug):
Because whitespace in the string will result in a checksum mismatch, the error
message was updated to make it a little clearer why the error was thrown.
For example: SRC_URI[md5sum] = " " or
SRC_URI[md5sum] = " 209f8326f5137d8817a6276d9577a2f1"
Now creates a message like this:
File: '/home/scott/yocto-cache/downloads/rsync-3.2.3.tar.gz' has md5
checksum '209f8326f5137d8817a6276d9577a2f1' when ' 209f8326f5137d8817a6276d9577a2f1' was expected
[YOCTO #14232]
(Bitbake rev: d8c2175f6a7b5fdf111d6a073b2c3dbd3c0b061d)
Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a13510d0028e234ea2f4744b0d0c38558395c70f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes: CVE-2021-4008 CVE-2021-4009 CVE-2021-4010 CVE-2021-4011
Stable branch update:
97c5b7777 (HEAD -> server-1.20-branch, tag: xorg-server-1.20.14, origin/server-1.20-branch) xserver 1.20.14
35b4681c7 render: Fix out of bounds access in SProcRenderCompositeGlyphs()
67425fcab Xext: Fix out of bounds access in SProcScreenSaverSuspend()
6bb8aeb30 xfixes: Fix out of bounds access in *ProcXFixesCreatePointerBarrier()
acc50e609 record: Fix out of bounds access in SwapCreateRegister()
5ff3310b6 modesetting: Allow Present flips with mismatched stride on atomic drivers.
574fe59ef Fix RandR leasing for more than 1 simultaneously active lease.
(From OE-Core rev: aa2bb4f62dd7e5c6fdf220264c3d62fbf2cc7d16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stable branch update:
86a72cb19 (tag: xorg-server-1.20.13) xserver 1.20.13
f85e4edba modesetting: unflip not possible when glamor is not set
b03d7184b present: fallback get_crtc to return crtc belonging to screen with present extension
(From OE-Core rev: 3e9ecd77449a5bd70a55d47db7a2dfb85d44d9c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stable branch update:
b88ad0b34 (tag: xorg-server-1.20.12) xserver 1.20.12
8dea50223 Build xz tarballs instead of bzip2
b7adbac7d hw/dmx/config: Link directly with libdmxconfig.a
e49738f0c xfree86: Fix NULL pointer dereference crash
9a59631a4 glx: Fix use after free in MakeCurrent
1fc0ca6e6 xfree86: Fix out of array bound access to xf86Entities
a4210fe07 xfree86: Change displays array to pointers array to fix invalid pointer issues after table reallocation
22449f630 glamor: Avoid using GL_QUADS on V3D
d16f64031 modesetting: Fix possible_crtcs
f1e76731a modesetting: Update props for dynamically added outputs
7bf477711 xquartz: Ensure the mouse pointer is shown when switching to a native macOS alert or window
3ef6e7b76 xquartz: Fix appFlags build failure with macOS 10.15+ SDKs
2a83c840c glx: Set ContextTag for all contexts
394b6cc1c glx: don't create implicit GLXWindow if one already exists
0086535e7 modesetting: Remove few common functions from ms namespace
321964443 modesetting: remove unnecessary ms_covering_xf86_crtc dup of ms_covering_randr_crtc
52eb801d0 modesetting: Find crtc on slave outputs as fallback instead of returning primary crtc
c7a2da7b9 present: fix msc offset calculation in screen mode
31544e68e present: Use crtc's screen present operation for syncing
464cbee1c modesetting: Initialize present extension despite glamor is disabled
4e11bd390 modesetting: Disable reverse prime offload mode for displays running on evdi,udl
627252933 dix: Guard against non-existing PtrFeedbackPtr
d41b43345 xwayland: Add PtrFeedback to the touch device
23a53f0d5 glx: fixup symbol name for get_extensions function
(From OE-Core rev: e8416c75630a27527faedeab218a8ba71a1eb5ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes CVE-2021-3472
Stable branch update:
6b767cdf6 (tag: xorg-server-1.20.11) xserver 1.20.11
a1a1aa2c1 Fix XChangeFeedbackControl() request underflow
8890c44a7 xquartz: Remove a check for NSAppKitVersionNumber >= NSAppKitVersionNumber10_7
3c3680c36 xquartz: Don't include strndup.c any more since we no longer support 10.8 and older
e1fdc856a xquartz: Add a launch trampoline to better integrate with modern versions of macOS
8f8e9c53e xquartz: Don't process AppKit events if we haven't finished initializing
aa6f84021 xquartz: Allocate each fbconfig separately
7aa51bb57 xquartz: Fix a compiler warning about const incompatible pointer assignment
d751c46bd xquartz: Fix build with sparkle enabled
03c2e12a8 xquartz: Silence a compiler warning about missing internal methods on NSApplication
fcbd57367 xquartz: Rewrite Window menu handling to not depend on X11App.windowsMenu.numberOfItems being correct in -awakeFromNib
b27c6602b xquartz: Convert X11Controller ivars into @properties
625c7e4de xquartz: Convert X11Application ivars into @properties
3017fec60 xquartz: Fold quartzCommon.h into quartz.h
bdaff44f9 xquartz: Fold away some unnecessary hops to X11Controller through X11Application
7d22031a6 xquartz: Fold away array_with_strings_and_numbers and simplify with more modern Objective-C
937b63ff4 xqaurtz: Remove message_kit_thread() and use dispatch instead
e531d3a4c xquartz: Use objc_autoreleasePoolPush / objc_autoreleasePoolPop directly in QuartzBlockHandler
08cf6c90f xquartz: Minor code modernization -- @autoreleasepool adoption
26e0c59a9 xquartz: Remove some dead code for compatibility with older nibs
2853f3896 xquartz: Remove a workaround for AppKit versions older than Lion
1edc9b980 xquartz: Apply spell check fixes from master for easier cherry-picking of changes in xquartz
67f25cc18 xquartz: Fix applications menu table background color for dark mode
4028c2ad1 xquartz: Apply Xcode 12.4 automatic updates to nibs
ff1c8e2f7 xquartz: Update the about box copyright to 2021
a16df6028 xquartz: Ensure we call into TIS on the main thread
2087b7782 xquartz: Ensure that NSRunAlertPanel() is run on the main thread
2fe5bf4ba xquartz: Remove support for older versions of libXplugin
bc1a2a0d8 xquartz: Remove unused include of AvailabilityMacros.h from various sources
393da8b43 xquartz: Remove support for building for i386
43aaa1093 xquartz: Remove support for Mountain Lion and earlier versions of macOS
fb492686d xquartz: Remove support for Lion and earlier versions of macOS
34784415a xquartz: Remove support for SnowLeopard and earlier versions of macOS
d3f81ecaf xquartz: Remove check for libdispatch now that we don't support pre-SnowLeopard
739c5bd32 xquartz: Remove support for Leopard and earlier versions of macOS
2d7eb8249 xquartz: Remove support for Tiger and earlier versions of macOS
080f9eb76 os: Remove support for Tiger and earlier versions of macOS
be9d2fd87 xquartz: Remove support for Panther and earlier versions of macOS
d39eb5840 Fix typo "XQaurtz" in Xquartz.man
1f2b73176 XQuartz: recognize F16-F20 and Menu keys
ecc4ebf53 xquartz: Add stub ddxInputThread()
f5df31c76 meson.build: KMS support also depends on dri2
b09f5f42d xwayland: Replace LogMessage with LogMessageVerb
c17872d50 xkb: Fix heap overflow caused by optimized away min.
(From OE-Core rev: 928759347e18e56c991959d1a33aeb87ba6de4ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove CVE patches contained in this release.
Stable branch update:
bc111a2e6 (tag: xorg-server-1.20.10) xserver 1.20.10
06d1a032e Check SetMap request length carefully.
7ccb3b0ea Fix XkbSetDeviceInfo() and SetDeviceIndicators() heap overflows
440ed5948 present/wnmd: Translate update region to screen space
54f9af1c6 modesetting: keep going if a modeset fails on EnterVT
bd0f53725 modesetting: check the kms state on EnterVT
5c400cae1 configure: Build hashtable for Xres and glvnd
253569a3d xwayland: Create an xwl_window for toplevel only
0811a9ff7 xwayland: non-rootless requires the wl_shell protocol
b3ae038c3 glamor: Update pixmap's devKind when making it exportable
d6c389cb8 os: Fix instruction pointer written in xorg_backtrace
c3e4c1a0f present/wnmd: Execute copies at target_msc-1 already
96ef31e0f present/wnmd: Move up present_wnmd_queue_vblank
669e40390 present: Add present_vblank::exec_msc field
dae234efd present: Move flip target_msc adjustment out of present_vblank_create
1930ed233 xwayland: Remove pending stream reference when freeing
1ac389dda xwayland: use drmGetNodeTypeFromFd for checking if a node is a render one
d108c2c82 xwayland: Do not discard frame callbacks on allow commits
174cb91d8 present/wnmd: Remove dead check from present_wnmd_check_flip
51ee6e5ce xwayland: Check window pixmap in xwl_present_check_flip2
f4006d795 present/wnmd: Can't use page flipping for windows clipped by children
1e84fda20 xfree86: Take second reference for SavedCursor in xf86CursorSetCursor
8c3c8bda2 glamor: Fix glamor_poly_fill_rect_gl xRectangle::width/height handling
b28c88288 include: Increase the number of max. input devices to 256.
af4c84ce8 Revert "linux: Make platform device probe less fragile"
39cb95e95 Revert "linux: Fix platform device PCI detection for complex bus topologies"
4b6fce597 Revert "linux: Fix platform device probe for DT-based PCI"
(From OE-Core rev: ac86083917380ca8398307f0e59b7bb73c727b4f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove CVE patches contained in this release.
Stable branch update:
afb77415e (tag: xorg-server-1.20.9) xserver 1.20.9
705d72139 Fix XRecordRegisterClients() Integer underflow
5b384e767 Fix XkbSelectEvents() integer underflow
eff3f6cdd Fix XIChangeHierarchy() integer underflow
1d3a1092c Correct bounds checking in XkbSetNames()
249a12c54 linux: Fix platform device probe for DT-based PCI
5c96eb5f4 linux: Fix platform device PCI detection for complex bus topologies
74b7427c4 linux: Make platform device probe less fragile
4979ac8f0 fix for ZDI-11426
2720b8715 xfree86: add drm modes on non-GTF panels
7da8e7bab present: Check valid region in window mode flips
4a65b6617 xwayland: Handle NULL xwl_seat in xwl_seat_can_emulate_pointer_warp
10cabe0b9 xwayland: Propagate damage x1/y1 coordinates in xwl_present_flip
3b51978b9 doc: Update URLs in Xserver-DTrace.xml
6cbd6a09b xwayland: Use a fixed DPI value for core protocol
d4e8c4622 xwayland: only use linux-dmabuf if format/modifier was advertised
c726ceacc hw/xfree86: Avoid cursor use after free
0679d4660 Update URL's in man pages
3059a2e62 xwayland: Disable the MIT-SCREEN-SAVER extension when rootless
23c55ec32 xwayland: Hold a pixmap reference in struct xwl_present_event
1179938c1 randr: Check rrPrivKey in RRHasScanoutPixmap()
4912f693e modesetting: Fix front_bo leak at drmmode_xf86crtc_resize on XRandR rotation
ccbcf083d xwayland: Store xwl_tablet_pad in its own private key
cc3613559 xwayland: Initialise values in xwlVidModeGetGamma()
533cc6ca0 xwayland: Fix crashes when there is no pointer
3aa31823d xwayland: Clear private on device removal
22c0808ac xwayland: Free all remaining events in xwl_present_cleanup
37779d7f4 xwayland: Always use xwl_present_free_event for freeing Present events
ba52e5eb0 present/wnmd: Free flip_queue entries in present_wnmd_clear_window_flip
b3310ed50 present/wnmd: Keep pixmap pointer in present_wnmd_clear_window_flip
fc297c87d xwayland: import DMA-BUFs with GBM_BO_USE_RENDERING only
0430d13c1 xwayland: Fix infinite loop at startup
b8b10e293 modesetting: Disable pageflipping when using a swcursor
271934db9 dix: do not send focus event when grab actually does not change
(From OE-Core rev: 9fba10e19c8de5df1361e222bf255c0d9dad949f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found in the util-linux chfn and chsh utilities when compiled
with Readline support. The Readline library uses an "INPUTRC" environment
variable to get a path to the library config file. When the library cannot
parse the specified file, it prints an error message containing data from
the file. This flaw allows an unprivileged user to read root-owned files,
potentially leading to privilege escalation. This flaw affects util-linux
versions prior to 2.37.4.
Backport patch from upstream:
faa5a3a83a
Patch required slight modifications to apply cleanly to util-linux 2.35.1
(From OE-Core rev: dffbf6301612ca91f6a1c306b9dde754b44912bb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've been seeing occasional test failures on the autobuilder where
we don't see the expected events. It turns out this is due to
run_command being helpful and eating them if the server is fast and
the client slow. Adding a sleep into the run_command code makes the
failure consistent.
Use a new "handle_events" argument to allow us to handle all the
events which is what this test requires.
[YOCTO #14585]
(From OE-Core rev: da5cba5ec56cc437ede46d8aa71219a2a34cbe9e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2292983c717b8cadcf0c443bb7b649a84ea5ad57)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The git repo for virglrenderer was changed, so update the
SRC_URI accordingly with the new link.
(From OE-Core rev: 619d9ba2bb1f869869937f7d7942cc77580fdc08)
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>
The git repo for gnu-config was changed, so update the
SRC_URI accordingly with the new link.
(From OE-Core rev: 4ee75d865b34f615bc649004e9dd0460eaf42dbf)
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>
The fix for the CVE in 2.9.13 caused a regression which
was addressed after 2.9.13. We import that patch here.
(From OE-Core rev: 906ffe5bf83c0e587299aaedb9382ce04c3c7acf)
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>
CVE patches (and the stack limits check patch) should have been
added to SRC_URI_BASE so that they are applied for both target
and -native packages.
(From OE-Core rev: da9b7b8973913c80c989aee1f5b34c98362725a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is specific to Microsoft Windows, so we can ignore it.
(From OE-Core rev: d966a07d1f04aa76a4970d4af141f817197be0d2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2bd3c5a93988140d9927340b3af68785ae03db65)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing patch for CVE-2021-3200 also fixes CVE-2021-44568 through
CVE-2021-44671 and CVE-2021-44573 through CVE-2021-44677, so update
CVE tags in patch to reflect this.
Reference:
https://github.com/openSUSE/libsolv/issues/426
(From OE-Core rev: 3096134d25fc4cf9bd18839838a62a6c89344e31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The reasons for this are lost in the mists of time. These are already
in OE-Core as MIRRORS and we should be falling back to the project as
a backup, not a default. Update accordingly.
(From meta-yocto rev: 99435619a3d5f6afb5b5bb4169fc7b4ef31556dd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b71a3b9418fd928fb72bd23898cffe70c43d9d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some commands where we want to see the events returned so allow
the caller to request this. This also allows us to fix an infamous bug in
the tinfoil testsuite in OE-Core.
(Bitbake rev: 41bf1fa85a540232dcf92fe473c3b3c4cd7259dd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e8421c41d97d5d50a553d70c8f775d521f1a199)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its hard to tell from the server logs whether commands complete or not
(or how long they take). Add extra info to allow more debugging of
server timeouts.
(Bitbake rev: d388f6d159b9d7e1ed3f199f2d1aca0c473cda6d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56285ada585ec1481449522282b335bcb5a2671e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We still see occasional test failures for unknown reasons. Add some debugging to
show whether the matching files event was received even if the command complete wasn't.
Also ensure any commandfailed/commandexit event is shown.
This will hopefully aid debugging the next time the issue occurs.
(From OE-Core rev: 71015408c60ddf2e9af00cc8574815971e1b689d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f7a788bb51ef09ee23c94176285437ea760fab7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the ping test fails due to a timeout we only get limited debug
information. Tweak the code to improve that in case it sheds any light
on intermittent failures.
(From OE-Core rev: df98e96c7a1601798caf7f4882b09406a4fdacd6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d81704057950e1970ef7f673fa771834fd2b3f1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk is a cross compiled target and therefore should use the target
config, not the native one. Copy the target entries accordingly.
(From OE-Core rev: e997487c0068bfe4017fc98c4fa5b51f660a1b4e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1b5fec350b390fa7f2d26966df1411b032faf87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:
year updated to 2022
Version of some driver files updated
Added files for some drivers
(From OE-Core rev: ca8fa031e79b6893b4b2a9f906134e6ef4fe2b0e)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be1b1d204c89035c54a626db46c5054e553b82c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adapter incorrectly restores Discoverable state after powered down
Upstream-Status: Backport [b497b5942a]
CVE: CVE-2021-3658
(From OE-Core rev: 12669ab256a3ffbcb4bcbaba1bc9c690920d32b1)
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>
The project has migrated from www.xmlsoft.org to gitlab.gnome.org.
Update the homepage accordingly, and use gnomebase to construct the
download URL, rather than including it in SRC_URI explicitly.
Note that the download is now in .xz format rather than .gz, so the
sha256sum is updated accordingly. Post-decompression tarballs are
identical, so there is no change to the libxml2 code.
(From OE-Core rev: 38681a213a3b5f57b37257f7d96c4e970032ffe4)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8bc17ceb997f8f31a03e5f5efc41c03ef1df3add)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Security Fixes
The lame-ttl option controls how long named caches certain types of
broken responses from authoritative servers (see the security advisory
for details). This caching mechanism could be abused by an attacker to
significantly degrade resolver performance. The vulnerability has been
mitigated by changing the default value of lame-ttl to 0 and overriding
any explicitly set value with 0, effectively disabling this mechanism
altogether. ISC's testing has determined that doing that has a
negligible impact on resolver performance while also preventing abuse.
Administrators may observe more traffic towards servers issuing certain
types of broken responses than in previous BIND 9 releases, depending on
client query patterns. (CVE-2021-25219)
ISC would like to thank Kishore Kumar Kothapalli of Infoblox for
bringing this vulnerability to our attention. [GL #2899]
(From OE-Core rev: 8906aa9ec0a80b0f8998fb793f4e9491b3179179)
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>
Upstream commit:
commit 1dc481c0b0cf18d3952d93a73c4ece90dec277f0
Author: Leo Yan <leo.yan@linaro.org>
Date: Sat Mar 20 18:45:54 2021 +0800
perf test: Change to use bash for daemon test
When executing the daemon test on Arm64 and x86 with Debian (Buster)
distro, both skip the test case with the log:
Changes tools/perf/tests/shell/daemon.sh to be explicitly bash
(it was already required, but was just skipped on various
distros).
We add it into our RDEPENDS for perf-tests to fixup 5.12+
builds.
We already have relatively heavy RDEPENDS for perf tests (python3), so
adding bash into the RDEPENDS isn't signifcant even for older perf
builds that use the same recipe.
(cherry picked from commit 159cdb159ad0e9d3ed73cfc07f9acd5c0b608e7b)
(From OE-Core rev: 0cfc604b48155ed4129bcc056610f32caf1a93b4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes CVE-2022-0696, CVE-2022-0714, CVE-2022-0729.
(From OE-Core rev: b7fa41cda88bffa5345d5b9768774cdf28f62b7b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d29988958e48534a0076307bb2393a3c1309e03)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When inside the threadedpool we make a copy of the localdata
to avoid some race condition, so we need to use this new
localdata2 and stop write the shared localdata.
(From OE-Core rev: 604146a242c3d5f5a9872bb756910f4bd1b58406)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 90fe6948a9df0b43c58120a9358adb3da1ceb5b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson.build will fall back to greping /etc/login.defs for values of these
if they're not set. Different distros set them (Centos 7/8 does, Ubuntu
does not) so output was not deterministic. Avoid this by setting to the
default values. We now match the vaules from login.defs from shadow.
(From OE-Core rev: 56f57c70fb87beb9a7181df8cb5e7a4a0b5a184a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 77a6ac0ac266d71e4fe67fd332662081f30cd7bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The asciidoc-py3 repository has been renamed to asciidoc-py.
(From OE-Core rev: 6b899f694ec57bb3c6254d59ac5c51378579c014)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sphinx complains about hardcoded links which can be replaced by an
extlink.
So let's apply its recommendations.
(From yocto-docs rev: f550001f32157c7c30cf5506f3da783c0fd96396)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
uninative works via hashes and doesn't need the version in the tarball name but
it does make things easier to inspect in DL_DIR. There were reasons such as
ease of publication of the build tarballs but we can handle those differently
now and the signature issues from the early code aren't an issue now. From 3.4
onwards we can use a version'd name.
[YOCTO #12970]
(From OE-Core rev: 0ec0e49d0d2a7478efbf20bc3554f0ffba40afa0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dadba70d6a24d8ebb5576598efffa973151c7218)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the BUILDHISTORY_RESET is enabled we need to move the
content from BUILDHISTORY_DIR to BUILDHISTORY_OLD_DIR but
when we start a clean build in the first run we don't have the
BUILDHISTORY_DIR so the move of files will fail.
| ERROR: Command execution failed: Traceback (most recent call last):
| File "/xxx/poky/bitbake/lib/bb/command.py", line 110, in runAsyncCommand
| commandmethod(self.cmds_async, self, options)
| File "/xxx/poky/bitbake/lib/bb/command.py", line 564, in buildTargets
| command.cooker.buildTargets(pkgs_to_build, task)
| File "/xxx/poky/bitbake/lib/bb/cooker.py", line 1481, in buildTargets
| bb.event.fire(bb.event.BuildStarted(buildname, ntargets), self.databuilder.mcdata[mc])
| File "/xxx/home/builder/src/base/poky/bitbake/lib/bb/event.py", line 214, in fire
| fire_class_handlers(event, d)
| File "/xxx/poky/bitbake/lib/bb/event.py", line 121, in fire_class_handlers
| execute_handler(name, handler, event, d)
| File "/xxx/poky/bitbake/lib/bb/event.py", line 93, in execute_handler
| ret = handler(event)
| File "/xxx/poky/meta/classes/buildhistory.bbclass", line 919, in buildhistory_eventhandler
| entries = [ x for x in os.listdir(rootdir) if not x.startswith('.') ]
| FileNotFoundError: [Errno 2] No such file or directory: '/xxx/buildhistory'
(From OE-Core rev: de89dc125758f828a7886012bd9b1c8a1017ef48)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 97bc2168da7dbacdfbf79cd70db674363ab84f6b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running the ptest package in an image alone highlighted missing module
dependencies. Add them to fix those errors.
(From OE-Core rev: 6e98fdf7832fed3d93645ed69f62c8df5e89b96b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3859f49db2d694c7b63fdbe25be0018afba5c738)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The linux kernel will by default use pkg-config to get ncurses(w) paths,
falling back to absolute path checks otherwise. If the build host does
not have ncurses installed this will fail as pkg-config will not search
the native sysroot for ncurses.
To more all kernel/kconfig sources, inject the equivalent native
pkg-config variables similar to what is done by the pkg-config-native
script. This only affects the menuconfig python task itself and the
oe_terminal call inside it.
(cherry picked from commit abb95c421bb67d452691819e3f63dabd02e2ba37)
(From OE-Core rev: dc6b20475a69c9fbab9a97a93119aeedf54deb23)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this dependency, generating the bootchart may fail with:
"
ModuleNotFoundError: No module named 'random'
"
(cherry picked from commit 487e9f16a00f895159b79f1865fe8b626b47ddc2)
(From OE-Core rev: 123d4a673dadfee14d5ad8bbc503405da9602bb0)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Mingli Yu <mingli.yu@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that all of the functions in cve-check open the database read-only,
we can remove this lockfile.
This means cve-check can run in parallal again, improving runtimes
massively.
This reverts commit d55fbf4779.
(From OE-Core rev: 1a30a8513ca47890470ee9d19a5ea36437e664bf)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e60d149b41d14d177df20dbecaef943696df1586)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All of the function in cve-check should open the database read-only, as
the only writer is the fetch task in cve-update-db. However,
get_cve_info() was failing to do this, which might be causing locking
issues with sqlite.
(From OE-Core rev: 2b3d13a451e99db669977d4d1172653b736ae6e1)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8de517238f1f418d9af1ce312d99de04ce2e26fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Three CVEs were meant to be ignored via CVE_WHITELIST, but that wasn't
the correct variable name.
The CPEs for those CVEs mean that they don't get picked up in our report,
so just remove the assignment.
(From OE-Core rev: c50688e1d0839d71e05a0d15dd948113d2ef83f6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dea00faf30ec7c19b6b5ed4651b430ba3faf69ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Expat (aka libexpat) before 2.4.5, there is an integer overflow
in storeRawNames.
Backport patch from:
eb0362808b
CVE: CVE-2022-25315
(From OE-Core rev: 9cb21fd89de99abeeef1dd962e6019943de546a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Expat (aka libexpat) before 2.4.5, there is an integer overflow in
copyString.
Backport patch from:
efcb347440
CVE: CVE-2022-25314
(From OE-Core rev: b92c33285c5f886c95a3734e61007b522b62a71f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack
exhaustion in build_model via a large nesting depth in the DTD element.
Backport patch from:
9b4ce651b2
Also add patch which fixes a regression introduced in the above fix:
https://github.com/libexpat/libexpat/pull/566
CVE: CVE-2022-25313
(From OE-Core rev: 8105700b1d6d23c87332f453bdc7379999bb4b03)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain
validation of encoding, such as checks for whether a UTF-8 character
is valid in a certain context.
Backport patches from:
https://github.com/libexpat/libexpat/pull/562/commits
CVE: CVE-2022-25235
(From OE-Core rev: 27ab07b1e8caa5c85526eee4a7a3ad0d73326866)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
math/big: prevent large memory consumption in Rat.SetString
An attacker can cause unbounded memory growth in a program using (*Rat).SetString
due to an unhandled overflow.
Upstream-Status: Backport [https://go.dev/issue/50699]
CVE: CVE-2022-23772
(From OE-Core rev: e4d15040f62744265b9236ad7276f3371a9172da)
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>
crypto/elliptic: fix IsOnCurve for big.Int values that are not valid coordinates
Some big.Int values that are not valid field elements (negative or overflowing)
might cause Curve.IsOnCurve to incorrectly return true. Operating on those values
may cause a panic or an invalid curve operation. Note that Unmarshal will never
return such values.
Upstream-Status: Backport [https://go.dev/issue/50974]
CVE: CVE-2022-23806
(From OE-Core rev: eb7aa0929ecd712aeeec0ff37dfb77c3da33b375)
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>
This release includes security fixes.
CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date Parsing Methods
CVE-2021-41816: Buffer Overrun in CGI.escape_html
CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse
(From OE-Core rev: a7935c9c4a47098f0c1b2eefdf7773bd85891945)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License file had some grammar fixes.
Includes CVE-2022-0554.
(From OE-Core rev: 9360b92f98222cb74a93690f53570cd62633c0cf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a8d0a4026359c2c8a445dba9456f8a05470293c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License text underwent changes on how to submit Uganda donations, switch from http
to https urls and an update date change but the license itself is unchanged.
Also, add an entry for the top level license file. This is also the vim license
so LICENSE is unchanged but we should monitor it too.
(From OE-Core rev: f27f15977085dbdf7da28ed8ed60c02ffa009db8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d195005e415b0b2d7c8b0b65c0aef888d4d6fc8e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to the latest patch release to fix the following CVEs:
- CVE-2022-0261
- CVE-2022-0318
- CVE-2022-0319
(From OE-Core rev: e23cc56c6b8bd9cfb86803a1e1160a0b768cb286)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96442e681c3acd82b09e3becd78e902709945f1f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the version to 4.2.4118, which incorporates the following CVE
fixes:
- CVE-2021-4187
- CVE-2022-0128
- CVE-2022-0156
- CVE-2022-0158
Also remove the explicit whitelisting of CVE-2021-3968 as this is now
handled with an accurate CPE specifying the fixed version.
(From OE-Core rev: faf83cac9ff82a3c795b2e8d82719bea43830f7f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 764519ad0da6b881918667ca272fcc273b56168a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As upstream tags point releases with every commit and
the version check still reports 8.2, it should not be considered
broken (e.g. current version newer than latest version)
until 8.3 is released.
(From OE-Core rev: 3db417e002684b4f09c52997017bed139ad95f5f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 11d8ee09b1bdec4824203dc0169093b2ae9d101a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's a fairly constant flow of CVEs being fixed in Vim, which are
getting increasing non-trivial to backport.
Instead of trying to backport (and potentially introduce more bugs), or
just ignoring them entirely, upgrade vim to the latest patch in the hope
that vim 8.3 will be released before we release Kirkstone.
(From OE-Core rev: 7b8b096000759357aa251a58a756e770a54590ad)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 78a4796de27d710f97c336d288d797557a58694e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't set an empty default value and them immediately assign to it.
(From OE-Core rev: ad373242381feec72d0c257031da7671281c0321)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7565241437487618a57d8f3f21da6fed69f6b8a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prepare to cherry-pick CVE fixes from master
This reverts commit 9db3b4ac4018bcaedb995bc77a9e675c2bca468f.
(From OE-Core rev: 519f30e697f14d6a3864a22ec2e12544a9d3a107)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recent change create a blank scope of DEPENDS for class-target,
basically leaving out all general dependencies, leading to the effect
that ruby will be shipped without the runtime dependencies of zlib,
openssl and libffi, making the corresponding gems unusable at runtime.
As the class-target scope should be appended only the correct override
is append:class-target
(From OE-Core rev: 81fab225daf798792c139f669f5bfd96d9fd25a8)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8f92444d388d2406be7d317578908975784d3f22)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In particular libffi was missing from native, which
led to linking with host libffi instead.
(From OE-Core rev: 61e38b71566183e329d980e26fe8ffe8d331c3a1)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 293c9f879252a814107579542e8fca9af9dde599)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
example.com is proving unreliable at present so switch to our own connectivity
page instead. That page is very simple avoiding app overhead on our web server
which was an original reason for switching to example.com.
(From OE-Core rev: 0ed4759eb306596575e3e9859a023f44f814cf4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc6b043cb75c5751b5a98afd2201aa31f9b4b9f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
if the package "nativesdk-glibc-dbg" is installed as part of the SDK,
the existing search expression finds two files:
$OECORE_NATIVE_SYSROOT/lib/.debug/ld-linux-x86-64.so.2
$OECORE_NATIVE_SYSROOT/lib/ld-linux-x86-64.so.2
The generated relocate_sdk.sh shell script contains then an extra
newline and segfaults during SDK relocation.
Limit the search depth to 1, to avoid finding the file in the .debug
directory.
(From OE-Core rev: c95695c220a1bd1984920b893418d6822b75ebac)
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit baec04b936ab6b3d2039978fd568c3824cd0a501)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:
Version of some driver files updated
Added files for some drivers
(From OE-Core rev: a28a6d31e84f59c4cfe47ddbd28bbe258d5d094f)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a2a64082d2a4845bebe802afed2a65dac994043)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
2570bb2729c7 Linux 5.4.176
5e2a4d02252f mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
6cbf4c731d78 block: Fix wrong offset in bio_truncate()
33a9ba52d5ea fsnotify: invalidate dcache before IN_DELETE event
b52103cbb659 dt-bindings: can: tcan4x5x: fix mram-cfg RX FIFO config
e913171594ea ipv4: remove sparse error in ip_neigh_gw4()
c30ecdba9e5a ipv4: tcp: send zero IPID in SYNACK messages
51dde4ae5a37 ipv4: raw: lock the socket in raw_bind()
2d334469c29e net: hns3: handle empty unknown interrupt for VF
7afc09c8915b yam: fix a memory leak in yam_siocdevprivate()
51edc483af6c drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
a15ed3e9887f ibmvnic: don't spin in tasklet
c09702f43a6a ibmvnic: init ->running_cap_crqs early
86217a4ebd18 hwmon: (lm90) Mark alert as broken for MAX6654
18684bb996f3 rxrpc: Adjust retransmission backoff
f39027cbada4 phylib: fix potential use-after-free
218cccb52124 net: phy: broadcom: hook up soft_reset for BCM54616S
0d26470b25d2 netfilter: conntrack: don't increment invalid counter on NF_REPEAT
abcb9d80a4a5 NFS: Ensure the server has an up to date ctime before renaming
30965c768217 NFS: Ensure the server has an up to date ctime before hardlinking
cdfaf8e985f8 ipv6: annotate accesses to fn->fn_sernum
581317b1f001 drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
b3e3d584f0f1 drm/msm/dsi: Fix missing put_device() call in dsi_get_phy
4abd2a7735e1 drm/msm: Fix wrong size calculation
9f0a6acac4a1 net-procfs: show net devices bound packet types
4fd45ff2b404 NFSv4: nfs_atomic_open() can race when looking up a non-regular file
0dfacee40021 NFSv4: Handle case where the lookup of a directory fails
c27abaa040f3 hwmon: (lm90) Reduce maximum conversion rate for G781
1f748455a8f0 ipv4: avoid using shared IP generator for connected sockets
ca5355771ca8 ping: fix the sk_bound_dev_if match in ping_lookup
0b567a24addc hwmon: (lm90) Mark alert as broken for MAX6680
b63031651a05 hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649
e372ecd455b6 net: fix information leakage in /proc/net/ptype
20b7af413153 ipv6_tunnel: Rate limit warning messages
bf2bd892a0cb scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put()
d380beb5e58d rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
da27b834c1e0 rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
cb24af19e5a7 i40e: fix unsigned stat widths
be6998f232b8 i40e: Fix queues reservation for XDP
b16f1a078d63 i40e: Fix issue when maximum queues is exceeded
f18aadbdf6ad i40e: Increase delay to 1 s after global EMP reset
7e94539448ed powerpc/32: Fix boot failure with GCC latent entropy plugin
ff19d70b665d net: sfp: ignore disabled SFP node
5ede72d48cab ucsi_ccg: Check DEV_INT bit only when starting CCG4
3922b6e1c9ea usb: typec: tcpm: Do not disconnect while receiving VBUS off
9c61fce322ac USB: core: Fix hang in usb_kill_urb by adding memory barriers
4fc6519bdecb usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
64e671a22163 usb: common: ulpi: Fix crash in ulpi_match()
d66dc656c5f9 usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
a06cba5ad125 tty: Add support for Brainboxes UC cards.
f5e6c946732a tty: n_gsm: fix SW flow control encoding/handling
05b330118888 serial: stm32: fix software flow control transfer
0b92eda2d801 serial: 8250: of: Fix mapped region size when using reg-offset property
2bf7dee6f423 netfilter: nft_payload: do not update layer 4 checksum when mangling fragments
a6d588572568 arm64: errata: Fix exec handling in erratum 1418040 workaround
5cbcd1f5a20a drm/etnaviv: relax submit size limits
5463cfd83397 fsnotify: fix fsnotify hooks in pseudo filesystems
1614bd844eef tracing: Don't inc err_log entry count if entry allocation fails
8a8878ebb596 tracing/histogram: Fix a potential memory leak for kstrdup()
73578a9b2b72 PM: wakeup: simplify the output logic of pm_show_wakelocks()
31136e5467f3 udf: Fix NULL ptr deref when converting from inline format
86bcc670d300 udf: Restore i_lenAlloc when inode expansion fails
c54445af64ca scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices
4d041e75c4c4 s390/hypfs: include z/VM guests with access control group set
835d37068525 Bluetooth: refactor malicious adv data check
7cdf2951f80d Linux 5.4.175
84b1259fe36a drm/vmwgfx: Fix stale file descriptors on failed usercopy
16895e4eac36 select: Fix indefinitely sleeping task in poll_schedule_timeout()
53d5b08d8e98 mmc: sdhci-esdhc-imx: disable CMDQ support
c3fa7ce43cdd ARM: dts: gpio-ranges property is now required
75278f1aff5e pinctrl: bcm2835: Change init order for gpio hogs
0d006bb08d76 pinctrl: bcm2835: Add support for wake-up interrupts
08fd6274380a pinctrl: bcm2835: Match BCM7211 compatible string
ac3daf50c150 pinctrl: bcm2835: Add support for all GPIOs on BCM2711
e5237171117c pinctrl: bcm2835: Refactor platform data
33e48b5305eb pinctrl: bcm2835: Drop unused define
75ca9c1d96c7 rcu: Tighten rcu_advance_cbs_nowake() checks
1b5553c79d52 drm/i915: Flush TLBs before releasing backing store
411d8da1c843 Linux 5.4.174
2c9650faa19c Revert "ia64: kprobes: Use generic kretprobe trampoline handler"
d106693dfd21 mtd: nand: bbt: Fix corner case in bad block table handling
0c1b20381926 lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
a836180fc53a lib82596: Fix IRQ check in sni_82596_probe
3903f65a5a9f scripts/dtc: dtx_diff: remove broken example from help text
b0e5b352fe12 dt-bindings: display: meson-vpu: Add missing amlogic,canvas property
e3e561707c28 dt-bindings: display: meson-dw-hdmi: add missing sound-name-prefix property
810d3fac215d net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()
e81d42e5445a bcmgenet: add WOL IRQ check
3bd7629eb8b2 net_sched: restore "mpu xxx" handling
918b3dbf0315 arm64: dts: qcom: msm8996: drop not documented adreno properties
1e0e01eb2589 dmaengine: at_xdmac: Fix at_xdmac_lld struct definition
ca48aa7de702 dmaengine: at_xdmac: Fix lld view setting
0366901b7b02 dmaengine: at_xdmac: Fix concurrency over xfers_list
d56e1fcb7b5b dmaengine: at_xdmac: Print debug message after realeasing the lock
7163076f252e dmaengine: at_xdmac: Don't start transactions at tx_submit level
9fbe8ea8df20 perf script: Fix hex dump character output
e7e3f9634ae6 libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route()
91e58091a6bd gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
1e06cb37febe xfrm: Don't accidentally set RTO_ONLINK in decode_session4()
d6bfcc8d9541 netns: add schedule point in ops_exit_list()
577d3c5291dc inet: frags: annotate races around fqdir->dead and fqdir->high_thresh
967ec4b05918 rtc: pxa: fix null pointer dereference
1623e00e407c net: axienet: increase default TX ring size to 128
88d7727796a6 net: axienet: fix number of TX ring slots for available check
d2765d89fe38 net: axienet: limit minimum TX ring size
2612e3567665 clk: si5341: Fix clock HW provider cleanup
7a831993a9a8 af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress
fdc1ce979061 f2fs: fix to reserve space for IO align feature
f852afb6c072 parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries
d25fe9c255b6 net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
682a1e0ecbda ipv4: avoid quadratic behavior in netns dismantle
e6669fba04ad bpftool: Remove inclusion of utilities.mak from Makefiles
9e5a74b6326b powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
461aedcf68e0 powerpc/cell: Fix clang -Wimplicit-fallthrough warning
261f9917648e Revert "net/mlx5: Add retry mechanism to the command entry index allocation"
6926d427941a dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK
d2d453940b62 RDMA/rxe: Fix a typo in opcode name
1a3f263e05d1 RDMA/hns: Modify the mapping attribute of doorbell to device
0cb05af4bf87 scsi: core: Show SCMD_LAST in text form
59c7ff950915 Documentation: fix firewire.rst ABI file path error
dafbd79e423e Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization
2ecbe50b2b8e Documentation: ACPI: Fix data node reference documentation
49daee55004b Documentation: dmaengine: Correctly describe dmatest with channel unset
05594394dc27 media: rcar-csi2: Optimize the selection PHTW register
547ea2d23ec6 firmware: Update Kconfig help text for Google firmware
515ca9f56833 of: base: Improve argument length mismatch error
227afbfe47b5 drm/radeon: fix error handling in radeon_driver_open_kms
d820cb636563 ext4: don't use the orphan list when migrating an inode
85c121cf17fd ext4: Fix BUG_ON in ext4_bread when write quota data
b985c8521dac ext4: set csum seed in tmp inode while migrating to extents
6e23e0bb1a11 ext4: make sure quota gets properly shutdown on error
86be63aea2b1 ext4: make sure to reset inode lockdep class when quota enabling fails
e5999c49cd90 btrfs: respect the max size in the header when activating swap file
85dc4aac7e99 btrfs: check the root node for uptodate before returning it
eeec77bb53a5 btrfs: fix deadlock between quota enable and other quota operations
e89514082668 xfrm: fix policy lookup for ipv6 gre packets
09af149541d9 PCI: pci-bridge-emul: Set PCI_STATUS_CAP_LIST for PCIe device
e904b46073a1 PCI: pci-bridge-emul: Correctly set PCIe capabilities
ab57ac7299e2 PCI: pci-bridge-emul: Properly mark reserved PCIe bits in PCI config space
db531b57cb50 drm/bridge: analogix_dp: Make PSR-exit block less
17d492d39e17 drm/nouveau/kms/nv04: use vzalloc for nv04_display
0d0e56a1a945 drm/etnaviv: limit submit sizes
72a953efcbd6 s390/mm: fix 2KB pgtable release race
da4e1facccc7 iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
11604a3a6bed tracing/kprobes: 'nmissed' not showed correctly for kretprobe
ae2e0b2f2ba3 cputime, cpuacct: Include guest time in user time in cpuacct.stat
c526d53edd21 serial: Fix incorrect rs485 polarity on uart open
19a61f92fa6b fuse: Pass correct lend value to filemap_write_and_wait_range()
8130a1c0bf8a ubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers
011024b0f695 crypto: caam - replace this_cpu_ptr with raw_cpu_ptr
973669290ad3 crypto: stm32/crc32 - Fix kernel BUG triggered in probe()
0c0fd11c9c77 crypto: omap-aes - Fix broken pm_runtime_and_get() usage
b728b5295d1b rpmsg: core: Clean up resources on announce_create failure.
9e2c8bd78488 power: bq25890: Enable continuous conversion for ADC at charging
f16a5bce3fd3 ASoC: mediatek: mt8173: fix device_node leak
5d635c25983e scsi: sr: Don't use GFP_DMA
1785538d273c MIPS: Octeon: Fix build errors using clang
bb7d1de681f9 i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
6abdf6722cd2 MIPS: OCTEON: add put_device() after of_find_device_by_node()
2a8870f5cb2a powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
2dbb618e241a ALSA: seq: Set upper limit of processed events
1ad4f94630c0 scsi: lpfc: Trigger SLI4 firmware dump before doing driver cleanup
73ed9127b8e8 w1: Misuse of get_user()/put_user() reported by sparse
b8e5376c273c KVM: PPC: Book3S: Suppress failed alloc warning in H_COPY_TOFROM_GUEST
aecdb1d24210 powerpc/powermac: Add missing lockdep_register_key()
2c146cf97bcb clk: meson: gxbb: Fix the SDM_EN bit for MPLL0 on GXBB
e441d3cb760b i2c: mpc: Correct I2C reset procedure
f231d1d22bad powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING
aca56c298e2a i2c: i801: Don't silently correct invalid transfer size
aea9d368480f powerpc/watchdog: Fix missed watchdog reset due to memory ordering race
5a3cda54ffd0 powerpc/btext: add missing of_node_put
fd0135fc6f0a powerpc/cell: add missing of_node_put
67329fb6a8e2 powerpc/powernv: add missing of_node_put
5bea763aec17 powerpc/6xx: add missing of_node_put
ecfe73aec681 parisc: Avoid calling faulthandler_disabled() twice
5e126f68808c random: do not throw away excess input to crng_fast_load
8f6cecfff36c serial: core: Keep mctrl register state and cached copy in sync
6f7bd9f7c893 serial: pl010: Drop CR register reset on set_termios
c5e156a62744 regulator: qcom_smd: Align probe function with rpmh-regulator
4a55b02b647e net: gemini: allow any RGMII interface mode
4bee2316c574 net: phy: marvell: configure RGMII delays for 88E1118
b3fbe7565f8e dm space map common: add bounds check to sm_ll_lookup_bitmap()
052f64013701 dm btree: add a defensive bounds check to insert_at()
aaefb1833309 mac80211: allow non-standard VHT MCS-10/11
5253794b19f6 net: mdio: Demote probed message to debug print
8508caebe60e btrfs: remove BUG_ON(!eie) in find_parent_nodes
7d4f4075e78b btrfs: remove BUG_ON() in find_parent_nodes()
ba72fa2cb2f2 ACPI: battery: Add the ThinkPad "Not Charging" quirk
7c366d75a44a drm/amdgpu: fixup bad vram size on gmc v8
88b5abc0c61d ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5
de85f5861894 ACPICA: Fix wrong interpretation of PCC address
1fa8e71d0022 ACPICA: Executer: Fix the REFCLASS_REFOF case in acpi_ex_opcode_1A_0T_1R()
aee78b668ef5 ACPICA: Utilities: Avoid deleting the same object twice in a row
a4c6cde223d2 ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions
56c308c7302b jffs2: GC deadlock reading a page that is used in jffs2_write_begin()
c02454b3c85b um: registers: Rename function names to avoid conflicts and build problems
51b44e9b14a6 iwlwifi: mvm: Fix calculation of frame length
95017cf0a367 iwlwifi: remove module loading failure message
0446cafa843e iwlwifi: fix leaks/bad data after failed firmware load
c8fe499c4565 ath9k: Fix out-of-bound memcpy in ath9k_hif_usb_rx_stream
46fdba26cdff usb: hub: Add delay for SuperSpeed hub resume to let links transit to U0
8ac2cf0253a5 cpufreq: Fix initialization of min and max frequency QoS requests
bfcc1e9c2e00 arm64: tegra: Adjust length of CCPLEX cluster MMIO region
65816c103476 arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
dcf1d9f76f71 audit: ensure userspace is penalized the same as the kernel when under pressure
5cc8a367851b mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO
3a7f37eb2083 media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach()
71b6d05db553 media: igorplugusb: receiver overflow should be reported
1af9e1d4885a HID: quirks: Allow inverting the absolute X/Y values
75f7885dc257 bpf: Do not WARN in bpf_warn_invalid_xdp_action()
086181b0ffde net: bonding: debug: avoid printing debug logs when bond is not notifying peers
fcd7e8ccc437 x86/mce: Mark mce_read_aux() noinstr
a0d171398dcd x86/mce: Mark mce_end() noinstr
bca5aa920274 x86/mce: Mark mce_panic() noinstr
2481ee0ce59c gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock
743911a2bf8b net: phy: prefer 1000baseT over 1000baseKX
a5d8e6189b13 net-sysfs: update the queue counts in the unregistration path
d08cc0223a78 ath10k: Fix tx hanging
054281b3548d iwlwifi: mvm: synchronize with FW after multicast commands
fe791612afab media: m920x: don't use stack on USB reads
a821532ce5ec media: saa7146: hexium_orion: Fix a NULL pointer dereference in hexium_attach()
b867a9c3de09 media: uvcvideo: Increase UVC_CTRL_CONTROL_TIMEOUT to 5 seconds.
ff867910e87c x86/mm: Flush global TLB when switching to trampoline page-table
16f2ef98cccf floppy: Add max size check for user space request
3ad5c9e50263 usb: uhci: add aspeed ast2600 uhci support
c27a52321190 rsi: Fix out-of-bounds read in rsi_read_pkt()
51ad4c448611 rsi: Fix use-after-free in rsi_rx_done_handler()
ae56c5524a75 mwifiex: Fix skb_over_panic in mwifiex_usb_recv()
4ff69cf3b1c8 HSI: core: Fix return freed object in hsi_new_client
009d6d9fea8c gpiolib: acpi: Do not set the IRQ type if the IRQ is already in use
50ad94f8654a drm/bridge: megachips: Ensure both bridges are probed before registration
c640dc459b7e mlxsw: pci: Add shutdown method in PCI driver
f6b650941942 EDAC/synopsys: Use the quirk for version instead of ddr version
2134ebc2d0ad media: b2c2: Add missing check in flexcop_pci_isr:
2933aa510907 HID: apple: Do not reset quirks when the Fn key is not found
a62523988129 drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
0cba42c09ac8 usb: gadget: f_fs: Use stream_open() for endpoint files
c7e4004b38aa batman-adv: allow netlink usage in unprivileged containers
c93a934f812e ARM: shmobile: rcar-gen2: Add missing of_node_put()
c9ec3d85c0ee drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR
3642493839af ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply
c7186605d878 drm/lima: fix warning when CONFIG_DEBUG_SG=y & CONFIG_DMA_API_DEBUG=y
58cddfe67745 fs: dlm: filter user dlm messages for kernel locks
fa4ca508c25c Bluetooth: Fix debugfs entry leak in hci_register_dev()
2b09cb8d92a5 of: base: Fix phandle argument length mismatch error message
f88ccfb3f2d9 RDMA/cxgb4: Set queue pair state when being queried
38d97204a24b mips: bcm63xx: add support for clk_set_parent()
d12b5cfab493 mips: lantiq: add support for clk_set_parent()
770e92dbc9f6 misc: lattice-ecp3-config: Fix task hung when firmware load failed
458c253b2577 ASoC: samsung: idma: Check of ioremap return value
8b894d503ed7 ASoC: mediatek: Check for error clk pointer
41d2dc9110e0 phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
dc03527ca12b iommu/iova: Fix race between FQ timeout and teardown
86233ee4b4b9 dmaengine: pxa/mmp: stop referencing config->slave_id
741a26cf3134 clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after system enter shell
35d7be242cd9 ASoC: rt5663: Handle device_property_read_u32_array error codes
200f00382f08 RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty entry
6314e22a998e RDMA/core: Let ib_find_gid() continue search even after empty entry
2e89a39fd702 powerpc/powermac: Add additional missing lockdep_register_key()
9367675e76b8 PCI/MSI: Fix pci_irq_vector()/pci_irq_get_affinity()
27a90275e8f7 scsi: ufs: Fix race conditions related to driver data
b9b691de3c99 iommu/io-pgtable-arm: Fix table descriptor paddr formatting
48fc8eebd174 binder: fix handling of error during copy
f3c2c7f3f884 char/mwave: Adjust io port register size
e607cd712d5d ALSA: oss: fix compile error when OSS_DEBUG is enabled
5daf39257079 ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA
7e2ce332aacc powerpc/prom_init: Fix improper check of prom_getprop()
506184ded655 clk: imx8mn: Fix imx8mn_clko1_sels
852f447ce0c1 RDMA/hns: Validate the pkey index
9927848b1ce5 ALSA: hda: Add missing rwsem around snd_ctl_remove() calls
79b89d3ab5a9 ALSA: PCM: Add missing rwsem around snd_ctl_remove() calls
86fecb7f50b5 ALSA: jack: Add missing rwsem around snd_ctl_remove() calls
970d9082043d ext4: avoid trim error on fs with small groups
2e5f08a5f8b5 net: mcs7830: handle usb read errors properly
ff09d5951b81 pcmcia: fix setting of kthread task states
f56b423bce1e can: xilinx_can: xcan_probe(): check for error irq
58533bbd5cf1 can: softing: softing_startstop(): fix set but not used variable warning
13af3a9b1ba6 tpm: add request_locality before write TPM_INT_ENABLE
5d5223beb6e2 spi: spi-meson-spifc: Add missing pm_runtime_disable() in meson_spifc_probe
74dd45122b84 net/mlx5: Set command entry semaphore up once got index free
2b7816b1e90e Revert "net/mlx5e: Block offload of outer header csum for UDP tunnels"
2f2336ca68b9 net/mlx5e: Don't block routes with nexthop objects in SW
fca92bb20ced debugfs: lockdown: Allow reading debugfs files that are not world readable
46541f21de5c HID: hid-uclogic-params: Invalid parameter check in uclogic_params_frame_init_v1_buttonpad
f6fbc6a0502c HID: hid-uclogic-params: Invalid parameter check in uclogic_params_huion_init
1f660b3ff5d6 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_get_str_desc
3f4823c651bd HID: hid-uclogic-params: Invalid parameter check in uclogic_params_init
1b7443f4ebf1 Bluetooth: hci_bcm: Check for error irq
4ceb319006e8 fsl/fman: Check for null pointer after calling devm_ioremap
e2e1ceb8ca7a staging: greybus: audio: Check null pointer
b78473575fbe rocker: fix a sleeping in atomic bug
385b8fe39802 ppp: ensure minimum packet size in ppp_write()
c7a99af48c55 bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt().
4e8307203d73 netfilter: ipt_CLUSTERIP: fix refcount leak in clusterip_tg_check()
ad6674562819 pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in nonstatic_find_mem_region()
17162e260178 pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in __nonstatic_find_io_region()
6cdbf5b6e4cf ACPI: scan: Create platform device for BCM4752 and LNV4752 ACPI nodes
d49992de0077 x86/mce/inject: Avoid out-of-bounds write when setting flags
a259c73dddb3 bpftool: Enable line buffering for stdout
eb599bf3bae5 selinux: fix potential memleak in selinux_add_opt()
8fe5e6ed36a5 mmc: meson-mx-sdio: add IRQ check
db6eb2f94ad7 ARM: dts: armada-38x: Add generic compatible to UART nodes
1b10eb460dc1 usb: ftdi-elan: fix memory leak on device disconnect
3f8edc28c02b ARM: 9159/1: decompressor: Avoid UNPREDICTABLE NOP encoding
25dfc85fceeb xfrm: state and policy should fail if XFRMA_IF_ID 0
b34fadb521c9 xfrm: interface with if_id 0 should return error
ba7d5b3e33a5 media: hantro: Fix probe func error path
26cf595abd9a drm/bridge: ti-sn65dsi86: Set max register for regmap
a6d408452c16 drm/msm/dpu: fix safe status debugfs file
036fcde6c7d0 media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
7089b97b46b6 media: msi001: fix possible null-ptr-deref in msi001_probe()
04691afdbc34 media: dw2102: Fix use after free
b153346f0ffe ARM: dts: gemini: NAS4220-B: fis-index-block with 128 KiB sectors
4c66717867b9 crypto: stm32/cryp - fix lrw chaining mode
46d85cdd472a crypto: stm32/cryp - fix double pm exit
17bb09710c6b crypto: stm32/cryp - fix xts and race condition in crypto_engine requests
fe211ebe8e14 xfrm: fix a small bug in xfrm_sa_len()
b3e50e041b68 mwifiex: Fix possible ABBA deadlock
236399a60ec9 rcu/exp: Mark current CPU as exp-QS in IPI loop second pass
b67881059f8f sched/rt: Try to restart rt period timer when rt runtime exceeded
a26a338f4df6 media: si2157: Fix "warm" tuner state detection
dc3b4b60a0d6 media: saa7146: mxb: Fix a NULL pointer dereference in mxb_attach()
f39bd2900fd4 media: dib8000: Fix a memleak in dib8000_init()
62bff2a806b0 Bluetooth: btmtksdio: fix resume failure
80f81e4bcc2a staging: rtl8192e: rtllib_module: fix error handle case in alloc_rtllib()
9f49cf5196d9 staging: rtl8192e: return error code from rtllib_softmac_init()
84e568531b9e floppy: Fix hang in watchdog when disk is ejected
6a4160c9f2ec serial: amba-pl011: do not request memory region twice
96591a7e66ba tty: serial: uartlite: allow 64 bit address
d3aee4338f1d arm64: dts: ti: k3-j721e: Fix the L2 cache sets
15115464eba2 drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()
46ec86ea0d02 drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()
77af47f26987 ACPI: EC: Rework flushing of EC work while suspended to idle
f996dab1a846 arm64: dts: qcom: msm8916: fix MMC controller aliases
54b5ab456e00 netfilter: bridge: add support for pppoe filtering
04bb89f51cba media: venus: core: Fix a resource leak in the error handling path of 'venus_probe()'
8034d6c40e43 media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released
f77b90341055 media: si470x-i2c: fix possible memory leak in si470x_i2c_probe()
a3c5386a515f media: imx-pxp: Initialize the spinlock prior to using it
0410f7ac04b3 media: rcar-csi2: Correct the selection of hsfreqrange
62866d6542ea tty: serial: atmel: Call dma_async_issue_pending()
cd867ffa14a8 tty: serial: atmel: Check return code of dmaengine_submit()
06d6f696873b arm64: dts: ti: k3-j721e: correct cache-sets info
ac718d92b6dc crypto: qce - fix uaf on qce_ahash_register_one
be6ee09c9ece media: dmxdev: fix UAF when dvb_register_device() fails
da0b42d1c3fb tee: fix put order in teedev_close_context()
24161b9c43de Bluetooth: stop proccessing malicious adv data
50a981742363 arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
e48e1d3e0f85 arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
1221b3adf539 media: aspeed: Update signal status immediately to ensure sane hw state
15df887c6248 media: em28xx: fix memory leak in em28xx_init_dev
58f08f024c72 media: aspeed: fix mode-detect always time out at 2nd run
dc644dd8a00c media: videobuf2: Fix the size printk format
e51b0099c870 wcn36xx: Release DMA channel descriptor allocations
2aa2da3fb522 wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND
457b05f39116 clk: bcm-2835: Remove rounding up the dividers
aac1ed30597c clk: bcm-2835: Pick the closest clock rate
ba4cc4968917 Bluetooth: cmtp: fix possible panic when cmtp_init_sockets() fails
141a9a9cae28 drm/rockchip: dsi: Fix unbalanced clock on probe error
bcd6bfe12be0 drm/panel: innolux-p079zca: Delete panel on attach() failure
4c255e98aa05 drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
5cc7480e63a3 drm/rockchip: dsi: Reconfigure hardware on resume()
0620aabea8d8 drm/rockchip: dsi: Hold pm-runtime across bind/unbind
6264d0fef906 shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode
9d8fb273d5ee mm/page_alloc.c: do not warn allocation failure on zone DMA if no managed pages
7ad300800c43 mm_zone: add function to check if managed dma zone exists
c4212d52f926 PCI: Add function 1 DMA alias quirk for Marvell 88SE9125 SATA controller
9e5bb22beb3c dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
e12f983c4a3c iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure
81a026b9c33d lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()
3cead5b7a88c can: softing_cs: softingcs_probe(): fix memleak on registration failure
38e28033a56b media: stk1160: fix control-message timeouts
0ac3d5f6f956 media: pvrusb2: fix control-message timeouts
d1c57f558d24 media: redrat3: fix control-message timeouts
7a9d34be181f media: dib0700: fix undefined behavior in tuner shutdown
f64b379bde39 media: s2255: fix control-message timeouts
3a49cd738b07 media: cpia2: fix control-message timeouts
c9ef6e1d5025 media: em28xx: fix control-message timeouts
c89df039e811 media: mceusb: fix control-message timeouts
22325141e94c media: flexcop-usb: fix control-message timeouts
7458b0189e87 media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE
023357dd2eaf rtc: cmos: take rtc_lock while reading from CMOS
9a82bfb442b7 tools/nolibc: fix incorrect truncation of exit code
2e83886c0420 tools/nolibc: i386: fix initial stack alignment
aca2988eddb9 tools/nolibc: x86-64: Fix startup code bug
a4b5d9af4af5 x86/gpu: Reserve stolen memory for first integrated Intel GPU
f55dbf729872 mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6
29218853877a mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings
ba2539b5f958 nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()
eb116c891ba1 f2fs: fix to do sanity check in is_alive()
bf9e52c0a9d9 HID: wacom: Avoid using stale array indicies to read contact count
5d1023f33c6d HID: wacom: Ignore the confidence flag when a touch is removed
60257988d6f9 HID: wacom: Reset expected and received contact counts at the same time
898e69caad0f HID: uhid: Fix worker destroying device without any protection
(From OE-Core rev: 9dd9f20b1dc9e44f1c4af824e8e0a7f6e4bbf33b)
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 linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
4aa2e7393e14 Linux 5.4.173
e245aaefef39 ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
d40f6eeaf513 mtd: fixup CFI on ixp4xx
1451deb164e1 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
7b98f61b8388 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
5c69ba9e80f0 firmware: qemu_fw_cfg: fix kobject leak in probe error path
1cc36ed56138 firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
b543e4141570 firmware: qemu_fw_cfg: fix sysfs information leak
b25e9ef29d8f rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
8716657b1b4b media: uvcvideo: fix division by zero at stream start
70ae85ca124e KVM: s390: Clarify SIGP orders versus STOP/RESTART
9b45f2007ea3 perf: Protect perf_guest_cbs with RCU
bd2aed0464ae vfs: fs_context: fix up param length parsing in legacy_parse_param
c2f067d4ad4a orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
5d6af67307e8 devtmpfs regression fix: reconfigure on each mount
c117b116e6b3 kbuild: Add $(KBUILD_HOSTLDFLAGS) to 'has_libelf' test
(From OE-Core rev: ef0ad77daccaef02d99c75833c78664fea887680)
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>
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake. The variable CMAKE_LDFLAGS_FLAGS is spelled incorrectly, cmake expects
CMAKE_SHARED_LINKER_FLAGS, CMAKE_STATIC_LINKER_FLAGS, CMAKE_EXE_LINKER_FLAGS and
CMAKE_MODULE_LINKER_FLAGS to be set instead. As cmake already correctly initializes
these from environment there is no need to specify the linker flags in the toolchain
file at all. So this just removes the variable, as its value was also set wrong.
(From OE-Core rev: cf17fc284bcffe1d5b0797c733bcc2eb293a5d8f)
Signed-off-by: Martin Beeger <martin.beeger@online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52e59a5b37f55905ee693a99f9ffc34ed41b4283)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpmbuild can start processing random memory when processing the value
provided by XZ_THREADS, and unintentionally disable encoding for a
file descriptor that in fact requires encoding to be enabled in order
for lzwrite() to actually create an rpm.
*** Fdopen(0x7f2030002b30,w6T16.xzdio) | fdio 23 fp (nil)
==> lzopen_internal("w6T16", 23, 1)
==> lzopen_internal set encoding
==> lzopen_internal clear encoding
==> Fdopen(0x7f2030002b30,"w6T16.xzdio") returns fd 0x7f2030002b30 | xzdio 0x7f2030004e30 fp 23 | fdio -1 fp (nil)
==> lzwrite(0x7f2030004e30, 0x7f20789d8070, 6) encoding 0
==> Fwrite(0x7f2030002b30,0x7f20789d8070,6) rc -1 | xzdio 0x7f2030004e30 fp 23 | fdio -1 fp (nil)
error: create archive failed: cpio: write
When the encoding bit gets cleared on the LZFILE* struct, lzwrite() then
rightfully complains when it detects !lzfile->encoding, which then gets
bubbled up as a write failure when we go to create the archive.
This fix is available in the rpm 4.17-release.
(From OE-Core rev: b093005d31467d89b00af621f86eb5cac7f845af)
Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
deploy-target may fail the second time with "pseudo abort" because
devtool-deploy-target-stripped is deleted outside of pseudo's fakeroot
context.
(From OE-Core rev: b293bcf4c312156cb57814dd71f13f8ab2a8ae80)
Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2338a33b690b0bbe279cde3f73764911b239cb50)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a new recipe.bb file for a binary, don't use BP which
includes the version information, instead use BPN which is just the
name base Package Name.
Since PB is not specified, it takes the default:
PV = "1.0+git${SRCPV}"
But SRCPV is defined in terms of the SRC_URI, which leads to infinite
recursion (traceback below). Here are the pertinent variables which
cause the recursion:
SRC_URI = "git://github.com/lvc/abi-dumper;protocol=https;subdir=${BP}"
BP = "${BPN}-${PV}"
PV = "1.0+git${SRCPV}"
SRCPV = "${@bb.fetch2.get_srcrev(d)}"
def get_srcrev(d, method_name='sortable_revision'):
# ... trimmed
scms = []
fetcher = Fetch(d.getVar('SRC_URI').split(), d)
# ... trimmed
[YOCTO #14040]
(From OE-Core rev: 64434ffd6d406e4c3d1e9ca2fb72fa97990346d8)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b8d43fc53ee13d39abc3b2a1f706a97fcf752aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create directory of the CVE_CHECK_MANIFEST variable before copy to it,
so that the variable can use an arbitrary directory name.
(From OE-Core rev: ee05539fc6fadff7f14c8609641021fc497cbd8e)
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9829c16301bf2dce39fa046401a984f112fa0322)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The implementations of SAE in hostapd before 2.10 and wpa_supplicant
before 2.10 are vulnerable to side channel attacks as a result
of cache access patterns. NOTE: this issue exists because of an
incomplete fix for CVE-2019-9494.
Backport patches from:
https://w1.fi/security/2022-1/
CVE: CVE-2022-23303 CVE-2022-23304
(From OE-Core rev: 13ae7a3f4bbe7abafae3136190cf43d226271413)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An issue was discovered in the DNS proxy in Connman through 1.40.
The TCP server reply implementation lacks a check for the presence
of sufficient Header Data, leading to an out-of-bounds read (CVE-2022-23096)
An issue was discovered in the DNS proxy in Connman through 1.40.
forward_dns_reply mishandles a strnlen call, leading to an out-of-bounds
read (CVE-2022-23097)
Backport patch from:
https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=e5a313736e13c90d19085e953a26256a198e4950
CVE: CVE-2022-23096 CVE-2022-23097
(From OE-Core rev: b8d925c1443c84500df74958aa2f75113b992453)
Signed-off-by: Steve Sakoman
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expat (aka libexpat) before 2.4.4 has an integer overflow in the
doProlog function.
Backport patch from:
ede41d1e18
CVE: CVE-2021-23990
(From OE-Core rev: 6a0c9607656970c669ff12cdafd39f4fb7082f6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding 3.1.14 to documentation switcher and release list.
(From yocto-docs rev: 2e3ec94e906a255cd7b22dfca29a6148fc433732)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Country Local Matrix (CLM) blob brcmfmac4373-sdio.clm_blob was not
included with the files for the linux-firmware-bcm4373 package
but instead packaged with linux-firmware.
(From OE-Core rev: 4b748155e668bb67c90d43de5e083c092d2f5b1c)
Signed-off-by: Rudolf J Streif <rudolf.streif@ibeeto.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 18ba64d4a12e7275381cf34fe72b757accbb1544)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
(From OE-Core rev: 9e8b2bc55792932e23d3b053b393b7ff88bffd6b)
(From OE-Core rev: 8f374ea044d5c3d2ea81917b3480149ca036674c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe is just a single data file from shadow, but as we can't
easily tell what license that specific file is under just copy the full
license statement.
(From OE-Core rev: f0e2f3b1f855ea6e184bd1d8d796279fedcbfa33)
(From OE-Core rev: b4bd6c8a400a52fcd7b7e580cfee5b48f5756d1a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
(From OE-Core rev: 65e3b23e1b266653fd30c90222e953f7e37fba0c)
(From OE-Core rev: a3a2044ae72fc73f64ea124465ec654e8c590eee)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
(From OE-Core rev: 91cd1ef01a3f3883c04bac67af2672ec60e20fb8)
(From OE-Core rev: 12d4f5f2453fa314e2b374bee8fe86bdc99f837c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
(From OE-Core rev: 966fb77981e4fed0ab7998439940b1e05dd0ee43)
(From OE-Core rev: a7fe869c49bdc2e9a2b69b763779a642dc0c6e35)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in question is licensed under the BSD-3-Clause license, so
including the generic "BSD" license is unnecessary.
(From OE-Core rev: c39fc075ce3fd5b53c2a2fccb43500ee0a12f39d)
(From OE-Core rev: e62c10d3560cd11441dbf648e19e3ed6269fa60d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lsof LICENSE is superficially BSD-like, but it isn't BSD. Now that
we have the full SPDX license set in oe-core, use Spencer-94.
(From OE-Core rev: 5c1d61d1d4dfacb643a366285c0392e6a31087ed)
(From OE-Core rev: 5ccd9b18c406517c8b7f25ac6e258f11d42556c9)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Required to correct lsof licensing
Previously added in master (along with many others), trimmed to
just Spencer-94 for dunfell
(From OE-Core rev: e2f9092c37395f4e3ee9d0777e28c83cce6007ee)
(From OE-Core rev: 5d5fdfa94c9e7b258a19fad8400b0ec93a47b0a4)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This continues where commit 676757f "sstate: fix touching files inside
pseudo" and commit 29fc8599 "sstate: another fix for touching files
inside pseudo" left off.
The previous changes switched from trying to check if the sstate file is
writable before touching it, to always touching the sstate file and
ignoring any errors. However, if the sstate file is actually a symbolic
link that links to nothing, this would actually result in an empty
sstate file being created. And this in turn leads to that future
setscene tasks will fail when they try to unpack the empty file.
Change the code so that if an sstate file linking to nothing already
exists, it is overwritten with the new sstate file. Also change it so
that the temporary file that is used is always removed, even if ln
fails to link the sstate file to it.
Change-Id: I3800f98d0f2a0dd076352df85fad7c81460e733d
(From OE-Core rev: f3cd092bf9f66d8d73075e5b777d89d8598691dd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add patches to fix CVE-2021-3995 and CVE-2021-3996
Also, add support include-strutils-cleanup-strto-functions.patch to
solve compilation error where `ul_strtou64` function not found which is
used in CVE-2021-3995.patch
(From OE-Core rev: c8c29e8927474f32343b1f6d47595df95f743cd2)
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer
for configurations with a nonzero XML_CONTEXT_BYTES.
Backport patch from:
847a645152
CVE: CVE-2022-23852
(From OE-Core rev: 37b618d44ebd965ba17bb61ddf6428cdaea876e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish
(called from sampled_data_continue and interp).
To apply this CVE-2021-45959 patch,
the check-stack-limits-after-function-evalution.patch should be applied first.
References:
https://nvd.nist.gov/vuln/detail/CVE-2021-45949
(From OE-Core rev: 5fb43ed64ae32abe4488f2eb37c1b82f97f83db0)
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>
Fix a grub issue with incorrect values from an usb device. From the official
description from NVD [1]:
During USB device initialization, descriptors are read with very little
bounds checking and assumes the USB device is providing sane values.
If properly exploited, an attacker could trigger memory corruption leading
to arbitrary code execution allowing a bypass of the Secure Boot mechanism.
This patch is a part of a bigger security collection for grub [2].
[1] https://nvd.nist.gov/vuln/detail/CVE-2020-25647
[2] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00007.html
(From OE-Core rev: a339dee50be98931613e5525ccd2a623bcae7fd1)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix grub issue with module dereferencing. From the official description
from NVD [1]:
The rmmod implementation allows the unloading of a module used as
a dependency without checking if any other dependent module is still
loaded leading to a use-after-free scenario. This could allow
arbitrary code to be executed or a bypass of Secure Boot protections.
This patch is a part of a bigger security collection for grub [2].
[1] https://nvd.nist.gov/vuln/detail/CVE-2020-25632
[2] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00007.html
(From OE-Core rev: d61b9588e5691ef390cfc0f03dc6cb0d142f36de)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes the following fixes:
3ef8be9b89 CVE-2022-23218: Buffer overflow in sunrpc svcunix_create (bug 28768)
e5c8da9826 <shlib-compat.h>: Support compat_symbol_reference for _ISOMAC
412aaf1522 sunrpc: Test case for clnt_create "unix" buffer overflow (bug 22542)
c4c833d3dd CVE-2022-23219: Buffer overflow in sunrpc clnt_create for "unix" (bug 22542)
547b63bf6d socket: Add the __sockaddr_un_set function
b061e95277 Revert "Fix __minimal_malloc segfaults in __mmap due to stack-protector"
95e206b67f Fix __minimal_malloc segfaults in __mmap due to stack-protector
e26a2db141 gconv: Do not emit spurious NUL character in ISO-2022-JP-3 (bug 28524)
094618d401 x86_64: Remove unneeded static PIE check for undefined weak diagnostic
Also add CVE-2022-23218 and CVE-2022-23219 to ignore list since they are fixed
by the above changes.
(From OE-Core rev: dc1aa22cf7287f574e32920cf9fdd4342d171ed1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:48:51 +00:00
578 changed files with 30440 additions and 4277 deletions
bb.fatal("Invalid BB_PRESSURE_MAX_CPU %s, minimum value is %s."%(self.max_cpu_pressure,lower_limit))
ifself.max_cpu_pressure>upper_limit:
bb.warn("Your build will be largely unregulated since BB_PRESSURE_MAX_CPU is set to %s. It is very unlikely that such high pressure will be experienced."%(self.max_cpu_pressure))
ifself.max_io_pressure:
self.max_io_pressure=float(self.max_io_pressure)
ifself.max_io_pressure<lower_limit:
bb.fatal("Invalid BB_PRESSURE_MAX_IO %s, minimum value is %s."%(self.max_io_pressure,lower_limit))
ifself.max_io_pressure>upper_limit:
bb.warn("Your build will be largely unregulated since BB_PRESSURE_MAX_IO is set to %s. It is very unlikely that such high pressure will be experienced."%(self.max_io_pressure))
bb.fatal("Invalid BB_PRESSURE_MAX_MEMORY %s, minimum value is %s."%(self.max_memory_pressure,lower_limit))
ifself.max_memory_pressure>upper_limit:
bb.warn("Your build will be largely unregulated since BB_PRESSURE_MAX_MEMORY is set to %s. It is very unlikely that such high pressure will be experienced."%(self.max_io_pressure))
# List of setscene tasks which we've covered
self.scenequeue_covered=set()
# List of tasks which are covered (including setscene ones)
return "Your version of tar is older than 1.28 and does not have the support needed to enable reproducible builds. Please install a newer version of tar (you could use the project's buildtools-tarball from our last release or use scripts/install-buildtools).\n"
try:
result = subprocess.check_output(["tar", "--help"], stderr=subprocess.STDOUT).decode('utf-8')
if "--xattrs" not in result:
return "Your tar doesn't support --xattrs, please use GNU tar.\n"
except subprocess.CalledProcessError as e:
return "Unable to execute tar --help, exit code %d\n%s\n" % (e.returncode, e.output)
return None
# We use git parameters and functionality only found in 1.7.8 or later
Copyright 1992, 1993, 1994 Henry Spencer. All rights reserved.
This software is not subject to any license of the American Telephone and Telegraph Company or of the Regents of the University of California.
Permission is granted to anyone to use this software for any purpose on any computer system, and to alter it and redistribute it, subject to the following restrictions:
1. The author is not responsible for the consequences of use of this software, no matter how awful, even if they arise from flaws in it.
2. The origin of this software must not be misrepresented, either by explicit claim or by omission. Since few users ever read sources, credits must appear in the documentation.
3. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software. Since few users ever read sources, credits must appear in the documentation.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.