Updating to the latest korg -stable release that comprises
the following commits:
fd2a1d1f32ea Linux 5.4.254
e7711f15ed6b sch_netem: fix issues in netem_change() vs get_dist_table()
3c3ffd6a3cf7 alpha: remove __init annotation from exported page_is_ram()
e12fac07f61c scsi: core: Fix possible memory leak if device_add() fails
cea09922f5f7 scsi: snic: Fix possible memory leak if device_add() fails
12162414a7c1 scsi: 53c700: Check that command slot is not NULL
048ebc9a28fb scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
ecb1fbe2879f scsi: core: Fix legacy /proc parsing buffer overflow
979822844209 netfilter: nf_tables: report use refcount overflow
137e25f0906e nvme-rdma: fix potential unbalanced freeze & unfreeze
ab32fbe3fe70 nvme-tcp: fix potential unbalanced freeze & unfreeze
756c024698f4 btrfs: set cache_block_group_error if we find an error
fa7bc2684a05 btrfs: don't stop integrity writeback too early
0a3b5893c6b1 ibmvnic: Handle DMA unmapping of login buffs in release functions
d66a27113ebb net/mlx5: Allow 0 for total host VFs
d7b2df974299 dmaengine: mcf-edma: Fix a potential un-allocated memory access
e913d89445e3 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
c2145b18740c IB/hfi1: Fix possible panic during hotplug remove
9d469552c9d2 drivers: net: prevent tun_build_skb() to exceed the packet size limit
67eebc7a9217 dccp: fix data-race around dp->dccps_mss_cache
ef8810965f0c bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
9c7deea5afcc net/packet: annotate data-races around tp->status
60d9662f39f5 mISDN: Update parameter type of dsp_cmx_send()
dd72849bce27 selftests/rseq: Fix build with undefined __weak
302d848188d6 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
ed8dcd9543b8 x86: Move gds_ucode_mitigated() declaration to header
6b342b1f3b01 x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
91a5e755e11f x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
14254212b431 usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
25038d3f16b9 usb: dwc3: Properly handle processing of pending events
044f4446e06b usb-storage: alauda: Fix uninit-value in alauda_check_media()
b97dad01c121 binder: fix memory leak in binder_init()
182f0e71ff34 iio: cros_ec: Fix the allocation size for cros_ec_command
d2c539c216cc nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
655716938d14 x86/pkeys: Revert a5eff7259790 ("x86/pkeys: Add PKRU value to init_fpstate")
ea1b4c31161f radix tree test suite: fix incorrect allocation size for pthreads
aa0bfe169d29 drm/nouveau/gr: enable memory loads on helper invocation on all channels
8a489b0bc87c dmaengine: pl330: Return DMA_PAUSED when transaction is paused
7c62508d6b91 ipv6: adjust ndisc_is_useropt() to also return true for PIO
0a67c1262162 mmc: moxart: read scr register without changing byte order
4b4223f7d26d Linux 5.4.253
9e5374875f96 Revert "driver core: Annotate dev_err_probe() with __must_check"
ca33c0704151 drivers: core: fix kernel-doc markup for dev_err_probe()
04ece65d9bad driver code: print symbolic error code
f2c1b4f9c157 driver core: Annotate dev_err_probe() with __must_check
2e8fc2ddffee ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
a1ba8725577b ARM: dts: imx6sll: fixup of operating points
6c71d73945d2 ARM: dts: imx: add usb alias
66579ee141a5 ARM: dts: imx: Align L2 cache-controller nodename with dtschema
3b454fb938e1 ARM: dts: imx6sll: Make ssi node name same as other platforms
03b119d900fd arm64: dts: stratix10: fix incorrect I2C property for SCL signal
72c946246e21 ceph: defer stopping mdsc delayed_work
f82fe11a30ae ceph: use kill_anon_super helper
82edffead586 ceph: show tasks waiting on caps in debugfs caps file
632023a2b3ac PM: sleep: wakeirq: fix wake irq arming
d7f34e2cdd12 PM / wakeirq: support enabling wake-up irq after runtime_suspend called
9cbffa33749a selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
13553469bdbd selftests/rseq: check if libc rseq support is registered
a65e7b4b31ca powerpc/mm/altmap: Fix altmap boundary check
f8cf0f83cf04 mtd: rawnand: omap_elm: Fix incorrect type in assignment
2af8ed119722 test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation
0f68b0f8eb5a test_firmware: prevent race conditions by a correct implementation of locking
040cdadf9fdc ext2: Drop fragment support
0336b42456e4 fs: Protect reconfiguration of sb read-write from racing writes
a05ac5d00eb7 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
a2da00d1ea1a Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
0a44ceba77c3 fs/sysv: Null check to prevent null-ptr-deref bug
1202deb153d6 net: tap_open(): set sk_uid from current_fsuid()
1d53ea776760 net: tun_chr_open(): set sk_uid from current_fsuid()
ae9cf40873d3 mtd: rawnand: meson: fix OOB available bytes for ECC
8deaaf4be175 mtd: spinand: toshiba: Fix ecc_get_status
eacb19bd7cd2 USB: zaurus: Add ID for A-300/B-500/C-700
5107f9e8db60 libceph: fix potential hang in ceph_osdc_notify()
6f14228e82fe scsi: zfcp: Defer fc_rport blocking until after ADISC response
a490c2e8927e tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
6d49ed957d77 tcp_metrics: annotate data-races around tm->tcpm_net
fc566cf344d8 tcp_metrics: annotate data-races around tm->tcpm_vals[]
76b47daba7cd tcp_metrics: annotate data-races around tm->tcpm_lock
38661fe6d001 tcp_metrics: annotate data-races around tm->tcpm_stamp
96f14d689dc5 tcp_metrics: fix addr_same() helper
0438e60a00d4 ip6mr: Fix skb_under_panic in ip6mr_cache_report()
5b3dbedb8d4a net: dcb: choose correct policy to parse DCB_ATTR_BCN
363c56f97122 net: ll_temac: fix error checking of irq_of_parse_and_map()
7928f81443f6 net: ll_temac: Switch to use dev_err_probe() helper
97d8a0bbda6b driver core: add device probe log helper
227b8ce59cd3 bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
1c8262f31fd2 net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
83e3d4b0ae37 net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
be785808db32 net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
b705759a1a25 net: add missing data-race annotation for sk_ll_usec
95dd65f29070 net: add missing data-race annotations around sk->sk_peek_off
8a6dddcb47a6 net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
ec4b7532d70b net: add missing READ_ONCE(sk->sk_sndbuf) annotation
9cd3adc26e53 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
481186cad78f net: annotate data-races around sk->sk_max_pacing_rate
1774250a20d7 mISDN: hfcpci: Fix potential deadlock on &hc->lock
42b28808070e net: sched: cls_u32: Fix match key mis-addressing
1b047dc9108e perf test uprobe_from_different_cu: Skip if there is no gcc
ad46d4861ed3 rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
80381ecf2933 net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
800d8c96bf99 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
4730c0a1131c KVM: s390: fix sthyi error handling
d2fb0969262c word-at-a-time: use the same return type for has_zero regardless of endianness
be4d2b456206 loop: Select I/O scheduler 'none' from inside add_disk()
11e929c38029 perf: Fix function pointer case
1db90f97d719 arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro
f41cab7a4653 arm64: Add AMPERE1 to the Spectre-BHB affected list
6e4aa8c89034 ASoC: cs42l51: fix driver to properly autoload with automatic module loading
cf8ecd6ea680 net/sched: sch_qfq: account for stab overhead in qfq_enqueue
0e0f324c259d btrfs: fix race between quota disable and quota assign ioctls
4f8f86bc5d33 btrfs: qgroup: return ENOTCONN instead of EINVAL when quotas are not enabled
8c1d1f3a33e5 btrfs: qgroup: remove one-time use variables for quota_root checks
c8b1499e420e cpufreq: intel_pstate: Drop ACPI _PSS states table patching
f331413e1cf1 ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
511851c87031 ACPI: processor: perflib: Use the "no limit" frequency QoS
81cd6ceee7ce dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
e3efc4767a46 ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
00748bc586a4 s390/dasd: fix hanging device after quiesce/resume
73e872466ddc virtio-net: fix race between set queues and probe
6db2a3c5c201 btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
5adbd7ccd430 irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
a0019e13a9e9 tpm_tis: Explicitly check for error code
d1c6e68003d3 btrfs: check for commit error at btrfs_attach_transaction_barrier()
ee2eed8306b3 hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
5373a1aa91b2 staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
352e0cae4cce Documentation: security-bugs.rst: clarify CVE handling
e331a88ea56b Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
fd21197af575 Revert "usb: xhci: tegra: Fix error check"
e0c92c329131 usb: xhci-mtk: set the dma max_seg_size
3f39d58a0c1a USB: quirks: add quirk for Focusrite Scarlett
8f86b1b3b539 usb: ohci-at91: Fix the unhandle interrupt when resume
640cb5f5e4b4 usb: dwc3: don't reset device side if dwc3 was configured as host-only
a7d080cf4fab usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
5fc6ace75ceb Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
80d40a3d6d45 can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
58f0affb3c47 USB: serial: simple: sort driver entries
43ee3cf0c783 USB: serial: simple: add Kaufmann RKS+CAN VCP
bcf1fc781ea1 USB: serial: option: add Quectel EC200A module support
3ec7c5ef6021 USB: serial: option: support Quectel EM060K_128
da7ebd86cd2e serial: sifive: Fix sifive_serial_console_setup() section
d674cb90a9ef serial: 8250_dw: Preserve original value of DLF register
cdcc35e64541 tracing: Fix warning in trace_buffered_event_disable()
d7b20279244f ring-buffer: Fix wrong stat of cpu_buffer->read
f6e1e569ac97 ata: pata_ns87415: mark ns87560_tf_read static
53c06e0d15ee dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
9ebcca93bd41 block: Fix a source code comment in include/uapi/linux/blkzoned.h
c0aad2fe1b9f ASoC: fsl_spdif: Silence output on stop
3bd1b4793b01 drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
4970f72f810c drm/msm/adreno: Fix snapshot BINDLESS_DATA size
5200bd7e6096 drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
4990f529b745 RDMA/mlx4: Make check for invalid flags stricter
74843851d418 benet: fix return value check in be_lancer_xmit_workarounds()
07d9723cef28 net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
2eb617529458 net/sched: mqprio: add extack to mqprio_parse_nlattr()
29c5eb0ffac7 net/sched: mqprio: refactor nlattr parsing to a separate function
17afc24d20c9 platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
504177c84f04 team: reset team's flags when down link is P2P device
a3bb02598db9 bonding: reset bond's flags when down link is P2P device
d87d67c8bdd1 tcp: Reduce chance of collisions in inet6_hashfn().
458294ee1537 ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
a249705862d7 ethernet: atheros: fix return value check in atl1e_tso_csum()
195e806b2afb phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
27b63e8b8552 vxlan: calculate correct header length for GPE
5e98318c632d i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
6b1ee62ecbf1 ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
65bd66a794bf keys: Fix linking a duplicate key to a keyring's assoc_array
c1df96689fe1 uapi: General notification queue definitions
ea64c727f201 scsi: qla2xxx: Array index may go out of bound
5e387df414f9 scsi: qla2xxx: Fix inconsistent format argument type in qla_os.c
629628738078 pwm: meson: fix handling of period/duty if greater than UINT_MAX
7ae4671a868e pwm: meson: Simplify duplicated per-channel tracking
8abacc57af7b pwm: meson: Remove redundant assignment to variable fin_freq
680e1455b828 ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()
05ff1d355e0b ftrace: Store the order of pages allocated in ftrace_page
e3098e52bf5a ftrace: Check if pages were allocated before calling free_pages()
aad84a978841 ftrace: Add information on number of page groups allocated
bd020c7763d6 fs: dlm: interrupt posix locks only when process is killed
f61d5752aed0 dlm: rearrange async condition return
ed092c495e29 dlm: cleanup plock_op vs plock_xop
a50ad9f8c06c PCI/ASPM: Avoid link retraining race
e50434e33de9 PCI/ASPM: Factor out pcie_wait_for_retrain()
7411202a0fee PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
8eb15ff216c1 ext4: Fix reusing stale buffer heads from last failed mounting
0204319de8ea ext4: rename journal_dev to s_journal_dev inside ext4_sb_info
356056cbe667 btrfs: fix extent buffer leak after tree mod log failure at split_node()
63008dab58ad btrfs: fix race between quota disable and relocation
0a55f346e0e5 btrfs: qgroup: catch reserved space leaks at unmount time
b070f29a6143 bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
38a6dd2b68f9 bcache: remove 'int n' from parameter list of bch_bucket_alloc_set()
edb81d6e1e50 gpio: tps68470: Make tps68470_gpio_output() always set the initial value
34e71f7d3a03 jbd2: Fix wrongly judgement for buffer head removing while doing checkpoint
937cb20746c8 jbd2: recheck chechpointing non-dirty buffer
acc9a81f7cb2 jbd2: remove redundant buffer io error checks
05d440d0f5da jbd2: fix kernel-doc markups
b41fa1ed91de jbd2: fix incorrect code style
(From OE-Core rev: d6d1a9c20536d9f8abc60419eec93fec66496964)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
21732fd22497 Linux 5.4.252
9399ea1ce481 x86: fix backwards merge of GDS/SRSO bit
bc7b9a6c2ca4 xen/netback: Fix buffer overrun triggered by unusual packet
43ed6f79b3e7 x86/cpu, kvm: Add support for CPUID_80000021_EAX
1f0618bb2456 x86/bugs: Increase the x86 bugs vector size to two u32s
08ba48152a8a tools headers cpufeatures: Sync with the kernel sources
694b40dcfb41 x86/cpufeatures: Assign dedicated feature word for CPUID_0x8000001F[EAX]
4fa849d4af68 x86/cpu: Add VM page flush MSR availablility as a CPUID feature
998eec066607 x86/cpufeatures: Add SEV-ES CPU feature
3e21d8b0f3a9 Documentation/x86: Fix backwards on/off logic about YMM support
ad7670dd65cb x86/mm: Initialize text poking earlier
979366f5c2aa mm: Move mm_cachep initialization to mm_init()
3d1b8cfdd0c9 x86/mm: Use mm_alloc() in poking_init()
ddcf05fe8850 x86/mm: fix poking_init() for Xen PV guests
3f8968f1f0ad x86/xen: Fix secondary processors' FPU initialization
e56c1e0f9134 KVM: Add GDS_NO support to KVM
ed56430ab253 x86/speculation: Add Kconfig option for GDS
e35c65794365 x86/speculation: Add force option to GDS mitigation
f68f9f2df68e x86/speculation: Add Gather Data Sampling mitigation
6e6044366897 x86/fpu: Move FPU initialization into arch_cpu_finalize_init()
2ee37a46aa13 x86/fpu: Mark init functions __init
77fe8150579c x86/fpu: Remove cpuinfo argument from init functions
95356fff6fee init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
7aa2cec22e28 init: Invoke arch_cpu_finalize_init() earlier
944d5c3ffa4b init: Remove check_bugs() leftovers
a03ef708788e um/cpu: Switch to arch_cpu_finalize_init()
98c3955e145f sparc/cpu: Switch to arch_cpu_finalize_init()
568d68fc1dd4 sh/cpu: Switch to arch_cpu_finalize_init()
18cd611a3eaa mips/cpu: Switch to arch_cpu_finalize_init()
2febb4a73004 m68k/cpu: Switch to arch_cpu_finalize_init()
1f4494ea77e8 ia64/cpu: Switch to arch_cpu_finalize_init()
73719e89e32b ARM: cpu: Switch to arch_cpu_finalize_init()
1743bc756b6b x86/cpu: Switch to arch_cpu_finalize_init()
afe787cf253b init: Provide arch_cpu_finalize_init()
(From OE-Core rev: 9255ec4beb9eaa6f5d4b8a51a6b2ac4e511309fc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Use autotools-brokensep as new version needs that.
upgrade include fix for CVE-2020-21686 and CVE-2022-29654
(cherry picked from commit c9c724ffa36757b56e70bc8d7b880c0c5777b153)
(From OE-Core rev: ed262f94b81cbf78e6a335912875bee8a65ca7c6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
https://docs.python.org/release/3.8.18/whatsnew/changelog.html#changelog
Release date: 2023-08-24
Security
gh-108310: Fixed an issue where instances of ssl.SSLSocket were
vulnerable to a bypass of the TLS handshake and included protections
(like certificate verification) and treating sent unencrypted data as if
it were post-handshake TLS encrypted data. Security issue reported as
CVE-2023-40217 by Aapo Oksman. Patch by Gregory P. Smith.
Library
gh-107845: tarfile.data_filter() now takes the location of symlinks into
account when determining their target, so it will no longer reject some
valid tarballs with LinkOutsideDestinationError.
Tools/Demos
gh-107565: Update multissltests and GitHub CI workflows to use OpenSSL
1.1.1v, 3.0.10, and 3.1.2.
(From OE-Core rev: 9205496344bede4a16372ca7a02c2819a976640b)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(From OE-Core rev: 93efa56fb87217035275dcb04c4a19b79b95ccaf)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(From OE-Core rev: bd594af20fce07908f8e0fb1765b0e0ccc641e86)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add patch from libwebp 1.1.0 to fix CVE-2023-5129.
(From OE-Core rev: 2ab6568d35e3d68f77a73bf56eb2d38aa6ada236)
Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This includes multiple CVE fixes.
The license change is due to changes in maintainership, the license
itself is unchanged.
(From OE-Core rev: a9d194f21a3bdebca8aaff204804a5fdc67c76d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91e66b93a0c0928f0c2cfe78e22898a6c9800f34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Buffer Overflow vulnerability in function bitwriter_grow_ in flac before
1.4.0 allows remote attackers to run arbitrary code via crafted input to
the encoder.
(From OE-Core rev: 87d92cb3d20c2686caddaa29cd17e18850ad9484)
Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The time and timeout tests are sensitive to system load, and as we run
these on build machines they fail randomly.
[ YOCTO #14371 ]
(From OE-Core rev: d2b62913a5771169265171129fe972c8e252fe04)
(From OE-Core rev: 309f1c6166f8535fa61fd1d01924df3c7fe9fbba)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a84b8d683b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
- Update according to changes in SANITY_TESTED_DISTROS
(meta-poky/conf/distro/poky.conf)
- No longer declare as "Supported" the distributions versions
which are End of Life for their vendors, as some of them
(Ubuntu for example) ship updates to subscribers only,
which the Yocto Project has no access to.
- List distribution versions which were previously tested
for the branch of the Yocto Project being considered.
(From yocto-docs rev: ed345f43ed1e5fcceeff5ab77aaa43763f08f598)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
On our slower arm server, the tests currently timeout leading to inconsistent test
results. Increase the timeout to avoid this and aim to make the test results
consistent.
(From OE-Core rev: 76b065b3e802fc7dfa9a370e273b8a4187072623)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a8b49208f3c99e184eab426360b137bc773aa31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
We have a suspicion that the read() call may return EAGAIN on the non-blocking
fd and this may truncate test output leading to some of our intermittent failures.
Tweak the code to avoid this potential issue.
(From OE-Core rev: 605d832e86f249100adaf3761b4e1701401d0b76)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a8920c105725431e989cceb616bd04eaa52127ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This provides a more reliable test execution when running tests that
write a large buffer/file and significantly reduces the localedata test
failures.
(From OE-Core rev: 1f35336edf13496432fb68e7e048a5c137fc3e47)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 97a7612e3959bc9c75116a4e696f47cc31aea75d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Allows setting up NFS over TCP as well.
(From OE-Core rev: 148e009374dcbd2101223cf33f2ff69c75895b71)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1ff9b9a3b7f7924aea67d2024581bea2e916036)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Some of the tests trigger OOM and fail. Increase the amount of memory
available so we dont run into these issues.
(From OE-Core rev: 50b07b4c0c814f2832816cf83863687155429b21)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d22dba482cb19ffcff5abee73f24526ea9d1c2a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Dont fill up the test log with ssh warning about having added the host
to list of known hosts.
Also helps fix a test case failure where stderr log was being compared
to a known value.
(From OE-Core rev: 781c52bb8f9ffe6aeb456fb0c0d628917641fb22)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63b31ff7e54a171c4c02fca2e6b07aec64a410af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Due to an oversight in the do_symlink_kernsrc function, the path
comparison between "S" and "STAGING_KERNEL_DIR" is broken. The code
obtains both variables, but modifies the local copy of "S" before
comparing them, causing the comparison to always return false.
This can cause the build to fail when the EXTERNALSRC flag is enabled,
since the code will try to create a symlink even if one already exists.
This patch resolves the issue by comparing the variables before they are
modified.
(From OE-Core rev: 27a982807caa7ffbdf2d4ef02bc0b037150b1b3b)
Signed-off-by: Staffan Rydén <staffan.ryden@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit afd2038ef8a66a5e6433be31a14e1eb0d9f9a1d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
non-release indexes will continue to generate when test output is
corrupted.
(From OE-Core rev: 31b996c01c72749fc62821a3c9d1da70540bfad6)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a9157684a6bff8406c9bb470cb2e16ee006bbe9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add in stable updates to glibc 2.38 to fix malloc bugs
(From OE-Core rev: 2850119bce7aa9788ab8b163311d42ea273ca1df)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39f987fcb20ad7c0e45425b9f508d463c50ce0c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
remove the traling blanks before the ;-delimiter, so one could use
"_remove" to avoid running tasks like 'rootfs_update_timestamp',
which are currently hardcoded and not bound to any
configurable feature flag
(From OE-Core rev: 18246f0bfedb5c729a0fc5b515f25a1ed0cde191)
Signed-off-by: Priyal Doshi <pdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
A DMA-MMIO reentrancy problem may lead to memory corruption bugs
like stack overflow or use-after-free.
Summary of the problem from Peter Maydell:
https://lore.kernel.org/qemu-devel/CAFEAcA_23vc7hE3iaM-JVA6W38LK4hJoWae5KcknhPRD5fPBZA@mail.gmail.com
Reference:
https://gitlab.com/qemu-project/qemu/-/issues/556
qemu.git$ git log --no-merges --oneline --grep CVE-2023-0330
b987718bbb hw/scsi/lsi53c895a: Fix reentrancy issues in the LSI controller (CVE-2023-0330)
a2e1753b80 memory: prevent dma-reentracy issues
Included second commit as well as commit log of a2e1753b80 says it
resolves CVE-2023-0330
(From OE-Core rev: 45ce9885351a2344737170e6e810dc67ab3e7ea9)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Run generate-cve-exclusions.py to generate the ignore lists. This file
is maintained separately from the existing manual whitelist entries.
(From OE-Core rev: b63743410e758ba116adb74a483b7c2d2aedf3b3)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Instead of manually looking up new CVEs and determining what point
releases the fixes are incorporated into, add a script to generate the
CVE_CHECK_WHITELIST data automatically.
First, note that this is very much an interim solution until the
cve-check class fetches data from www.linuxkernelcves.com directly.
The script should be passed the path to a local clone of the
linuxkernelcves repository[1] and the kernel version number. It will
then write to standard output the CVE_STATUS entries for every known
kernel CVE.
The script should be periodically reran as CVEs are backported and
kernels upgraded frequently.
[1] https://github.com/nluedtke/linux_kernel_cves
Note: for the Dunfell backport this is not a cherry-pick of the commit
in master as the variable names are different. This incorporates the
following commits:
linux/generate-cve-exclusions: add version check warning
linux/generate-cve-exclusions.py: fix comparison
linux-yocto: add script to generate kernel CVE_STATUS entries
(From OE-Core rev: 496c0b8fab5dd87102c3a63656debdb3aa214ae7)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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: 2be0f2c62fb893f093091cbb30967f32f9d3165b)
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>
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: cdc671271327ca61e5321b8890921d08ecd8799d)
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>
This version includes fixes to patchelf.
(From OE-Core rev: 600ef23e30c27b4ec0f54c9b03d6386bccd5390f)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c5c8ff97ba0a7f9adc592d702b865b3d166a24b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
For newest Qualcomm platforms the firmware for the Adreno GPU consists
of two parts: platform-independent SQE/GMU/GPMU/PFP/PM4 and
platform-specific ZAP shader, which is used during the boot process. As
the platform-independent parts can be shared between different
platforms, split the platform-specific part to the separate package.
(From OE-Core rev: 3ae53403b019b699f59c3ab9ba7b822041773dc7)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf00a042d2fa2eb4b20d8c5982926758821bf990)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
RTL8822 is a serie of wireless modules that need firmwares to function correctly.
The linux firmware recipe does not have a package of these firmwares, and this commit add them.
(From OE-Core rev: f1a4db02831e70782a896b699cc2fa427cbd8e62)
Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6459959beeb91c0b694f5f17b6587a12c6dcb087)
Signed-off-by: Steve Sakoman <steve@sakoman.com>