1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00
Commit Graph

75914 Commits

Author SHA1 Message Date
Hitendra Prajapati 9ed096d15f sudo: fix for CVE-2026-35535
Pick patch from [1] also mentioned at Debian report in [2]

[1] https://github.com/sudo-project/sudo/commit/3e474c2f201484be83d994ae10a4e20e8c81bb69
[2] https://security-tracker.debian.org/tracker/CVE-2026-35535
[3] https://nvd.nist.gov/vuln/detail/CVE-2026-35535

(From OE-Core rev: ddf8325a5b791dfcb0fdf129274deea8ad7eb90a)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Hitendra Prajapati 27c18f15c0 vim: fix for CVE-2026-39881
Pick patch from [1] also mentioned at Debian report in [2]

[1] https://github.com/vim/vim/commit/7ab76a86048ed492374ac6b19c6cb52f89a365b4
[2] https://security-tracker.debian.org/tracker/CVE-2026-39881

More details: https://nvd.nist.gov/vuln/detail/CVE-2026-39881

(From OE-Core rev: e92dd3b16cd75d9c765f0ff4bc84fbdda8c3dca6)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Hitendra Prajapati 5681810cc4 libarchive: fix for CVE-2026-4426
Pick patch from [1] also mentioned at Debian report in [2]

[1] https://github.com/libarchive/libarchive/commit/c3cb1c568ebf9e8f7f478cfc0356ae54e99712b0
[2] https://security-tracker.debian.org/tracker/CVE-2026-4426

More details: https://nvd.nist.gov/vuln/detail/CVE-2026-4426

(From OE-Core rev: e4e78640b75acb474f82ca9e24be9a1d5b06740b)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Xiangyu Chen 4ba20a90ff grub: update search parameter
[ Upstream commit 42b530581f7246b3143ee50e3c6f981dcbb1dc74 ]

Grub would report an error message in boot stage as below:

   "error: no such device: ((hd0,gpt1)/EFI/BOOT)/EFI/BOOT/grub.cfg"

Consequently, the root variable is not set, and the intended protection
against cross-device configuration loading (the purpose of the original 2014 commit)
is lost.

The most robust fix is to use the --hint parameter.
This separates the search target from the device hint, avoiding
fragile string concatenation and supporting both prefixed and
non-prefixed $cmdpath formats.

Fixes: 5ce73b6055ac ("grub: add cmdpath to grub configuration file")
(From OE-Core rev: 2f509e353e2fc04923fc742312c81ed69b419643)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Changqing Li 95cfdc68bf libsoup: fix CVE-2025-32049
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/390

(From OE-Core rev: 3c2f2b6f7af2bb743655859b64faae4786080cb9)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Changqing Li ad166a6de2 libsoup: fix CVE-2025-14523
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/work_items/472

(From OE-Core rev: 277297409dbf0bdb17653419e2d5e4a5ee8f33d5)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Hitendra Prajapati 16d874ad97 systemd: fix for CVE-2026-40226
Backport commit[0] and [1] which fixes this vulnerability as mentioned in Debian report [2].

[0] https://github.com/systemd/systemd/commit/773fd3b6e72e6c83cbb1cfc1cb20f3793db8649a
[1] https://github.com/systemd/systemd/commit/bfa0a842822c4f79da9d47f8a773fd128d8f8a0a
[2] https://security-tracker.debian.org/tracker/CVE-2026-40226

More details : https://nvd.nist.gov/vuln/detail/CVE-2026-40226

(From OE-Core rev: 84dc87ab504b8b357e7703a911c4f131aa971fe7)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Hitendra Prajapati f036698406 systemd: fix for CVE-2026-40225
Backport commit[0] and [1] which fixes this vulnerability as mentioned in Debian report [2].

[0] https://github.com/systemd/systemd/commit/03bb697b8df0339c37f4b845025320b261aeb7cc
[1] https://github.com/systemd/systemd/commit/5887e72ff87d3a66a4c3fa91897fbec1545f4d3d
[2] https://security-tracker.debian.org/tracker/CVE-2026-40225

More details : https://nvd.nist.gov/vuln/detail/CVE-2026-40225

(From OE-Core rev: fc2d33dbb2d5180b77c10865156db342f9d582da)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Martin Jansa e9575f38d7 ghostscript: fix build with gcc-15 on host
(From OE-Core rev: 0769c461e545073772aecc34e81fa309ade68dcb)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

(From OE-Core rev: 02e282f6417274a93c6f01978bf33e2d171297b0)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Fabien Thomas 03667e9860 ghostscript: Pin to C17 std
The code defines a custom 'bool' type (as an 'int'), which is incompatible
with C23 in which bool is a keyword, and trying to use <stdbool.h> fails
because 'int' and 'bool' are used interchangeably in the code.

Add the flag to CC variable, since CFLAGS is used by both c and c++ compilers
and clang++ is less forgiving when C compiler only option is used on its
cmdline so it complains about -std=gnu17 and bails out.

(From OE-Core rev: 0647201fb4729be3b10b3da2b19645c59147b40a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

(From OE-Core rev: 49657089ef215824f8f79a81deb7baf4f27d0030)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Vijay Anusuri ef08dc5cb1 gdk-pixbuf: Fix CVE-2026-5201
Pick patch according to [1]

[1] https://security-tracker.debian.org/tracker/CVE-2026-5201
[2] https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/304

(From OE-Core rev: fb718f1ed26ec9a88c82e5310fc0e3dccaeaacec)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Vijay Anusuri 70f5fb82d2 avahi: Fix CVE-2026-34933
Pick patch according to [1]

[1] https://security-tracker.debian.org/tracker/CVE-2026-34933
[2] https://github.com/avahi/avahi/pull/891
[3] https://nvd.nist.gov/vuln/detail/CVE-2026-34933

(From OE-Core rev: a556622a3964957491e7e7e56ed695f1bcfffc02)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Himanshu Jadon 0ceef92802 apt: Add CVE_PRODUCT to support product name
- Keep both the older deprecated debian:apt alias and the active
  debian:advanced_package_tool identity in CVE_PRODUCT.
- This preserves completeness and avoids missing CVEs in case older
  aliases are still used in NVD records.

(From OE-Core rev: 28d3ab81b9386bda16e196ed2934967843413186)

Signed-off-by: Himanshu Jadon <hjadon@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c777220ee5740b800f4128da79c24f7e42c7b88)
Signed-off-by: Himanshu Jadon <hjadon@cisco.com>
[FT: Rebase onto scarthgap-next]
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:34 +01:00
Hongxu Jia c18ef2583d ovmf: fix CVE-2024-38798
According to [1],

  EDK2 contains a vulnerability in BIOS where an attacker may cause “Exposure of
  Sensitive Information to an Unauthorized Actor” by local access. Successful
  exploitation of this vulnerability will lead to possible information disclosure
  or escalation of privilege and impact Confidentiality.

Backport a patch [2] from upstream to fix CVE-2024-38798

[1] https://nvd.nist.gov/vuln/detail/CVE-2024-38798
[2] https://github.com/tianocore/edk2/commit/0cad130cb4885961da201bb9b08424b3fd3d2249

(From OE-Core rev: ed444adf325d3a985ed8f9ae0a009ecbaf67c3fd)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Hongxu Jia c71fdaca9c ovmf: fix CVE-2025-2296
According to [1], EDK2 contains a vulnerability in BIOS where an attacker may
cause “ Improper Input Validation” by local access. Successful exploitation of
this vulnerability could alter control flow in unexpected ways, potentially
allowing arbitrary command execution and impacting Confidentiality, Integrity,
and Availability.

Backport patches from upstream [2] to fix CVE-2025-2296

Note: backport 0001-AmdSev-Halt-on-failed-blob-allocation.patch to apply
the CVE patches without confliction

[1] https://nvd.nist.gov/vuln/detail/CVE-2025-2296
[2] https://github.com/tianocore/edk2/pull/10628

(From OE-Core rev: 09be6658833e7ac4143eeb26bdaf67c6c94e260a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Hongxu Jia e3072d229a u-boot: fix CVE-2025-24857
According to [1], Improper access control for volatile memory containing boot
code in Universal Boot Loader (U-Boot) before 2017.11 and Qualcomm chips IPQ4019,
IPQ5018, IPQ5322, IPQ6018, IPQ8064, IPQ8074, and IPQ9574 could allow an attacker
to execute arbitrary code.

Backport a patch [2] from upstream to fix CVE-2025-24857

[1] https://nvd.nist.gov/vuln/detail/CVE-2025-24857
[2] https://source.denx.de/u-boot/u-boot/-/commit/87d85139a96a39429120cca838e739408ef971a2

(From OE-Core rev: 6f69c878896b536f5f7b16c566d420e188c82c7f)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Hitendra Prajapati 957ae42637 rsync: fix for CVE-2026-41035
Pick patch from [1] also mentioned at Debian report in [2]

[1] https://github.com/RsyncProject/rsync/commit/bb0a8118c2d2ab01140bac5e4e327e5e1ef90c9c
[2] https://security-tracker.debian.org/tracker/CVE-2026-41035
[3] https://nvd.nist.gov/vuln/detail/CVE-2026-41035

(From OE-Core rev: b2b51c4f8521ac4fa490e96257142826f2dfda25)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Bruce Ashfield 535e57ab6d linux-yocto/6.6: update to v6.6.127
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    7a137e9bfa0e Linux 6.6.127
    f478b8239d65 net: tunnel: make skb_vlan_inet_prepare() return drop reasons
    35ac888bf8ac USB: serial: option: add Telit FN920C04 RNDIS compositions
    d4534a7f6c92 f2fs: fix to avoid mapping wrong physical block for swapfile
    20a8bad29d18 f2fs: fix zoned block device information initialization
    acc2c97fc000 f2fs: fix to avoid UAF in f2fs_write_end_io()
    75e19da068ad f2fs: fix IS_CHECKPOINTED flag inconsistency issue caused by concurrent atomic commit and checkpoint writes
    eebd72cff518 f2fs: fix out-of-bounds access in sysfs attribute read/write
    81193503af1f f2fs: fix to add gc count stat in f2fs_gc_range
    0634e8d65099 fbdev: smscufx: properly copy ioctl memory to kernelspace
    78daf5984d96 fbdev: rivafb: fix divide error in nv3_arb()
    f42a2d49c465 LoongArch: Add writecombine support for DMW-based ioremap()
    6e5eccdef67e cpuset: Fix missing adaptation for cpuset_is_populated
    ff37dd18ce77 mm/hugetlb: fix excessive IPI broadcasts when unsharing PMD tables using mmu_gather
    2eeca9383efe mm/hugetlb: fix two comments related to huge_pmd_unshare()
    51dcf459845f mm/hugetlb: fix hugetlb_pmd_shared()
    8c9a1b071051 mm/hugetlb: fix copy_hugetlb_page_range() to use ->pt_share_count
    168ee1549fa2 Revert "wireguard: device: enable threaded NAPI"
    78e706f9b197 LoongArch: Rework KASAN initialization for PTW-enabled systems
    f507fc06c7cd LoongArch: Add WriteCombine shadow mapping in KASAN
    16f137fb74c1 gpiolib: acpi: Fix gpio count with string references
    61e007657bf7 ASoC: fsl_xcvr: fix missing lock in fsl_xcvr_mode_put()
    f49d2497da14 ASoC: cs42l43: Correct handling of 3-pole jack load detection
    329bb274a3a9 platform/x86: panasonic-laptop: Fix sysfs group leak in error path
    e8f5d1306a3a platform/x86/amd/pmc: Add quirk for MECHREVO Wujie 15X Pro
    c3876edb0184 ASoC: amd: yc: Add quirk for HP 200 G2a 16
    d7d7b93aca64 ASoC: Intel: sof_es8336: Add DMI quirk for Huawei BOD-WXX9
    9cf4b9b8ad09 platform/x86: classmate-laptop: Add missing NULL pointer checks
    e120bae4c56d drm/tegra: hdmi: sor: Fix error: variable ‘j’ set but not used
    cbd9931e6456 romfs: check sb_set_blocksize() return value
    79100c3bc0c4 ASoC: cs35l45: Corrects ASP_TX5 DAPM widget channel
    6834804ad484 ALSA: hda/realtek: Add quirk for Inspur S14-G1
    b204c5ec24a2 gpio: sprd: Change sprd_gpio lock to raw_spin_lock
    4cfb1aed4753 ASoC: amd: yc: Add ASUS ExpertBook PM1503CDA to quirks list
    2accd79be906 ALSA: hda/realtek: Fix headset mic for TongFang X6AR55xU
    b19838402873 bus: fsl-mc: fix use-after-free in driver_override_show()
    3118a9c6875b bus: fsl-mc: Replace snprintf and sprintf with sysfs_emit in sysfs show functions
    8cb905eca739 PCI: endpoint: Avoid creating sub-groups asynchronously
    68c9fdb01af8 PCI: endpoint: Remove unused field in struct pci_epf_group
    74e7458537cd scsi: qla2xxx: Fix bsg_done() causing double free

(From OE-Core rev: a1a509419ca18a193eff978c97aac5d86a06e6e7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Bruce Ashfield 9524eaf69d linux-yocto/6.6: update to v6.6.126
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    56865d9b7074c Linux 6.6.126
    673dafb9a8634 Revert "driver core: enforce device_lock for driver_match_device()"
    ae462074fde3b Linux 6.6.125
    1c04c3a4de8d4 gpio: omap: do not register driver in probe()
    455e882192c98 mptcp: fix race in mptcp_pm_nl_flush_addrs_doit()
    2b890bc3a5774 selftests: mptcp: pm: ensure unknown flags are ignored
    8df235f768cea spi: cadence-quadspi: Implement refcount to handle unbind during busy
    665e570600733 vsock/test: verify socket options after setting them
    a9e757473561d netfilter: nft_set_pipapo: prevent overflow in lookup table allocation
    1c4f72fa96993 netfilter: nf_tables: missing objects with no memcg accounting
    30405b23b4d5e nfsd: don't ignore the return code of svc_proc_register()
    57770faaff8ee net: sfp: Fix quirk for Ubiquiti U-Fiber Instant SFP module
    dccf7bc011d0e scsi: qla2xxx: Query FW again before proceeding with login
    aed16d37696f4 scsi: qla2xxx: Free sp in error path to fix system crash
    528b2f1027edf scsi: qla2xxx: Delay module unload while fabric scan in progress
    ccbfcaa4b88e5 scsi: qla2xxx: Allow recovery for tape devices
    949010291bb94 scsi: qla2xxx: Validate sp before freeing associated memory
    71dee092903ad wifi: rtw88: Fix alignment fault in rtw_core_enable_beacon()
    df1e20796c9f3 nilfs2: Fix potential block overflow that cause system hang
    dd1f6c9206385 crypto: virtio - Remove duplicated virtqueue_kick in virtio_crypto_skcipher_crypt_req
    d6f0d58680868 crypto: virtio - Add spinlock protection with virtqueue notification
    6edf8df4bd29f crypto: omap - Allocate OMAP_CRYPTO_FORCE_COPY scatterlists correctly
    7dbeeafcb6e50 crypto: octeontx - Fix length check to avoid truncation in ucode_load_store
    6dda9f0699054 Bluetooth: btusb: Add USB ID 7392:e611 for Edimax EW-7611UXB
    adc1796eced46 driver core: enforce device_lock for driver_match_device()
    787769c8cc504 smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()
    5accdc5b7f28a ksmbd: fix infinite loop caused by next_smb2_rcv_hdr_off reset in error paths
    4386f6af8aaed smb: client: split cached_fid bitfields to avoid shared-byte RMW races

(From OE-Core rev: d5ac249edb6ca794fc72cef09a27c65ffed8879c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Bruce Ashfield 8676d6c57f linux-yocto/6.6: update to v6.6.124
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    1b4ef5214f17e Linux 6.6.124
    23897ece6167c ALSA: hda/realtek: Really fix headset mic for TongFang X6AR55xU.
    d0a6e43d7cccc spi: tegra114: Preserve SPI mode bits in def_command1_reg
    126a09f4fcd2b spi: tegra: Fix a memory leak in tegra_slink_probe()
    dfc6367898077 spi: tegra210-quad: Protect curr_xfer clearing in tegra_qspi_non_combined_seq_xfer
    712cde8d91688 spi: tegra210-quad: Protect curr_xfer in tegra_qspi_combined_seq_xfer
    53eba2a4a4666 spi: tegra210-quad: Protect curr_xfer assignment in tegra_qspi_setup_transfer_one
    f9cafa63039b8 spi: tegra210-quad: Move curr_xfer read inside spinlock
    552e3d8a8bef2 spi: tegra210-quad: Return IRQ_HANDLED when timeout already processed transfer
    a168f2002b2b4 gve: Correct ethtool rx_dropped calculation
    d4a81b8ec6398 btrfs: fix racy bitfield write in btrfs_clear_space_info_full()
    0e0120214b5dc ASoC: amd: fix memory leak in acp3x pdm dma ops
    50b7c7a255858 ipv6: Fix ECMP sibling count mismatch when clearing RTF_ADDRCONF
    42c574c1504aa netfilter: nf_tables: fix inverted genmask check in nft_map_catchall_activate()
    8c934bafd10b9 hwmon: (occ) Mark occ_init_attribute() as __printf
    3f89a4ef6505a drm/mgag200: fix mgag200_bmc_stop_scanout()
    9d40a85138568 net: gro: fix outer network offset
    00a7512ff7195 net: ethernet: adi: adin1110: Check return value of devm_gpiod_get_optional() in adin1110_check_spi()
    17d340e81c4b5 tipc: use kfree_sensitive() for session key material
    b2c9edad3620f net: don't touch dev->stats in BPF redirect paths
    11ba9f0dc8651 macvlan: fix error recovery in macvlan_common_newlink()
    f89e33c9c37f0 dpaa2-switch: add bounds check for if_id in IRQ handler
    3bf519e39b51c net: liquidio: Fix off-by-one error in VF setup_nic_devices() cleanup
    a0d2389c8cdc1 net: liquidio: Fix off-by-one error in PF setup_nic_devices() cleanup
    c0ed6c77ec340 net: liquidio: Initialize netdev pointer before queue setup
    b97415c4362f7 dpaa2-switch: prevent ZERO_SIZE_PTR dereference when num_ifs is zero
    13336a6239b9d net/sched: cls_u32: use skb_header_pointer_careful()
    fcbda653b5a88 net: add skb_header_pointer_careful() helper
    3a6d6b332f929 smb/client: fix memory leak in smb2_open_file()
    f54886e18b856 platform/x86: hp-bioscfg: Skip empty attribute names
    9423990550a2a platform/x86: intel_telemetry: Fix PSS event register mask
    ca9ff71c15bc8 platform/x86: toshiba_haps: Fix memory leaks in add/remove routines
    bae0565fa975d wifi: mac80211: don't increment crypto_tx_tailroom_needed_cnt twice
    ccd1843b63f64 wifi: mac80211: correctly check if CSA is active
    73b487d44bf4f scsi: target: iscsi: Fix use-after-free in iscsit_dec_conn_usage_count()
    29fe5ff92433a ALSA: hda/realtek: Fix headset mic for TongFang X6AR55xU
    11ebafffce31e scsi: target: iscsi: Fix use-after-free in iscsit_dec_session_usage_count()
    2f4f008f622d4 wifi: cfg80211: Fix bitrate calculation overflow for HE rates
    d61171cf09715 regmap: maple: free entry on mas_store_gfp() failure
    f9b06d28a60b3 spi: hisi-kunpeng: Fixed the wrong debugfs node name in hisi_spi debugfs initialization
    254f303cd6663 ASoC: tlv320adcx140: Propagate error codes during probe
    e2c03961b01a8 ASoC: amd: yc: Fix microphone on ASUS M6500RE
    f532b29b0e313 nvmet-tcp: fixup hang in nvmet_tcp_listen_data_ready()
    7c54d3f5ebbc5 nvme-fc: release admin tagset if init fails
    1d395dae332ba ASoC: davinci-evm: Fix reference leak in davinci_evm_probe
    db1bef623ae32 wifi: mac80211: collect station statistics earlier when disconnect
    1fbb409652e3d ring-buffer: Avoid softlockup in ring_buffer_resize() during memory free
    f63f30607dd8e HID: Apply quirk HID_QUIRK_ALWAYS_POLL to Edifier QR30 (2d99:a101)
    cff3f619fd1cb HID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()
    68ab5057e690e HID: quirks: Add another Chicony HP 5MP Cameras to hid_ignore_list
    383bc94e90661 netfilter: replace -EEXIST with -EBUSY
    a58fbeda600fe ALSA: hda/realtek: add HP Laptop 15s-eq1xxx mute LED quirk
    bfcfb9e548bc1 HID: playstation: Center initial joystick axes to prevent spurious events
    9edee94001b63 HID: intel-ish-hid: Reset enum_devices_done before enumeration
    28b97fcbbf523 btrfs: fix reservation leak in some error paths when inserting inline extent
    9ab846d8dd027 HID: multitouch: add MT_QUIRK_STICKY_FINGERS to MT_CLS_VTL
    5b25505b52dff HID: intel-ish-hid: Update ishtp bus match to support device ID table
    07df5ff4f6490 smb/server: fix refcount leak in parse_durable_handle_context()
    73ede654d9daa LoongArch: Enable exception fixup for specific ADE subcode
    2456fde2b1377 smb/server: fix refcount leak in smb2_open()
    5fbdf95d2575e LoongArch: Set correct protection_map[] for VM_NONE/VM_SHARED
    04dd114b682a4 smb/server: call ksmbd_session_rpc_close() on error path in create_smb2_pipe()
    b03415955ed31 block,bfq: fix aux stat accumulation destination
    8365785e59ea4 net: usb: sr9700: support devices with virtual driver CD
    b167312390fdd wifi: wlcore: ensure skb headroom before skb_push
    ffe1e19c3b0e5 wifi: mac80211: ocb: skip rx_no_sta when interface is not joined
    d75245dad5cc6 tracing: Fix ftrace event field alignments
    df54838ab6182 gve: Fix stats report corruption on queue count change
    a8adf1ceee4e1 KVM: selftests: Add -U_FORTIFY_SOURCE to avoid some unpredictable test failures
    46c93903e4c19 binderfs: fix ida_alloc_max() upper bound
    ebb6aa6928d5c binder: fix BR_FROZEN_REPLY error log
    9f6022b2573ae sched/rt: Fix race in push_rt_task
    64c0b7e229375 ublk: fix deadlock when reading partition table
    c3db89ea1ed3d hfsplus: fix slab-out-of-bounds read in hfsplus_uni2asc()
    df524a68d9021 netfilter: nft_set_pipapo: clamp maximum map bucket size to INT_MAX
    b61f9b2fcf181 KVM: Don't clobber irqfd routing type when deassigning irqfd
    d2bddc2da2b3b Revert "drm/amd: Check if ASPM is enabled from PCIe subsystem"
    7f7467be748eb ARM: 9468/1: fix memset64() on big-endian
    4f9f1fdc0ebdf rbd: check for EOD after exclusive lock is ensured to be held
    071159ff5c0bf pmdomain: imx8m-blk-ctrl: fix out-of-range access of bc->domains
    7aa0c2bb0771a pmdomain: imx8mp-blk-ctrl: Keep usb phy power domain on for system wakeup
    e2e1c77319d52 pmdomain: imx: gpcv2: Fix the imx8mm gpu hang due to wrong adb400 reset
    1267af5b2033d pmdomain: imx8mp-blk-ctrl: Keep gpc power domain on for system wakeup
    c28dcc1cb4fda pmdomain: qcom: rpmpd: fix off-by-one error in clamping to the highest state
    302651ccef698 platform/x86: intel_telemetry: Fix swapped arrays in PSS output
    c56b4c84b3b21 x86/kfence: fix booting on 32bit non-PAE systems
    dca1a6ba0da9f nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec

(From OE-Core rev: 0844b7e2205b530febbc7a9b6640e3e30d3c8dd1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Hugo SIMELIERE 6d5cd210ab expat: patch CVE-2026-32778
Pick patches from [1] also mentioned in [2].

[1] https://github.com/libexpat/libexpat/pull/1163
[2] https://security-tracker.debian.org/tracker/CVE-2026-32778

(From OE-Core rev: ea404c36732a4e3882a74707189b10a4a196df07)

Signed-off-by: Bruno VERNAY <bruno.vernay@se.com>
Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Hugo SIMELIERE 290f91a9c3 expat: patch CVE-2026-32777
Pick patches from [1] also mentioned in [2].

[1] https://github.com/libexpat/libexpat/pull/1162
[2] https://security-tracker.debian.org/tracker/CVE-2026-32777

(From OE-Core rev: cbbaec4df5ce3a64d97b7f868f8f11432d808b9a)

Signed-off-by: Bruno VERNAY <bruno.vernay@se.com>
Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Hugo SIMELIERE 3a49f54911 expat: patch CVE-2026-32776
Pick patch from [1] also mentioned in [2].

[1] https://github.com/libexpat/libexpat/pull/1158
[2] https://security-tracker.debian.org/tracker/CVE-2026-32776

(From OE-Core rev: 3c4c2ee503f21f1888eeb130ac3150e489f1660e)

Signed-off-by: Bruno VERNAY <bruno.vernay@se.com>
Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Jhonata Poma-Hansen 75bf0d4caa dbus: gate user-session PACKAGECONFIG on systemd in DISTRO_FEATURES
On scarthgap images built without systemd in DISTRO_FEATURES, dbus
still shipped dbus.socket and dbus.service under
${systemd_user_unitdir} (/usr/lib/systemd/user), because the
'user-session' PACKAGECONFIG was always enabled and passed
--enable-user-session --with-systemduserunitdir=... to configure.

In dbus-1.14.10 the user-session autoconf option (configure.ac and
bus/Makefile.am 'if DBUS_ENABLE_USER_SESSION') only installs systemd
user units; it has no non-systemd effect. Enabling it on a sysvinit
image has no benefit and produces the stale unit files.

Make user-session a systemd-gated PACKAGECONFIG by using
bb.utils.contains in the default, so it is enabled when systemd is
in DISTRO_FEATURES and disabled otherwise. No changes to the
PACKAGECONFIG[user-session] or PACKAGECONFIG[systemd] entries are
needed: --disable-user-session is passed on sysvinit builds, which
prevents the configure/Makefile machinery from ever setting up the
user-unit install step.

This is the scarthgap equivalent of master commit a296b0623eb2
("dbus: use the systemd class to handle the unit files"), adapted
to the autotools 1.14.10 recipe. The master fix was broader because
the meson 1.16.2 build handles unit-file install differently, which
let that commit drop the manual do_install unit block, the
systemctl mask postinst, and PACKAGE_WRITE_DEPS. On 1.14.10 those
pieces are still needed; the minimal correct gate here is the
user-session default.

Fixes [YOCTO #15779]

(From OE-Core rev: 5550d6eadb2fea1ecb13e035a04a57450510441f)

Signed-off-by: Jhonata Poma-Hansen <jhonata.poma@gmail.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Adarsh Jagadish Kamini 49da7cb317 binutils: fix CVE-2025-69648
Backport upstream fix for CVE-2025-69648 [1].

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=598704a00cbac5e85c2bedd363357b5bf6fcee33

(From OE-Core rev: a905532db94aa09b17ec6445d8b5702f278f22bd)

Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Adarsh Jagadish Kamini 852fe03a0c binutils: fix CVE-2025-69647
Backport upstream fix for CVE-2025-69647 [1].

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=455446bbdc8675f34808187de2bbad4682016ff7

(From OE-Core rev: a15dfc1a05ba26ae9f806b0f4c5273bb7c484a04)

Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Sudhir Dumbhare af4fdac1ff libpng: fix CVE-2026-33636
Pick the patch [1] as mentioned in [2].

[1] https://github.com/pnggroup/libpng/commit/aba9f18eba870d14fb52c5ba5d73451349e339c3
[2] https://nvd.nist.gov/vuln/detail/CVE-2026-33636

Reference:
https://security-tracker.debian.org/tracker/CVE-2026-33636
https://www.suse.com/security/cve/CVE-2026-33636.html

(From OE-Core rev: be55a3bdc140d4882fab933f311c4b80912c3a77)

Signed-off-by: Sudhir Dumbhare <sudumbha@cisco.com>
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-12 21:31:33 +01:00
Antonin Godard a53cae3de9 poky: Fix CentOS Stream distro names
CentOS Stream 8 and 9 report as `centos-8/9`, not `centosstream-8.9`.

On our stream9-vk-1 autobuilder worker:

    $ ( source /etc/os-release && echo $ID-$VERSION_ID )
    centos-9

We don't have running CentOS Stream 8 workers anymore, but from a local docker
container:

$ docker run --rm -it quay.io/centos/centos:stream8 bash
[root@c33732bb804a /]# cat /etc/os-release
....
ID="centos"
VERSION_ID="8"

(From meta-yocto rev: 0845965f1d81d22d47dcf28c525c7463fafe5245)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Daniel Turull b614b7cbca liburcu: upgrade 0.14.0 -> 0.14.2
Changelog for liburcu: 0.14.0 -> 0.14.2
============================================================

2026-01-26 Userspace RCU 0.14.2
	* Fix: Only include linux/time_types.h when __NR_futex_time64 is defined
	* Use __NR_futex_time64 in futex syscall wrapper
	* Cleanup: Remove useless declarations from urcu-qsbr
	* src/urcu-bp.c: assert => urcu_posix_assert

2024-08-28 Userspace RCU 0.14.1
	* Fix: missing typename in URCU_FORCE_CAST
	* Allow building with GCC >= 13.3 on RISC-V
	* pointer.h: Fix the rcu_cmpxchg_pointer documentation
	* Adjust shell script to allow Bash in other locations
	* fix: handle EINTR correctly in get_cpu_mask_from_sysfs
	* Relicense src/compat-smp.h to MIT
	* ppc.h: use mftb on ppc
	* Fix: allow clang to build liburcu on RISC-V
	* Fix -Walloc-size
	* urcu/uatomic/riscv: Mark RISC-V as broken
	* Fix: urcu-bp: misaligned reader accesses
	* LoongArch: Document that byte and short atomics are implemented with LL/SC
	* Add LoongArch support
	* tests/regression/rcutorture: Add wait state
	* urcu-wait: Initialize node in URCU_WAIT_NODE_INIT
	* Fix: urcu-wait: add missing futex.h include
	* Adjust shell scripts to allow Bash in other locations
	* Add support for OpenBSD
	* Revert compiler.h: Introduce caa_unqual_scalar_typeof
	* rculfhash: Use caa_container_of_check_null in cds_lfht_entry
	* compiler.h: Introduce caa_container_of_check_null
	* compiler.h: Introduce caa_unqual_scalar_typeof
	* Avoid calling caa_container_of on NULL pointer in cds_lfht macros
	* Fix: revise urcu_read_lock_update() comment
	* Fix: uatomic powerpc comment about lwsync
	* fix: aarch64: allow RHEL7 gcc 4.8.5-11
	* fix: warning 'noreturn' function does return on ppc
	* Fix: use __noreturn__ for C11-compatibility

(From OE-Core rev: dc2df90b1d4f71023169d492f3819326e0e6c055)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Daniel Turull e80c4a6d08 libatomic-ops: upgrade 7.8.2 -> 7.8.4
Changelog for libatomic-ops: 7.8.2 -> 7.8.4
============================================================

== [7.8.4] 2025-09-05 ==

* Document Win32-specific AO_NO_ASM_XADD macro in README
* Eliminate 'atomic_thread_fence is unsupported with tsan' gcc-11 warning
* Eliminate 'munmap argument 1 from incompatible pointer type' gcc warning
* Eliminate 'uninitialized memory use' gcc-13 warning in test_atomic
* Fix all broken URLs in comments
* Fix atomic_ops_sysdeps.S compilation for SunPro compiler in CMake script
* Update URLs after repository transfer to bdwgc organization
* Update CMake minimum required version to 3.10

(From OE-Core rev: 189ecdff01a9c2c47b809d153b04ea6080f74e4f)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
(cherry picked from commit 02d66279071cbd043474dc44f44d348ec3228583)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Daniel Turull 7488cae173 lttng-ust: upgrade 2.13.8 -> 2.13.10
Changelog for lttng-ust: 2.13.8 -> 2.13.10
============================================================

2026-02-13 lttng-ust 2.13.10
	* Fix: ustctl: sigbus handling: statement with no effect

2025-04-14 (National Gardening Day) lttng-ust 2.13.9
	* Fix: Use UATOMIC_HAS_ATOMIC_{BYTE,SHORT} for counter atomics
	* Fix: lttng-ust-tp regex warnings
	* lttng-ust-java: Load lttng-ust-context-jni before other JNI libraries
	* doc/examples: set minimal CMake version to 3.5.0
	* Fix: Update get_mempolicy check to handle EPERM
	* Fix: Correct numa_available return code checks
	* Fix: test_benchmark: do not match CPU(s) scaling MHz:
	* Tests: Fix abi conflict test when building with clang
	* Fix: Build examples when rpath is stripped from in-build-tree libs
	* ust-fd: Add close_range declaration
	* docs: Correct GitHub URLs in lttng-ust.3
	* fix: handle EINTR correctly in get_cpu_mask_from_sysfs

(From OE-Core rev: 90f529115ed175652d2ab8c538d1c213550056f8)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Daniel Turull a99da9a2fc sudo: upgrade 1.9.17p1 -> 1.9.17p2
Changelog for sudo: 1.9.17p1 -> 1.9.17p2
============================================================

	Merge sudo 1.9.17p2 from branch 'main' into sudo-1.9
	[d1b48c651]

	* configure, configure.ac:
	Fix check for which man page type to use with nroff

	Fixes a bug where configure would use *.man instead of *.mdoc on
	systems without mandoc. Bug #1077.
	[aa2498e46]

	* plugins/sudoers/log_client.c:
	client_msg_cb: make warning match the function that failed
	[f73162df3]

2025-07-23  Todd C. Miller  <Todd.Miller@sudo.ws>

	* NEWS, configure, configure.ac:
	Sudo 1.9.17p2
	[f0e1a5ca3]

	* plugins/sudoers/match_command.c, plugins/sudoers/match_digest.c:
	digest_matches: plug fd leak on snprinf() failure
	[26a1a7529]

2025-07-21  Todd C. Miller  <Todd.Miller@sudo.ws>

	* etc/sudo-logsrvd.pp, etc/sudo-python.pp, etc/sudo.pp,
	scripts/mkpkg:
	Add a way to override pp_rpm_arch when building rpms

	This will be used to build x86_64_v2 packages for Alma Linux.
	[55d3c99c4]

	* configure, configure.ac:
	Fix check for which man page type to use with nroff

	Fixes a bug where configure would use *.man instead of *.mdoc on
	systems without mandoc.
	[2dc10cfbd]

	* plugins/sudoers/timestamp.c:
	ts_write: call lseek after fruncate on short write

	We need to make sure the file position is reset to the old EOF on
	error.
	[8e7e0e23f]

2025-07-20  Todd C. Miller  <Todd.Miller@sudo.ws>

	* src/exec_ptrace.c:
	ptrace_readv_string: quiet sign-compare warning
	[fac2a49e7]

	* src/exec_ptrace.c:
	ptrace_readv_string: properly handle reads of more than one page

	When the intercept and intercept_verify options are enabled and
	either argv[] or envp[] contains a string larger than the page size
	(usually 4096), ptrace_readv_string() would fill the buffer with
	mutiple copies of the same string. Fixes GitHub issue #453.
	[2e93eabed]

2025-07-14  Todd C. Miller  <Todd.Miller@sudo.ws>

	* src/exec_pty.c:
	revoke_pty: use killpg() not kill() to send HUP to the process group

	Also make sure we never call killpg(-1, SIGHUP), which would send
	SIGHUP to process 1 (init). It is possible for cmnd_pid to be -1 in
	certain error conditions where sudo killed the command itself. This
	may explain GitHub issue #458.
	[fb208d383]

2025-07-08  Todd C. Miller  <Todd.Miller@sudo.ws>

	* etc/sudo-logsrvd.pp, etc/sudo-python.pp, etc/sudo.pp, scripts/pp:
	Don't assume RHEL major version is only a single digit

	Fixes handling of RHEL 10 and higher.
	[e5d953f33]

	* plugins/sudoers/visudo.c:
	visudo: create temporary file as mod 0600 not 0700

	This was due to a typo in the mode field when the temporary file was
	created. Noticed by Bjorn Baron of the sudo-rs project.
	[1c254b330]

2025-06-30  Todd C. Miller  <Todd.Miller@sudo.ws>

	* Makefile.in:
	We now build sudo releases from git, not mercurial
	[cb4e26734]

2025-06-28  Todd C. Miller  <Todd.Miller@sudo.ws>

	* NEWS, configure, configure.ac:

(From OE-Core rev: 76b98657e3dc9da01a746deb7b9d08cb84ba44b6)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
(cherry picked from commit 12e9ba655153a9cb7c2b79cf52a2300e19634dcf)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Sunil Dora cb7499e8fe license.py: Drop visit_Str from SeenVisitor in selftest
ast.Str was deprecated in Python 3.8 and removed in Python 3.14.
In [1], visit_Str was already removed from the LicenseVisitor
subclasses (FlattenVisitor, ListVisitor) in oe/license.py since
bitbake now requires Python 3.8+.

However, the test-only SeenVisitor class in the selftest was
missed at that time and still uses visit_Str/node.s. On Python
3.14, ast.Str is fully removed so visit_Str is never called,
causing test_single_licenses to return [] instead of the
expected license list.

Replace visit_Str/node.s with visit_Constant/node.value in
SeenVisitor.

[1] https://git.openembedded.org/openembedded-core/commit/meta/lib/oe/license.py?id=6d3da37adbcaf5a7a3dade08f9d052571b195249

Fixes [YOCTO #16220]

(From OE-Core rev: f8ac1b567d7c09ee45cb0d23fc9dd25987a76129)

Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8a5b019eec72676893507d018e7609745d2e3f49)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Alexander Kanavin 71edfb1de8 selftest/gdbserver: replace shutil.unpack_archive with tarfile extract
This is a followup to
https://lists.openembedded.org/g/openembedded-core/message/233609
as the same issue happened in a different selftest.

[YOCTO #16195]

(From OE-Core rev: 948028ca3466fb7071ee49000e847d6e886e349c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7468e70c238b056acbe06ef722b62b02626db8f)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Alexander Kanavin e13525ed22 selftest/minidebuginfo: extract files from tar archive using tarfile module
Python 3.14 added security checks around archive extraction, and by
default will refuse to handle symlinks with absolute paths. It's possible
to handle this using 'filter' argument, but it is not always available
in older Python versions on various host distributions we need to support,
so let's extract only the needed files directly using tarfile module.

busybox is itself a symlink to busybox.nosuid, so both are extracted.

[YOCTO #16195]

(From OE-Core rev: 799e2124cdcb27bd924598619da61cbd11730b56)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d52d00a3bb4a1ba93e88f1d24d8bb99d6aa321eb)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Richard Purdie 98ab055e73 archiver: Don't try to preserve all attributes when copying files
Similar to https://git.openembedded.org/bitbake/commit/?id=2f35dac0c821ab231459922ed98e1b2cc599ca9a
there is a problem in this code when copying from an NFS mount.

We currently use cp -p, which is a shortcut for --preserve=mode,ownership,timestamps.
We shouldn't need to preserve mode/ownership, only timestamps. Update the code
in the same way the bitbake fetcher was fixed for consistency.

This fixes build failures on OpenSUSE 16.0.

(From OE-Core rev: 6ffd2c303d23b51a0a11f56e2e89c5a19596d228)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e8313688fa994c82e4c846993ed8da0d1f4db0e)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Richard Purdie 7d539ff5e7 lib/oeqa/utils/httpserver: use multiprocessing from bb
Fixes build with python-3.14 (and hence on Fedora 43)

It was added to bitbake in 62be9113d98fccb347c6aa0a10d5c4ee2857f8b6
and oe-core now requires latest bitbake already, so we can use this.

(From OE-Core rev: 2273e9ba2ffeea57620af576e3cd1e523e4d3fc3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ed1cef082b8ef0fa05684f7a41f0842150811bd)
[YC: bitbake commit was backported as 15d7448e04aa ("Use a "fork" multiprocessing context")
in the 2.8(scarthgap) branch]
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Khem Raj e8c96de370 apt: Fix build with GCC 15
(From OE-Core rev: 3e565b8ea4b0694fd3ded7b3b0f9d93d1a7ccbab)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ac53f79999bb8301380d7c58025f6fed75e40c9a)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Khem Raj 7ced38f7e5 db: Pin to use C99 std
GCC-15 has switched to using C23 by default, we have been selectively
disabling warnings as errors to get by, however with autoconf 2.72 adding
-std=gnu23 it now gets enabled for every compiler and clang-22 is more
obidient and has dropped support for K&R C completely. db5 code has a lot
of K&R C prototypes and it starts to fail vigorously. We can not keep
working around with out uplifting sources to be compliant with newer C
standard like C23.

Therefore pin the cflags to use C99 standard as this package expects.

Drop the code to disable warnings as errors selectively instead add a
fix for addressing implicit int warnings

(From OE-Core rev: ff6d0aa3ce4d39bc6b140c13846b5872ce4a181c)

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
(cherry picked from commit 8615b3388b97a56096b959dea4d7499e03187100)
[YC: switched from CFLAGS += to CFLAGS:append]
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Yoann Congal 3d2536f642 qemu: backport patches to support python 3.14
We use QEMU QMP python module to drive qemu in testimage. QMP uses
asyncIO and the method to get the event loop changed.

Backport the patches handling the depreciation to fix the error:
  ERROR: core-image-minimal-1.0-r0 do_testimage: 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>
   *** 0002:do_testimage(d)
  ...
  File: '.../openembedded-core/meta/lib/oeqa/utils/qemurunner.py', lineno: 332, function: launch
       0331:                from qmp.legacy import QEMUMonitorProtocol
   *** 0332:                self.qmp = QEMUMonitorProtocol(os.path.basename(qmp_port))
  File: '.../build-ubuntu2604/tmp-glibc/work/qemux86_64-oe-linux/core-image-minimal/1.0/recipe-sysroot-native/usr/lib/qemu-python/qmp/legacy.py', lineno: 89, function: __init__
   *** 0089:        self._aloop = asyncio.get_event_loop()
  File: '/usr/lib/python3.14/asyncio/events.py', lineno: 715, function: get_event_loop
       0711:
       0712:        Returns an instance of EventLoop or raises an exception.
       0713:        """
       0714:        if self._local._loop is None:
   *** 0715:            raise RuntimeError('There is no current event loop in thread %r.'
       0716:                               % threading.current_thread().name)
       0717:
       0718:        return self._local._loop
  Exception: RuntimeError: There is no current event loop in thread 'MainThread'.

Both patches are in Qemu 10.2 (OE Core master version)

(From OE-Core rev: 28bab00b35af8bbe3455c8266e4c792fa2367c5d)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Yoann Congal 1a547d3bae texinfo: Backport patches for hosts with newer GCC
On Ubuntu 26.04 (Gcc 15.2), texinfo-native fails to build.
Note: it is usually ASSUME_PROVIDED via bitbake.conf.
Backport patches (all included in texinfo-7.3, OE-Core's version) to fix
these errors:
| ../../texinfo-7.0.3/system.h:69:14: error: conflicting types for ‘strerror’; have ‘char *(void)’
|    69 | extern char *strerror ();
|       |              ^~~~~~~~
| In file included from ../gnulib/lib/string.h:41,
|                  from ../../texinfo-7.0.3/system.h:34:
| /usr/include/string.h:451:14: note: previous declaration of ‘strerror’ with type ‘char *(int)’
|   451 | extern char *strerror (int __errnum) __THROW;
|       |              ^~~~~~~~
========================================================
| ../../../../../../../workspace/sources/texinfo-native/info/echo-area.c:176:12: error: too many arguments to function ‘cmd’; expected 0, have 2
|   176 |           (*cmd) (the_echo_area, count);
|       |           ~^~~~~  ~~~~~~~~~~~~~
========================================================
| ../../../../../../../workspace/sources/texinfo-native/info/m-x.c:140:8: error: too many arguments to function ‘command->func’; expected 0, have 3
|   140 |       (*command->func) (active_window, count, 0);
|       |       ~^~~~~~~~~~~~~~~  ~~~~~~~~~~~~~
========================================================

(From OE-Core rev: d80f41a4d02b81fdfcb21956f81c9918caab2dad)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Martin Jansa 9d4a35f6d2 binutils: backport patch to fix build with glibc-2.43 on host
Fixes:
../../../gprofng/libcollector/linetrace.c: In function ‘__collector_ext_line_install’:
../../../gprofng/libcollector/linetrace.c:219:45: error: expected identifier before ‘_Generic’
  219 |   if (java_follow_env != NULL && CALL_UTIL (strstr)(java_follow_env, COLLECTOR_JVMTI_OPTION))
      |                                             ^~~~~~
../../../gprofng/libcollector/linetrace.c:219:34: note: in expansion of macro ‘CALL_UTIL’
  219 |   if (java_follow_env != NULL && CALL_UTIL (strstr)(java_follow_env, COLLECTOR_JVMTI_OPTION))
      |                                  ^~~~~~~~~

(From OE-Core rev: 6421f085fbb75df1cd122f1c327352b9434f8307)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:33 +01:00
Martin Jansa cc361cd49b elfutils: don't add -Werror to avoid discarded-qualifiers
With glibc-2.43 on host elfutils-native fails with:
elfutils-0.191/libcpu/riscv_disasm.c:1259:46: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]

elfutils-0.194 in master doesn't have this issue thanks to this patch avoiding -Werror from:
https://git.openembedded.org/openembedded-core/commit/?id=1d6ac3c811798732e6addc798656bbe104661d77

(From OE-Core rev: 7d9d9bcb64094da7121c6d6ce89cf07640537182)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:32 +01:00
Michael Halstead 5ca132d1b4 yocto-uninative: Update to 5.1 for glibc 2.43
(From OE-Core rev: fd94d49fa9b053105ddc725d5e3024582395a373)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c1fb515f2a88fa0a0e95529afc07a99db001af0e)
[YC: Remove duplicated line in commit message]
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:32 +01:00
Michael Halstead a0e7437e12 yocto-uninative: Update to 5.0 for needed patchelf updates
Solves some segfaults on relocated qemu-img binaries.

[YOCTO #16003]

(From OE-Core rev: 756f29ce4dcd0dad05e3f5bfccbcfe1ca3a0b112)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YC: removed extra line from commit message
upstream commit b322bc5387f3 ("meta/conf/distro/include/yocto-uninative.inc")]
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:32 +01:00
Richard Purdie 09a2e10262 pseudo: Add fix for glibc 2.43
Update to add a fix for a function definition to work with glibc 2.43.

(From OE-Core rev: 689bd1811c2300263a8a86ba3b46bbc6b1622323)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7d35b0e7929d666af783db835a3a809f8f6ce429)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:32 +01:00
Martin Jansa 0092522376 dtc: backport fix for build with glibc-2.43
glibc-2.43 isn't used in OE builds yet, but this fixes dtc-native:
https://errors.yoctoproject.org/Errors/Details/903983/

../sources/dtc-1.7.2/libfdt/fdt_overlay.c: In function ‘overlay_fixup_phandle’:
../sources/dtc-1.7.2/libfdt/fdt_overlay.c:424:21: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  424 |                 sep = memchr(fixup_str, ':', fixup_len);
      |                     ^
../sources/dtc-1.7.2/libfdt/fdt_overlay.c:434:21: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  434 |                 sep = memchr(name, ':', fixup_len);
      |                     ^
cc1: all warnings being treated as errors

(From OE-Core rev: 7e9f4ab3d1839cef771675091e5ce49eccc39169)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 28552a7b6c94060c7ab3899619ab8afb74124d02)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:32 +01:00
Richard Purdie 0549c498bd selftest/scripts: Update old git protocol references
git protocol accesses to our infrastructure are currently struggling and this
has highlighted a number of places we're making those obsolete access forms.

Update them to use https instead of the git protocol since it is preferred
and more reliable.

The devtool test needed quoting to handle the ';' in the url. The -f option
to devtool also shows a deprecation warning so remove that.

There were internal references to git protocol urls inside the nested git
submodules test report, which means those repos need updating to use
new git revisions.

(From OE-Core rev: cbb3e323b74d4351c772a9bcd553008c31a220f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ceba42623c5187d2f5a100d6a523abcdc75d34e)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:32 +01:00
Yoann Congal fa20ac3f2a oeqa/sdk: Default to https git protocol for YP/OE repos
Following up on commit 139102a73d41 ("recipes: Default to https git protocol where possible"),
> The recommendation from server maintainers is that the https protocol
> is both faster and more reliable than the dedicated git protocol at this point.
> Switch to it where possible.

(cherry picked from commit 037f83803905fdbdf77ed325466abaa8a501d7ff)
(From OE-Core rev: 296798981c9b8a1185a31146bb660eb0fa016ab2)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:32 +01:00
Yoann Congal 478984a9dd meta/files/layers.example.json: switch to https clone URIs
Following up on commit 139102a73d41 ("recipes: Default to https git protocol where possible"),
> The recommendation from server maintainers is that the https protocol
> is both faster and more reliable than the dedicated git protocol at this point.
> Switch to it where possible.

(cherry picked from commit d1fb36b3ddcb033ef472042cffb0dfa68714ba96)
(From OE-Core rev: 1ee811091a4e82c9c79872a86e4e573a45229245)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-04 13:57:32 +01:00