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>
Latest linux-firmware archive inclues firmware for the Dragonboard 410c
device (Qualcomm apq8016 SBC). Follow the rest of linux-firmware-qcom-*
packages as a template and create packages for the new firmware files.
(From OE-Core rev: 0f4582034a41f4abc746bffe5892a8d393a5a8f7)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 380216e8d3b63d563ebfb10445fc6eb5e77eb9f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
WHENCE checksum changed because of updated version lists and removal of
information for the RTL8188EU driver.
(From OE-Core rev: ecfb64079c7426606263780e04799b811c51fe91)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 986f8ca9d4c2c22d368f69e65b2ab76d661edca0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
When including an initramfs bundle inside a FIT image, the fitImage is created
after the install task by do_assemble_fitimage_initramfs.
This happens after the generation of the initramfs bundle
(done by do_bundle_initramfs).
So, at the level of the install task we should not try to install the fitImage.
The fitImage is still not generated yet.
After the generation of the fitImage, the deploy task copies the fitImage from
the build directory to the deploy folder.
Change-Id: I3eaa6bba1412f388f710fa0f389f66631c1c4826
(From OE-Core rev: b70a8333a7467162b9d148b99f5970c0af2a531f)
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b67fd9ac74935fa41e960478c54e45422339138)
Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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: d18b939fb08b37380ce95934da38e6522392621c)
(From OE-Core rev: 682e094e6af67e67873f7f08dd8d52b40fcdbded)
Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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: 2d56adfd53b0ea3b938c60bf57fd40f3d48b5c68)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
https://www.openssl.org/news/openssl-1.1.1-notes.html
Major changes between OpenSSL 1.1.1u and OpenSSL 1.1.1v [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)
Major changes between OpenSSL 1.1.1t and OpenSSL 1.1.1u [30 May 2023]
* Mitigate for very slow `OBJ_obj2txt()` performance with gigantic OBJECT IDENTIFIER sub-identities. (CVE-2023-2650)
* Fixed documentation of X509_VERIFY_PARAM_add0_policy() (CVE-2023-0466)
* Fixed handling of invalid certificate policies in leaf certificates (CVE-2023-0465)
* Limited the number of nodes created in a policy tree ([CVE-2023-0464])
All CVEs for upgrade to 1.1.1u were already patched, so effectively
this will apply patches for CVE-2023-3446 and CVE-2023-3817 plus
several non-CVE fixes.
Because of mips build changes were backported to openssl 1.1.1 branch,
backport of a patch from kirkstone is necessary.
(From OE-Core rev: be5d49d86553769deaf4754969d2cf6931d6ac34)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
887433e4bc93 Linux 5.4.251
1e02fbe4f0ed tracing/histograms: Return an error if we fail to add histogram to hist_vars list
b1062596556e tcp: annotate data-races around fastopenq.max_qlen
21c325d01ecc tcp: annotate data-races around tp->notsent_lowat
7175277b4d0b tcp: annotate data-races around rskq_defer_accept
3121d649e4c6 tcp: annotate data-races around tp->linger2
b1cd5655fc13 net: Replace the limit of TCP_LINGER2 with TCP_FIN_TIMEOUT_MAX
8ce44cf35ef6 tcp: annotate data-races around tp->tcp_tx_delay
c822536b3e41 netfilter: nf_tables: can't schedule in nft_chain_validate
caa228792fb5 netfilter: nf_tables: fix spurious set element insertion failure
b8944e53ee70 llc: Don't drop packet from non-root netns.
b07e31824df6 fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
6d39e9fc5934 Revert "tcp: avoid the lookup process failing to get sk in ehash table"
0c0bd9789a8d net:ipv6: check return value of pskb_trim()
17046107ca15 iavf: Fix use-after-free in free_netdev
765e1eaf42de net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field()
3b6f56021af6 pinctrl: amd: Use amd_pinconf_set() for all config options
951f4e9730f1 fbdev: imxfb: warn about invalid left/right margin
3e03319ab97d spi: bcm63xx: fix max prepend length
c9f56f3c7bc9 igb: Fix igb_down hung on surprise removal
7d80e834625c wifi: iwlwifi: mvm: avoid baid size integer overflow
41d149376078 wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()
970c7035f4b0 devlink: report devlink_port_type_warn source device
e09a285ea1e8 bpf: Address KCSAN report on bpf_lru_list
cec1857b1ea5 sched/fair: Don't balance task to its current running CPU
9d8d3df71516 arm64: mm: fix VA-range sanity check
8ad6679a5bb9 posix-timers: Ensure timer ID search-loop limit is valid
d0345f7c7dbc md/raid10: prevent soft lockup while flush writes
09539f9e2076 md: fix data corruption for raid456 when reshape restart while grow up
4181c30a2c55 nbd: Add the maximum limit of allocated index in nbd_dev_add
d4f1cd9b9d66 debugobjects: Recheck debug_objects_enabled before reporting
0afcebcec057 ext4: correct inline offset when handling xattrs in inode body
5d580017bdb9 drm/client: Fix memory leak in drm_client_modeset_probe
52daf6ba2e0d drm/client: Fix memory leak in drm_client_target_cloned
9533dbfac0ff can: bcm: Fix UAF in bcm_proc_show()
5dd838be69e4 selftests: tc: set timeout to 15 minutes
7f83199862c2 fuse: revalidate: don't invalidate if interrupted
ae91ab710d8e btrfs: fix warning when putting transaction with qgroups enabled after abort
e217a3d19e10 perf probe: Add test for regression introduced by switch to die_get_decl_file()
380c7ceabdde drm/atomic: Fix potential use-after-free in nonblocking commits
b7084ebf4f54 scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
3f22f9ddbb29 scsi: qla2xxx: Pointer may be dereferenced
a1c5149a82de scsi: qla2xxx: Correct the index of array
1b7e5bdf2be2 scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
4f90a8b04816 scsi: qla2xxx: Fix potential NULL pointer dereference
d25fded78d88 scsi: qla2xxx: Wait for io return on terminate rport
056fd1820724 tracing/probes: Fix not to count error code to total length
93114cbc7cb1 tracing: Fix null pointer dereference in tracing_err_log_open()
597eb52583d4 xtensa: ISS: fix call to split_if_spec
e84829522fc7 ring-buffer: Fix deadloop issue on reading trace_pipe
481535905608 tracing/histograms: Add histograms to hist_vars if they have referenced variables
46574e5a0a2a tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
30962268fa1a tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
0697a1a592c7 Revert "8250: add support for ASIX devices with a FIFO bug"
45e55e9cac13 meson saradc: fix clock divider mask length
2cdced57bc00 ceph: don't let check_caps skip sending responses for revoke msgs
1883a484c87e hwrng: imx-rngc - fix the timeout for init and self check
e3373e6b6c79 firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool()
826c7bfe5c49 serial: atmel: don't enable IRQs prematurely
15d4bd0f0a6b drm/rockchip: vop: Leave vblank enabled in self-refresh
6bc6ec8b0a0b drm/atomic: Allow vblank-enabled + self-refresh "disable"
f86942709b0e fs: dlm: return positive pid value for F_GETLK
ecfd1f82c4f5 md/raid0: add discard support for the 'original' layout
dac4afa3efae misc: pci_endpoint_test: Re-init completion for every test
dd2210379205 misc: pci_endpoint_test: Free IRQs before removing the device
9cfa4ef25de5 PCI: rockchip: Set address alignment for endpoint mode
35aec6bc0c04 PCI: rockchip: Use u32 variable to access 32-bit registers
13b93891308c PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core
c049b20655f6 PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked
a1f311d430f2 PCI: rockchip: Write PCI Device ID to correct register
592795119f2b PCI: rockchip: Assert PCI Configuration Enable bit after probe
35c95eda7b6d PCI: qcom: Disable write access to read only registers for IP v2.3.3
b0aac7792525 PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
f450388d8b6d PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold
a4855aeb13e4 jfs: jfs_dmap: Validate db_l2nbperpage while mounting
ee2fd448608e ext4: only update i_reserved_data_blocks on successful block allocation
02543d1ddd77 ext4: fix wrong unit use in ext4_mb_clear_bb
96a85becb811 erofs: fix compact 4B support for 16k block size
42725e5c1b18 SUNRPC: Fix UAF in svc_tcp_listen_data_ready()
29a560437f67 misc: fastrpc: Create fastrpc scalar with correct buffer count
b157987242bd powerpc: Fail build if using recordmcount with binutils v2.37
2b59740ebc86 net: bcmgenet: Ensure MDIO unregistration has clocks enabled
1fe96568e78b mtd: rawnand: meson: fix unaligned DMA buffers handling
86b9820395f2 tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation
96a16069a81d pinctrl: amd: Only use special debounce behavior for GPIO 0
6dcb493fc478 pinctrl: amd: Detect internal GPIO0 debounce handling
a1a443651569 pinctrl: amd: Fix mistake in handling clearing pins at startup
cf57a0853ba5 net/sched: make psched_mtu() RTNL-less safe
96391959a99e net/sched: flower: Ensure both minimum and maximum ports are specified
166fa538e0dd cls_flower: Add extack support for src and dst port range options
aadca5f08aef wifi: airo: avoid uninitialized warning in airo_get_rate()
cc2c06ca7fbf erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
b55c38fe2441 platform/x86: wmi: Break possible infinite loop when parsing GUID
cb8a256202b9 platform/x86: wmi: move variables
669c488cb25a platform/x86: wmi: use guid_t and guid_equal()
fd8049d6553f platform/x86: wmi: remove unnecessary argument
4c8e26fc3302 platform/x86: wmi: Fix indentation in some cases
8717326e4362 platform/x86: wmi: Replace UUID redefinitions by their originals
c7eeba470585 ipv6/addrconf: fix a potential refcount underflow for idev
7a06554214fe NTB: ntb_tool: Add check for devm_kcalloc
88e243618e4c NTB: ntb_transport: fix possible memory leak while device_register() fails
b5b9e041eb04 ntb: intel: Fix error handling in intel_ntb_pci_driver_init()
0ae4fac8fe33 NTB: amd: Fix error handling in amd_ntb_pci_driver_init()
bb17520c0383 ntb: idt: Fix error handling in idt_pci_driver_init()
4e64ef41c6cf udp6: fix udp6_ehashfn() typo
61b4c4659746 icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().
4c7276a6daf7 ionic: remove WARN_ON to prevent panic_on_warn
3e77647acdcf ionic: ionic_intr_free parameter change
f0dc38bdef52 ionic: move irq request to qcq alloc
7cf21fba1bf8 ionic: clean irq affinity on queue deinit
ef7fc26b6a19 ionic: improve irq numa locality
808211a8d427 net/sched: cls_fw: Fix improper refcount update leads to use-after-free
d98ac5bce2d5 net: mvneta: fix txq_map in case of txq_number==1
58cd168825b4 scsi: qla2xxx: Fix error code in qla2x00_start_sp()
b49b55a7d578 igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings
a45afb07121c igc: Remove delay during TX ring configuration
59c190082a01 drm/panel: simple: Add connector_type for innolux_at043tn24
64b76abfe32d drm/panel: Add and fill drm_panel type field
362940f8e40f drm/panel: Initialise panel dev and funcs through drm_panel_init()
6d5172a3ab8f workqueue: clean up WORK_* constant types, clarify masking
003d33924911 net: lan743x: Don't sleep in atomic context
373b9475ea8c block/partition: fix signedness issue for Amiga partitions
22df19fee7b9 tty: serial: fsl_lpuart: add earlycon for imx8ulp platform
b7d636c924eb netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
61c7a5256543 netfilter: conntrack: Avoid nf_ct_helper_hash uses after free
565bdccdded3 netfilter: nf_tables: fix scheduling-while-atomic splat
7c4610ac3b41 netfilter: nf_tables: unbind non-anonymous set if rule construction fails
90d54ee329d2 netfilter: nf_tables: reject unbound anonymous set before commit phase
1df28fde1270 netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain
1adb5c272b20 netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE
077ef851f0a3 netfilter: nf_tables: add rescheduling points during loop detection walks
11352851944c netfilter: nf_tables: use net_generic infra for transaction data
d59ed9dc0058 netfilter: add helper function to set up the nfnetlink header and use it
fa498dead9ee netfilter: nftables: add helper function to set the base sequence number
ef35dd70a340 netfilter: nf_tables: fix nat hook table deletion
d1b7fe307c75 block: add overflow checks for Amiga partition support
2b71cbf7ab48 fanotify: disallow mount/sb marks on kernel internal pseudo fs
9a6ce27a5d61 fs: no need to check source
c1c41cda0ab1 ARM: orion5x: fix d2net gpio initialization
679c34821ab7 btrfs: fix race when deleting quota root from the dirty cow roots list
f0fbbd405a94 fs: Lock moved directories
b97ac51f8492 fs: Establish locking order for unrelated directories
d95dc41ad181 Revert "f2fs: fix potential corruption when moving a directory"
a9a926423a63 ext4: Remove ext4 locking of moved directory
eefebf8877d3 fs: avoid empty option when generating legacy mount string
e9a3310bc2fc jffs2: reduce stack usage in jffs2_build_xattr_subsystem()
a249a61ac528 integrity: Fix possible multiple allocation in integrity_inode_get()
0729029e6472 bcache: Remove unnecessary NULL point check in node allocations
4be68f1c7076 mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used.
2f6c76994646 mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M
c491e27151c1 mmc: core: disable TRIM on Kingston EMMC04G-M627
ce7278dedab7 NFSD: add encoding of op_recall flag for write delegation
5016511287dc ALSA: jack: Fix mutex call in snd_jack_report()
c64fda48a3ad i2c: xiic: Don't try to handle more interrupt events after error
696e470e910e i2c: xiic: Defer xiic_wakeup() and __xiic_start_xfer() in xiic_process()
498962715773 sh: dma: Fix DMA channel offset calculation
58b1b3c54e16 net: dsa: tag_sja1105: fix MAC DA patching from meta frames
67a67e258407 net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX
ab0085bd7902 xsk: Honor SO_BINDTODEVICE on bind
9347e432297e xsk: Improve documentation for AF_XDP
e63dc31b9452 tcp: annotate data races in __tcp_oow_rate_limited()
e9c2687988b7 net: bridge: keep ports without IFF_UNICAST_FLT in BR_PROMISC mode
fffa51e786ce powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
45b34500f3ef f2fs: fix error path handling in truncate_dnode()
860d9b717f65 mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0
398e6a015877 spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
18d50fb44109 Add MODULE_FIRMWARE() for FIRMWARE_TG357766.
4d8fc6137749 sctp: fix potential deadlock on &net->sctp.addr_wq_lock
999ff7fe492b rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
d5c39cca4d03 pwm: sysfs: Do not apply state to already disabled PWMs
5375c024f8ae pwm: imx-tpm: force 'real_period' to be zero in suspend
d252c74b8b7a mfd: stmpe: Only disable the regulators if they are enabled
d9db18addf42 KVM: s390: vsie: fix the length of APCB bitmap
baec796723b7 mfd: stmfx: Fix error path in stmfx_chip_init
5d26f134efa8 serial: 8250_omap: Use force_suspend and resume for system suspend
337073cacad4 mfd: intel-lpss: Add missing check for platform_get_resource
0a6afc83b028 usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove()
becd09685d44 KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes
151b0dd6d1a0 mfd: rt5033: Drop rt5033-battery sub-device
8e8dae8eb230 usb: hide unused usbfs_notify_suspend/resume functions
fe9cdc198619 usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
1531ba3fab51 extcon: Fix kernel doc of property capability fields to avoid warnings
257daec29dcd extcon: Fix kernel doc of property fields to avoid warnings
648a163cff21 usb: dwc3: qcom: Fix potential memory leak
d485150c9a52 media: usb: siano: Fix warning due to null work_func_t function pointer
619e6f9a564a media: videodev2.h: Fix struct v4l2_input tuner index comment
e9586c49bdd4 media: usb: Check az6007_read() return value
fd869bdb5f12 sh: j2: Use ioremap() to translate device tree address into kernel memory
85f4c53849e4 w1: fix loop in w1_fini()
dc88382c1d44 block: change all __u32 annotations to __be32 in affs_hardblocks.h
fa8548d1a0a4 block: fix signed int overflow in Amiga partition support
bec218258cbd usb: dwc3: gadget: Propagate core init errors to UDC during pullup
f55127df9918 USB: serial: option: add LARA-R6 01B PIDs
bac502cd472a hwrng: st - keep clock enabled while hwrng is registered
071560202a52 hwrng: st - Fix W=1 unused variable warning
18fa56ca4cb8 NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
c182d87c67e2 ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard
02dc8e8bdbe4 modpost: fix off by one in is_executable_section()
1030c0c30968 crypto: marvell/cesa - Fix type mismatch warning
ad3c4ecff00b modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}
084bf580019c modpost: fix section mismatch message for R_ARM_ABS32
c893658d9ce6 crypto: nx - fix build warnings when DEBUG_FS is not enabled
a43bcb0b661c hwrng: virtio - Fix race on data_avail and actual data
b70315e44f03 hwrng: virtio - always add a pending request
102a354d52ca hwrng: virtio - don't waste entropy
f2a7dfd35f0c hwrng: virtio - don't wait on cleanup
6fe732764a58 hwrng: virtio - add an internal buffer
2cbfb51d2c7e powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary
aa3932eb0739 pinctrl: at91-pio4: check return value of devm_kasprintf()
e297350c33f6 perf dwarf-aux: Fix off-by-one in die_get_varname()
7f822c8036fe pinctrl: cherryview: Return correct value if pin in push-pull mode
1768e362f20f PCI: Add pci_clear_master() stub for non-CONFIG_PCI
5d3955bc32d4 PCI: ftpci100: Release the clock resources
331dce61c0d4 PCI: pciehp: Cancel bringup sequence if card is not present
f58c8563686b scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe()
666e7f9d60ce PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free
961c8370c5f7 scsi: qedf: Fix NULL dereference in error handling
6f64558b43cf ASoC: imx-audmix: check return value of devm_kasprintf()
35455616110b clk: keystone: sci-clk: check return value of kasprintf()
ffe6ad17cf14 clk: cdce925: check return value of kasprintf()
5f13d67027fa ALSA: ac97: Fix possible NULL dereference in snd_ac97_mixer
801c8341f7af clk: tegra: tegra124-emc: Fix potential memory leak
262db3ff58e2 drm/radeon: fix possible division-by-zero errors
cacc0506e571 drm/amdkfd: Fix potential deallocation of previously deallocated memory.
9e3858f82e3c fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe()
5541d1856c87 arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1
40ac5cb6cbb0 IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors
68e0033dee72 soc/fsl/qe: fix usb.c build errors
b756eb5eb9b0 ASoC: es8316: Do not set rate constraints for unsupported MCLKs
d1c1ca27cac0 ASoC: es8316: Increment max value for ALC Capture Target Volume control
b54bac970b54 memory: brcmstb_dpfe: fix testing array offset after use
f54142ed16b5 ARM: ep93xx: fix missing-prototype warnings
c2324c5aa247 drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H
4a23954279fc arm64: dts: qcom: msm8916: correct camss unit address
97dcb8dfefaa ARM: dts: gta04: Move model property out of pinctrl node
25bbd1c7bef8 RDMA/bnxt_re: Fix to remove an unnecessary log
ed039ad88ab0 drm: sun4i_tcon: use devm_clk_get_enabled in `sun4i_tcon_init_clocks`
87ccaf56097a Input: adxl34x - do not hardcode interrupt trigger type
c7a8cc9140cf ARM: dts: BCM5301X: Drop "clock-names" from the SPI node
c516c00847f5 Input: drv260x - sleep between polling GO bit
3e789aee218b radeon: avoid double free in ci_dpm_init()
bc5b57a23087 netlink: Add __sock_i_ino() for __netlink_diag_dump().
1c405b3d3769 ipvlan: Fix return value of ipvlan_queue_xmit()
1d2ab3d4383e netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value.
337fdce45063 netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
32deadf89430 lib/ts_bm: reset initial match offset for every block of text
dd6ff3f38627 net: nfc: Fix use-after-free caused by nfc_llcp_find_local
edc5d8776a32 nfc: llcp: simplify llcp_sock_connect() error paths
9c9662e2512b gtp: Fix use-after-free in __gtp_encap_destroy().
08d8ff1bc688 selftests: rtnetlink: remove netdevsim device after ipsec offload test
bd1de6107f10 netlink: do not hard code device address lenth in fdb dumps
8f6652ed2ad9 netlink: fix potential deadlock in netlink_set_err()
88d89b4a3102 wifi: ath9k: convert msecs to jiffies where needed
76d5bda2c3af wifi: cfg80211: rewrite merging of inherited elements
e4c33144fc75 wifi: iwlwifi: pull from TXQs with softirqs disabled
2ba902da9090 rtnetlink: extend RTEXT_FILTER_SKIP_STATS to IFLA_VF_INFO
786e264b37d2 wifi: ath9k: Fix possible stall on ath9k_txq_list_has_key()
68305a19bada memstick r592: make memstick_debug_get_tpc_name() static
6f4454ccbea9 kexec: fix a memory leak in crash_shrink_memory()
4503261ab97b watchdog/perf: more properly prevent false positives with turbo modes
d5fa3918dfce watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config
7874fb3bef8b wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown
4dc3560561a0 wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes
f432198058a6 wifi: ray_cs: Fix an error handling path in ray_probe()
8fe51dce8bdc wifi: ray_cs: Drop useless status variable in parse_addr()
0dec0ad304d4 wifi: ray_cs: Utilize strnlen() in parse_addr()
ee73ad566a29 wifi: wl3501_cs: Fix an error handling path in wl3501_probe()
b7df4e0cb4ed wl3501_cs: use eth_hw_addr_set()
24f34f67be24 net: create netdev->dev_addr assignment helpers
dd5dca10d806 wl3501_cs: Fix misspelling and provide missing documentation
051d70773b9c wl3501_cs: Remove unnecessary NULL check
91c3c9eaf1ed wl3501_cs: Fix a bunch of formatting issues related to function docs
add539f7d16b wifi: atmel: Fix an error handling path in atmel_probe()
5b06f702805d wifi: orinoco: Fix an error handling path in orinoco_cs_probe()
ca4a2955d866 wifi: orinoco: Fix an error handling path in spectrum_cs_probe()
91c3325da240 regulator: core: Streamline debugfs operations
1bb38ef697e4 regulator: core: Fix more error checking for debugfs_create_dir()
6ca0c94f2b02 nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()
66a1be74230b nfc: constify several pointers to u8, char and sk_buff
fea2104e752a wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan()
bc5099512057 spi: spi-geni-qcom: Correct CS_TOGGLE bit in SPI_TRANS_CFG
f394d204d640 samples/bpf: Fix buffer overflow in tcp_basertt
90e3c1017757 wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx
be3989d93be3 wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation
717e4277ddf7 ima: Fix build warnings
8430a8e8e854 pstore/ram: Add check for kstrdup
540cdd720772 evm: Complete description of evm_inode_setattr()
568b73406d93 ARM: 9303/1: kprobes: avoid missing-declaration warnings
ba6da16eefb1 powercap: RAPL: Fix CONFIG_IOSF_MBI dependency
c97460ce1f7c PM: domains: fix integer overflow issues in genpd_parse_state()
54cc10a0f4b0 clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
38ca169d66c3 clocksource/drivers/cadence-ttc: Use ttc driver as platform driver
8af3b8d770da tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
7b0c664541cd irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
d244927e350e irqchip/jcore-aic: Kill use of irq_create_strict_mappings()
be481881753b md/raid10: fix io loss while replacement replace rdev
45fa023b3334 md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
31c805a44b75 md/raid10: fix wrong setting of max_corr_read_errors
283f4a63fee3 md/raid10: fix overflow of md/safe_mode_delay
b0b971fe7d61 md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
484104918305 x86/resctrl: Only show tasks' pid in current pid namespace
7206eca1ac44 x86/resctrl: Use is_closid_match() in more places
6f2bb37da468 bgmac: fix *initial* chip reset to support BCM5358
794bfb6fd992 drm/amdgpu: Validate VM ioctl flags.
2a4cfd5b0354 scripts/tags.sh: Resolve gtags empty index generation
fff826d665f9 drm/i915: Initialise outparam for error return from wait_for_register
99036f1aed7e HID: wacom: Use ktime_t rather than int when dealing with timestamps
815c95d82b79 fbdev: imsttfb: Fix use after free bug in imsttfb_probe
a7c8d2f3753d video: imsttfb: check for ioremap() failures
f042d80a631f x86/smp: Use dedicated cache-line for mwait_play_dead()
23f98fe887ce gfs2: Don't deref jdesc in evict
(From OE-Core rev: 9d509daf5fdae6b5dd8a81490ee40ea119a42024)
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:
27745d94abe1 Linux 5.4.250
00363ef30797 x86/cpu/amd: Add a Zenbleed fix
92b292bed627 x86/cpu/amd: Move the errata checking functionality up
4d4112e2845c x86/microcode/AMD: Load late on both threads too
(From OE-Core rev: 55f3f04896f1c301bbc7e18360ac05ff583b7a1d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The commit [https://github.com/openembedded/openembedded-core/commit/c22bbe9b45e3]
backports fix for CVE-2023-25193 for version 2.6.4.
The apply() in src/hb-ot-layout-gpos-table.hh ends prematurely.
The if block in apply() has an extra return statement,
which causes it to return w/o executing
buffer->unsafe_to_concat_from_outbuffer() function.
(From OE-Core rev: e3fda60c4131c21cfb3139c56c1771e342d4b9bf)
Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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: 4efdf7a93254056b9ac47de470740ac113b031f2)
Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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.
584028dbe5
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: 1632c7223b2f8cd595e1ba20bc006c68fc833295)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Backport commit mentioned in NVD DB links.
94e1c00176
(From OE-Core rev: c25b88fc321b7c050108b29c75c0a159e0754f84)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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: 9374e680ae2376589a9bfe4565dfcf4dc9791aa8)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This CVE shouldn't have been filed as the "exploit" is described in the
documentation as how the library behaves.
(From OE-Core rev: b66a677b76c7f15eb5c426f8dc7ac42e1e2e3f40)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c652f094d86c4efb7ff99accba63b8169493ab18)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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: 43d5ebde6d609898064ea70c89a7eba002e5fd74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This has been around without being properly documented since 2019 (!!!),
and is nowadays the preferred method for enforcing license restrictions.
(From yocto-docs rev: 7a67426330decf108b8f152c3cb6cd6d167c98e4)
Signed-off-by: Alexander Kanavin <alex@linutronix.de
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Adds two missing key sorts in generation of unified_info
Backported from a similar (but more invasive) patch in the 3.x source code:
764cf5b263]
(From OE-Core rev: 6c505ef6c9950eb6d09bcec683fefe6edc7b2e6b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
When building using an SDK, cmake complains that the target
architecture 'cortexa53-crypto' is unknown. The same build in bitbake
uses the target architecture 'aarch64'.
Set CMAKE_SYSTEM_PROCESSOR the same as for bitbake.
(From OE-Core rev: 7a7ef9d73affc23fa14712d56f1a40d0c46569cb)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d32a6225eefce2073a1cd401034b5b4c68351bfe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
libpng is a platform-independent library which
supports all PNG features.
This ptest executes the below binaries, parses
the png image and prints the image features.
1. pngfix - provides information about PNG image
copyrights details.
2. pngtest - tests, optimizes and optionally fixes
the zlib header in PNG files.
3. pngstest - verifies the integrity of PNG image by
dumping chunk level information.
4. timepng - provides details about PNG image chunks.
(From OE-Core rev: 843803bcc248b18cdefb29d610a1371e32e815ce)
Signed-off-by: Nikhil R <nikhil.r@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
8a2f4e143 added support for u-boot boot script but missed adding the
extra parameter to fitimage_emit_section_config on the dtbo branch
(From OE-Core rev: d1b6c34d33704f05374154e4ea7d8acdea7b8018)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22bac8aea0d5d28cc5a3bf20edf638225cce2f88)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
There were vestigal remains of API key support which could be removed,
but as using an API key - in theory - gives the user larger rate limits
it's probably wise to expose it.
If the user has an API key, then set NVDCVE_API_KEY.
(From OE-Core rev: b3fc8ef9aba822b3d485242c8ebd0e0bff0ebfc8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a542de684282bfec79f24ae2f1a2027ffde319d8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add a note of what range we're fetching, and use bb.note() instead of
debug() as messages about retrying shouldn't really be considered debug
logging.
(From OE-Core rev: f6c3ee35ae9950aec4b3dc15062b1c1fb5610011)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b64a869b9c5e1d504f1011da16b5c5ff721afbf0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Current 503 errors seem to last several seconds.
In most cases there are two errors and third request succeeds.
However sometimes the outage takes more than time needed
for two retries and third one also fails.
Extend retry count from 3 to 5 to improve the probablity
that the fetcher succeeds.
(From OE-Core rev: 46286a641f1113e22d39a427a5dc0a11321d434e)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f4d118af2360cff7f234102fd5e4b65a6f4146a6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Last couple days it is not possible to update NVD DB as servers
are returning lot of errors.
Mostly "HTTP Error 503: Service Unavailable" is observed but
sporadially also some others.
Retrying helps in most cases, so extend retries to all errors.
Additionally add sleep which is recommended by NVD between requests.
These retries are already implemented between successful requests,
but giving servers time between failed ones is important, too.
(From OE-Core rev: 8bba9342f641e9aa51ccaebc02bc5d51354e1c72)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88dad8f198baa80af5ab576498f4df6ed639d551)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
After upgrade to soon-to-be-released kirkstone 4.0.11 CVE annotations got broken.
Anything which has only cvssV3 does not resolve properly.
Fix the API fields used to extract it.
i0.0 score is now at level of NVD DB 1.1.
All CVEs with UNKNOWN vector are not present in NVD DB 1.1.
NVD API 1.1:
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|4776
LOCAL|32146
NETWORK|167746
PHYSICAL|185
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|73331
1.8|7
1.9|3
...
NVD API 2.0 (broken):
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|4587
LOCAL|26273
NETWORK|150421
UNKNOWN|24644
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|205925
NVD API 2.0 (fixed):
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|5090
LOCAL|32322
NETWORK|168004
PHYSICAL|213
UNKNOWN|511
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|73841
1.8|7
1.9|3
...
(From OE-Core rev: 2233a187dc0da833401297667c1e2ed6bf5627fd)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61a5857efdcc0f49c69c0deb24fce99007aeef19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
When requesting updates in a specific range, use the actual current time
and database mtime instead of truncating to midnight, and explicitly set
the timezone to UTC so that NIST don't treat the timestamps as _their_ local
time when they're _our_ local time.
(From OE-Core rev: e12b81ede54c92e372f0d80373bb91254d0a889f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9aa0ec37f5f74252588d2494a71c71a7d8e68df9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Some CVEs, such as CVE-2013-6629, list multiple configurations which are
vulnerable. The current JSON parser only considers the first
configuration.
Instead, consider every configuration. We don't yet handle the AND/OR
logical operators, but this is a step in the right direction.
(From OE-Core rev: e521d6ce48d3b04eb2d53c710bba18593a908fe3)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1bf4f6dd686055fe9a8bdcc3f739eac2807bae0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Current error message is difficult to read:
ERROR: Nothing PROVIDES 'image'
trs-image was skipped: image - image: normal username test does not have a static ID defined. Add test to one of these files
It's not clear that first "image" is recipe name, second "image" is
binary package name and that "test" is the user account which does not
have a static ID defined. Improve the error message so that these are
more explicit. Now the error message looks like:
image was skipped: Recipe image, package image: normal username "test" does not have a static ID defined.
(From OE-Core rev: ea997ec788a5397598e24301e40d1c30ffa68c04)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 07898218f3908a83e07178b6530dfa48d55d4ec2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
There is already a neat check_free_port() function for finding an available port
atomically, so use that and make two additional tweaks:
- no need to allocate two separate ports; per unfsd documentation they can be the same
- move lockfile release until after unfsd has been shut down and the port(s) used has been freed
[YOCTO #15077]
(From OE-Core rev: 816d12f125974fc064d17c735b7769f7a9744597)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dee96e82fb04ea99ecd6c25513c7bd368df3bd37)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
It fails to instal pm-utils and lib32-pm-utils at same time:
Error: Transaction test error:
file /usr/bin/pm-is-supported conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-hibernate conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-powersave conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-suspend conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-suspend-hybrid conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
All of the conflicted files either is script which source a file in
${libdir}, or a link file to some file in ${libdir}. Compare the content
of installed files in ${libdir} exclude binaries, only the paths of
${libdir} diff. So re-define libdir with ${nonarch_libdir} to fix the
conflicts.
(From OE-Core rev: 292ff56250d2f916370c508fd7a94f3ab769a356)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f836541bcfdbf033a37537530b4e3b87b0a7f003)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Devtool selftests require poky dir a git repo, when downloading poky as a tar,
this is not the case. Those tests will now skipped.
[YOCTO #12389]
(From OE-Core rev: 5f3128e3a85e3a5d67d5dc1f2585fe6c236e443c)
Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95a5bc130dc51ea9de95c64dbf0e9c7892415d50)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This is needed as each user could be setting different nice levels
while building, however this should not make the shared cache unusable.
(From OE-Core rev: b77850f613bdc103e5d529b6c62ae90e134106ae)
Signed-off-by: Lorenzo Arena <arena.lor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 42784f9360345da1c01d988070253e7ffd5ac4ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The .dot file created by `bitbake -g` changed formats a while ago, which
broke oe-depends-dot.
Also add some useful examples to the --help output.
(From OE-Core rev: c49914bb3cb6116f2e1bed7de82a702c2e4f7b5d)
Signed-off-by: Rusty Howell <rustyhowell@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
License-Update: update year to 2023
30afa75ad8
Release Notes for 3.8.15:
Security content in this release
CVE-2022-40674: bundled libexpat was upgraded from 2.4.7 to 2.4.9 which
fixes a heap use-after-free vulnerability in function doContent
gh-97616: a fix for a possible buffer overflow in list *= int
gh-97612: a fix for possible shell injection in the example script
get-remote-certificate.py (this issue originally had a CVE assigned to
it, which its author withdrew)
gh-96577: a fix for a potential buffer overrun in msilib
https://www.python.org/downloads/release/python-3815/
Release Notes for 3.8.16:
Security content in this release
gh-98739: Updated bundled libexpat to 2.5.0 to fix CVE-2022-43680 (heap
use-after-free).
gh-98517: Port XKCP’s fix for the buffer overflows in SHA-3 to fix
CVE-2022-37454.
gh-98433: The IDNA codec decoder used on DNS hostnames by socket or
asyncio related name resolution functions no longer involves a quadratic
algorithm to fix CVE-2022-45061. This prevents a potential CPU denial of
service if an out-of-spec excessive length hostname involving
bidirectional characters were decoded. Some protocols such as urllib
http 3xx redirects potentially allow for an attacker to supply such a
name.
gh-68966: The deprecated mailcap module now refuses to inject unsafe
text (filenames, MIME types, parameters) into shell commands to address
CVE-2015-20107. Instead of using such text, it will warn and act as if a
match was not found (or for test commands, as if the test failed).
gh-100001: python -m http.server no longer allows terminal control
characters sent within a garbage request to be printed to the stderr
server log.
gh-87604: Avoid publishing list of active per-interpreter audit hooks
via the gc module.
https://www.python.org/downloads/release/python-3816/
Release Notes for 3.8.17:
Security content in this release
gh-103142: The version of OpenSSL used in Windows and Mac installers has
been upgraded to 1.1.1u to address CVE-2023-2650, CVE-2023-0465,
CVE-2023-0466, CVE-2023-0464, as well as CVE-2023-0286, CVE-2022-4303,
and CVE-2022-4303 fixed previously in 1.1.1t (gh-101727).
gh-102153: urllib.parse.urlsplit() now strips leading C0 control and
space characters following the specification for URLs defined by WHATWG
in response to CVE-2023-24329.
gh-99889: Fixed a security in flaw in uu.decode() that could allow for
directory traversal based on the input if no out_file was specified.
gh-104049: Do not expose the local on-disk location in directory indexes
produced by http.client.SimpleHTTPRequestHandler.
gh-103935: trace.__main__ now uses io.open_code() for files to be
executed instead of raw open().
gh-101283: subprocess.Popen now uses a safer approach to find cmd.exe
when launching with shell=True.
gh-102953: The extraction methods in tarfile, and
shutil.unpack_archive(), have a new filter argument that allows limiting
tar features than may be surprising or dangerous, such as creating files
outside the destination directory. See Extraction filters for details.
https://www.python.org/downloads/release/python-3817/
(From OE-Core rev: 01a1f016a6558566a36098a993adaf4b40e30c78)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
OpenPrinting CUPS is a standards-based, open source printing system for Linux and other Unix-like operating systems. Starting in version 2.0.0 and prior to version 2.4.6, CUPS logs data of free memory to the logging service AFTER the connection has been closed, when it should have logged the data right before. This is a use-after-free bug that impacts the entire cupsd process. The exact cause of this issue is the function `httpClose(con->http)` being called in `scheduler/client.c`. The problem is that httpClose always, provided its argument is not null, frees the pointer at the end of the call, only for cupsdLogClient to pass the pointer to httpGetHostname. This issue happens in function `cupsdAcceptClient` if LogLevel is warn or higher and in two scenarios: there is a double-lookup for the IP Address (HostNameLookups Double is set in `cupsd.conf`) which fails to resolve, or if CUPS is compiled with TCP wrappers and the connection is refused by rules from `/etc/hosts.allow` and `/etc/hosts.deny`. Version 2.4.6 has a patch for this issue.
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-34241https://github.com/OpenPrinting/cups/security/advisories/GHSA-qjgh-5hcq-5f25https://security-tracker.debian.org/tracker/CVE-2023-34241
Upstream Patch:
9809947a95
(From OE-Core rev: 28b25ba7a8c6aa5c5744ca17e8686f2762791c72)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
If there are several multiconfigs in play for example a non-multiconfig with
a task with one hash and then three multiconfigs for the same task, different
architectures but the same hash (different to the non-mc), the three mcs
will be deferred until after the non-mc task but then will all run together
and race against each other.
Change the code to re-enable deferred tasks one at a time. This way, if they do
race, they won't run in parallel against each other.
(Bitbake rev: b60c7085ec370473bea9b3b4b65826a17638837f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9523e28658ad7fb446645b590608dfac2812afd3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Dropping CONFIG_DECNET as it has been removed from -stable
and we now get a configuration warning.
(From OE-Core rev: b7530e5360babbe9321ee4cf1e336412116a98cb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Integrating the following commit:
commit 8d8179549a233e7517523ac12887016451da2e20
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Tue Jun 27 10:13:01 2023 -0400
rt: fix 5.4-stable introduced compile errors
The 5.4 stable series brough back two elements removed
by the -rt patch:
- tick_period
- deferred/safe printk
We fix the build by dropping the use of the period and
deferred printk
(From OE-Core rev: 13add4fd84c2e8a14caad857fbadf83205758c31)
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:
f568a20f058f Linux 5.4.246
6c0fc4725f6f drm/edid: fix objtool warning in drm_cvt_modes()
914bf541c3bb wifi: rtlwifi: 8192de: correct checking of IQK reload
58bc9baaef92 drm/edid: Fix uninitialized variable in drm_cvt_modes()
77e442733faa RDMA/bnxt_re: Remove the qp from list only if the qp destroy succeeds
a616aa258e46 RDMA/bnxt_re: Remove set but not used variable 'dev_attr'
4ffad598bff4 scsi: dpt_i2o: Do not process completions with invalid addresses
e2897f133acd scsi: dpt_i2o: Remove broken pass-through ioctl (I2OUSERCMD)
56a4a9dc5ed1 regmap: Account for register length when chunking
94f3bc7e84af test_firmware: fix the memory leak of the allocated firmware buffer
fb7dce686fd1 fbcon: Fix null-ptr-deref in soft_cursor
5ea6122caf51 ext4: add lockdep annotations for i_data_sem for ea_inode's
b06346ef5778 ext4: disallow ea_inodes with extended attributes
ec2a04f8fc9f ext4: set lockdep subclass for the ea_inode in ext4_xattr_inode_cache_find()
2e636c0c9344 ext4: add EA_INODE checking to ext4_iget()
d9de088797a0 tracing/probe: trace_probe_primary_from_call(): checked list_first_entry
7df474125c37 selinux: don't use make's grouped targets feature yet
b18bc3c9c2c5 tty: serial: fsl_lpuart: use UARTCTRL_TXINV to send break instead of UARTCTRL_SBK
ae7fb0c8bf80 mmc: vub300: fix invalid response handling
9d8f5797d791 wifi: rtlwifi: remove always-true condition pointed out by GCC 12
843f51766784 lib/dynamic_debug.c: use address-of operator on section symbols
0638dcc7e75f treewide: Remove uninitialized_var() usage
1eb88dccb827 kernel/extable.c: use address-of operator on section symbols
d069c7ce3995 eth: sun: cassini: remove dead code
d04adc383f32 gcc-12: disable '-Wdangling-pointer' warning for now
253d70232573 ACPI: thermal: drop an always true check
a010f8e64689 x86/boot: Wrap literal addresses in absolute_pointer()
f0bb5135553c flow_dissector: work around stack frame size warning
cd943425c6aa ata: libata-scsi: Use correct device no in ata_find_dev()
76c67ff783ac scsi: stex: Fix gcc 13 warnings
cd91ead608f0 misc: fastrpc: reject new invocations during device removal
bf1d0b84dfd2 misc: fastrpc: return -EPIPE to invocations on device removal
d5f183881529 usb: gadget: f_fs: Add unbind event before functionfs_unbind
ac388cbbd97c net: usb: qmi_wwan: Set DTR quirk for BroadMobi BM818
e101e8160cf0 iio: dac: build ad5758 driver when AD5758 is selected
a87236446a62 iio: dac: mcp4725: Fix i2c_master_send() return value handling
c3b25245e3a8 iio: light: vcnl4035: fixed chip ID check
711049e31e09 HID: wacom: avoid integer overflow in wacom_intuos_inout()
4251ff7fd4a4 HID: google: add jewel USB id
f3b4e2a636d1 iio: adc: mxs-lradc: fix the order of two cleanup operations
030ca3f7b042 mailbox: mailbox-test: fix a locking issue in mbox_test_message_write()
11b084412055 atm: hide unused procfs functions
cea581b385ab ALSA: oss: avoid missing-prototype warnings
384fd08858da netfilter: conntrack: define variables exp_nat_nla_policy and any_addr with CONFIG_NF_NAT
f7e62f1b7229 wifi: b43: fix incorrect __packed annotation
8a9035110288 scsi: core: Decrease scsi_device's iorequest_cnt if dispatch failed
f1e6a1097141 arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
c87334f4e705 ARM: dts: stm32: add pin map for CAN controller on stm32f7
a39f24357fdc wifi: rtl8xxxu: fix authentication timeout due to incorrect RCR value
353fd22693a6 media: dvb-core: Fix use-after-free due to race condition at dvb_ca_en50221
66a6d704c251 media: dvb-core: Fix kernel WARNING for blocking operation in wait_event*()
ed47886a73db media: dvb-core: Fix use-after-free due on race condition at dvb_net
e9033a425ab2 media: mn88443x: fix !CONFIG_OF error by drop of_match_ptr from ID table
08b20cb8e5b9 media: ttusb-dec: fix memory leak in ttusb_dec_exit_dvb()
46e8b0fe538b media: dvb_ca_en50221: fix a size write bug
b66849f35462 media: netup_unidvb: fix irq init by register it at the end of probe
88aef84eefb3 media: dvb-usb: dw2102: fix uninit-value in su3000_read_mac_address
6b9a534ec5cf media: dvb-usb: digitv: fix null-ptr-deref in digitv_i2c_xfer()
f3c8ed7366cd media: dvb-usb-v2: rtl28xxu: fix null-ptr-deref in rtl28xxu_i2c_xfer
65033ab2f930 media: dvb-usb-v2: ce6230: fix null-ptr-deref in ce6230_i2c_master_xfer()
37e36b426197 media: dvb-usb-v2: ec168: fix null-ptr-deref in ec168_i2c_xfer()
64f1b8296bef media: dvb-usb: az6027: fix three null-ptr-deref in az6027_i2c_xfer()
d16f5dc3aa09 media: dvb_demux: fix a bug for the continuity counter
a7c87057f259 ASoC: ssm2602: Add workaround for playback distortions
619f008df14e xfrm: Check if_id in inbound policy/secpath match
21ca81704611 ASoC: dwc: limit the number of overrun messages
acd5f476c16e nbd: Fix debugfs_create_dir error checking
19ce1e1f348d fbdev: stifb: Fix info entry in sti_struct on error path
aa32f2fadb4c fbdev: modedb: Add 1920x1080 at 60 Hz video mode
199f9c5430f9 media: rcar-vin: Select correct interrupt mode for V4L2_FIELD_ALTERNATE
b950966b44f9 ARM: 9295/1: unwind:fix unwind abort for uleb128 case
a823d8e0bb02 mailbox: mailbox-test: Fix potential double-free in mbox_test_message_write()
29bfbc8a63c4 watchdog: menz069_wdt: fix watchdog initialisation
0018639be2d9 mtd: rawnand: marvell: don't set the NAND frequency select
5f0043efdc24 mtd: rawnand: marvell: ensure timing values are written
6c0aacf1b4e1 net: dsa: mv88e6xxx: Increase wait after reset deactivation
94a00f1142c5 net/sched: flower: fix possible OOB write in fl_set_geneve_opt()
dd4b5a204dfa udp6: Fix race condition in udp6_sendmsg & connect
cd4a37f0dcc9 net/netlink: fix NETLINK_LIST_MEMBERSHIPS length report
cec562fbf8c5 ocfs2/dlm: move BITS_TO_BYTES() to bitops.h for wider use
9e6bb63e5e66 net: sched: fix NULL pointer dereference in mq_attach
2188c0f09532 net/sched: Prohibit regrafting ingress or clsact Qdiscs
80b20d528a71 net/sched: Reserve TC_H_INGRESS (TC_H_CLSACT) for ingress (clsact) Qdiscs
321f38375517 net/sched: sch_clsact: Only create under TC_H_CLSACT
5f67d33c01b3 net/sched: sch_ingress: Only create under TC_H_INGRESS
381a703220fb tcp: Return user_mss for TCP_MAXSEG in CLOSE/LISTEN state if user_mss set
32e9a9ee285f tcp: deny tcp_disconnect() when threads are waiting
26e830858a2b af_packet: do not use READ_ONCE() in packet_bind()
43f1402dc2e9 mtd: rawnand: ingenic: fix empty stub helper definitions
dd3773e8c8c9 amd-xgbe: fix the false linkup in xgbe_phy_status
603eec060d14 af_packet: Fix data-races of pkt_sk(sk)->num.
bab2f42d8d8a netrom: fix info-leak in nr_write_internal()
d7aeb591b101 net/mlx5: fw_tracer, Fix event handling
c7ac3ebf41ee dmaengine: pl330: rename _start to prevent build error
17d70de57248 iommu/amd: Don't block updates to GATag if guest mode is on
fa961ad9ef91 iommu/rockchip: Fix unwind goto issue
5abb81b4d762 RDMA/bnxt_re: Fix return value of bnxt_re_process_raw_qp_pkt_rx
2bafc7f22db3 RDMA/bnxt_re: Refactor queue pair creation code
56446791bccd RDMA/bnxt_re: Enable SRIOV VF support on Broadcom's 57500 adapter series
cc5a673d85a9 RDMA/efa: Fix unsupported page sizes in device
cf0b1e5482ea Linux 5.4.245
ec14c6e0a2e5 netfilter: ctnetlink: Support offloaded conntrack entry deletion
5b7d4d91c047 ipv{4,6}/raw: fix output xfrm lookup wrt protocol
6c88024cab83 binder: fix UAF caused by faulty buffer cleanup
e6183912ee90 bluetooth: Add cmd validity checks at the start of hci_sock_ioctl()
9ba28194ea50 io_uring: have io_kill_timeout() honor the request references
6de3014d4bd8 io_uring: don't drop completion lock before timer is fully initialized
b0bfceaa8c0e io_uring: always grab lock in io_cancel_async_work()
00395fd7f9a0 cdc_ncm: Fix the build warning
672e59995e70 net/mlx5: Devcom, serialize devcom registration
f42feb29bad9 net/mlx5: devcom only supports 2 ports
67637a7ee6bd fs: fix undefined behavior in bit shift for SB_NOUSER
02281c23d069 power: supply: bq24190: Call power_supply_changed() after updating input current
f6518954c146 power: supply: core: Refactor power_supply_set_input_current_limit_from_supplier()
db00ef8fd609 power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize
ff484163dfb6 net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
a270ca35a949 cdc_ncm: Implement the 32-bit version of NCM Transfer Block
51d0ac4577c2 Linux 5.4.244
edec0d399907 3c589_cs: Fix an error handling path in tc589_probe()
3dfc1004d9af net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
c59106f8bca1 net/mlx5: Fix error message when failing to allocate device memory
8680d838c98c forcedeth: Fix an error handling path in nv_probe()
b8db4a4e2007 ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg
0099a29bc5a0 x86/show_trace_log_lvl: Ensure stack pointer is aligned, again
c60f38c9bdcb xen/pvcalls-back: fix double frees with pvcalls_new_active_socket()
9b13972e4f23 coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()
f6b610730e8f power: supply: sbs-charger: Fix INHIBITED bit for Status reg
0c5f4cec7596 power: supply: bq27xxx: Fix poll_interval handling and races on remove
dafe9136be7b power: supply: bq27xxx: Fix I2C IRQ race on remove
7b3b11964979 power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition
96bfafbc7d80 power: supply: leds: Fix blink to LED on transition
011f47c8b838 ipv6: Fix out-of-bounds access in ipv6_find_tlv()
120cdad8b2ae bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields
9928ce5225d6 selftests: fib_tests: mute cleanup error message
58766252f6b2 net: fix skb leak in __skb_tstamp_tx()
2b580d0f03c4 media: radio-shark: Add endpoint checks
a730feb672c7 USB: sisusbvga: Add endpoint checks
80100e0863e5 USB: core: Add routines for endpoint checks in old drivers
7e3ae83371a4 udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated().
9ea0c5f90a27 net: fix stack overflow when LRO is disabled for virtual interfaces
1522dc58bff8 fbdev: udlfb: Fix endpoint check
be646802b3dc debugobjects: Don't wake up kswapd from fill_pool()
4e5a7181a6c3 x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms
6d091e0ddcf3 parisc: Fix flush_dcache_page() for usage from irq context
b556618baca5 selftests/memfd: Fix unknown type name build failure
04aee084a3fa x86/mm: Avoid incomplete Global INVLPG flushes
a9f5423460a6 btrfs: use nofs when cleaning up aborted transactions
4f92934d8073 gpio: mockup: Fix mode of debugfs files
da8adda57984 parisc: Allow to reboot machine after system halt
43ffe982a304 parisc: Handle kgdb breakpoints only in kernel context
f7d19a366cd2 m68k: Move signal frame following exception on 68020/030
8facb9cc168a ALSA: hda/realtek: Enable headset onLenovo M70/M90
5cc3e698c2bb ALSA: hda/ca0132: add quirk for EVGA X299 DARK
68e4c390173e mt76: mt7615: Fix build with older compilers
b558275c1b04 spi: fsl-cpm: Use 16 bit mode for large transfers with even size
d64a45c019ac spi: fsl-spi: Re-organise transfer bits_per_word adaptation
aabe8ca79139 watchdog: sp5100_tco: Immediately trigger upon starting.
aeff9e7e87c1 s390/qdio: fix do_sqbs() inline assembly constraint
ab196fe70a18 s390/qdio: get rid of register asm
a4e3c4c65ae8 vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF
74e644795d37 vc_screen: rewrite vcs_size to accept vc, not inode
e9399d4ea5ee usb: gadget: u_ether: Fix host MAC address case
939cafcdf7de usb: gadget: u_ether: Convert prints to device prints
c8489e0fab18 lib/string_helpers: Introduce string_upper() and string_lower() helpers
7e15602c5073 HID: wacom: add three styli to wacom_intuos_get_tool_type
2a12339ce34f HID: wacom: Add new Intuos Pro Small (PTH-460) device IDs
b5185f1b11c7 HID: wacom: Force pen out of prox if no events have been received in a while
e0c1b35239d9 netfilter: nf_tables: hold mutex on netns pre_exit path
6236af6936dd netfilter: nf_tables: validate NFTA_SET_ELEM_OBJREF based on NFT_SET_OBJECT flag
05b4105e6852 netfilter: nf_tables: stricter validation of element data
e832e4bae556 netfilter: nf_tables: allow up to 64 bytes in the set element data area
28fe10236a64 netfilter: nf_tables: add nft_setelem_parse_key()
eb5b579bd69f netfilter: nf_tables: validate registers coming from userspace.
cfe1b9719cce netfilter: nftables: statify nft_parse_register()
7c788393d453 netfilter: nftables: add nft_parse_register_store() and use it
25336cd96b03 netfilter: nftables: add nft_parse_register_load() and use it
116d53f09ff5 nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
df89b1753eb1 powerpc/64s/radix: Fix soft dirty tracking
60b9a9c8f370 tpm/tpm_tis: Disable interrupts for more Lenovo devices
a33c172c1e34 ceph: force updating the msg pointer in non-split case
6eb9ed0ab7b5 serial: Add support for Advantech PCI-1611U card
21f107a95965 statfs: enforce statfs[64] structure initialization
1eb3e32de7b1 KVM: x86: do not report a vCPU as preempted outside instruction boundaries
a88638a95407 can: kvaser_pciefd: Disable interrupts in probe error path
4579e2556767 can: kvaser_pciefd: Do not send EFLUSH command on TFD interrupt
33d5a0a4985a can: kvaser_pciefd: Clear listen-only bit if not explicitly requested
e5ac4f12074e can: kvaser_pciefd: Empty SRB buffer in probe
c0e9fb21b612 can: kvaser_pciefd: Call request_irq() before enabling interrupts
36cd7601e6b9 can: kvaser_pciefd: Set CAN_STATE_STOPPED in kvaser_pciefd_stop()
e65811289346 can: j1939: recvmsg(): allow MSG_CMSG_COMPAT flag
880482525101 ALSA: hda/realtek: Add quirk for 2nd ASUS GU603
57fd0d122edd ALSA: hda/realtek: Add a quirk for HP EliteDesk 805
739056188ad3 ALSA: hda: Add NVIDIA codec IDs a3 through a7 to patch table
4ef155ddf957 ALSA: hda: Fix Oops by 9.1 surround channel names
4f9c0a7c2726 usb: typec: altmodes/displayport: fix pin_assignment_show
33b6648d27b8 usb: dwc3: debugfs: Resume dwc3 before accessing registers
241491524ab0 USB: UHCI: adjust zhaoxin UHCI controllers OverCurrent bit value
1f36dc41616b usb-storage: fix deadlock when a scsi command timeouts more than once
7cef7681aa77 USB: usbtmc: Fix direction for 0-length ioctl control messages
f662f856acec vlan: fix a potential uninit-value in vlan_dev_hard_start_xmit()
53bf7cda160b igb: fix bit_shift to be in [1..8] range
e20105d967ab cassini: Fix a memory leak in the error handling path of cas_init_one()
e519a404a5bb wifi: iwlwifi: mvm: don't trust firmware n_channels
d0baaadd1c5e net: bcmgenet: Restore phy_stop() depending upon suspend/close
2cca63d5bc4e net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop()
435855b0831b net: nsh: Use correct mac_offset to unwind gso skb in nsh_gso_segment()
ed50fcab1435 drm/exynos: fix g2d_open/close helper function definitions
1550bcf2983a media: netup_unidvb: fix use-after-free at del_timer()
69055f99900b net: hns3: fix reset delay time to avoid configuration timeout
304e5cb77eb8 net: hns3: fix sending pfc frames after reset issue
d1bcc606870e erspan: get the proto with the md version for collect_md
f185ede016c9 ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md mode
0eb3ec0a3553 ip6_gre: Make o_seqno start from 0 in native mode
304096241398 ip6_gre: Fix skb_under_panic in __gre6_xmit()
7525aa211758 serial: arc_uart: fix of_iomap leak in `arc_serial_probe`
5a90309002cd vsock: avoid to close connected socket after the timeout
5009aead17f0 ALSA: firewire-digi00x: prevent potential use after free
b22b514209ff net: fec: Better handle pm_runtime_get() failing in .remove()
033297ef3bba af_key: Reject optional tunnel/BEET mode templates in outbound policies
912a6cff0db1 cpupower: Make TSC read per CPU for Mperf monitor
131eb9c9b1a0 ASoC: fsl_micfil: register platform component before registering cpu dai
a3714a47b401 btrfs: fix space cache inconsistency after error loading it from disk
596898303745 btrfs: replace calls to btrfs_find_free_ino with btrfs_find_free_objectid
1e453cb55014 mfd: dln2: Fix memory leak in dln2_probe()
bdc33478d5d3 phy: st: miphy28lp: use _poll_timeout functions for waits
e6e917e82de4 Input: xpad - add constants for GIP interface numbers
9fcef1e37d54 iommu/arm-smmu-v3: Acknowledge pri/event queue overflow if any
4461f41ece4d clk: tegra20: fix gcc-7 constant overflow warning
c23e6383d7fe RDMA/core: Fix multiple -Warray-bounds warnings
3ed95a6f6c64 recordmcount: Fix memory leaks in the uwrite function
38a118fd545b sched: Fix KCSAN noinstr violation
cbe3063a9be1 mcb-pci: Reallocate memory region to avoid memory overlapping
d5cd2928d310 serial: 8250: Reinit port->pm on port specific driver unbind
ccb12585a735 usb: typec: tcpm: fix multiple times discover svids error
c5405c767173 HID: wacom: generic: Set battery quirk only when we see battery data
d3f32dc2ccc2 spi: spi-imx: fix MX51_ECSPI_* macros when cs > 3
bf80dbd52899 HID: logitech-hidpp: Reconcile USB and Unifying serials
e28f9de2d4d7 HID: logitech-hidpp: Don't use the USB serial for USB devices
8a65476dd1ca staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE
2112c4c47d36 Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rsp
fa57021262e9 wifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace
0ad8dd870aa1 wifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf
f6f2d16c77f9 wifi: iwlwifi: pcie: fix possible NULL pointer dereference
a7ec2f424f6e samples/bpf: Fix fout leak in hbm's run_bpf_prog
4ceedc2f8bdf f2fs: fix to drop all dirty pages during umount() if cp_error is set
8659c5f4ffaa ext4: Fix best extent lstart adjustment logic in ext4_mb_new_inode_pa()
cee78217a7ae ext4: set goal start correctly in ext4_mb_normalize_request
d43b1bdb1005 gfs2: Fix inode height consistency check
410e610a96c5 scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition
cc2d2b3dbfb0 lib: cpu_rmap: Avoid use after free on rmap->obj array entries
89f5055f9b0b scsi: target: iscsit: Free cmds before session free
67236cf14db3 net: Catch invalid index in XPS mapping
92af9cb86ab0 net: pasemi: Fix return type of pasemi_mac_start_tx()
644a9d5e2276 scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
c4813f858e5c ext2: Check block size validity during mount
56c7e9c39bd5 wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex
c409eb45f5dd ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects
710e09fd116e ACPICA: Avoid undefined behavior: applying zero offset to null pointer
99c8f2e6f33a drm/tegra: Avoid potential 32-bit integer overflow
ccae2233e993 ACPI: EC: Fix oops when removing custom query handlers
48ac727ea4a3 firmware: arm_sdei: Fix sleep from invalid context BUG
a2a5d3a584bf memstick: r592: Fix UAF bug in r592_remove due to race condition
d73e8c47675e regmap: cache: Return error in cache sync operations for REGCACHE_NONE
9b72cb394f96 drm/amd/display: Use DC_LOG_DC in the trasform pixel function
a75d9211a07f fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
196528ad4844 af_unix: Fix data races around sk->sk_shutdown.
7d17bc2d4e75 af_unix: Fix a data race of sk->sk_receive_queue->qlen.
699c9e7c9f66 net: datagram: fix data-races in datagram_poll()
1aa872e967f2 ipvlan:Fix out-of-bounds caused by unclear skb->cb
4188c5269475 net: add vlan_get_protocol_and_depth() helper
57a269d82f2e net: tap: check vlan with eth_type_vlan() method
1747aa98ab13 net: annotate sk->sk_err write from do_recvmmsg()
a507022c862e netlink: annotate accesses to nlk->cb_running
b47aae7038cc netfilter: conntrack: fix possible bug_on with enable_hooks=1
d7343f8de019 net: Fix load-tearing on sk->sk_stamp in sock_recv_cmsgs().
42e1dafa65e2 linux/dim: Do nothing if no time delta between samples
7460ac5a66fb ARM: 9296/1: HP Jornada 7XX: fix kernel-doc warnings
22b8ac608af5 drm/mipi-dsi: Set the fwnode for mipi_dsi_device
d4992b2b5c68 driver core: add a helper to setup both the of_node and fwnode of a device
(From OE-Core rev: bc75da82987e243bdfe3e1192bb715438b3a7378)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Refactor _process_deps to expand systemd instance specifier "%i" to the
template instance.
This change expands on prior commit e510222b57 ("systemd-systemctl: fix
instance template WantedBy symlink construction") by substituting every
"%i" pattern-match with the instance name.
The regexp handles the following cases:
* svc-wants@%i.service
* sys-subsystem-net-devices-%i.device
(From OE-Core rev: 2aa82324d43467e7c8bfbbb59570ee3306264b75)
Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9356276137267a29ae2289d796a2940918375308)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Fix issue of the below instance template systemd service dependency
[Install]
WantedBy=svc-wants@%i.service
creating the symlink (instance "a" example)
/etc/systemd/system/svc-wants@%i.service.wants/svc-wanted-by@a.service
which should be
/etc/systemd/system/svc-wants@a.service.wants/svc-wanted-by@a.service
as implemented by this change.
The functionality appears regressed just after "thud" baseline when the
logic was refactored from shell script into python (commit
925e30cb10)
(From OE-Core rev: 308397f0bb3d6f3d4e9ec2c6a10823184049c9b5)
(From OE-Core rev: 2751472807edc6d2ccc93b6339e6dc57d4abb2da)
Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 372b29c8ad270d4d430c26a4e614976c7029afaf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Even if initramfs_bundle_path was used, a wrong compression was reflected
in output its template file. Use linux.bin as universal kernel image.
The linux.bin file covers both cases because it's beying created from
vmlinux.
We know, that vmlinux is created inside compressed directory already,
so no external compression will be used.
(From OE-Core rev: 8280c089b0df97368476b8bc54ed758e809f42f5)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Walter Schweizer <walter.schweizer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport of 27fbbeaf972bb7e2535c1b23375cfa9d66b69db6 in master branch
Signed-off-by: Remi Peuvergne <remi.peuvergne@non.se.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit adds Initramfs bundle support to the FIT image in addition
to u-boot boot script capability.
These new features are selectable.
In case of Initramfs, the kernel is configured to be bundled with the rootfs
in the same binary (ie: zImage-initramfs-<machine>.bin). When the kernel is
copied to RAM and executed, it unpacks the Initramfs rootfs.
For more information about Initramfs please read:
https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt
For more details about the Initramfs bundle and boot script implementation
please check the kernel-fitimage.bbclass paragraph in Yocto reference
or mega manual.
Current limitations:
- Initramfs bundle FIT support has been tested on ARM 32-bit
- The kernel image type in case of ARM 32-bit is zImage
Change-Id: I901bfd899e8d733c5b9a2b6645b1d4748f4b1fda
(From OE-Core rev: e3eb79c0a11e9f67af3161361fb88b00123ecbac)
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport of 19fa415c8769a67b52babd80f71d68bf36a21db2 in master branch
Signed-off-by: Remi Peuvergne <remi.peuvergne@non.se.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
We are seeing autobuilder failures with the latest uninative:
patchelf: open: Permission denied
See upstream discussion which suggests handling
read-only files explicitly outside of patchelf:
https://github.com/NixOS/patchelf/pull/89
(From OE-Core rev: 3680fcbf9ba327aedb32bb4eb647dd56fcccfd51)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Update uninative to work with the new glibc 2.37.
(From OE-Core rev: c95020a30ee8266d4bfa7b14a7526c10590027fd)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 360971a6ba562fa0b29bd062b96ede2d3a47fa2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Including libgcc solves issues with libpthread.
(From OE-Core rev: 8bb60a90dbd59b22e5ba884804b3cb47df45e97d)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 36eb46589fb01374d4738a2c376386c68d06aa83)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Recent changes in bitbake mean the datastore is not always reset between
ConfigParsed and BuildStarted. This means in a fresh buiild, with memory
resident bitbake active, uninative may end up disabled.
Update the code so the enable code is always run at BuildStarted if
needed.
(From OE-Core rev: 24897c70980f934cf59a28a0d3b6e8fddcb15a7f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db743cc78fe5172bb4a4dac9c1dad4f5aa9e1491)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add new fetcher for the NVD database using the 2.0 API [1].
The implementation changes as little as possible, keeping the current
database format (but using a different database file for the transition
period), with a notable exception of not using the META table.
Minor changes that could be visible:
- the database starts in 1999 instead of 2002
- the complete fetch is longer (30 minutes typically)
[1] https://nvd.nist.gov/developers/vulnerabilities
(From OE-Core rev: 191e2c6d7009999f049a0cf8460259f8f91a829d)
Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fb62c4c3dbca4e58f7ce6cf29d4b630a06411a97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
OpenPrinting CUPS is an open source printing system. In versions 2.4.2
and prior, a heap buffer overflow vulnerability would allow a remote
attacker to launch a denial of service (DoS) attack. A buffer overflow
vulnerability in the function `format_log_line` could allow remote
attackers to cause a DoS on the affected system. Exploitation of the
vulnerability can be triggered when the configuration file `cupsd.conf`
sets the value of `loglevel `to `DEBUG`. No known patches or
workarounds exist at time of publication.
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-32324https://security-tracker.debian.org/tracker/CVE-2023-32324
Upstream Patch:
https://github.com/OpenPrinting/cups/commit/fd8bc2d32589
(From OE-Core rev: cb46ae57abe3069d6a4dc2ab0b8dfce5a4a5bd15)
Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
We don't compare reproducibility of the native/cross components, only the
target ones. With the long build times of rust-native, the test now takes
crazy lengths of time so this tweak should allow us to reuse native/cross
artefacts from sstate whilst still testing the target output is
reproducible.
(From OE-Core rev: fd3d9b32256bceacd514bfd5ebfa0a30bcfdbd0c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b494d83c639a877cefeb7cbab6d37195e492f059)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
At second running, there are four new failed case:
d_loaddump f_bigalloc_badinode f_bigalloc_orphan_list f_dup_resize
The test_data.tmp is necessary, but it is deleted by run-ptest.
So it should be restored after testing.
(From OE-Core rev: 496dc586446d09a77923bc191e5305ba06c8f59e)
Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d0d08dd9a8a179e25b9cfcbac696c1d212a1910c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
sshd.socket launches the templated sshd@.service, so by moving the
sshdgenkeys.service to sshd.socket, key generation can start in advance
of a connection.
(From OE-Core rev: 96798603273bbab40a7e19bbb67a9a5398648c21)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af38a39b4bed9e43c5075008be47ca72191a489e)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
f53660ec669f Linux 5.4.243
d60f15682a5c drm/amd/display: Fix hang when skipping modeset
93ca0d7b88e8 mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock
3f231e30cdeb drm/exynos: move to use request_irq by IRQF_NO_AUTOEN flag
65a8b6d129cf drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
62ac943eb2a9 firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()
a781ea3437a0 drm/msm: Fix double pm_runtime_disable() call
e4e88f74eb2f PM: domains: Restore comment indentation for generic_pm_domain.child_links
ddcca7299de3 printk: declare printk_deferred_{enter,safe}() in include/linux/printk.h
c2c3ffc79896 PCI: pciehp: Fix AB-BA deadlock between reset_lock and device_lock
6a24285f64ea PCI: pciehp: Use down_read/write_nested(reset_lock) to fix lockdep errors
dde34ef0bc73 drbd: correctly submit flush bio on barrier
373720b9289c serial: 8250: Fix serial8250_tx_empty() race with DMA Tx
f2a1071100fe tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH
ba04d6af5ac4 ext4: fix invalid free tracking in ext4_xattr_move_to_block()
185062a21976 ext4: remove a BUG_ON in ext4_mb_release_group_pa()
d7ff83a71d77 ext4: bail out of ext4_xattr_ibody_get() fails for any reason
486efbbc9445 ext4: add bounds checking in get_max_inline_xattr_value_size()
b4fa4768c9ac ext4: fix deadlock when converting an inline directory in nojournal mode
2dda20290671 ext4: improve error recovery code paths in __ext4_remount()
525c802de3f9 ext4: fix data races when using cached status extents
4f4fd982d972 ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
1b90fbc75901 ext4: fix WARNING in mb_find_extent
f9e27d4bdb1f HID: wacom: insert timestamp to packed Bluetooth (BT) events
d8b609e66244 HID: wacom: Set a default resolution for older tablets
3decf3a750a9 drm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend
625d4112ea25 drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras
b1fabc379463 drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
c6bb59662432 drm/panel: otm8009a: Set backlight parent to panel device
3e7703624612 f2fs: fix potential corruption when moving a directory
dafc5a5c8fda ARM: dts: s5pv210: correct MIPI CSIS clock name
ad751b896eae ARM: dts: exynos: fix WM8960 clock name in Itop Elite
823496470790 remoteproc: st: Call of_node_put() on iteration error
a1366ecb0905 remoteproc: stm32: Call of_node_put() on iteration error
f16bc5111cc6 sh: nmi_debug: fix return value of __setup handler
c9871a47f4ce sh: init: use OF_EARLY_FLATTREE for early init
111b08116dac sh: math-emu: fix macro redefined warning
8fb33166aed8 inotify: Avoid reporting event with invalid wd
0ccea97abe6d platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i
871641c7ebe5 cifs: fix pcchunk length type in smb2_copychunk_range
3e2b4bceaaf9 btrfs: print-tree: parent bytenr must be aligned to sector size
1e05bf5e80bb btrfs: don't free qgroup space unless specified
b232f5e8cf81 btrfs: fix btrfs_prev_leaf() to not return the same key twice
96f71f669bee perf symbols: Fix return incorrect build_id size in elf_read_build_id()
78190a6ebe4e perf map: Delete two variable initialisations before null pointer checks in sort__sym_from_cmp()
ffec80cc6761 perf vendor events power9: Remove UTF-8 characters from JSON files
62f1ebfe9aac virtio_net: suppress cpu stall when free_unused_bufs
1dc5faf30a6c virtio_net: split free_unused_bufs()
b15637e717ad net: dsa: mt7530: fix corrupt frames using trgmii on 40 MHz XTAL MT7621
544b0de2d767 ALSA: caiaq: input: Add error handling for unsupported input methods in `snd_usb_caiaq_input_init`
35f2642f4abd drm/amdgpu: add a missing lock for AMDGPU_SCHED
5cfe3f910f7c af_packet: Don't send zero-byte data in packet_sendmsg_spkt().
fbcfa00386e1 ionic: remove noise from ethtool rxnfc error msg
4a56f1f6fe92 rxrpc: Fix hard call timeout units
dfa36eb38020 net/sched: act_mirred: Add carrier check
cc5ccfb7c0ee writeback: fix call of incorrect macro
9c1fcb97f98f net: dsa: mv88e6xxx: add mv88e6321 rsvd2cpu
e80412439030 sit: update dev->needed_headroom in ipip6_tunnel_bind_dev()
cc5fe387c629 net/sched: cls_api: remove block_cb from driver_list before freeing
8acd3a28873f net/ncsi: clear Tx enable mode when handling a Config required AEN
bc0905a76531 relayfs: fix out-of-bounds access in relay_file_read
c038ae623a7c kernel/relay.c: fix read_pos error when multiple readers
4f4de392f492 crypto: safexcel - Cleanup ring IRQ workqueues on load failure
b9878f485d70 crypto: inside-secure - irq balance
439d3a7056d5 dm verity: fix error handling for check_at_most_once on FEC
0156f7dbd822 dm verity: skip redundant verity_handle_err() on I/O errors
e4875d6e053d mailbox: zynqmp: Fix counts of child nodes
ff0d64f5127e mailbox: zynq: Switch to flexible array to simplify code
352b152905cc tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystem
9b2ed144318e nohz: Add TICK_DEP_BIT_RCU
c8b6063f13ad netfilter: nf_tables: deactivate anonymous set from preparation phase
29fb2a1a5f71 debugobject: Ensure pool refill (again)
cef1b8a4df5c perf intel-pt: Fix CYC timestamps after standalone CBR
5ead86d57583 perf auxtrace: Fix address filter entire kernel size
29a1ef57c3be dm ioctl: fix nested locking in table_clear() to remove deadlock concern
337b7af27356 dm flakey: fix a crash with invalid table line
6d126899b074 dm integrity: call kmem_cache_destroy() in dm_integrity_init() error path
cbe0a7ec67c3 dm clone: call kmem_cache_destroy() in dm_clone_init() error path
d8f66a19f8be s390/dasd: fix hanging blockdevice after request requeue
5492d4081274 btrfs: scrub: reject unsupported scrub flags
946e067b4cda scripts/gdb: fix lx-timerlist for Python3
7cf5ce2857b8 clk: rockchip: rk3399: allow clk_cifout to force clk_cifout_src to reparent
4379d5ce9235 wifi: rtl8xxxu: RTL8192EU always needs full init
ecdcefd312d4 mailbox: zynqmp: Fix typo in IPI documentation
38afc633d374 mailbox: zynqmp: Fix IPI isr handling
14964127be77 md/raid10: fix null-ptr-deref in raid10_sync_request
fe1cbbcb1a25 nilfs2: fix infinite loop in nilfs_mdt_get_block()
4569a292a84e nilfs2: do not write dirty data after degenerating to read-only
fd37a5c6998b parisc: Fix argument pointer in real64_call_asm()
736aeb17b6a0 afs: Fix updating of i_size with dv jump from server
27263ff39784 dmaengine: at_xdmac: do not enable all cyclic channels
8c821199bc28 dmaengine: dw-edma: Fix to enable to issue dma request on DMA processing
24c9c4ad23d3 dmaengine: dw-edma: Fix to change for continuous transfer
2e900f363174 phy: tegra: xusb: Add missing tegra_xusb_port_unregister for usb2_port and ulpi_port
58e026465814 pwm: mtk-disp: Disable shadow registers before setting backlight values
33f00f0a7368 pwm: mtk-disp: Adjust the clocks to avoid them mismatch
e5e9e59c4564 pwm: mtk-disp: Don't check the return code of pwmchip_remove()
8e238e88822f dmaengine: mv_xor_v2: Fix an error code.
026df12f3c4d leds: TI_LMU_COMMON: select REGMAP instead of depending on it
a34f6dcb78c6 ext4: fix use-after-free read in ext4_find_extent for bigalloc + inline
6dfd85ada867 openrisc: Properly store r31 to pt_regs on unhandled exceptions
2fd44d2bde34 clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails
f2aaf419889c clocksource: davinci: axe a pointless __GFP_NOFAIL
fc051820d616 clocksource/drivers/davinci: Avoid trailing '\n' hidden in pr_fmt()
945e9898624d RDMA/mlx5: Use correct device num_ports when modify DC
9bf843683a32 SUNRPC: remove the maximum number of retries in call_bind_status
1dfa3c9dd27b Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe
ce6c42f0b644 input: raspberrypi-ts: Release firmware handle when not needed
de85be00a8f3 firmware: raspberrypi: Introduce devm_rpi_firmware_get()
d537afa08e15 firmware: raspberrypi: Keep count of all consumers
919f470337e1 NFSv4.1: Always send a RECLAIM_COMPLETE after establishing lease
fe60c3af70bf IB/hfi1: Fix SDMA mmu_rb_node not being evicted in LRU order
b4f12e2402a5 RDMA/siw: Remove namespace check from siw_netdev_event()
795d11e8ff35 clk: add missing of_node_put() in "assigned-clocks" property parsing
0c770f95a2d7 power: supply: generic-adc-battery: fix unit scaling
31ca78dc1f50 rtc: meson-vrtc: Use ktime_get_real_ts64() to get the current time
8feca6259007 RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()
683cd87041ac rtc: omap: include header for omap_rtc_power_off_program prototype
a48403e8c325 RDMA/rdmavt: Delete unnecessary NULL check
b24e0e4612a5 RDMA/siw: Fix potential page_array out of range access
318bc22decd4 perf/core: Fix hardlockup failure caused by perf throttle
ff3edfb3c825 powerpc/rtas: use memmove for potentially overlapping buffer copy
333a2a9846b9 macintosh: via-pmu-led: requires ATA to be set
e2dd8bbab7b5 powerpc/sysdev/tsi108: fix resource printk format warnings
770d583cd5ae powerpc/wii: fix resource printk format warnings
f60c8d7c16bb powerpc/mpc512x: fix resource printk format warning
97cd970f8add macintosh/windfarm_smu_sat: Add missing of_node_put()
54dda7322255 spmi: Add a check for remove callback when removing a SPMI driver
af9bfe1c0a50 staging: rtl8192e: Fix W_DISABLE# does not work after stop/start
572d48361aa0 serial: 8250: Add missing wakeup event reporting
488baa8038fa tty: serial: fsl_lpuart: adjust buffer length to the intended size
8fa80b452bc9 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
26ca30516b2c usb: mtu3: fix kernel panic at qmu transfer done irq handler
bd7a3e6416ab usb: chipidea: fix missing goto in `ci_hdrc_probe`
f9e2abb6df6d sh: sq: Fix incorrect element size for allocating bitmap buffer
e1431faa89bd uapi/linux/const.h: prefer ISO-friendly __typeof__
6716203844bc spi: cadence-quadspi: fix suspend-resume implementations
caaefbf823ab mtd: spi-nor: cadence-quadspi: Handle probe deferral while requesting DMA channel
ee5ffe4cdfea mtd: spi-nor: cadence-quadspi: Don't initialize rx_dma_complete on failure
7c69aeca59f2 mtd: spi-nor: cadence-quadspi: Provide a way to disable DAC mode
df9708297bb2 mtd: spi-nor: cadence-quadspi: Make driver independent of flash geometry
30ac77e99525 scripts/gdb: bail early if there are no generic PD
35a2681e9937 PM: domains: Fix up terminology with parent/child
0fbc62db7e10 scripts/gdb: bail early if there are no clocks
0988baae3984 ia64: salinfo: placate defined-but-not-used warning
d6cb7b6868b9 ia64: mm/contig: fix section mismatch warning/error
d3c6d52148a1 of: Fix modalias string generation
ca0f4ad2b7a3 vmci_host: fix a race condition in vmci_host_poll() causing GPF
170e22324052 spi: fsl-spi: Fix CPM/QE mode Litte Endian
863238433703 spi: qup: Don't skip cleanup in remove's error path
814a9a6de1b1 linux/vt_buffer.h: allow either builtin or modular for macros
3547e5bd0d10 ASoC: es8316: Handle optional IRQ assignment
9650d5a1e7df ASoC: es8316: Use IRQF_NO_AUTOEN when requesting the IRQ
f5ce428e3eae genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()
0f31993721f9 PCI: imx6: Install the fault handler only on compatible match
0fee5030c094 usb: gadget: udc: renesas_usb3: Fix use after free bug in renesas_usb3_remove due to race condition
7d2bc728cc8d iio: light: max44009: add missing OF device matching
ee0e2f7af02a fpga: bridge: fix kernel-doc parameter description
3fb02404c1e0 usb: host: xhci-rcar: remove leftover quirk handling
36fb7843f1c3 pstore: Revert pmsg_lock back to a normal mutex
602fa8af44fd tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.
638810f5d020 net: amd: Fix link leak when verifying config failed
9ef809945edd netlink: Use copy_to_user() for optval in netlink_getsockopt().
de0ffb5145c9 Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work"
27c468ec1af1 ipv4: Fix potential uninit variable access bug in __ip_make_skb()
3b9960e21e8b netfilter: nf_tables: don't write table validation state without mutex
64d2c1cfd04f bpf: Don't EFAULT for getsockopt with optval=NULL
3bf918f90f93 ixgbe: Enable setting RSS table to default values
053b36c50bdd ixgbe: Allow flow hash to be set via ethtool
ae23fc2b230a wifi: iwlwifi: mvm: check firmware response size
ffdfaf27ebf1 wifi: iwlwifi: make the loop for card preparation effective
3725b35fc0e5 md/raid10: fix memleak of md thread
fb3f2f2fa0f3 md: update the optimal I/O size on reshape
b6460f68c1cc md/raid10: fix memleak for 'conf->bio_split'
8c5d5d7ffd1e md/raid10: fix leak of 'r10bio->remaining' for recovery
1fee7e391d99 bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmap
d5fdcd2384ff nvme-fcloop: fix "inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage"
b1e6b3fd1104 nvme: fix async event trace event
eaaa0c6b0540 nvme: handle the persistent internal error AER
c229821510df bpf, sockmap: fix deadlocks in the sockhash and sockmap
74d90f92eafe scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()
01993768b3e7 crypto: drbg - Only fail when jent is unavailable in FIPS mode
b21c7e28e801 crypto: drbg - make drbg_prepare_hrng() handle jent instantiation errors
14efbe2499c1 bpftool: Fix bug for long instructions in program CFG dumps
3e3533c56cf8 wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_reg()
03109f1870e2 wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_rfreg()
e163e64227ad rtlwifi: Replace RT_TRACE with rtl_dbg
faec6b865468 rtlwifi: Start changing RT_TRACE into rtl_dbg
7c5e804b6d52 f2fs: handle dqget error in f2fs_transfer_project_quota()
7a2ae008a53c scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS
a4245323d272 scsi: target: iscsit: Fix TAS handling during conn cleanup
8e402d5198b3 net/packet: convert po->auxdata to an atomic flag
f3ac72c7ab20 net/packet: convert po->origdev to an atomic flag
4760229b820d net/packet: annotate accesses to po->xmit
47464e0c658a vlan: partially enable SIOCSHWTSTAMP in container
8f851a75bbc7 scm: fix MSG_CTRUNC setting condition for SO_PASSSEC
7160c6940a97 wifi: rtw88: mac: Return the original error from rtw_mac_power_switch()
743ae09b28ce wifi: rtw88: mac: Return the original error from rtw_pwr_seq_parser()
72d5edceb2de tools: bpftool: Remove invalid \' json escape
0d1792c98351 wifi: ath6kl: reduce WARN to dev_dbg() in callback
8d17563174b0 wifi: ath5k: fix an off by one check in ath5k_eeprom_read_freq_list()
d98993186607 wifi: ath9k: hif_usb: fix memory leak of remain_skbs
1286c4ce1f01 wifi: ath6kl: minor fix for allocation size
a3e7a3d472c2 tick/common: Align tick period with the HZ tick.
04be737176e6 tick: Get rid of tick_period
3df29117d8a6 tick/sched: Optimize tick_do_update_jiffies64() further
b6fe34d93655 tick/sched: Reduce seqcount held scope in tick_do_update_jiffies64()
746eac77e008 tick/sched: Use tick_next_period for lockless quick check
a23607579f12 timekeeping: Split jiffies seqlock
22d7ec50ffdd debugobject: Prevent init race with static objects
a687da500464 arm64: kgdb: Set PSTATE.SS to 1 to re-enable single-step
442470948c04 x86/ioapic: Don't return 0 from arch_dynirq_lower_bound()
824683dbec23 regulator: stm32-pwr: fix of_iomap leak
53adb408b170 media: rc: gpio-ir-recv: Fix support for wake-up
9df630dafa1a media: rcar_fdp1: Fix refcount leak in probe and remove function
6fd6e2f29c18 media: rcar_fdp1: Fix the correct variable assignments
75b55a3cbb4a media: rcar_fdp1: Make use of the helper function devm_platform_ioremap_resource()
03d234459259 media: rcar_fdp1: fix pm_runtime_get_sync() usage count
aebe8e43d85e media: rcar_fdp1: simplify error check logic at fdp_open()
a4b6ab360f56 media: saa7134: fix use after free bug in saa7134_finidev due to race condition
cd1583caed7e media: dm1105: Fix use after free bug in dm1105_remove due to race condition
0c61a6897c47 x86/apic: Fix atomic update of offset in reserve_eilvt_offset()
5224ea575196 regulator: core: Avoid lockdep reports when resolving supplies
73b262115f5f regulator: core: Consistently set mutex_owner when using ww_mutex_lock_slow()
9b53238b3be2 drm/lima/lima_drv: Add missing unwind goto in lima_pdev_probe()
0a6d476d9c9d mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data
f79421c36070 drm/msm/adreno: drop bogus pm_runtime_set_active()
438d00b18d55 drm/msm/adreno: Defer enabling runpm until hw_init()
594726c93841 drm/msm: fix unbalanced pm_runtime_enable in adreno_gpu_{init, cleanup}
37c8085cf9c0 firmware: qcom_scm: Clear download bit during reboot
620b983589e0 media: av7110: prevent underflow in write_ts_to_decoder()
1205c52cf270 media: uapi: add MEDIA_BUS_FMT_METADATA_FIXED media bus format.
c6a315f0b140 media: bdisp: Add missing check for create_workqueue
1a057b68952d ARM: dts: qcom: ipq8064: Fix the PCI I/O port range
699bf5a793ca ARM: dts: qcom: ipq8064: reduce pci IO size to 64K
1d207fcdf670 ARM: dts: qcom: ipq4019: Fix the PCI I/O port range
e0162c92973b EDAC/skx: Fix overflows on the DRAM row address mapping arrays
acb6f45775bb arm64: dts: renesas: r8a774c0: Remove bogus voltages from OPP table
0524eb688297 arm64: dts: renesas: r8a77990: Remove bogus voltages from OPP table
a535b5d4a2c3 drm/probe-helper: Cancel previous job before starting new one
4223f98d4d45 drm/vgem: add missing mutex_destroy
8747cd580b59 drm/rockchip: Drop unbalanced obj unref
9773c58594ff erofs: fix potential overflow calculating xattr_isize
880c79bdb002 erofs: stop parsing non-compact HEAD index if clusterofs is invalid
e998107daad2 tpm, tpm_tis: Do not skip reset of original interrupt vector
1c131a32a9b5 selinux: ensure av_permissions.h is built when needed
11458692ebd2 selinux: fix Makefile dependencies of flask.h
823f554747f8 ubifs: Free memory for tmpfile name
d3f1b113a503 ubi: Fix return value overwrite issue in try_write_vid_and_data()
6f2eee5457bc ubifs: Fix memleak when insert_old_idx() failed
2c2a76b7c4b5 Revert "ubifs: dirty_cow_znode: Fix memleak in error handling path"
5d1f14beabab i2c: omap: Fix standard mode false ACK readings
d482617fa662 KVM: nVMX: Emulate NOPs in L2, and PAUSE if it's not intercepted
67d33b8c5696 reiserfs: Add security prefix to xattr name in reiserfs_security_write()
2399b1fda025 ring-buffer: Sync IRQ works before buffer destruction
a7fa8c9dc851 pwm: meson: Fix g12a ao clk81 name
a3e0d3430f33 pwm: meson: Fix axg ao mux parents
719459877d58 kheaders: Use array declaration instead of char
4ec3be7003b6 ipmi: fix SSIF not responding under certain cond.
bead854bcca2 ipmi:ssif: Add send_retries increment
0f91290774c7 MIPS: fw: Allow firmware to pass a empty env
3092933b2637 xhci: fix debugfs register accesses while suspended
3c5a28658d12 debugfs: regset32: Add Runtime PM support
2298b30010fd staging: iio: resolver: ads1210: fix config mode
fbd11f086bf1 perf sched: Cast PTHREAD_STACK_MIN to int as it may turn into sysconf(__SC_THREAD_STACK_MIN_VALUE)
6525d2fd6f83 USB: dwc3: fix runtime pm imbalance on unbind
2d5844aa6e56 USB: dwc3: fix runtime pm imbalance on probe errors
0804f3715c09 asm-generic/io.h: suppress endianness warnings for readq() and writeq()
944ff47a19f2 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer Iconia One 7 B1-750
f00e4bfd7f08 iio: adc: palmas_gpadc: fix NULL dereference on rmmod
85ed09c33021 USB: serial: option: add UNISOC vendor and TOZED LT70C product
48cdcb40d589 bluetooth: Perform careful capability checks in hci_sock_ioctl()
c8258fc827c8 drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
425eea395f1f wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()
3b7509b6f5e2 counter: 104-quad-8: Fix race condition between FLAG and CNTR reads
(From OE-Core rev: 1bef1a4cb24e49d23e4d84e05174e0ec1ec7cbe1)
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:
58f42ed1cd31 Linux 5.4.241
879593643717 xfs: force log and push AIL to clear pinned inodes when aborting mount
c76dd368759a xfs: don't reuse busy extents on extent trim
4679b73a8ed4 xfs: consider shutdown in bmapbt cursor delete assert
9355fd118b4e xfs: shut down the filesystem if we screw up quota reservation
48f75df5b3bb xfs: report corruption only as a regular error
3cce34ceb2ef xfs: set inode size after creating symlink
e76bd6da5123 xfs: fix up non-directory creation in SGID directories
ad6613c98463 xfs: remove the di_version field from struct icdinode
ca4533c951e1 xfs: simplify a check in xfs_ioctl_setattr_check_cowextsize
e078b3de3e41 xfs: simplify di_flags2 inheritance in xfs_ialloc
0c553917b61a xfs: only check the superblock version for dinode size calculation
90aab52d062c xfs: add a new xfs_sb_version_has_v3inode helper
edd36a57b4a6 xfs: remove the kuid/kgid conversion wrappers
3ef81874f71c xfs: remove the icdinode di_uid/di_gid members
cc508a41ae48 xfs: ensure that the inode uid/gid match values match the icdinode ones
7a9dc7977140 xfs: merge the projid fields in struct xfs_icdinode
4f3252e7e132 xfs: show the proper user quota options
799cafa4f304 coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug
440bdc49f744 watchdog: sbsa_wdog: Make sure the timeout programming is within the limits
70ca826d3ddb i2c: ocores: generate stop condition after timeout in polling mode
5fb5bdcdcd5a ubi: Fix deadlock caused by recursively holding work_sem
0b27716f2d44 mtd: ubi: wl: Fix a couple of kernel-doc issues
e55588c44255 ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size
a652c30fa2ba asymmetric_keys: log on fatal failures in PE/pkcs7
5809dbacc431 verify_pefile: relax wrapper length check
0213f027d030 drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
b3052e5d468b efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
02a78e653933 i2c: imx-lpi2c: clean rx/tx buffers upon new message
1ef56397449e power: supply: cros_usbpd: reclassify "default case!" as debug
7169d1638824 net: macb: fix a memory corruption in extended buffer descriptor mode
c39fa0398a30 udp6: fix potential access to stale information
9c46c49ad3ff RDMA/core: Fix GID entry ref leak when create_ah fails
ad831a7079c9 sctp: fix a potential overflow in sctp_ifwdtsn_skip
afffe0d1e6b9 qlcnic: check pci_reset_function result
a841f6a0a39d niu: Fix missing unwind goto in niu_alloc_channels()
fcd084e199b9 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
1b77cb6f5e4a mtd: rawnand: stm32_fmc2: remove unsupported EDO mode
4c1d882b53a3 mtd: rawnand: meson: fix bitmask for length in command word
266746003439 mtdblock: tolerate corrected bit-flips
50dbfd9dacda btrfs: fix fast csum implementation detection
c6db5f2a31cd btrfs: print checksum type and implementation at mount time
8a99e6200c38 Bluetooth: Fix race condition in hidp_session_thread
c02421992505 Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
9025cea8e03b ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
4d419195d6b8 ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex()
fe158eeccc38 ALSA: i2c/cs8427: fix iec958 mixer control deactivation
aa23fa32e5ff ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
62ccf2e0b106 ALSA: emu10k1: fix capture interrupt handler unlinking
9a3ba7b24d08 Revert "pinctrl: amd: Disable and mask interrupts on resume"
2945f948aa84 irqdomain: Fix mapping-creation race
e8f3aea716d2 irqdomain: Refactor __irq_domain_alloc_irqs()
3804f265c1bf irqdomain: Look for existing mapping only once
e7bba7ddb431 mm/swap: fix swap_info_struct race between swapoff and get_swap_pages()
fd644712bccd ring-buffer: Fix race while reader and writer are on the same page
c208b4321e8f drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
c381527918b1 net_sched: prevent NULL dereference if default qdisc setup failed
987f599fc556 tracing: Free error logs of tracing instances
d2136f05690c can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access
5a74a75fc3d3 ftrace: Mark get_lock_parent_ip() __always_inline
95bbfeb4ff0e perf/core: Fix the same task check in perf_event_set_output
666c25d35e5e ALSA: hda/realtek: Add quirk for Clevo X370SNW
83b16a60e413 nilfs2: fix sysfs interface lifetime
613bf23c070d nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()
aa8e50688d44 tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty
aabba4440409 tty: serial: sh-sci: Fix Rx on RZ/G2L SCI
209ab5c234c5 tty: serial: sh-sci: Fix transmit end interrupt handler
9a2a6443d655 iio: dac: cio-dac: Fix max DAC write value check for 12-bit
e469ebb28dbe iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
abc5b4f8cdff USB: serial: option: add Quectel RM500U-CN modem
b9c11537efcf USB: serial: option: add Telit FE990 compositions
38c00a22d67b usb: typec: altmodes/displayport: Fix configure initial pin assignment
f417d3fea3de USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs
47132be17d7b xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu
5fccf2c546ed NFSD: callback request does not use correct credential for AUTH_SYS
3686380d9d60 sunrpc: only free unix grouplist after RCU settles
1627119153d9 gpio: davinci: Add irq chip flag to skip set wake
0cf600ca1bdf ipv6: Fix an uninit variable access bug in __ip6_make_skb()
0443fff49d63 sctp: check send stream number after wait_for_sndbuf
93f3885211ae net: don't let netpoll invoke NAPI if in xmit context
0d2fa30078af icmp: guard against too small mtu
a3593082e0da wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta
4220f83b9f03 pwm: sprd: Explicitly set .polarity in .get_state()
6e1f29397dea pwm: cros-ec: Explicitly set .polarity in .get_state()
dbd764e9d422 pinctrl: amd: Disable and mask interrupts on resume
dd7e19f97f71 pinctrl: amd: disable and mask interrupts on probe
3f3e4bd3f0cc pinctrl: amd: Use irqchip template
387236b9e002 smb3: fix problem with null cifs super block with previous patch
2e64d7b182c6 treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()
199197660bdd Revert "treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()"
522af69af24f cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
4311ae04b386 x86/PCI: Add quirk for AMD XHCI controller that loses MSI-X state in D3hot
110d425cdfb1 scsi: ses: Handle enclosure with just a primary component gracefully
(From OE-Core rev: 41eacaf738d753632fb17031e58dc898f2290a61)
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:
32bea3bac5ca Linux 5.4.240
4d4cb7663613 gfs2: Always check inode size of inline inodes
928240c36891 firmware: arm_scmi: Fix device node validation for mailbox transport
0f5c0e0a4c0b net: sched: fix race condition in qdisc_graft()
22d95b544924 net_sched: add __rcu annotation to netdev->qdisc
14b6ad56df25 ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
9b189af3577e btrfs: scan device in non-exclusive mode
45a9877d6cc3 s390/uaccess: add missing earlyclobber annotations to __clear_user()
0c6df5364798 drm/etnaviv: fix reference leak when mmaping imported buffer
37958ac31fe2 ALSA: usb-audio: Fix regression on detection of Roland VS-100
6dabafd82968 ALSA: hda/conexant: Partial revert of a quirk for Lenovo
f3a67268784c NFSv4: Fix hangs when recovering open state after a server reboot
c81e2965a9e0 pinctrl: at91-pio4: fix domain name assignment
82c25ac3a258 xen/netback: don't do grant copy across page boundary
99c8ba920fc2 Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
657d7c215ca9 cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
03af69bd674d cifs: prevent infinite recursion in CIFSGetDFSRefer()
51d657371106 Input: focaltech - use explicitly signed char type
f0f85f5e402b Input: alps - fix compatibility with -funsigned-char
7e71d4d190df pinctrl: ocelot: Fix alt mode for ocelot
70728d639efb net: mvneta: make tx buffer array agnostic
704e06b97920 net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
fd7cff506614 bnxt_en: Fix typo in PCI id to device description string mapping
58279cea0b10 i40e: fix registers dump after run ethtool adapter self test
5195de1d5f66 s390/vfio-ap: fix memory leak in vfio_ap device driver
78bc7f0ab994 can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
105cc2683282 net/net_failover: fix txq exceeding warning
e633fd26abfd regulator: Handle deferred clk
be7b622cd63f regulator: fix spelling mistake "Cant" -> "Can't"
46c4993a1514 ptp_qoriq: fix memory leak in probe()
c122daa0fa4c scsi: megaraid_sas: Fix crash after a double completion
317c07d382b1 mtd: rawnand: meson: invalidate cache on polling ECC bit
d65de5ee8b72 mips: bmips: BCM6358: disable RAC flush for TP1
9690e34f2247 dma-mapping: drop the dev argument to arch_sync_dma_for_*
f6e2d76aa362 ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
856fb74f601a fbdev: au1200fb: Fix potential divide by zero
deef33c08104 fbdev: lxfb: Fix potential divide by zero
4f5cc5ffa8c5 fbdev: intelfb: Fix potential divide by zero
868f247e47ef fbdev: nvidia: Fix potential divide by zero
f3359f5fc9b7 sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
521877bf2651 fbdev: tgafb: Fix potential divide by zero
7f12f99b8017 ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
9155a5958ed0 ALSA: asihpi: check pao in control_message()
88a3c63a9635 md: avoid signed overflow in slot_store()
9966fc59d3a0 bus: imx-weim: fix branch condition evaluates to a garbage value
d121f7883a17 fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
4c24eb49ab44 ocfs2: fix data corruption after failed write
0c0e566f0387 tun: avoid double free in tun_free_netdev
d253120a580a sched/fair: Sanitize vruntime of entity being migrated
c23928c70bc8 sched/fair: sanitize vruntime of entity being placed
885c28ceae7d dm crypt: add cond_resched() to dmcrypt_write()
4a32a9a818a8 dm stats: check for and propagate alloc_percpu failure
f8cbad984b16 i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
8f5cbf6a8c0e nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
4ae966a7f6a7 wifi: mac80211: fix qos on mesh interfaces
f558789a886c usb: chipidea: core: fix possible concurrent when switch role
6b3287b14739 usb: chipdea: core: fix return -EINVAL if request role is the same with current role
0b2a56fe4659 usb: cdns3: Fix issue with using incorrect PCI device function
e9e93fdfcefb dm thin: fix deadlock when swapping to thin device
cd1e320ac095 igb: revert rtnl_lock() that causes deadlock
123698a5c619 fsverity: Remove WQ_UNBOUND from fsverity read workqueue
0eda2004f38d usb: gadget: u_audio: don't let userspace block driver unbind
44f080d7d75a scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
223274d5c310 cifs: empty interface list when server doesn't support query interfaces
299a309b98df sh: sanitize the flags on sigreturn
f4c610f6ca13 net: usb: qmi_wwan: add Telit 0x1080 composition
e6b1fa6d0626 net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
04f4a1aa9410 scsi: lpfc: Avoid usage of list iterator variable after loop
11cdced6a03d scsi: ufs: core: Add soft dependency on governor_simpleondemand
54ec697e3ca8 scsi: target: iscsi: Fix an error message in iscsi_check_key()
97115221912c selftests/bpf: check that modifier resolves after pointer
2100e374251a m68k: Only force 030 bus error if PC not in exception table
d2b3bd0d4cad ca8210: fix mac_len negative array access
9e7723b684c0 riscv: Bump COMMAND_LINE_SIZE value to 1024
32518cd0fcc0 thunderbolt: Use const qualifier for `ring_interrupt_index`
b40fe2e1f91b uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
9189f20b4c53 scsi: qla2xxx: Perform lockless command completion in abort path
da0383f0e86c hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
13493ad6a220 platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
a18fb433ceb5 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
b517808795d3 Bluetooth: btqcomsmd: Fix command timeout after setting BD address
dcd4d3646221 net: mdio: thunder: Add missing fwnode_handle_put()
707335918f73 hvc/xen: prevent concurrent accesses to the shared ring
83e442eba39b nvme-tcp: fix nvme_tcp_term_pdu to match spec
d673ae18406e net/sonic: use dma_mapping_error() for error check
b72f453e886a erspan: do not use skb_mac_header() in ndo_start_xmit()
82e07cc5a6ca atm: idt77252: fix kmemleak when rmmod idt77252
fd6f643dea07 net/mlx5: Read the TC mapping of all priorities on ETS query
d69c2ded95b1 bpf: Adjust insufficient default bpf_jit_limit
97674f4cd05e keys: Do not cache key in task struct if key is requested from kernel thread
f8ee2c8b0d0c net/ps3_gelic_net: Use dma_mapping_error
6d7e18b1d00a net/ps3_gelic_net: Fix RX sk_buff length
0e5c7d00ec4f net: qcom/emac: Fix use after free bug in emac_remove due to race condition
a07ec453e86a xirc2ps_cs: Fix use after free bug in xirc2ps_detach
42d72c6d1edc qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
f2111c791d88 net: usb: smsc95xx: Limit packet length to skb->len
5c4d71424df3 scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
283fdc5cfbeb i2c: imx-lpi2c: check only for enabled interrupt flags
90116b8289fd igbvf: Regard vf reset nack as success
584771762c3e intel/igbvf: free irq on the error path in igbvf_request_msix()
6999f854184e iavf: fix non-tunneled IPv6 UDP packet type and hashing
4e752d2baea3 iavf: fix inverted Rx hash condition leading to disabled hash
6fe078c2864b power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
754838aa0205 net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
09b1a76e7879 Linux 5.4.239
f0c95f229a67 selftests: Fix the executable permissions for fib_tests.sh
(From OE-Core rev: ff5d1f37b8a1bc7f51e95e5114890ee5185ff335)
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:
6849d8c4a61a Linux 5.4.238
eb7716a054a6 HID: uhid: Over-ride the default maximum data buffer value with our own
b687ac70e66a HID: core: Provide new max_buffer_size attribute to over-ride the default
144019e81396 PCI: Unify delay handling for reset and resume
d2130f37a4a0 s390/ipl: add missing intersection check to ipl_report handling
3f5a833dca66 serial: 8250_em: Fix UART port type
c5afb97d1b51 drm/i915: Don't use stolen memory for ring buffers with LLC
8d26a4fecce5 x86/mm: Fix use of uninitialized buffer in sme_enable()
a976ff743eb1 fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
ac58b88ccbbb ftrace: Fix invalid address access in lookup_rec() when index is 0
65e4c9a6d0c9 KVM: nVMX: add missing consistency checks for CR0 and CR4
6fe55dce9dd6 tracing: Make tracepoint lockdep check actually test something
780f69a2685b tracing: Check field value in hist_field_name()
f1e3a20c6019 interconnect: fix mem leak when freeing nodes
325608ab60fa tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
c16cbd8233d6 ext4: fix possible double unlock when moving a directory
6a1bd14d5e34 sh: intc: Avoid spurious sizeof-pointer-div warning
bbf5eada4334 drm/amdkfd: Fix an illegal memory access
2c96c52aeaa6 ext4: fix task hung in ext4_xattr_delete_inode
20ba6f8a8073 ext4: fail ext4_iget if special inode unallocated
ab519e29891d jffs2: correct logic when creating a hole in jffs2_write_begin
00bfc67c65a1 mmc: atmel-mci: fix race between stop command and start of next command
75f6faae2de6 media: m5mols: fix off-by-one loop termination error
9eb394919c97 hwmon: (ina3221) return prober error code
26c176ce9028 hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
13efd488d398 hwmon: (adt7475) Fix masking of hysteresis registers
0d3095e958f0 hwmon: (adt7475) Display smoothing attributes in correct order
674fce59d61d ethernet: sun: add check for the mdesc_grab()
71da5991b643 net/iucv: Fix size of interrupt data
e0d07a3203c3 net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
5c06bd3de134 ipv4: Fix incorrect table ID in IOCTL path
c4fcfbf80c3c block: sunvdc: add check for mdesc_grab() returning NULL
04c394208831 nvmet: avoid potential UAF in nvmet_req_complete()
9fabdd79051a net: usb: smsc75xx: Limit packet length to skb->len
b0c202a8dc63 nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
668de67d4110 net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
5aaab217c8f5 net: tunnels: annotate lockless accesses to dev->needed_headroom
cba20ade78ef qed/qed_dev: guard against a possible division by zero
6e18f66b704b i40e: Fix kernel crash during reboot when adapter is in recovery mode
f0216046aeb8 ipvlan: Make skb->skb_iif track skb->dev for l3s mode
0f9c1f26d434 nfc: pn533: initialize struct pn533_out_arg properly
442aa78ed701 tcp: tcp_make_synack() can be called from process context
88c3d3bb6469 scsi: core: Fix a procfs host directory removal regression
4b4f5e34f08b scsi: core: Fix a comment in function scsi_host_dev_release()
0d59732f2a5b netfilter: nft_redir: correct value of inet type `.maxattrs`
90279211e96b ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
0b7057c52377 ALSA: hda: Add Intel DG2 PCI ID and HDMI codec vid
5bb9fcaadb8c ALSA: hda: Add Alderlake-S PCI ID and HDMI codec vid
9efbdc743ded ALSA: hda - controller is in GPU on the DG1
fc52e51c2c30 ALSA: hda - add Intel DG1 PCI and HDMI ids
090305c36185 scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
b8849e31a056 docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
9e45e4571576 clk: HI655X: select REGMAP instead of depending on it
dac08e46f0ad drm/meson: fix 1px pink line on GXM when scaling video overlay
d7e48aa17a81 cifs: Move the in_send statistic to __smb_send_rqst()
06c208002d0d drm/panfrost: Don't sync rpm suspension after mmu flushing
c9900d1d86f0 xfrm: Allow transport-mode states with AF_UNSPEC selector
4008fb9ad474 ext4: fix cgroup writeback accounting with fs-layer encryption
(From OE-Core rev: 175d05d717b972d9b6bf36f170bc6cfa69b57dce)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: e4b98a42970574296e0da06842691b9fc1ffc9a1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This will use default values when no distribution is set.
[YOCTO #15086]
(From OE-Core rev: 1a28c6cfe0e6c4b44d01778f8034231040c6d4ad)
Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 888fe63b46efceeff08dbe8c4f66fec33d06cb7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
* otherwise it ends '<unknown>' inside esdk, because of parsing order:
# $METADATA_REVISION [3 operations]
# set /OE/build/test-D/conf/local.conf:43
# "f2da54ef432eac89b0f18eaad68e602b6990b5de"
# immediate /OE/build/test-D/layers/poky/meta/classes/metadata_scm.bbclass:9
# "${@oe.buildcfg.detect_revision(d)}"
# set /OE/build/test-D/layers/poky/meta/classes/metadata_scm.bbclass:10
# [vardepvalue] "${METADATA_REVISION}"
# pre-expansion value:
# "<unknown>"
METADATA_REVISION="<unknown>"
* This causes base-files.do_install and following tasks to have different
signatures between esdk and the build directory where this esdk was created:
bitbake-diffsigs {test-D,poky/build-uninative-disabled}/tmp/stamps/qemux86_64-poky-linux/base-files/*do_install*sigdata*
NOTE: Starting bitbake server...
basehash changed from 5b6981cf58bfd57d416b0e31611b73a26baae635dd1ac31c08d46f95064c3ffc to dbdce042da4d7813d632b6d1cc87a16f728ad20e55fecbc392830e6acf72babd
Variable METADATA_REVISION value changed from '<unknown>' to 'f2da54ef432eac89b0f18eaad68e602b6990b5de'
and an warning from "python3 /OE/build/test-D/ext-sdk-prepare.py" when eSDK is being prepared for use:
WARNING: The base-files:do_install sig is computed to be 83b9c9a6ef1145baac5a1e0d08814b9156af239c58fc42df95c25a9cd8a7f201,
but the sig is locked to 3dc22233059075978e5503691e98e79e7cc60db94259dfcd886bca2291c0add7 in SIGGEN_LOCKEDSIGS_t-qemux86-64
[RP: Add commit about why we need the override for future reference]
(From OE-Core rev: 8f0e2e505d11697d0a1280b0a77a3fe8d72a4d49)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 675ea7281c17f77bf5dea17cfd4d9da0928382a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This is a bit of a compatibility issue more than anything. Some devices
get upset if the FAT file system contains less blocks than the
partition.
The fixed-size argument is currently respected by the partition creation
step but not by the file system creation step. Let's make it so the file
system respects this value as well.
(From OE-Core rev: 2126242c19b0c3dea12c605da8b24b08a9cb803f)
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit d16301ccdfb97bf126738262eec594008c282df1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
perf has need for python setuptools when scripting is enabled
from 6.0.0 onwards it seems to throw an explicit error
(From OE-Core rev: cfdaa6afaca28dd91c9738a97bb21eab5dae2817)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da3d00178809bbf7cc453401e0c5937796ebc2c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Due to signedness, the checksum is not computed when filesize is bigger
a 2GB. Pick a fix for this problem from CPIO ML, where the fix has been
posted for 5 years. Since CPIO upstream is effectively unresponsive and
any and all attempts to communicate with the maintainer and get the fix
applied upstream failed, add the fix here instead.
(From OE-Core rev: bfff138af4bdd356ac66571e6ad91c1a5599b935)
(From OE-Core rev: 0a8fb1c00e75e8434e0ef433d9074d54f038fba1)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The CVE product name for PyPI packages is (usually) the same as the PyPI
package name (and not our recipe name), so use that as the default.
(From OE-Core rev: 1c37b96cd4fdfad21bf24b8b883e371c3bca56de)
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61f6b0ad09bf87cdc2d3f08770b7c44cad1d0e58)
Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The upstream patch for CVE-2023-27534 does three things:
1) creates new path with dynbuf(dynamic buffer)
2) solves the tilde error which causes CVE-2023-27534
3) modifies the below added functionality to not add a trailing "/" to the user home dir if it already ends with one with dynbuf.
dynbuf functionalities are added in curl in later versions and are not essential to fix the vulnerability but does add extra feature in later versions.
This patch completes the 3rd task of the patch which was implemented without using dynbuf
Upstream-Status: Backport from [6c51adeb71]
(From OE-Core rev: df489f644e41108cf0e2ff55af7ce5e9bca40471)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7,
2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding
specially crafted input to `git apply --reject`, a path outside the working
tree can be overwritten with partially controlled contents (corresponding to
the rejected hunk(s) from the given patch). A fix is available in versions
2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3,
and 2.40.1. As a workaround, avoid using `git apply` with `--reject` when applying
patches from an untrusted source. Use `git apply --stat` to inspect a patch before
applying; avoid applying one that create a conflict where a link corresponding to
the `*.rej` file exists.
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-25652
Upstream-Status: Backport from 9db05711c9
(From OE-Core rev: 6747482316b8f7839a09bf041d8c11b559f84b44)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8,
2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, a specially crafted
`.gitmodules` file with submodule URLs that are longer than 1024 characters can used
to exploit a bug in `config.c::git_config_copy_or_rename_section_in_file()`. This bug
can be used to inject arbitrary configuration into a user's `$GIT_DIR/config` when
attempting to remove the configuration section associated with that submodule. When the
attacker injects configuration values which specify executables to run (such as
`core.pager`, `core.editor`, `core.sshCommand`, etc.) this can lead to a remote code
execution. A fix A fix is available in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8,
2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1. As a workaround, avoid running
`git submodule deinit` on untrusted repositories or without prior inspection of any
submodule sections in `$GIT_DIR/config`.
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-29007
Upstream patches:
528290f8c629198213c9a5bb10fd5ee91cfe60853bb3d6bac5
(From OE-Core rev: db4c152441aebe4c04a7bb7aceb88d8941a6576b)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
If a package with a postsints script requires ldconfig, the package class adds
a ldconfig postinst fragment to initialize it before. Systemd has its own
ldconfig.service to initialize it and sometimes if both services are running
at the same time in the first boot, the first one will work, but the second
one will fail with the following error:
ldconfig[141]: /sbin/ldconfig: Renaming of /etc/ld.so.cache~ to /etc/ld.so.cache failed: No such file or directory
This commit adds a ordering dependency between them to make sure that only one
service is running at the same time.
(From OE-Core rev: 1bc254e7969f3d5470bacf9ad9f065d38b7b7fde)
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e9d812e127dc6743f52f4881e509e8e2e833afe)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
BSD-4-Clause is only applicable to the {PN}-doc package as when I
check for the source code I find below files which only uses the
license BSD-4-Clause
~/sources/libbsd$ grep -rl "All advertising materials mentioning features or use of this software" *|grep -v \.1|grep -v \.5|grep -v \.8 | sort
COPYING
man/arc4random.3bsd
man/getprogname.3bsd
man/tree.3bsd
~/sources/libbsd$ grep -rnB6 "BSD-4"
COPYING-9-Files:
COPYING-10- man/arc4random.3bsd
COPYING-11- man/tree.3bsd
COPYING-12-Copyright:
COPYING-13- Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
COPYING-14- All rights reserved.
COPYING:15:License: BSD-4-clause-Niels-Provos
(From OE-Core rev: 187f1588240a0eb5cc753c2114fd6c0cef66e14f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Exclude CVEs that are fixed in current linux-yocto version v5.4.237.
To get the commit fixing a CVE, I used the Debian kernel-sec repo [1].
[1]: 86d5040aee
(From OE-Core rev: ec0f3e5869c596a308a164f93cb031e04034a8ed)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Avoid overwriting the read packet length after the initial test. Thus
move all the length checks which depends on the total length first
and do not use the total lenght from the IP packet afterwards.
Fixes CVE-2023-28488
Reported by Polina Smirnova <moe.hwr@gmail.com>
(From OE-Core rev: 47a9ae5592392bd10740e4571b06c8c739705058)
Signed-off-by: Ashish Sharma <asharma@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Fix An integer overflow vulnerability was discovered in Freetype in tt_hvadvance_adjust() function in src/truetype/ttgxvar.c
(From OE-Core rev: 24c87e674db9c1d4a8922c3af78a0004c061e70f)
Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
+./test/schemas/issue491_0.xsd:8: element complexType: Schemas parser error : complex type 'ChildType': The content type of both, the type and its base type, must either 'mixed' or 'element-only'.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.