summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* glib-2.0: Fix CVE-2023-29499 and CVE-2023-32611Soumya Sambu2023-08-264-0/+673
| | | | | | | | | | | GVariant offset table entry size is not checked in is_normal() g_variant_byteswap() can take a long time with some non-normal inputs (From OE-Core rev: 5ed552ce97e22b449c1036f6c58944ab26db2f0d) Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* glib-2.0: Fix CVE-2023-32665Soumya Sambu2023-08-2610-0/+1877
| | | | | | | | | GVariant deserialisation does not match spec for non-normal data (From OE-Core rev: 2c1476bed55dc16a84b0fe163a4abb13e3ac5734) Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* poky.conf: update SANITY_TESTED_DISTROS to match autobuilderMichael Opdenacker2023-08-211-11/+2
| | | | | | | | | | | | From the intersection of the list of allowed workers on https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py and the active workers on https://autobuilder.yoctoproject.org/typhoon/#/workers (From meta-yocto rev: d45be9886a9680b88ecf2f1b9717492a0df9158e) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* dev-manual: wic.rst: Update native tools build commandMichael Opdenacker2023-08-191-1/+1
| | | | | | | | | | | | | | | | Requirements list seems to be outdated. It is not possible to follow instructions for Raw Mode as not all of the native tools are available. All wic dependencies are gathered under wic-tools package. Some commands in the instruction already use wic-tools native sysroot, but this dependency is not specified in the requirements. Update the command for building native tools to use wic-tools instead of the seperate packages. (From yocto-docs rev: 7c03bcb3031c89b5183e5b4f3f0703bc91a014e2) Signed-off-by: Daniel Semkowicz <dse@thaumatec.com> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libxcrypt: update PV to match SRCREVAlexander Kanavin2023-08-191-0/+0
| | | | | | | | | | | | When SRCREV was updated, only libxcrypt-compat was renamed to match, but not libxcrypt proper. (From OE-Core rev: f20a06149cb61264662d1eaf6ea02aefabc0a18b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 98c89359532778a894f50ddea1cc6ab922d6e562) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* rpm2cpio.sh: update to the last 4.x versionAlberto Planas2023-08-191-10/+20
| | | | | | | | | | | | | | | | | openSUSE RPMs are compressing the RPM payload using zstd, that correspond to the magic ID 0x28, 0xb5, 0x2f. This patch update the script to the last version from the rpm project, and add support to this compression format, and extract the cpio payload using the "unzstd" binary. (From OE-Core rev: 9c0d66e693aa7ab8b3f2a3c68764e4ab6159c085) Signed-off-by: Alberto Planas <aplanas@suse.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3aba44a75dd565b192f7328f2a0150a313de3cc1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* scripts/rpm2cpio.sh: Use bzip2 instead of bunzip2Pavel Zhukov2023-08-191-1/+1
| | | | | | | | | | | | | bzip2 is in HOSTTOOLS already and used in few other places already. This fixes bin_package class for RPM packages without adding bunzip2 to HOSTTOOLS. (From OE-Core rev: ed4e4290a73b3fa0df9530a511f992e236e8ae9f) Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit eb3ec7469fff857c819332371ad1d586f43c79c3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* npm.bbclass: avoid DeprecationWarning with new pythonMartin Jansa2023-08-191-1/+1
| | | | | | | | | | | meta/classes-recipe/npm.bbclass:85: DeprecationWarning: invalid escape sequence '\.' '--transform', 's,^\./,package/,', (From OE-Core rev: a7078ff976ba720f25e94ddeddd3f82900b483be) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* linux-firmware: Fix mediatek mt7601u firmware pathMarek Vasut2023-08-191-1/+1
| | | | | | | | | | | | | | The following linux-firmware commit moved the mt7601u firmware blob into a mediatek/ subdirectory, update the path accordingly. 8451c2b1 ("mt76xx: Move the old Mediatek WiFi firmware to mediatek") (From OE-Core rev: 6fa5c4967a7e70192e9233c92534f27ec3e394c8) Fixes: 64603f602d ("linux-firmware: upgrade 20230404 -> 20230515") (From OE-Core rev: 8f041ef841e03996768fb7e0a96a4a4d066eb796) Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* linux-yocto/5.10: update to v5.10.188Bruce Ashfield2023-08-193-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 3602dbc57b55 Linux 5.10.188 edce5fba78cc ftrace: Fix possible warning on checking all pages used in ftrace_process_locs() 115b19f89353 ftrace: Store the order of pages allocated in ftrace_page 1a1e793e021d tracing: Fix memory leak of iter->temp when reading trace_pipe 43e786aa51b8 tracing/histograms: Return an error if we fail to add histogram to hist_vars list e3da59f42820 net: phy: prevent stale pointer dereference in phy_init() e0ac63e194f4 tcp: annotate data-races around fastopenq.max_qlen d01afbfc2f7d tcp: annotate data-races around icsk->icsk_user_timeout 3cf0a0f11d39 tcp: annotate data-races around tp->notsent_lowat 9c786d5faf3a tcp: annotate data-races around rskq_defer_accept f891375eba6e tcp: annotate data-races around tp->linger2 9168bd8f54c5 tcp: annotate data-races around icsk->icsk_syn_retries 7b0084918c5f tcp: Fix data-races around sysctl_tcp_syn(ack)?_retries. cf6c06ac7487 net: Introduce net.ipv4.tcp_migrate_req. a5c30a518764 tcp: annotate data-races around tp->keepalive_probes 93715448f116 tcp: annotate data-races around tp->keepalive_intvl 7b52a78a91fd tcp: annotate data-races around tp->keepalive_time 1d4f2c4be136 tcp: annotate data-races around tp->tcp_tx_delay 30e5460d69e6 netfilter: nf_tables: skip bound chain on rule flush 94c10c0fa51b netfilter: nf_tables: skip bound chain in netns release path 3a91099ecd59 netfilter: nft_set_pipapo: fix improper element removal 9c2df17e3cfc netfilter: nf_tables: can't schedule in nft_chain_validate 533193a23914 netfilter: nf_tables: fix spurious set element insertion failure a6f1988780a7 llc: Don't drop packet from non-root netns. 49e435ca02c7 fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe bc9d4d432f78 Revert "tcp: avoid the lookup process failing to get sk in ehash table" d06fc7b39199 net:ipv6: check return value of pskb_trim() 1a478ad1297a net: ipv4: Use kfree_sensitive instead of kfree 937105d2b0bf tcp: annotate data-races around tcp_rsk(req)->ts_recent 41b00238699a octeontx2-pf: Dont allocate BPIDs for LBK interfaces 5bc78ba88905 security: keys: Modify mismatched function name b92defe4e8ee iavf: Fix out-of-bounds when setting channels on remove a4635f190f33 iavf: Fix use-after-free in free_netdev b37bc3b07eab bridge: Add extack warning when enabling STP in netns. f6d311b95394 net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field() 54aa4c03861e pinctrl: amd: Use amd_pinconf_set() for all config options 7041605e8594 fbdev: imxfb: warn about invalid left/right margin 6e88cc510f27 spi: bcm63xx: fix max prepend length 994c2ceb70ea igb: Fix igb_down hung on surprise removal a956c3af70fa wifi: iwlwifi: mvm: avoid baid size integer overflow 85cf0d5f45cb wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point() 2864cc9a1fd1 devlink: report devlink_port_type_warn source device b6d9a4062c94 bpf: Address KCSAN report on bpf_lru_list 532f8bac6041 wifi: ath11k: fix registration of 6Ghz-only phy without the full channel range 6b0c79aa3307 sched/fair: Don't balance task to its current running CPU 32020fc2a837 arm64: mm: fix VA-range sanity check c71d6934c6ac arm64: set __exception_irq_entry with __irq_entry as a default 71e3f2354072 ACPI: video: Add backlight=native DMI quirk for Lenovo ThinkPad X131e (3371 AMD version) 776a72f612a8 ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3 e090f70ae4cc ACPI: button: Add lid disable DMI quirk for Nextbook Ares 8A ae51eb90bcca btrfs: add xxhash to fast checksum implementations 322377cc909d posix-timers: Ensure timer ID search-loop limit is valid 634daf6b2c81 md/raid10: prevent soft lockup while flush writes b02939413e5c md: fix data corruption for raid456 when reshape restart while grow up 4a2c62c8d67c nbd: Add the maximum limit of allocated index in nbd_dev_add 5f84a34b646f debugobjects: Recheck debug_objects_enabled before reporting 5d5aa5b64887 ext4: correct inline offset when handling xattrs in inode body 48aa53937584 ASoC: fsl_sai: Disable bit clock with transmitter 5f2a12f64347 drm/client: Fix memory leak in drm_client_modeset_probe 105275879a80 drm/client: Fix memory leak in drm_client_target_cloned cf254b4f68e4 can: bcm: Fix UAF in bcm_proc_show() 3e412b6e2b57 regmap: Account for register length in SMBus I/O limits 8b3dd8d23fa0 regmap: Drop initial version of maximum transfer length fixes 4935761daa33 selftests: tc: add 'ct' action kconfig dep 1ab5aa1846a5 selftests: tc: set timeout to 15 minutes dad97c205af2 fuse: revalidate: don't invalidate if interrupted d2c667cc1831 btrfs: fix warning when putting transaction with qgroups enabled after abort 4410f4a938ae perf probe: Add test for regression introduced by switch to die_get_decl_file() 0a6b0ca58685 keys: Fix linking a duplicate key to a keyring's assoc_array a26208e184ae ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx ce2a7e7b504c ALSA: hda/realtek - remove 3k pull low procedure f09c0ac142c5 drm/atomic: Fix potential use-after-free in nonblocking commits 9a085fa9b7d6 RDMA/cma: Ensure rdma_addr_cancel() happens before issuing more requests 73e72a5380a2 net/sched: sch_qfq: reintroduce lmax bound check for MTU 0b1ce92fabdb scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue 5addd62586a9 scsi: qla2xxx: Pointer may be dereferenced e8de73238d5d scsi: qla2xxx: Correct the index of array 921d68446255 scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport() 2bea9c1c9831 scsi: qla2xxx: Fix potential NULL pointer dereference eecb8a491c82 scsi: qla2xxx: Fix buffer overrun bcd773969a87 scsi: qla2xxx: Array index may go out of bound a9fe97fb7b4e scsi: qla2xxx: Wait for io return on terminate rport 6ea2a408d3e3 tracing/probes: Fix not to count error code to total length 7060e5aac6dc tracing: Fix null pointer dereference in tracing_err_log_open() 81fb8a58d4ec xtensa: ISS: fix call to split_if_spec 5e68f1f3a20f ring-buffer: Fix deadloop issue on reading trace_pipe 1e760b2d18bf net: ena: fix shift-out-of-bounds in exponential backoff 1f2a8f083575 samples: ftrace: Save required argument registers in sample trampolines 1576f0df7b4d tracing/histograms: Add histograms to hist_vars if they have referenced variables 07edd294b16a s390/decompressor: fix misaligned symbol build error 5f4a1111ad04 Revert "8250: add support for ASIX devices with a FIFO bug" 7f2f0e6ec561 meson saradc: fix clock divider mask length 790e4e82c57d xhci: Show ZHAOXIN xHCI root hub speed correctly c52e04c58ded xhci: Fix TRB prefetch issue of ZHAOXIN hosts b56a07c2a550 xhci: Fix resume issue of some ZHAOXIN hosts 8e807eadf0b9 ceph: don't let check_caps skip sending responses for revoke msgs c04ed61ebf01 firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool() 1962717c4649 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk a49e5a05121c tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error 08673739ed85 serial: atmel: don't enable IRQs prematurely 4016d36fec63 drm/amd/display: Correct `DMUB_FW_VERSION` macro d89bd2ecd39b drm/rockchip: vop: Leave vblank enabled in self-refresh b9ec9372a47a drm/atomic: Allow vblank-enabled + self-refresh "disable" 23d5004ee7aa fs: dlm: return positive pid value for F_GETLK 5e9aff5b10c2 md/raid0: add discard support for the 'original' layout 8e3c7776405a misc: pci_endpoint_test: Re-init completion for every test cdf9a7e2cdc7 misc: pci_endpoint_test: Free IRQs before removing the device 8c90c466e38e PCI: rockchip: Set address alignment for endpoint mode f1986416cfb4 PCI: rockchip: Use u32 variable to access 32-bit registers 36eb13031227 PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core c417a4c7de1d PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked ddda61419af3 PCI: rockchip: Write PCI Device ID to correct register bec3e0f7f272 PCI: rockchip: Assert PCI Configuration Enable bit after probe 48e11e7c81b9 PCI: qcom: Disable write access to read only registers for IP v2.3.3 aca71b004a66 PCI: Add function 1 DMA alias quirk for Marvell 88SE9235 d3bab5de91c6 PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold 5a89a5cc817e hwrng: imx-rngc - fix the timeout for init and self check 47b7eaae08e8 jfs: jfs_dmap: Validate db_l2nbperpage while mounting 84293af5455b ext4: only update i_reserved_data_blocks on successful block allocation 0a5d12e7107e ext4: fix wrong unit use in ext4_mb_new_blocks 514220246aa8 ext4: get block from bh in ext4_free_blocks for fast commit replay d054422eb609 ext4: fix wrong unit use in ext4_mb_clear_bb be99faf0c4db ext4: Fix reusing stale buffer heads from last failed mounting 8fbe951d6546 MIPS: Loongson: Fix cpu_probe_loongson() again 8c723eef989b erofs: fix compact 4B support for 16k block size 3bd4d316b1a8 misc: fastrpc: Create fastrpc scalar with correct buffer count 3d1d037f2749 powerpc: Fail build if using recordmcount with binutils v2.37 fe1ae1fb507a net: bcmgenet: Ensure MDIO unregistration has clocks enabled 21d5d3eb36bf mtd: rawnand: meson: fix unaligned DMA buffers handling 9ff7fcb3a2ed tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation 59490249c2c0 pinctrl: amd: Only use special debounce behavior for GPIO 0 4f77a87ce919 pinctrl: amd: Detect internal GPIO0 debounce handling 3674b9c056ad pinctrl: amd: Fix mistake in handling clearing pins at startup b39ef5b52f10 f2fs: fix to avoid NULL pointer dereference f2fs_write_end_io() f4ff37981235 nvme-pci: fix DMA direction of unmapping integrity data 8359ee85fd6d net/sched: sch_qfq: account for stab overhead in qfq_enqueue 5bef780e06d2 net/sched: sch_qfq: refactor parsing of netlink parameters 1d7ae38daac7 net/sched: make psched_mtu() RTNL-less safe d5ca61b7642b netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write() 9b69cdb6e534 net/sched: flower: Ensure both minimum and maximum ports are specified 934c85b8ecd1 wifi: airo: avoid uninitialized warning in airo_get_rate() 4511499138ae erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF bbc500ff3f2c riscv, bpf: Fix inconsistent JIT image generation a976adc3bca4 bpf, riscv: Support riscv jit to provide bpf_line_info eb3d1d84f3d6 riscv: bpf: Avoid breaking W^X 7c616437981f riscv: bpf: Move bpf_jit_alloc_exec() and bpf_jit_free_exec() to core 83579a626169 igc: Fix inserting of empty frame for launchtime c48e8ee81ad3 igc: Fix launchtime before start of cycle cdf5b9af92da platform/x86: wmi: Break possible infinite loop when parsing GUID 7157ee0de522 platform/x86: wmi: move variables 4bb2bb69bd9a platform/x86: wmi: use guid_t and guid_equal() 88dfb592d2c1 platform/x86: wmi: remove unnecessary argument 2ad31ce40e81 ipv6/addrconf: fix a potential refcount underflow for idev 8271145523a5 NTB: ntb_tool: Add check for devm_kcalloc 41c6d8ff71cd NTB: ntb_transport: fix possible memory leak while device_register() fails 03cfa0653406 ntb: intel: Fix error handling in intel_ntb_pci_driver_init() 23e09f0a868f NTB: amd: Fix error handling in amd_ntb_pci_driver_init() 0bb2683b0cde ntb: idt: Fix error handling in idt_pci_driver_init() 3e8fed805cf3 udp6: fix udp6_ehashfn() typo d30ddd7ff15d icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev(). bc3ab5d2ab69 net: prevent skb corruption on frag list segmentation cddd04f34124 net: bgmac: postpone turning IRQs off to avoid SoC hangs f8cc4fd99a32 ionic: remove WARN_ON to prevent panic_on_warn 9085429821b4 gve: Set default duplex configuration to full 80e0e8d5f543 net/sched: cls_fw: Fix improper refcount update leads to use-after-free d341f246123e net: mvneta: fix txq_map in case of txq_number==1 c175603d84d3 scsi: qla2xxx: Fix error code in qla2x00_start_sp() b687b7836157 igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings 30c281a77fb1 net/mlx5e: Check for NOT_READY flag state after locking de6e6b07974c net/mlx5e: fix double free in mlx5e_destroy_flow_table 3d4bba694aed igc: Remove delay during TX ring configuration 2a587b71c532 drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags 547ab8ea86c1 drm/panel: simple: Add connector_type for innolux_at043tn24 13c353dc5c2e workqueue: clean up WORK_* constant types, clarify masking fc359e5b45da net: lan743x: Don't sleep in atomic context dc4a25fa7565 io_uring: add reschedule point to handle_tw_list() 297883bbcab1 io_uring: Use io_schedule* in cqring wait bb2f7e4bfe81 block/partition: fix signedness issue for Amiga partitions 4f91de9a81bd rcu-tasks: Simplify trc_read_check_handler() atomic operations 3a64cd01cdd6 rcu-tasks: Mark ->trc_reader_special.b.need_qs data races 058f077d09ba rcu-tasks: Mark ->trc_reader_nesting data races 83be9fd7843c tty: serial: fsl_lpuart: add earlycon for imx8ulp platform 999f3b6104ed wireguard: netlink: send staged packets when setting initial private key 1b7107040596 wireguard: queueing: use saner cpu selection wrapping ea213922249c netfilter: nf_tables: prevent OOB access in nft_byteorder_eval 4ae2e501331a netfilter: nf_tables: do not ignore genmask when looking up chain by id 8289d422f5e4 netfilter: conntrack: Avoid nf_ct_helper_hash uses after free be6478f5cce6 netfilter: nf_tables: fix scheduling-while-atomic splat a07e415be383 netfilter: nf_tables: unbind non-anonymous set if rule construction fails a136b7942ad2 netfilter: nf_tables: drop map element references from preparation phase 21cf0d66ef88 netfilter: nftables: rename set element data activation/deactivation functions 237f37f7b9f0 netfilter: nf_tables: reject unbound chain set before commit phase 0205dd16edeb netfilter: nf_tables: reject unbound anonymous set before commit phase 34d09fe49f59 netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain d53c295c1f43 netfilter: nf_tables: fix chain binding transaction logic 8180fc2fadd4 netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE e546e6ebb19d netfilter: nf_tables: add rescheduling points during loop detection walks 3f51f1157f67 netfilter: nf_tables: use net_generic infra for transaction data 01248dd65155 sh: pgtable-3level: Fix cast to pointer from integer of different size 87410743b548 block: add overflow checks for Amiga partition support f0aec6c403a0 selftests/bpf: Add verifier test for PTR_TO_MEM spill 88bffb61bc03 tpm, tpm_tis: Claim locality in interrupt handler 5bf73af8b382 fanotify: disallow mount/sb marks on kernel internal pseudo fs 5cb46b80ecda fs: no need to check source 66a0647cdc56 leds: trigger: netdev: Recheck NETDEV_LED_MODE_LINKUP on dev rename 5d6fbb624576 ARM: orion5x: fix d2net gpio initialization 9b0f7940e212 ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path 1dac8584be0c ASoC: mediatek: mt8173: Fix irq error path 6819bb0b8552 btrfs: fix race when deleting quota root from the dirty cow roots list a3fbd156bd2c btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile 59efb8671105 fs: Lock moved directories c5b5e72df13d fs: Establish locking order for unrelated directories 4b03f503b730 Revert "f2fs: fix potential corruption when moving a directory" 2b563acd2dfa ext4: Remove ext4 locking of moved directory 5e7d18a52c88 fs: avoid empty option when generating legacy mount string 988a5d791156 jffs2: reduce stack usage in jffs2_build_xattr_subsystem() 5fada3751137 shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs 79bef379d55a autofs: use flexible array in ioctl structure 8bf91a8d4871 integrity: Fix possible multiple allocation in integrity_inode_get() 9658a03f80b2 um: Use HOST_DIR for mrproper a4405f6ee033 bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent db9439cef0b5 bcache: Remove unnecessary NULL point check in node allocations bcb295778afd bcache: fixup btree_cache_wait list damage dc3287206a32 mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used. 191628e2d96a mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS 02c8c2b5f680 mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M 6f9708e5c110 mmc: core: disable TRIM on Kingston EMMC04G-M627 28e649dc9947 io_uring: wait interruptibly for request completions on exit 8482ac2e5a26 NFSD: add encoding of op_recall flag for write delegation 8d36cb6d1aed i2c: qup: Add missing unwind goto in qup_i2c_probe() e41a8e461561 ALSA: jack: Fix mutex call in snd_jack_report() e71714ad24d8 i2c: xiic: Don't try to handle more interrupt events after error b6eefa7a27a6 i2c: xiic: Defer xiic_wakeup() and __xiic_start_xfer() in xiic_process() 023bd9dc410c apparmor: fix missing error check for rhashtable_insert_fast d1c946552af2 sh: dma: Fix DMA channel offset calculation 37750131d2a5 s390/qeth: Fix vipa deletion 9f5548e4214d net: dsa: tag_sja1105: fix MAC DA patching from meta frames 2758fb81bbc9 pptp: Fix fib lookup calls. 0b08ff091f31 net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX 2434a6715f59 xsk: Honor SO_BINDTODEVICE on bind b785ba0acc82 tcp: annotate data races in __tcp_oow_rate_limited() 73f512bedfd4 net: bridge: keep ports without IFF_UNICAST_FLT in BR_PROMISC mode 9a9d468fdcca powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y f970b05c9b76 octeontx2-af: Fix mapping for NIX block from CGX connection 5ded9e8aa53e f2fs: fix error path handling in truncate_dnode() 358145cc3797 mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0 32b9c8f7892c spi: bcm-qspi: return error if neither hif_mspi nor mspi is available 1f3643f9cfca net: dsa: vsc73xx: fix MTU configuration c377451012ce Add MODULE_FIRMWARE() for FIRMWARE_TG357766. 6d2243ab783b sctp: fix potential deadlock on &net->sctp.addr_wq_lock 620993d5ee5b media: cec: i2c: ch7322: also select REGMAP f733a7bfe8f8 rtc: st-lpc: Release some resources in st_rtc_probe() in case of error aa70e5dd7268 pwm: sysfs: Do not apply state to already disabled PWMs 8a0413be8a1e pwm: imx-tpm: force 'real_period' to be zero in suspend e4845cdea71e phy: tegra: xusb: check return value of devm_kzalloc() 442e1a98bd02 mfd: stmpe: Only disable the regulators if they are enabled 724448d6021d KVM: s390: vsie: fix the length of APCB bitmap c5e2f6f2bb66 mfd: stmfx: Nullify stmfx->vdd in case of error 30ead8b9bf0d mfd: stmfx: Fix error path in stmfx_chip_init 4d2405147385 test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation 5b31ac1d6d88 serial: 8250_omap: Use force_suspend and resume for system suspend 8e00ae25a371 Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection" a81e1f22e17f mfd: intel-lpss: Add missing check for platform_get_resource 1dc07edc01d2 usb: dwc3-meson-g12a: Fix an error handling path in dwc3_meson_g12a_probe() 7ade555ac58d usb: common: usb-conn-gpio: Set last role to unknown before initial detection 0e9e127835c8 usb: dwc3: qcom: Fix an error handling path in dwc3_qcom_probe() a6171452085b usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove() 96898fb476d1 KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes 4e8e838fce5e media: atomisp: gmin_platform: fix out_len in gmin_get_config_dsm_var() b754ea60e690 media: venus: helpers: Fix ALIGN() of non power of two 02b22660231d mfd: rt5033: Drop rt5033-battery sub-device e52019c09535 coresight: Fix loss of connection info when a module is unloaded 018eddcb6bef kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR a59f64a83516 serial: 8250: lock port for UART_IER access in omap8250_irq() 8d65d0a2bfd5 serial: 8250: lock port for stop_rx() in omap8250_irq() d66ddb61fa23 usb: hide unused usbfs_notify_suspend/resume functions 56901de56335 usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe() 6538e5d9f7eb extcon: Fix kernel doc of property capability fields to avoid warnings dac7d7efcb54 extcon: Fix kernel doc of property fields to avoid warnings 2788a3553f74 usb: gadget: u_serial: Add null pointer check in gserial_suspend 74f8606ddfa4 usb: dwc3: qcom: Fix potential memory leak bdce16c1e650 clk: qcom: ipq6018: fix networking resets ee3f494cfc3e clk: qcom: reset: support resetting multiple bits 35fd1a213fa4 clk: qcom: reset: Allow specifying custom reset delay d87ef4e857b7 media: usb: siano: Fix warning due to null work_func_t function pointer 300388887cbb media: videodev2.h: Fix struct v4l2_input tuner index comment 5f3f4aa673a0 media: usb: Check az6007_read() return value 32809afb6063 clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks bb81ca33ace3 serial: 8250: omap: Fix freeing of resources on failed register ed68e8e22ee1 sh: j2: Use ioremap() to translate device tree address into kernel memory a7890637b3b9 w1: fix loop in w1_fini() a27aeae714cd w1: w1_therm: fix locking behavior in convert_t cd5ec3ee52ce SUNRPC: Fix UAF in svc_tcp_listen_data_ready() e4a9b3333e67 block: change all __u32 annotations to __be32 in affs_hardblocks.h 54da6c4c143f block: fix signed int overflow in Amiga partition support b6a107c52073 phy: tegra: xusb: Clear the driver reference in usb-phy dev fac7be49f1e6 usb: dwc3: gadget: Propagate core init errors to UDC during pullup 8b0a55b59244 USB: serial: option: add LARA-R6 01B PIDs 810e401b34c4 io_uring: ensure IOPOLL locks around deferred work cd5837564ff5 hwrng: st - keep clock enabled while hwrng is registered 557e528255d5 dax: Introduce alloc_dev_dax_id() 94a85474f5e3 dax: Fix dax_mapping_release() use after free 7c9f5a14d93b NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION bab0bf567797 ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard cb0cdca5c979 modpost: fix off by one in is_executable_section() f0350516b9d2 crypto: marvell/cesa - Fix type mismatch warning b54069445591 modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24} 88978ef7fdef modpost: fix section mismatch message for R_ARM_ABS32 31195ee328e9 crypto: nx - fix build warnings when DEBUG_FS is not enabled 77471e4912d3 hwrng: virtio - Fix race on data_avail and actual data e8f51401d642 hwrng: virtio - always add a pending request ffc5ce9c272f hwrng: virtio - don't waste entropy d13ea82bfe15 hwrng: virtio - don't wait on cleanup 5f23dae018c6 hwrng: virtio - add an internal buffer aba192bb31df powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary 7afd0de0cc14 powerpc/book3s64/mm: Fix DirectMap stats in /proc/meminfo 7289ca7a5170 mm: rename p4d_page_vaddr to p4d_pgtable and make it return pud_t * bfad11018806 mm: rename pud_page_vaddr to pud_pgtable and make it return pmd_t * 07c19c0ad4b0 powerpc/powernv/sriov: perform null check on iov before dereferencing iov f3c7b95c9991 pinctrl: at91-pio4: check return value of devm_kasprintf() b7a38fc3f384 perf dwarf-aux: Fix off-by-one in die_get_varname() 75a3cb1e2317 perf script: Fix allocation of evsel->priv related to per-event dump files 647c6d35ccfe perf script: Fixup 'struct evsel_script' method prefix 958acb479ef2 kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures 5533f0eb0a29 pinctrl: cherryview: Return correct value if pin in push-pull mode 4b63caf86eda perf bench: Add missing setlocale() call to allow usage of %'d style formatting 345ee8521655 perf bench: Use unbuffered output when pipe/tee'ing to a file f0d2310f6b46 PCI: Add pci_clear_master() stub for non-CONFIG_PCI b65fe59b2d62 PCI: ftpci100: Release the clock resources cb389e8edf64 PCI: pciehp: Cancel bringup sequence if card is not present b9895a4c95f3 scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe() 7badf4d6f49a PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free d27238fc83b9 pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors ac64019e4d4b scsi: qedf: Fix NULL dereference in error handling 8e9907e9219f PCI: cadence: Fix Gen2 Link Retraining process 07be8e60f27f ASoC: imx-audmix: check return value of devm_kasprintf() 714ba10a6dd1 ovl: update of dentry revalidate flags after copy up 47f4d875aa54 drivers: meson: secure-pwrc: always enable DMA domain 5f149d053898 clk: ti: clkctrl: check return value of kasprintf() fd9324fa4d81 clk: keystone: sci-clk: check return value of kasprintf() 0b754f9cfd66 clk: si5341: free unused memory on probe failure dc8d0178d506 clk: si5341: check return value of {devm_}kasprintf() dc3eef648055 clk: si5341: return error if one synth clock registration fails 040113980081 clk: si5341: Add sysfs properties to allow checking/resetting device faults fc813d05739e clk: si5341: Allow different output VDD_SEL values f64fcd3acf1f clk: cdce925: check return value of kasprintf() 866d4340c6c9 clk: vc5: check memory returned by kasprintf() c67a55f7cc8d drm/msm/dp: Free resources after unregistering them c3b63584d8c2 drm/msm/dpu: do not enable color-management if DSPPs are not available f923a582217b ALSA: ac97: Fix possible NULL dereference in snd_ac97_mixer 404e9f741acf clk: tegra: tegra124-emc: Fix potential memory leak cb047c13bbf9 clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe() 294321349bd3 clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe e749bc5a9054 RDMA/bnxt_re: Avoid calling wake_up threads from spin_lock context 9341501e2f7a RDMA/bnxt_re: wraparound mbox producer index 968e27fd037e amdgpu: validate offset_in_bo of drm_amdgpu_gem_va e070120e6d68 drm/radeon: fix possible division-by-zero errors a77b80825bf1 drm/amdkfd: Fix potential deallocation of previously deallocated memory. 245aa7c0233e ARM: dts: BCM5301X: fix duplex-full => full-duplex 7e2edb84fe7c hwmon: (pmbus/adm1275) Fix problems with temperature monitoring on ADM1272 580e9b987b89 hwmon: (adm1275) Allow setting sample averaging a3c5d148b78b hwmon: (adm1275) enable adm1272 temperature reporting 4610efa404be hwmon: (gsc-hwmon) fix fan pwm temperature scaling 6e12311dcedd ARM: dts: stm32: fix i2s endpoint format property for stm32mp15xx-dkx badeb7fe2450 ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2 17cd31487dc3 arm64: dts: ti: k3-j7200: Fix physical address of pin ce6e0434e502 fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe() 34e1e2f3cf5a arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1 6817914c67b7 ARM: dts: iwg20d-q7-common: Fix backlight pwm specifier 220f86cc19dc RDMA/hns: Fix hns_roce_table_get return value 9196f44239cf RDMA/hns: Clean the hardware related code for HEM aa495b927f9c RDMA/hns: Use refcount_t APIs for HEM de1049dd18bd RDMA/hns: Fix coding style issues cc1b04b699e6 RDMA: Remove uverbs_ex_cmd_mask values that are linked to functions 7dcb9ea3ee4b IB/hfi1: Fix wrong mmu_node used for user SDMA packet after invalidate 6cf8f3d690bb IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors 2d38866a99ba IB/hfi1: Use bitmap_zalloc() when applicable 42b6865bf58c soc/fsl/qe: fix usb.c build errors 9c14d1406662 ARM: dts: meson8: correct uart_B and uart_C clock references 684a2f180e46 ASoC: es8316: Do not set rate constraints for unsupported MCLKs d883e16c7f35 ASoC: es8316: Increment max value for ALC Capture Target Volume control 105af71974ea memory: brcmstb_dpfe: fix testing array offset after use ddc74d6ea3dc ARM: dts: stm32: Shorten the AV96 HDMI sound card name 392ee3cc995d arm64: dts: qcom: apq8096: fix fixed regulator name property c85a076215a9 ARM: omap2: fix missing tick_broadcast() prototype aec18da74194 ARM: ep93xx: fix missing-prototype warnings b574cd7e4dfc drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H 02d8b008ffee arm64: dts: qcom: msm8996: correct camss unit address 6d103b1cc133 arm64: dts: qcom: msm8994: correct SPMI unit address 160ac75a5a82 arm64: dts: qcom: msm8916: correct camss unit address e8b131d21638 ARM: dts: gta04: Move model property out of pinctrl node b0b180a712ee RDMA/bnxt_re: Fix to remove an unnecessary log 446092f136d3 RDMA/bnxt_re: Remove a redundant check inside bnxt_re_update_gid b54b26ac50a2 RDMA/bnxt_re: Use unique names while registering interrupts 11bd3882c3a6 RDMA/bnxt_re: Fix to remove unnecessary return labels 7080ef46ad3d RDMA/bnxt_re: Disable/kill tasklet only if it is enabled 2a9895df8088 arm64: dts: microchip: sparx5: do not use PSCI on reference boards 726fdf47c148 bus: ti-sysc: Fix dispc quirk masking bool variables 8ee24ddf45f0 ARM: dts: stm32: Move ethernet MAC EEPROM from SoM to carrier boards 617a4da09d77 drm/panel: sharp-ls043t1le01: adjust mode settings 3c87c98225be drm: sun4i_tcon: use devm_clk_get_enabled in `sun4i_tcon_init_clocks` 39305592dc97 Input: adxl34x - do not hardcode interrupt trigger type e629efc6d602 ARM: dts: meson8b: correct uart_B and uart_C clock references bd46ade71497 ARM: dts: BCM5301X: Drop "clock-names" from the SPI node 20ecae1af578 drm/vram-helper: fix function names in vram helper doc 46a34e145955 drm/bridge: tc358768: fix THS_TRAILCNT computation f2f7d0a4a22a drm/bridge: tc358768: fix TXTAGOCNT computation 8e47328fe089 drm/bridge: tc358768: fix THS_ZEROCNT computation 6b9450723bab drm/bridge: tc358768: fix TCLK_TRAILCNT computation 33abcfbb17b0 drm/bridge: tc358768: Add atomic_get_input_bus_fmts() implementation 43b2d11ccffb drm/bridge: tc358768: fix TCLK_ZEROCNT computation 46b741718989 drm/bridge: tc358768: fix PLL target frequency 825b00c68589 drm/bridge: tc358768: fix PLL parameters computation 1b4f23fdf27f drm/bridge: tc358768: always enable HS video mode 4e0fd4f54bea Input: drv260x - sleep between polling GO bit 2780d5844855 drm/amd/display: Explicitly specify update type per plane info change b2213fc60b83 radeon: avoid double free in ci_dpm_init() 472a615e66b9 netlink: Add __sock_i_ino() for __netlink_diag_dump(). d10b38036977 ipvlan: Fix return value of ipvlan_queue_xmit() 5215c0096839 netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value. 9bdcda7abaf2 netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one 36e07e8acfb9 lib/ts_bm: reset initial match offset for every block of text 96f2c6f272ec net: nfc: Fix use-after-free caused by nfc_llcp_find_local a3a1550c4d2e nfc: llcp: simplify llcp_sock_connect() error paths cb1aa7cc562c sfc: fix crash when reading stats while NIC is resetting 6ccfec84f025 net: axienet: Move reset before 64-bit DMA detection bccc7ace12e6 gtp: Fix use-after-free in __gtp_encap_destroy(). 4d9cd4b330d8 selftests: rtnetlink: remove netdevsim device after ipsec offload test 44db85c6e1a1 netlink: do not hard code device address lenth in fdb dumps cde7b90e0539 netlink: fix potential deadlock in netlink_set_err() 0c9e48428f6b net: stmmac: fix double serdes powerdown 1ba91ffa1a0e igc: Fix race condition in PTP tx code 660d4e73efb0 wifi: ath9k: convert msecs to jiffies where needed 150ca0768b50 wifi: cfg80211: rewrite merging of inherited elements 4e321c18ef92 wifi: iwlwifi: pull from TXQs with softirqs disabled 2715617c2aad rtnetlink: extend RTEXT_FILTER_SKIP_STATS to IFLA_VF_INFO 581401cd3cf9 wifi: ath9k: Fix possible stall on ath9k_txq_list_has_key() 6b22c2c649a1 memstick r592: make memstick_debug_get_tpc_name() static 6cb477e7226b kexec: fix a memory leak in crash_shrink_memory() fdb07728d8ff watchdog/perf: more properly prevent false positives with turbo modes ac23d7f41426 watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config 22da8363e35f wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown b2aeb97fd470 wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled 1044187e7249 wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes c10c6ea9b3a2 wifi: ray_cs: Fix an error handling path in ray_probe() 8825991838fc wifi: ray_cs: Drop useless status variable in parse_addr() a66e3fd3801a wifi: ray_cs: Utilize strnlen() in parse_addr() 18d71562f70d wifi: wl3501_cs: Fix an error handling path in wl3501_probe() b6f793de619b wl3501_cs: use eth_hw_addr_set() cbd44a9e1cf1 net: create netdev->dev_addr assignment helpers 13cf0e3894d1 wl3501_cs: Fix misspelling and provide missing documentation 5512db9bd404 wifi: atmel: Fix an error handling path in atmel_probe() 86ebbcbdc7b1 wifi: orinoco: Fix an error handling path in orinoco_cs_probe() fb7d78feb55a wifi: orinoco: Fix an error handling path in spectrum_cs_probe() 8782dc2504da regulator: core: Streamline debugfs operations 92bcd8494126 regulator: core: Fix more error checking for debugfs_create_dir() 78f390aa0eb5 bpftool: JIT limited misreported as negative value on aarch64 107e849f3c6a nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect() 0be9de2ea01e nfc: constify several pointers to u8, char and sk_buff ef7fe1b5c4fb libbpf: fix offsetof() and container_of() to work with CO-RE b190ced50a5e sctp: add bpf_bypass_getsockopt proto callback 08f61a349135 bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVE c62e2ac02e28 wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan() 3ae910a375b6 wifi: wilc1000: fix for absent RSN capabilities WFA testcase 795ef550307c spi: spi-geni-qcom: Correct CS_TOGGLE bit in SPI_TRANS_CFG bd3e880dce27 samples/bpf: Fix buffer overflow in tcp_basertt 250efb4d3f5b wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx 0f3f41b47533 wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation cbd0f41a5362 igc: Enable and fix RX hash usage by netstack a14cb307267b pstore/ram: Add check for kstrdup 628709a05708 ima: Fix build warnings 16ec59c03ad2 evm: Complete description of evm_inode_setattr() cba85e1cb79f x86/mm: Fix __swp_entry_to_pte() for Xen PV guests 365f546de584 perf/ibs: Fix interface via core pmu events 604d6a5ff718 rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale d414e24d1509 rcu/rcuscale: Move rcu_scale_*() after kfree_scale_cleanup() ecc5e6dbc269 rcuscale: Move shutdown from wait_event() to wait_event_idle() b62c816bdb5e rcuscale: Always log error message 8cd9917c13a7 rcuscale: Console output claims too few grace periods 456f783b83f8 thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe() bacc49b2d561 cpufreq: intel_pstate: Fix energy_performance_preference for passive a8bfe527556b ARM: 9303/1: kprobes: avoid missing-declaration warnings a50b75c13d37 powercap: RAPL: Fix CONFIG_IOSF_MBI dependency 23f6efd22644 perf/arm-cmn: Fix DTC reset b69868d50df4 PM: domains: fix integer overflow issues in genpd_parse_state() ebdff0986513 clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe a2f83a4c7cb5 tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode(). f1be1ed32daa posix-timers: Prevent RT livelock in itimer_delete() b315d57da456 irqchip/jcore-aic: Fix missing allocation of IRQ descriptors 495cee0e1417 irqchip/jcore-aic: Kill use of irq_create_strict_mappings() 9d1cccdad080 md/raid10: fix io loss while replacement replace rdev 2990e2ece18d md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request b1d8f38310bc md/raid10: fix wrong setting of max_corr_read_errors b3a0bc4a01fa md/raid10: fix overflow of md/safe_mode_delay 39fa14e824ac md/raid10: check slab-out-of-bounds in md_bitmap_get_counter 8563b58a4360 blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_cost 3db97cc79b82 x86/resctrl: Only show tasks' pid in current pid namespace 1a82005f3f63 fs: pipe: reveal missing function protoypes f70407e8e027 nubus: Partially revert proc_create_single_data() conversion 0336c8f07223 drm/amdgpu: Validate VM ioctl flags. c484b65f93e0 scripts/tags.sh: Resolve gtags empty index generation 649104c834ba Revert "thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe" 02a4c4e225f4 HID: logitech-hidpp: add HIDPP_QUIRK_DELAYED_INIT for the T651. 9598a647ecc8 HID: wacom: Use ktime_t rather than int when dealing with timestamps 2bf70b88cc35 fbdev: imsttfb: Fix use after free bug in imsttfb_probe 5b813734a0d2 video: imsttfb: check for ioremap() failures 02fbf62df99f can: isotp: isotp_sendmsg(): fix return error fix on TX path 8667f7113107 x86/smp: Use dedicated cache-line for mwait_play_dead() 1d0fe3fb5d4b media: atomisp: fix "variable dereferenced before check 'asd'" (From OE-Core rev: a0694f3cb9dffff43c00929b4acef877797573ff) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* linux-yocto/5.10: update to v5.10.187Bruce Ashfield2023-08-193-19/+19
| | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 140d69b4e41d Linux 5.10.187 93df00f9d48d x86/cpu/amd: Add a Zenbleed fix 191b8f9b0e37 x86/cpu/amd: Move the errata checking functionality up 113ce5ed59fc x86/microcode/AMD: Load late on both threads too (From OE-Core rev: 50f8192a95315db169beb38d36d5d0a974f3ac4d) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* linux-yocto/5.10: update to v5.10.186Bruce Ashfield2023-08-193-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 381518b4a916 Linux 5.10.186 29917a20be43 bpf/btf: Accept function names that contain dots 8b7454dd984a netfilter: nf_tables: hold mutex on netns pre_exit path 9e8d927cfa56 netfilter: nf_tables: validate registers coming from userspace. f19a4818a92a netfilter: nftables: statify nft_parse_register() 42997367cb67 i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle 5a257f355366 x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys d8efc77f23c8 drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl 485fe165084b drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl 0b0fdc43b2ab drm/exynos: vidi: fix a wrong error return 32134e7a0f21 ARM: dts: Fix erroneous ADS touchscreen polarities 79cf5657be38 s390/purgatory: disable branch profiling a819de62ec2b ASoC: nau8824: Add quirk to active-high jack-detect fa08753c2d04 ASoC: simple-card: Add missing of_node_put() in case of error 9138ed7e2b43 spi: lpspi: disable lpspi module irq in DMA mode 97b6c4c1d1a8 s390/cio: unregister device when the only path is gone fe949c1662c9 Input: soc_button_array - add invalid acpi_index DMI quirk handling eaf1fa945206 usb: gadget: udc: fix NULL dereference in remove() 7d1a0733a55e nfcsim.c: Fix error checking for debugfs_create_dir dc357c0787e8 media: cec: core: don't set last_initiator if tx in progress c13573032b7b arm64: Add missing Set/Way CMO encodings 49a2b18f4972 HID: wacom: Add error check to wacom_parse_and_register() 2b43198de03f scsi: target: iscsi: Prevent login threads from racing between each other 75aa3f255c88 gpiolib: Fix GPIO chip IRQ initialization restriction 304802e5b038 gpio: Allow per-parent interrupt data bc75968b494a sch_netem: acquire qdisc lock in netem_change() caddeadd0d03 Revert "net: phy: dp83867: perform soft reset and retain established link" 5702afa2c331 netfilter: nfnetlink_osf: fix module autoload 3d5c09c782a3 netfilter: nf_tables: disallow element updates of bound anonymous sets 2a90da8e0dd5 netfilter: nft_set_pipapo: .walk does not deal with generations 792bfe26a655 be2net: Extend xmit workaround to BE3 chip cebb5cee0984 net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch 7a1ae0000509 ipvs: align inner_mac_header for encapsulation f2547bc71663 mmc: usdhi60rol0: fix deferred probing 4a99e35c5a62 mmc: sh_mmcif: fix deferred probing c2278de1382b mmc: sdhci-acpi: fix deferred probing f6e176ef894a mmc: owl: fix deferred probing f29d0ab0e6bd mmc: omap_hsmmc: fix deferred probing 65d9318e3d56 mmc: omap: fix deferred probing 9ad3c21fb66d mmc: mvsdio: fix deferred probing 9b0417fd402f mmc: mtk-sd: fix deferred probing ced13bc50ef0 net: qca_spi: Avoid high load if QCA7000 is not available b1b9c81e29d2 xfrm: Linearize the skb after offloading if needed. 31cd0d4a4470 selftests: net: fcnal-test: check if FIPS mode is enabled 2af75a36af8d selftests: net: vrf-xfrm-tests: change authentication and encryption algos 07fbbddae5af xfrm: fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets 562800447f8b bpf: Fix verifier id tracking of scalars on spill 3b0a96db670b bpf: track immediate values written to stack by BPF_ST instruction bff7824db681 xfrm: Ensure policies always checked on XFRM-I input path 01af67ed83d0 xfrm: interface: rename xfrm_interface.c to xfrm_interface_core.c cdaa6e1105c0 xfrm: Treat already-verified secpath entries as optional 47be2931c4e5 ieee802154: hwsim: Fix possible memory leaks 051d6421337b memfd: check for non-NULL file_seals in memfd_create() syscall 1ac6e9ee8428 sysctl: move some boundary constants from sysctl.c to sysctl_vals e1aa3fe3e282 mm/pagealloc: sysctl: change watermark_scale_factor max limit to 30% ad10dd211370 x86/mm: Avoid using set_pgd() outside of real PGD pages 4de2093674f2 nilfs2: prevent general protection fault in nilfs_clear_dirty_page() 3845c38417bd io_uring/net: disable partial retries for recvmsg with cmsg 826ee9fa3647 io_uring/net: clear msg_controllen on partial sendmsg retry 5fdea4468f57 io_uring/net: save msghdr->msg_control for retries 5a7101d8faab writeback: fix dereferencing NULL mapping->host on writeback_page_template f00cd687c2cd regmap: spi-avmm: Fix regmap_bus max_raw_write bc35f93e4bd7 regulator: pca9450: Fix LDO3OUT and LDO4OUT MASK 5938470f9c80 ip_tunnels: allow VXLAN/GENEVE to inherit TOS/TTL from VLAN 2e454015ca27 mmc: mmci: stm32: fix max busy timeout calculation 1be288fd3b0d mmc: meson-gx: remove redundant mmc_request_done() call from irq context 1b97630cd9a9 mmc: sdhci-msm: Disable broken 64-bit DMA on MSM8916 63608437a83d cgroup: Do not corrupt task iteration when rebinding subsystem 988d06f5eb32 PCI: hv: Fix a race condition in hv_irq_unmask() that can cause panic 8f2d5ebdfef7 PCI: hv: Remove the useless hv_pcichild_state from struct hv_pci_dev 8b7484676994 Revert "PCI: hv: Fix a timing issue which causes kdump to fail occasionally" 79ceb758e3db PCI: hv: Fix a race condition bug in hv_pci_query_relations() 8b8c9812c048 Drivers: hv: vmbus: Fix vmbus_wait_for_unload() to scan present CPUs b435298349ab nilfs2: fix buffer corruption due to concurrent device reads 524a2c0bcf99 selftests: mptcp: join: skip check if MIB counter not supported e508d9cef887 selftests: mptcp: pm nl: remove hardcoded default limits 4c4ca42418a5 selftests: mptcp: lib: skip if not below kernel version 6d20cfbc578d selftests: mptcp: lib: skip if missing symbol 3cc7935d3221 tick/common: Align tick period during sched_timer setup db4ab0c97a4d tracing: Add tracing_reset_all_online_cpus_unlocked() function 9ced73049016 net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs b1b42fff8ae1 drm/amd/display: fix the system hang while disable PSR (From OE-Core rev: 591afa6b33a409df5fcd92d66069f39495bc526f) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* dmidecode: fixup for CVE-2023-30630Adrian Freihofer2023-08-196-191/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | The previous CVE-2023-30630_1.patch picked only the patch "dmidecode: Write the whole dump file at once" d8cfbc808f. But there was a refactoring which does not allow to cherry-pick it fast forward. Resolving this conflict was not correctly done. The patch was: + u32 len; + u8 *table; ... - if (!(opt.flags & FLAG_QUIET)) - pr_comment("Writing %d bytes to %s.", crafted[0x05], - opt.dumpfile); - write_dump(0, crafted[0x05], crafted, opt.dumpfile, 1); + dmi_table_dump(crafted, crafted[0x05], table, len); It looks like the variables len and table have been added without initialization. Now this problem is solved by applying the previous refactoring as well. Patch 1 gets replaced by Patch 1a and Patch 1b. Patch 2..4 are rebased without changes. (From OE-Core rev: ea069a94a213cc153528aebfc387f30215566cc7) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* curl: Backport fix CVE-2023-32001Ashish Sharma2023-08-192-0/+40
| | | | | | | (From OE-Core rev: 10df7553d1107438408f680ac28a2daf87d4163e) Signed-off-by: Ashish Sharma <asharma@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: fix CVE-2023-3180Archana Polampalli2023-08-192-0/+51
| | | | | | | | | | | | | | | | | | | A flaw was found in the QEMU virtual crypto device while handling data encryption/decryption requests in virtio_crypto_handle_sym_req. There is no check for the value of `src_len` and `dst_len` in virtio_crypto_sym_op_helper, potentially leading to a heap buffer overflow when the two values differ. References: https://nvd.nist.gov/vuln/detail/CVE-2023-3180 Upstream patches: https://gitlab.com/qemu-project/qemu/-/commit/49f1e02bac166821c712534aaa775f50e1afe17f (From OE-Core rev: de421cab92c49ba0f068eae9d6b458a0368fcd03) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* procps: patch CVE-2023-4016Peter Marko2023-08-192-0/+86
| | | | | | | | | | | | | | | | | | | | Backport patch from upstream master. There were three changes needed to apply the patch: * move NEWS change to start of the file * change file location from src/ps/ to ps/ * change xmalloc/xcmalloc to malloc/cmalloc The x*malloc functions were introduced in commit in future version. https://gitlab.com/procps-ng/procps/-/commit/584028dbe513127ef68c55aa631480454bcc26bf They call the original function plus additionally throw error when out of memory. https://gitlab.com/procps-ng/procps/-/blob/v4.0.3/local/xalloc.h?ref_type=tags So this replacement is correct in context of our version. (From OE-Core rev: 71d0683d625c09d4db5e0473a0b15a266aa787f4) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* ghostscript: fix CVE-2023-38559Archana Polampalli2023-08-192-0/+33
| | | | | | | | | | | | | | | | | A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript. This issue may allow a local attacker to cause a denial of service via outputting a crafted PDF file for a DEVN device with gs. Reference: https://nvd.nist.gov/vuln/detail/CVE-2023-38559 Upstream patch: https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d81b82c70bc1fb9991bb95f1201abb5dea55f57f (From OE-Core rev: e77c0b35969ae690b390ffae682fd6552ff8aff8) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: fix CVE-2023-3354 VNC: improper I/O watch removal in TLS handshake can ↵Vivek Kumbhar2023-08-192-0/+88
| | | | | | | | | lead to remote unauthenticated denial of service (From OE-Core rev: 42859fe600e5dddba3c51fa8d1e680721b73e5dc) Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: fix CVE-2020-14394Yogita Urade2023-08-192-0/+80
| | | | | | | | | | | | QEMU: infinite loop in xhci_ring_chain_length() in hw/usb/hcd-xhci.c Reference: https://gitlab.com/qemu-project/qemu/-/issues/646 (From OE-Core rev: 057f4f77ac2e83f99c916dceb4cbbcc8de448ad4) Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3-certifi: fix CVE-2023-37920Narpat Mali2023-08-192-1/+304
| | | | | | | | | | | | | | | | | | | Certifi is a curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. Certifi prior to version 2023.07.22 recognizes "e-Tugra" root certificates. e-Tugra's root certificates were subject to an investigation prompted by reporting of security issues in their systems. Certifi 2023.07.22 removes root certificates from "e-Tugra" from the root store. References: https://nvd.nist.gov/vuln/detail/CVE-2023-37920 https://github.com/certifi/python-certifi/security/advisories/GHSA-xqr8-7jwr-rhp7 (From OE-Core rev: 98abbe3394638c6ce795b34247a9e49120e4ffba) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* build-appliance-image: Update to kirkstone head revisionyocto-4.0.12kirkstone-4.0.12Steve Sakoman2023-08-071-1/+1
| | | | | | (From OE-Core rev: e1a604db8d2cf8782038b4016cc2e2052467333b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* poky.conf: bump version for 4.0.12Steve Sakoman2023-08-071-1/+1
| | | | | | (From meta-yocto rev: 464204a5e52a3f3ae5d7ec9e36c143ca06fed3eb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gcc: fix runpath errors in cc1 binarySteve Sakoman2023-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The runpath in the cc1 binary is: Library runpath: [$ORIGIN/../../../recipe-sysroot-native/usr/lib:$ORIGIN/../../../recipe-sysroot-native/lib] This does not match the actual location of the libraries, which would require: Library runpath: [$ORIGIN/../../recipe-sysroot-native/usr/lib:$ORIGIN/../../recipe-sysroot-native/lib] Prior to gcc 9.1 the recipe set B explicity with: B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" and this build directory structure matches the runpath in cc1, so there is no issue. This line was commented out in versions 9.1 through 11.3. The upgrade to 12.1 once again uncommented this line. As a result the runpath is incorrect in version 9.1 through 11.3 and cc1 defaults to using host libraries. This patch restores setting B as done in master and versions prior to 9.1 (From OE-Core rev: b6f4b3d43a399c2b446754de56ebea35657e13de) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* openssl: Upgrade 3.0.9 -> 3.0.10Peter Marko2023-08-071-1/+1
| | | | | | | | | | | | | https://github.com/openssl/openssl/blob/openssl-3.0/NEWS.md#major-changes-between-openssl-309-and-openssl-3010-1-aug-2023 Major changes between OpenSSL 3.0.9 and OpenSSL 3.0.10 [1 Aug 2023] * Fix excessive time spent checking DH q parameter value (CVE-2023-3817) * Fix DH_check() excessive time with over sized modulus (CVE-2023-3446) * Do not ignore empty associated data entries with AES-SIV (CVE-2023-2975) (From OE-Core rev: 94ce10791ce10aa30d3a3bdef53f9b2f3c1b331a) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gcc : upgrade to v11.4Sundeep KOKKONDA2023-08-0716-97/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc stable version upgraded from v11.3 to v11.4 For changes in v11.4 see - https://gcc.gnu.org/gcc-11/changes.html Below is the bug fix list for v11.4 https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&order=short_desc%2Cbug_status%2Cpriority%2Cassigned_to%2Cbug_id&query_format=advanced&resolution=FIXED&target_milestone=11.4 There are a total 115 bugs are fixed in this release, below is the list of bugs fixed excluding the regression fixes. ID Product Comp Resolution Summary▲ 108199 gcc tree-opt FIXE Bitfields, unions and SRA and storage_order_attribute 107801 gcc libstdc+ FIXE Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc) 108265 gcc libstdc+ FIXE chrono::hh_mm_ss can't be constructed from unsigned durations 104443 gcc libstdc+ FIXE common_iterator<I, S>::operator-> is not correctly implemented 98056 gcc c++ FIXE coroutines: ICE tree check: expected record_type or union_type or qual_union_type, have array_type since r11-2183-g0f66b8486cea8668 107061 gcc target FIXE ENCODEKEY128 clobbers xmm4-xmm6 105433 gcc testsuit FIXE FAIL: gcc.target/i386/iamcu/test_3_element_struct_and_unions.c 105095 gcc testsuit FIXE gcc.dg/vect/complex/fast-math-complex-* tests are not executed 100474 gcc c++ FIXE ICE: in diagnose_trait_expr, at cp/constraint.cc:3706 105854 gcc target FIXE ICE: in extract_constrain_insn, at recog.cc:2692 (insn does not satisfy its constraints: sse2_lshrv1ti3) 104462 gcc target FIXE ICE: in extract_constrain_insn_cached, at recog.cc:2682 with -mavx512fp16 -mno-xsave 106045 gcc libgomp FIXE Incorrect testcase in libgomp.c/target-31.c at -O0 56189 gcc c++ FIXE Infinite recursion with noexcept when instantiating function template 100295 gcc c++ FIXE Internal compiler error from generic lambda capturing parameter pack and expanding it in if constexpr 100613 gcc jit FIXE libgccjit should produce dylib on macOS 104875 gcc libstdc+ FIXE libstdc++-v3/src/c++11/codecvt.cc:312:24: warning: left shift count >= width of type 107471 gcc libstdc+ FIXE mismatching constraints in common_iterator 105284 gcc libstdc+ FIXE missing syncstream and spanstream forward decl. in <iosfwd> 98821 gcc c++ FIXE modules : c++tools configures with CC but code fragments assume CXX. 109846 gcc fortran FIXE Pointer-valued function reference rejected as actual argument 101324 gcc target FIXE powerpc64le: hashst appears before mflr at -O1 or higher 102479 gcc c++ FIXE segfault when deducing class template arguments for tuple with libc++-14 105128 gcc libstdc+ FIXE source_location compile error for latest clang 15 106183 gcc libstdc+ FIXE std::atomic::wait might fail to be unblocked by notify_one/all on platforms without platform_wait() 102994 gcc libstdc+ FIXE std::atomic<ptr>::wait is not marked const 105324 gcc libstdc+ FIXE std::from_chars() assertion at floating_from_chars.cc:78 when parsing 1.11111111.... 105375 gcc libstdc+ FIXE std::packaged_task has no deduction guide. 104602 gcc libstdc+ FIXE std::source_location::current uses cast from void* 106808 gcc libstdc+ FIXE std::string_view range concept requirement causes compile error with Boost.Filesystem 105725 gcc c++ FIXE [ICE] segfault with `-Wmismatched-tags` 105920 gcc target FIXE __builtin_cpu_supports ("f16c") should check AVX (From OE-Core rev: 4fd7e5951c42336729f12cde71450ec298f2078b) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* cve-update-nvd2-native: always pass str for json.loads()Yuta Hayama2023-08-071-1/+1
| | | | | | | | | | | | | Currently json.loads() accepts one of the types str, bytes, or bytearray as an argument, but bytes and bytearrays have only been allowed since python 3.6. The version of Python3 provided by default on Ubuntu 16.04 and Debian 9.x is 3.5, so make raw_data type str to work correctly on these build hosts. (From OE-Core rev: e67d659847afe648de1b1eca2d19c4f6375dd12c) Signed-off-by: Yuta Hayama <hayama@lineo.co.jp> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* go: fix CVE-2023-24531Sakib Sajal2023-08-073-1/+302
| | | | | | | | | Backport required patches from go1.21 to fix CVE-2023-24531. (From OE-Core rev: 6d892c52bd5806507a05e8b6f749c54bbd9e9da6) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* go: fix CVE-2023-24536Sakib Sajal2023-08-074-0/+676
| | | | | | | | | Backport required patches to fix CVE-2023-24536. (From OE-Core rev: a774c895f4a425979cef8e05e8dd17c2dcb67654) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: fix CVE-2023-2861Archana Polampalli2023-08-072-0/+173
| | | | | | | | | | | | | | | 9pfs: prevent opening special files References: https://nvd.nist.gov/vuln/detail/CVE-2023-2861 Upstream patches: https://github.com/qemu/qemu/commit/10fad73a2bf1c76c8aa9d6322755e5f877d83ce5 (From OE-Core rev: 9bd4ddeb4b5efc65b0514d50d6991211271924c1) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: fix CVE-2023-3255Archana Polampalli2023-08-072-0/+65
| | | | | | | | | | | | | | | VNC: infinite loop in inflate_buffer() leads to denial of service References: https://nvd.nist.gov/vuln/detail/CVE-2023-3255 Upstream patches: https://gitlab.com/qemu-project/qemu/-/commit/d921fea338c1059a27ce7b75309d7a2e485f710b (From OE-Core rev: 52711b1392ed0c5cbe4ddf70a94b21be2f4e6e58) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: fix CVE-2023-3301Archana Polampalli2023-08-072-0/+61
| | | | | | | | | | | | | | | | qemu: hotplug/hotunplug mlx vdpa device to the occupied addr port, then qemu core dump occurs after shutdown guest References: https://nvd.nist.gov/vuln/detail/CVE-2023-3301 Upstream patches: https://gitlab.com/qemu-project/qemu/-/commit/a0d7215e339b61c7d7a7b3fcf754954d80d93eb8 (From OE-Core rev: f549ff6db018f66a80fc65987675e8bb6afcd002) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libarchive: ignore CVE-2023-30571Peter Marko2023-08-071-0/+3
| | | | | | | | | | | | | | | | | | | | | This issue was reported and discusses under [1] which is linked in NVD CVE report. It was already documented that some parts or libarchive are thread safe and some not. [2] was now merged to document that also reported function is not thread safe. So this CVE *now* reports thread race condition for non-thread-safe function. And as such the CVE report is now invalid. The issue is still not closed for 2 reasons: * better document what is and what is not thread safe * request to public if someone could make these functions thread safe This should however not invalidate above statment about ignoring this CVE. [1] https://github.com/libarchive/libarchive/issues/1876 [2] https://github.com/libarchive/libarchive/pull/1875 (From OE-Core rev: d5e7971e12cdc8748be91b4e6408b42fa86b2f15) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libpcre2: patch CVE-2022-41409Peter Marko2023-08-072-0/+76
| | | | | | | | | | Backport commit mentioned in NVD DB links. https://github.com/PCRE2Project/pcre2/commit/94e1c001761373b7d9450768aa15d04c25547a35 (From OE-Core rev: 410cdbc70cfba709ec5bef508e772f52514ba28a) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* bitbake: bitbake-layers: initialize tinfoil before registering command line ↵Alexander Kanavin2023-08-041-2/+2
| | | | | | | | | | | | | | | | | arguments Plugins may want to use it (e.g. the layers-setup plugin that would want to discover writer sub-plugins with it), and so it makes sense to make tinfoil available a bit eariler. (Bitbake rev: 41b6684489d0261753344956042be2cc4adb0159) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2f6c7523a622f59ddf84a1a196927492bc5fa7a2) Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* ref-manual: document image-specific variant of INCOMPATIBLE_LICENSEMichael Opdenacker2023-08-022-8/+19
| | | | | | | | | | | | This has been around without being properly documented since 2019 (!!!), and is nowadays the preferred method for enforcing license restrictions, especially since meta-gplv2 is officially obsolete. (From yocto-docs rev: 4dfef81ac6164764c6541e39a9fef81d49227096) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* util-linux: add alternative links for ipcs,ipcrmBenjamin Bouvier2023-08-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | When enabling ipcs and ipcrm configuration into busybox, both tools are built and then deployed during do_rootfs. These operation lead to below issue (similar behavior happens for ipcs): 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} (). update-alternatives: Error: not linking .../build/tmp/work/board-poky-linux/board-image/1.0-r0/rootfs/usr/bin/ipcrm to /bin/busybox since .../build/tmp/work/board-poky-linux/board-image/1.0-r0/rootfs/usr/bin/ipcrm exists and is not a link Binaries enter in conflict with same named util-linux utilities during do_rootfs step. Adding ALTERNATIVE_LINK_NAME for both tools fix the issue. (From OE-Core rev: dc2e760591c5ed3c999222f235484829426c71a7) Signed-off-by: Benjamin Bouvier <benjamin.bouvier@ekinops.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e4d60408b869c9cc2ccff794d4e271d993ec8a97) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* openssl: use a glob on the PERLEXTERNAL to track updates on the pathJose Quaresma2023-08-021-1/+1
| | | | | | | | | | | | | | The Text-Template was updated from 1.46 to 1.56 | ERROR: openssl-native-3.1.1-r0 do_configure: PERLEXTERNAL '/build/tmp/work/x86_64-linux/openssl-native/3.1.1-r0/openssl-3.1.1/external/perl/Text-Template-1.46/lib' not found! (From OE-Core rev: b39e394771e4fa4c9250e11fafe5ef2157089422) 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 b9a7739b01e31d0cc8358d99255e3e1b02a0a1a8) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* openssl: add PERLEXTERNAL path to test its existenceJose Quaresma2023-08-021-1/+3
| | | | | | | | | | | | | When upstream change is better to fail or removing the PERL5LIB if they are not need anymore. (From OE-Core rev: 14905c6bfdaba3e2e31eaee6c02e20bf7b6669a7) 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 337ac1159644678508990927923ef8af30f34cd7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* oeqa/selftest/devtool: add unit test for "devtool add -b"Yoann Congal2023-08-021-0/+32
| | | | | | | | | | | | Fix [Yocto #15085] Co-authored-by: Fawzi KHABER <fawzi.khaber@smile.fr> (From OE-Core rev: ea1592b49c6b45495fe9243339fc4dc9cea9ef12) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d5eedf8ca689ccb433c2f5d0b324378f966dd627) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure caseRoss Burton2023-08-021-2/+2
| | | | | | | | | | | | | | str.format() doesn't use % notation, update the formatting to work. assertTrue() is a member of self not a global, and assertTrue(True) will always pass. Change this to just self.fail() as this is the failure case. (From OE-Core rev: 05c8af81438d43fd83495cb165c75f43778fea41) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 017f3a0b1265c1a3b69c20bdb56bbf446111977e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* meson.bbclass: Point to llvm-config from native sysrootKhem Raj2023-08-021-0/+1
| | | | | | | | | | | | | | | Default search in meson would grok /usr/bin for llvm-config and if found will use it, which might add wrong paths into cflags/ldflags, since we depend on llvm-native when building gallium support ( thats when llvm-config is effective), its better to point llvm-config into native sysroot so it can add correct paths into compiler/linker cmdline (From OE-Core rev: 8e6b616066ba0f7f452f929dc7c412e620da9101) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cc73360b9728812ed6123e30559b77d8e89cc21c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3: fix missing comma in get_module_deps3.pyRoss Burton2023-08-021-1/+1
| | | | | | | | | | | | | | | Wes Tarro <wes.tarro@azuresummit.com> noticed a missing comma in a preplace() call, add it. That said, calling replace() with one argument results in a TypeError, so this is obviously dead code. (From OE-Core rev: 3a79a210665efae1af6d68e9e923a739c82d800e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9b2e2c8d809e7ca34451ec9702b029a00dfb410b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* mdadm: skip running known broken ptestsOvidiu Panait2023-08-024-1/+585
| | | | | | | | | | | | | | | | | | | Upstream marked some testcases as "KNOWN BROKEN" and introduced the "--skip-broken" flag to ignore them when running the testsuite (commits [1] and [2]). Backport these two commits to get rid of the last remaining ptest failures. Also, add the "--skip-broken" option to the run-ptest script. [1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=28520bf114b3 [2] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=daa86d663476 (From OE-Core rev: 62daa4ca064da1c014b9c21798bc55ff3e7656e6) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 62148b978b26b5fcd1a2fa3a0ff82ef814f4e7ec) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* mdadm: fix segfaults when running ptestsOvidiu Panait2023-08-025-0/+341
| | | | | | | | | | | | | | | | | | | | | | | Currently, some segfaults are reported when running ptest: mdadm[12333]: segfault at 0 ip 00007fe855924060 sp 00007ffc4d6caf88 error 4 in libc.so.6[7f) Code: d2 0f 84 b7 0f 00 00 48 83 fa 01 0f 84 b9 0f 00 00 49 89 d3 89 f1 89 f8 48 83 e1 3f 4f Backport the following upstream commits to fix them: 679bd9508a30 ("DDF: Cleanup validate_geometry_ddf_container()") 2b93288a5650 ("DDF: Fix NULL pointer dereference in validate_geometry_ddf()") 548e9b916f86 ("mdadm/Grow: Fix use after close bug by closing after fork") 9ae62977b51d ("monitor: Avoid segfault when calling NULL get_bad_blocks") The fixes are part of the "Bug fixes and testing improvments" patchset [1]. [1] https://www.spinics.net/lists/raid/msg70621.html (From OE-Core rev: 4ea6acbf25ad1b3e910f01d136b53c6353daf0c5) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9585009e3e505b361cd32b14e0e85e77e7822878) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* mdadm: fix 07revert-inplace ptestOvidiu Panait2023-08-021-1/+1
| | | | | | | | | | | | | | | | | Testcase 07revert-inplace fails if strace is not installed: ... strace -o /tmp/str ./mdadm -A /dev/md0 --update=revert-reshape /dev/<...> tests/07revert-inplace: line 40: strace: command not found Add strace to mdadm-ptest RDEPENDS to make sure the testcase passes even with a core-image-minimal build. (From OE-Core rev: 1df8d9d45bb4ff01e30d9ec9ffd0fb822d5f91e9) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7d9386663ac52ab69812867a0823c6055aedbc18) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* mdadm: fix util-linux ptest dependencyOvidiu Panait2023-08-021-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Trying to run mdadm-ptest in a core-image-minimal build will result in: root@qemux86-64:~# ptest-runner mdadm START: ptest-runner BEGIN: /usr/lib/mdadm/ptest which: no lsblk in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin) lsblk command not found! DURATION: 0 END: /usr/lib/mdadm/ptest 2023-06-28T10:14 STOP: ptest-runner TOTAL: 1 FAIL: 0 Remove util-linux from RRECOMMENDS and only add util-linux-lsblk and util-linux-losetup to RDEPENDS. (From OE-Core rev: 898b9add68d9c30c7c90285e659b128289313668) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3004f7589974c135cc82630d980ea281b97ecd83) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* uboot-extlinux-config.bbclass: fix old override syntax in commentQuentin Schulz2023-08-021-4/+4
| | | | | | | | | | | | | | | | | The comment specifies how to use the variables but uses the older and now unsupported override syntax. Let's update to match the newer syntax. Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: 0a381eea4d50ff1c6e7c7d0d4df62eb581454b48) (From OE-Core rev: 0e9a70ee3c8f78db746d3cb627c6b212e1b4e4e4) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bb64f3fed29b9532e6ddc9a2ba0283d373622d87) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* systemd-systemctl: fix errors in instance name expansionYuta Hayama2023-08-021-1/+1
| | | | | | | | | | | | | | If the instance name indicated by %i begins with a number, the meaning of the replacement string "\\1{}".format(instance) is ambiguous. To indicate group number 1 regardless of the instance name, use "\g<1>". (From OE-Core rev: 392f60b0aa775ce95c3494ae87551e7954c9925b) Signed-off-by: Yuta Hayama <hayama@lineo.co.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d18b939fb08b37380ce95934da38e6522392621c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* recipetool: Fix inherit in created -native* recipesYoann Congal2023-08-021-0/+4
| | | | | | | | | | | | native and nativesdk classes are special and must be inherited last : put them at the end of the gathered classes to inherit. (From OE-Core rev: 2c92780236b25205af0dcf75de2d2ede14132152) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a6614fd800cbe791264aeb102d379ba79bd145c2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* kernel: add missing path to search for debug filesAndrej Valek2023-08-021-0/+1
| | | | | | | | | | | | | | Since explicit debug package creation via ${KERNEL_PACKAGE_NAME}-dbg has been added to kernel, it has to cover all PACKAGE_DEBUG_SPLIT_STYLE options. For ex. when the variable "debug-file-directory" package search path has to be set explicitly, otherwise it will not find any files. (From OE-Core rev: 9adbda8450c57f49edf85e3b3433304e8ac8267e) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9c39da147683dcaaa244b3ddc4531c4408ad5c9e) Signed-off-by: Steve Sakoman <steve@sakoman.com>