pkgconfig is being required to find dependencies for building kernel
native tools, move "inherit pkgconfig" to kernel.bbclass so BSP kernel
recipes can also benefit from it.
(From OE-Core rev: a5e62888768be641d5da00fd847e0cac96820c75)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8a84bd98e3fbc16c782f83064801e469d086911e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Vim uses pkgconfig to find dependencies but it wasn't present, so it
silently doesn't enable features like GTK+ UI.
[ YOCTO #15044 ]
(From OE-Core rev: c84f0822e7cffc62e2f042bf9d2e424f85f74ecd)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 70900616298f5e70732a34e7406e585e323479ed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We keep seeing this failure on the autobuilder but the output amounts
to "False is not True". Improve the debug message on the chance it may
make the issue clearer.
(From OE-Core rev: 68d3766c37e4b3a1b49dc27226b2513e3b0db9a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d03f4cf19c2cc96e9d942252a451521dfec42ebc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recently got an updated CPE which matches this recipe, but the issue
is related to an entirely different shadow project so ignore it.
(From OE-Core rev: 9d5a05c27a01b3859eae70590ba7dd836abe2719)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2331e98abb09cbcd56625d65c4e5d258dc29dd04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove branching that depends on secret data.
since the `ok` variable isn't used any more, we can remove all code
used to calculate it
(From OE-Core rev: 5b8a3601ebff7a0cdfaa50d7a0b5e384a7e2514c)
Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of scripts/git-intercept was introduced in commit 3266c327df
(install/devshell: Introduce git intercept script due to fakeroot
issues) and later reverted in commit af27c81eaf (scripts: Make git
intercept global).
(From OE-Core rev: 51424b9955374196307aaf73cf4b6c184ce4fb6d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f6c260c8e2a33e282a35afc99de4ef8cc1791b08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the QA checks in `image.bbclass`, all exceptions
other than `oe.utils.ImageQAFailed` always print the
following generic message:
"Image QA function func_name failed"
This can be very misleading, as it may hide
python syntax errors and other kind of issues that are
hard to detect without more explicit error messages.
This change makes sure that the error message of all
exceptions are displayed.
Before this change:
"Image QA function func_name failed"
After this change:
"Image QA function func_name failed: f-string: empty expression not allowed (<string>, line 13)"
(From OE-Core rev: c4e3b86f2bcb2b445efc72bd8e06b1b89d88daa2)
Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d85b30d8704d38b86f5b006748cebc74bd2a4fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport of gcc upstream commit 2b2d97fc545635a0f6aa9c9ee3b017394bc494bf
to gcc release 9.5.0. This fix is available to all release-branches
except releases/gcc-9 because upstream do not support gcc-9 now.
(From OE-Core rev: 9779b66162a014f26594bdde43afdc4332617240)
Signed-off-by: Virendra Thakur <virendrak@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Major changes between OpenSSL 1.1.1s and OpenSSL 1.1.1t [7 Feb 2023]
* Fixed X.400 address type confusion in X.509 GeneralName (CVE-2023-0286)
* Fixed Use-after-free following BIO_new_NDEF (CVE-2023-0215)
* Fixed Double free after calling PEM_read_bio_ex (CVE-2022-4450)
* Fixed Timing Oracle in RSA Decryption (CVE-2022-4304)
(From OE-Core rev: 22de5ecae3ebb04a4bab05010c04b205c52ee888)
Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes with APR-util 1.6.3
*) Correct a packaging issue in 1.6.2. The contents of the release were
correct, but the top level directory was misnamed.
Changes with APR-util 1.6.2
*) SECURITY: CVE-2022-25147 (cve.mitre.org)
Integer Overflow or Wraparound vulnerability in apr_base64 functions
of Apache Portable Runtime Utility (APR-util) allows an attacker to
write beyond bounds of a buffer.
*) Teach configure how to find and build against MariaDB 10.2. PR 61517
[Kris Karas <bugs-a17 moonlit-rail.com>]
*) apr_crypto_commoncrypto: Remove stray reference to -lcrypto that
prevented commoncrypto being enabled. [Graham Leggett]
*) Add --tag=CC to libtool invocations. PR 62640. [Michael Osipov]
*) apr_dbm_gdbm: Fix handling of error codes. This makes gdbm 1.14 work.
apr_dbm_gdbm will now also return error codes starting with
APR_OS_START_USEERR, as apr_dbm_berkleydb does, instead of always
returning APR_EGENERAL. [Stefan Fritsch]
Drop backport.
(From OE-Core rev: 9eb027bebb19bfb0fb136169e865ca269890fa6f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dca707f9fecc805503e17f6db3e4c88069ac0125)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 43cd36b178ebb602edd5919c26f8b8642736a3a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e24b38a14b3520648ec418783fb74fcf61df7ff2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to use CFLAGS with the correct WORKDIR in them, replace those
in the sysroot file with the ones appropriate to the current recipe.
(From OE-Core rev: 92fb7261a1c7ebe6330832a9a71d1bed82c85a6a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 45edf189961aff1858be9bb7b63116073c0a0c10)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes for APR 1.7.2
*) Correct a packaging issue in 1.7.1. The contents of the release were
correct, but the top level directory was misnamed.
Changes for APR 1.7.1
*) SECURITY: CVE-2022-24963 (cve.mitre.org)
Integer Overflow or Wraparound vulnerability in apr_encode functions of
Apache Portable Runtime (APR) allows an attacker to write beyond bounds
of a buffer.
*) SECURITY: CVE-2022-28331 (cve.mitre.org)
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond
the end of a stack based buffer in apr_socket_sendv(). This is a result
of integer overflow.
*) SECURITY: CVE-2021-35940 (cve.mitre.org)
Restore fix for out-of-bounds array dereference in apr_time_exp*() functions.
(This issue was addressed as CVE-2017-12613 in APR 1.6.3 and
later 1.6.x releases, but was missing in 1.7.0.) [Stefan Sperling]
*) configure: Fix various build issues for compilers enforcing
strict C99 compliance. PR 66396, 66408, 66426.
[Florian Weimer <fweimer redhat.com>, Sam James <sam gentoo.org>]
*) apr_atomic_read64(): Fix non-atomic read on 32-bit Windows [Ivan Zhakov]
*) configure: Prefer posix name-based shared memory over SysV IPC.
[Jim Jagielski]
*) configure: Add --disable-sctp argument to forcibly disable SCTP
support, or --enable-sctp which fails if SCTP support is not
detected. [Lubos Uhliarik <luhliari redhat.com>, Joe Orton]
*) Fix handle leak in the Win32 apr_uid_current implementation.
PR 61165. [Ivan Zhakov]
*) Add error handling for lseek() failures in apr_file_write() and
apr_file_writev(). [Joe Orton]
*) Don't silently set APR_FOPEN_NOCLEANUP for apr_file_mktemp() created file
to avoid a fd and inode leak when/if later passed to apr_file_setaside().
[Yann Ylavic]
*) APR's configure script uses AC_TRY_RUN to detect whether the return type
of strerror_r is int. When cross-compiling this defaults to no.
This commit adds an AC_CACHE_CHECK so users who cross-compile APR may
influence the outcome with a configure variable. [Sebastian Kemper
<sebastian_ml gmx net>]
*) Add a cache check with which users who cross-compile APR
can influence the outcome of the /dev/zero test by setting the variable
ac_cv_mmap__dev_zero=yes [Sebastian Kemper <sebastian_ml gmx net>]
*) Trick autoconf into printing the correct default prefix in the help.
[Stefan Fritsch]
*) Don't try to use PROC_PTHREAD by default when cross compiling.
[Yann Ylavic]
*) Add the ability to cross compile APR. [Graham Leggett]
*) While cross-compiling, the tools/gen_test_char could not
be executed at build time, use AX_PROG_CC_FOR_BUILD to
build native tools/gen_test_char
Support explicit libtool by variable assigning before buildcheck.sh,
it is helpful for cross-compiling (such as libtool=aarch64-linux-libtool)
[Hongxu Jia <hongxu.jia windriver.com>]
*) Avoid an overflow on 32 bit platforms. [René Hjortskov Nielsen
<r... hjortskov.dk>]
*) Use AC_CHECK_SIZEOF, so as to support cross compiling. PR 56053.
[Mike Frysinger <vapier gentoo.org>]
*) Add --tag=CC to libtool invocations. PR 62640. [Michael Osipov]
*) apr_pools: Fix pool debugging output so that creation events are
always emitted before allocation events and subpool destruction
events are emitted on pool clear/destroy for proper accounting.
[Brane Čibej]
*) apr_socket_listen: Allow larger listen backlog values on Windows 8+.
[Evgeny Kotkov <evgeny.kotkov visualsvn.com>]
*) Fixed: apr_get_oslevel() was returning APR_WIN_XP on Windows 10
*) Fix attempt to free invalid memory on exit when apr_app is used
on Windows. [Ivan Zhakov]
*) Fix double free on exit when apr_app is used on Windows. [Ivan Zhakov]
*) Fix a regression in apr_stat() for root path on Windows. [Ivan Zhakov]
Dropped patches have all been merged, addressed separately or are backports.
(From OE-Core rev: 013633b9f4b7dff2616c6d2e59e4d8118e3ce51f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ffae93f24bb1e3954b232099153fd059cfd7daf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit a308e10ef4ad9e097b025f009866eae178259781)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
AC_TRY_RUN macro means the test needs to run to find the result and we
are cross compiling so this will always get wrong results, this results
in miscompiling apache2 on musl because it disables rlimit
(ac_cv_struct_rlimit) wrongly.
All these variables are determined with AC_TRY_RUN checks
(From OE-Core rev: 104c9ddf7a5323e5193c611b98b3e7465157aecd)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 504eb0ff1cae200ee85ec18ebae564cae9bf9c8c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl does not implement GNU extention of strerror_r but XSI compliant
version, therefore add it via a packageconfig to set right variables
during configure to cache the value.
configure detection logic depends on runtime test which will always be
wrong on cross compiles therefore backport a patch to make it possible
to cache the needed configure variable.
(From OE-Core rev: 993cfeaefa73e3b82cf15db78584e5f9b9f86ddf)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ded3d76a844dd1aef9ac610fbe506bf76285369b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix an issue with autoconf 2.70 where duplicate macro includes
caused configure failures.
(From OE-Core rev: 41121149212b3684991a62261c17a45afd50bb83)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
(cherry picked from commit 4e5d7c86a8a5e752df451d988861a86236e8c8ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newest linux-firmware release got firmware for Adreno A200. Add these
two files to the ${PN}-qcom-adreno-a2xx package. As these files are
licensed under a separate BSD-3-Clause license, add separate license
package too.
(From OE-Core rev: 420c41b9560574b10aa56fbe073509c56adda93e)
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 56e1b2b06ef7f22d4ac5899046f650ae8ec0d547)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is not enough to depend on the ${PN}-qcom-license package. Set
LICENSE variable for all the qcom packages to point to the proper
license.
(From OE-Core rev: 2cb8f5efb99df37c8e2103ecdc7f482ee129650a)
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 9dc41e18dc138a7cce920f8e4c85eb3130c0d553)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid working with undeterministic config files, remove all the
temporary files to start from scratch.
(From OE-Core rev: a3f31997c633e8476bad68c81fac0dcd0750c7d4)
Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling busybox a second time (e.g. with `compile -f`), busybox
can use an altered autoconf.h file for compiling, which can ultimately
produces different and unwanted binaries.
This can produce errors like this one:
ERROR: busybox-1.35.0-r0 do_package: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:ptest_update_alternatives(d)
0003:
File: '…/poky/meta/classes/ptest.bbclass', lineno: 100, function: ptest_update_alternatives
0096: for alt_name, alt_link, alt_target, _ in alternatives:
0097: # Some alternatives are for man pages,
0098: # check if the alternative is in PATH
0099: if os.path.dirname(alt_link) in bin_paths:
*** 0100: os.symlink(alt_target, os.path.join(ptest_bindir, alt_name))
0101:}
0102:
0103:do_configure_ptest_base[dirs] = "${B}"
0104:do_compile_ptest_base[dirs] = "${B}"
Exception: FileExistsError: [Errno 17] File exists: '/bin/busybox.suid' -> '…/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login'
This happens because ALTERNATIVE:busybox contains `/bin/login` twice,
initially that's because `/bin/login` is present in both
busybox.links.suid and busybox.links.nosuid. The reason for that is
because of the altered autoconf.h.
Steps to reproduce above error:
<add ptest to distro configs>
bitbake busybox -c clean
bitbake busybox -c package -f
bitbake busybox -c compile -f
bitbake busybox -c package -f
This patch guards against potential bugs by:
- making a backup of .config and autoconf.h that have matching
timestamps.
- make sure do_compile always starts with these files.
- restore .config and autoconf.h at the end of do_compile.
(From OE-Core rev: 7ef76eaf5b68d52afdc4292bbe20309e29bb464a)
Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Providing ssh port number is supported too with
"--target-ip 192.168.0.10:22".
(From OE-Core rev: 4a9bf2d4693fd9e6eb2186a39e50c7e1630fb823)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 637919b9df0abc06da5b2f9b389cf25376bd6b7c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If on target locale generation is used, it fails at first boot showing
errors about a missing directory. Ensure the directory exists.
(From OE-Core rev: 63141bd8c19285bbef33f3d32a89ca127da0c658)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f2844c9f1bbb729562063d96a3d1cc9d44dafa0a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does not actually guarantee that the child runqemu process has completely exited:
poll() may return prematurely while the SIGTERM handler in runqemu is still running.
This thwarts the rest of the processing, and may terminate the handler before
it completes.
Use Popen.communicate() instead: this is what python documentation recommends as well:
https://docs.python.org/3/library/subprocess.html#subprocess.Popen.communicate
(From OE-Core rev: 3793662bcfdab230d7b98bde2bc6757949b0aca0)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd3e55606c427287f37585c5d7cde936471e52f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The definitions in linux-kernel-base are needed to ensure the generated headers
are consistent. This was a small step that was missing from the previous
changes to linux-kernel-base as both kernel-devsrc and make-mod-scripts
need this information defined consistently.
(From OE-Core rev: 85cb9212a85e32715209705a29c6928b368d87c7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d79d4883f924cef0d0ba361506ad75d441b9721)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default return value from subprocess.check_output is an encoded byte.
The applied fix will decode the value to a string.
(From OE-Core rev: 622fea338a0c43f95185469b54cc72c545b73100)
Signed-off-by: Pawel Zalewski <pzalewski@thegoodpenguin.co.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 046769fa952a511865c416b80d10af6287147fb7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test assumes that if a child process writes one line to stderr and
then another line to stdout, and stderr is redirected to stdout, that
the order the lines will be read is stable.
This isn't the case and occasionally the lines will be read in a
different order. Change the test to ignore line ordering.
[ YOCTO #14469 ]
(From OE-Core rev: 2c9fe8c3bb1cc1883c7bd445d019b2107e85ab2b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ddbe4d2bd8d8da10dac8a054f130fcd1d242219)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We disable the useradd code for nativesdk targets since we don't support
postinstalls or multiple users in those cases. This means any usage
of chown/chgrp inside do_install tasks won't work and would have to be
conditional. Rather than require all recipes to do that, add intercepts
of the calls and map those to root/root user/groups. We can't just ignore
them as some calls are used to remove host contamination from the host
user ID so they need to be made, just as root.
(From OE-Core rev: a05c116c517e0700837c335d0691c3fcc4462dda)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1f40670c438e33cae87678425de72ca03566888)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG option for slirp, defaulting to internal. This avoids
the presence of libslirp on the host causing qemu to link against that
instead breaking reproducibility and usability of the binary on hosts
where the library isn't present.
We need to add it to PACKAGECONFIG by default since users do expect slirp
to be enabled in the wider community.
Note: qemu version 4.2.0 doesn't support an "internal" option for
enable-slirp, so use "git" instead which uses the same configure
code path, avoids host libslirp contamination and forces use of the
qemu internal slirp implementation.
(From OE-Core rev: e5dc03e4a3b71ff144896a8ce56a34b8677e8e27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a9a64132bf5ecac9d611d29751226a466c4a2c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder workers change over time, update the sanity testing list
to match the current autobuilder workers OS list.
(From meta-yocto rev: ddce0c8b95d89b6a380b01299f118f7c5a47dc47)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have to prefer one multiconfig over another when deferring tasks, else
we'll have cross-linked build trees and nothing will be able to build.
In the original population code, we sort like this but we don't after
rehashing. Ensure we have the same sorting after rehashing toa void
deadlocks.
(Bitbake rev: 657940c7c2a9dea4963a5063e4bf900d6b454903)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27228c7f026acb8ae9e1211d0486ffb7338123a2)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multiconfig builds with large numbers of identical tasks, builds were
deadlocking after recent runqueue changes upon rebuilds where there was
heavy sstate usage (i.e. on second builds after a first completed).
The issue was that deferred tasks were being left indefinitely on
the deferred list. The deadlock handler was then "breaking" things
by failing tasks that had already succeeded, leading to the task
being on both covered and not covered lists, giving a further error.
The fix is to clean up the deferred task list when each setscene task
completes. I'd previously been hoping to avoid iterating that list
but it appears unavoidable.
[YOCTO #14342]
(Bitbake rev: 03cf0d9fedfef1ae43b3c3cac07710487857af36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae24a0f2d2d8b4b5ec10efabd0e9362e560832ea)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the deferred task deadlock avoidance code triggers, it could mark an executed
task as failed which leads to "covered and not covered" error messages. Improve
the logic so if the deadlock code is triggered, it doesn't cause the errors.
(Bitbake rev: 2e1354525217505ce34fe775ee6ec8af46ff5324)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 51bdd6cb3bd9e2c02e261fb578bb945b86b82c75)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patches have exposed new issues with this code path,
the issues being around what should happen when the hash of a task
changes and the task is or is not on the deferred task list.
Rather than rebuilding the deferred task list during each rehash
event, build it once at the start of a build. This avoids the problem
of tasks being added back after they have run and also avoids problems
of always ensuring the same task is deferred. It also allows the
'outrightfail' codepath to be handled separately as the conditions
are subtly differnt.
One significant win for the new approch is the build is not continually
printing out lists of deferred tasks, that list remains fairly static
from the start of the build. Logic is added in to ensure a rehashed
task with a hash matching other deferred tasks is deferred along with
them as a small optimization.
An interesting test case for this code was reported by Mark Hatle
with four multiconfigs, each the same apart from TMPDIR and running a
build of:
bitbake buildtools-tarball mc:{one,two,three,four}:core-image-minimal
which is interesting in that the build of buildtools partially overlaps
core-image-minimal and the build has a rehash event for qemuwrapper-cross
even without any external hash equivalence server or preexisting data.
(Bitbake rev: 4316e9f60ce5fd250a16586a1772dcc0adfeb932)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb424e0a6d274d398f434f7df63951da9ce305b3)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the hash of a task changes and that hash is a deferred task (e.g. a multiconfig
build), we need to ensure that the hash change propagates through to all the tasks
else the build will run multiple copies of the task, sometimes with oddly differing
results as the outhashes of native tasks built in differing locations can confuse
things.
(Bitbake rev: 01936b4dd8e680f1f8035ff2d6231673f61efeab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2db571324f755edc4981deecbcfdf0aaa5a97627)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were testing the validity of deferred tasks setscene status "up front" which
is very unlikely to succeed and leads to cache invalidation issues. With the
change to rebuild the deferred task list, this status becomes out of sync. The
result was tasks being executed when they should not have been leading to extra
work for the build unnecessarily.
Instead, don't process validity status for deferred tasks and assume their
data will become available. If it doesn't, this will now result in a build
error as the setscene task will fail and the main task will run instead.
In theory we could try and track the state changes in the deferred list and
re-test validity then but I'm not sure it is worth the effort when the other
code path and errors in setscene tasks will give a pretty good idea of what
is happening anyway.
(Bitbake rev: f95ed69e6c91ca6aa18d6fa9a6ac6319035c4661)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edcafac13b3b241b6687419e59018d21811507a1)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Namespace in this context means a branch, a tag, etc., clarify
it in the description. Also, fix a typo "a any", replace with
plain "any".
This patch is based of feedback on new applied patch
d32e5b0e ("fetch2/git: Prevent git fetcher from fetching gitlab repository metadata")
(Bitbake rev: c527976e28165de9606497c48d834872fe68372e)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4999425c812b25cb359d5163d11e3c1b030dc28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake git fetcher currently fetches 'refs/*:refs/*', i.e. every
single object in the remote repository. This works poorly with gitlab
and github, which use the remote git repository to track its metadata
like merge requests, CI pipelines and such.
Specifically, gitlab generates refs/merge-requests/*, refs/pipelines/*
and refs/keep-around/* and they all contain massive amount of data that
are useless for the bitbake build purposes. The amount of useless data
can in fact be so massive (e.g. with FDO mesa.git repository) that some
proxies may outright terminate the 'git fetch' connection, and make it
appear as if bitbake got stuck on 'git fetch' with no output.
To avoid fetching all these useless metadata, tweak the git fetcher such
that it only fetches refs/heads/* and refs/tags/* . Avoid using negative
refspecs as those are only available in new git versions.
Per feedback on the ML, Gerrit may push commits outsides of branches or
tags during CI runs, which currently works with the 'nobranch=1' fetcher
parameter. To retain this functionality, keep fetching everything in case
the 'nobranch=1' is present. This still avoids fetching massive amount of
data in the common case, since 'nobranch=1' is rare. Update 'nobranch'
documentation.
Reviewed-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
(Bitbake rev: efb2903e6c94a5c884485ecb91f1fca7e8ee18f1)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d32e5b0ec2ab85ffad7e56ac5b3160860b732556)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit replaces the instances where escaped double quotes
are used to support SRC_URI url containing spaces with the more
pythonic shlex.quote().
(Bitbake rev: ecc1dac4ad8c8593810c69a25d674b0e0bed6097)
Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4f9ba9c794de55bea0343267467bddea99844374)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mitigate occurences where ':append' operator is used and leading
whitespace character is obviously missing, risking inadvertent
string concatenation.
(From OE-Core rev: fcd340ec53ff8352b8cae0eb351810072b025a08)
(From OE-Core rev: b21e5524e3326c77598d30f6fe9268a5fdac91dd)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a .gitmodules file exists but is empty then devtool finish fails.
Add an additional check for this.
[YOCTO #14999]
(From OE-Core rev: 077edd3992683985f0779afc73d4207a795ced39)
Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4f0f7c4934bade9e4d4a1086f9d8b29d8e9ad45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
1349fe3a332a Linux 5.4.229
68a37dc77e2f tipc: call tipc_lxc_xmit without holding node_read_lock
1140c3f7adbc ocfs2: fix freeing uninitialized resource on ocfs2_dlm_shutdown
2db88851fa4d tipc: Add a missing case of TIPC_DIRECT_MSG type
38b5d7054d75 tty: serial: tegra: Handle RX transfer in PIO mode if DMA wasn't started
3188f80b80d6 tipc: fix use-after-free in tipc_disc_rcv()
3eeb06132d36 Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"
ecd47ffc99d3 mm: Always release pages to the buddy allocator in memblock_free_late().
5fcf75a8a4c3 efi: fix NULL-deref in init error path
b30e5dd0778e arm64: cmpxchg_double*: hazard against entire exchange variable
ecdd65051b17 arm64: atomics: remove LL/SC trampolines
f840000928af arm64: atomics: format whitespace consistently
d01d6d2b06c0 drm/virtio: Fix GEM handle creation UAF
3030f11f27e7 x86/resctrl: Fix task CLOSID/RMID update race
22c4eeafc31b x86/resctrl: Use task_curr() instead of task_struct->on_cpu to prevent unnecessary IPI
b3f924246700 iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
ecfe33e0757d iommu/mediatek-v1: Add error handle for mtk_iommu_probe
ec049ae2b462 net/mlx5: Fix ptp max frequency adjustment range
62d707dabb5c net/mlx5: Rename ptp clock info
2b157c3c5d6b net/sched: act_mpls: Fix warning during failed attribute validation
9424d2205fe9 nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
576eadef2c8d hvc/xen: lock console list traversal
7d04fe153dfc tipc: fix unexpected link reset due to discovery messages
95b2d4889fbd tipc: eliminate checking netns if node established
d6418829cef1 tipc: improve throughput between nodes in netns
d443308edbfb regulator: da9211: Use irq handler when ready
43f48e6c3076 EDAC/device: Fix period calculation in edac_device_reset_delay_period()
a5b737623eaa x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
d0c6d2a31026 powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
feefb33eefa1 netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
e431b4fb1fb8 ext4: fix uninititialized value in 'ext4_evict_inode'
026a4490b538 ext4: fix use-after-free in ext4_orphan_cleanup
fa41a133ea23 ext4: lost matching-pair of trace in ext4_truncate
1d5524832ff2 ext4: fix bug_on in __es_tree_search caused by bad quota inode
3da22d06e078 quota: Factor out setup of quota inode
ecb9d0d2e123 jbd2: use the correct print format
06bb3f4e3b06 usb: ulpi: defer ulpi_register on ulpi_read_id timeout
a2689a446427 wifi: wilc1000: sdio: fix module autoloading
3998dba0f78a ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
53cefa802f07 ixgbe: fix pci device refcount leak
e0d6f3b62b29 platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
1ad759df6a6f drm/msm/adreno: Make adreno quirks not overwrite each other
098416c4e322 cifs: Fix uninitialized memory read for smb311 posix symlink create
d6546426cdf4 ALSA: hda/hdmi: Add a HP device 0x8715 to force connect list
eaa5580a74cc ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
c6d29a5ffdbc net/ulp: prevent ULP without clone op from entering the LISTEN status
b318d41f1bd1 s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
f6da927c92ec s390/kexec: fix ipl report address for kdump
4bf6e11c34c5 perf auxtrace: Fix address filter duplicate symbol selection
2e4164d3d1e7 docs: Fix the docs build with Sphinx 6.0
3ed183074c20 efi: tpm: Avoid READ_ONCE() for accessing the event log
3ad31129ce72 KVM: arm64: Fix S1PTW handling on RO memslots
9b83ec63d0de net: sched: disallow noqueue for qdisc classes
aa52acefc629 driver core: Fix bus_type.match() error handling in __driver_attach()
8d60a90560ef selftests: set the BUILD variable to absolute path
cad6d2bb4726 selftests: Fix kselftest O=objdir build from cluttering top level objdir
320dbbd86f81 parisc: Align parisc MADV_XXX constants with all other architectures
d868597b71c1 mbcache: Avoid nesting of cache->c_list_lock under bit locks
da23752d9660 hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
781fa141414e hfs/hfsplus: use WARN_ON for sanity check
b47c69010943 ext4: don't allow journal inode to have encrypt flag
1464feb5b6fa riscv: uaccess: fix type of 0 variable on error in get_user()
da41069c613d nfsd: fix handling of readdir in v4root vs. mount upcall timeout
8cbd7f264387 x86/bugs: Flush IBP in ib_prctl_set()
ba780bff9ff9 ASoC: Intel: bytcr_rt5640: Add quirk for the Advantech MICA-071 tablet
e66ae100e7c7 udf: Fix extension of the last extent in the file
33df9c5d5e2a caif: fix memory leak in cfctrl_linkup_request()
3cb1ee82e4ed drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()
ebe6d2fcf783 usb: rndis_host: Secure rndis_query check against int overflow
a07b4895b9d1 drivers/net/bonding/bond_3ad: return when there's no aggregator
2f7a09c1eebc perf tools: Fix resources leak in perf_data__open_dir()
6b17b84634f9 net: sched: cbq: dont intepret cls results when asked to drop
63e469cb54a8 net: sched: atm: dont intepret cls results when asked to drop
d16e5fefd8e4 RDMA/mlx5: Fix validation of max_rd_atomic caps for DC
564fdc2f8bff RDMA/uverbs: Silence shiftTooManyBitsSigned warning
00616bd1913a net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
904ad95b3985 net: amd-xgbe: add missed tasklet_kill
a15cbe9b8453 vhost: fix range used in translate_desc()
d8e410315ad3 nfc: Fix potential resource leaks
8f97eeb02a55 qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure
55ac68b53f1c net: sched: fix memory leak in tcindex_set_parms
b6a0623f756b net: hns3: add interrupts re-initialization while doing VF FLR
f9c551d87426 nfsd: shut down the NFSv4 state objects before the filecache
7eaaee526809 bpf: pull before calling skb_postpull_rcsum()
1d449cd2409a SUNRPC: ensure the matching upcall is in-flight upon downcall
af5306527637 ext4: fix deadlock due to mbcache entry corruption
711ef736dd99 mbcache: automatically delete entries from cache on freeing
af8ecc8d20e7 ext4: fix race when reusing xattr blocks
ea4b9091aae7 ext4: unindent codeblock in ext4_xattr_block_set()
a5f9bd4beae8 ext4: remove EA inode entry from mbcache on inode eviction
951ea4d3dfa9 mbcache: add functions to delete entry if unused
81b0bb1eb2c6 mbcache: don't reclaim used entries
c2f1e12b659b ext4: use kmemdup() to replace kmalloc + memcpy
6453836e371f fs: ext4: initialize fsdata in pagecache_write()
1af609646c60 ext4: use memcpy_to_page() in pagecache_write()
49dac5e017eb mm/highmem: Lift memcpy_[to|from]_page to core
f44dcd9dceb8 ext4: correct inconsistent error msg in nojournal mode
b02aa6a05a5f ext4: goto right label 'failed_mount3a'
e0fce1d665d8 ravb: Fix "failed to switch device to config mode" message during unbind
0ebcfdc8c920 KVM: nVMX: Properly expose ENABLE_USR_WAIT_PAUSE control to L1
e723bafd8f61 KVM: VMX: Fix the spelling of CPU_BASED_USE_TSC_OFFSETTING
72906690452b KVM: VMX: Rename NMI_PENDING to NMI_WINDOW
da8ff59210b4 KVM: VMX: Rename INTERRUPT_PENDING to INTERRUPT_WINDOW
db99c8d6b78b KVM: retpolines: x86: eliminate retpoline from vmx.c exit handlers
2c82f134b9af KVM: x86: optimize more exit handlers in vmx.c
6e3f6d95625a perf probe: Fix to get the DW_AT_decl_file and DW_AT_call_file as unsinged data
fc67c00def19 perf probe: Use dwarf_attr_integrate as generic DWARF attr accessor
d06a7e2049e3 dm thin: resume even if in FAIL mode
28cdd90c26f3 media: s5p-mfc: Fix in register read and write for H264
640075400c7c media: s5p-mfc: Clear workbit to handle error condition
4a52a1a3eac8 media: s5p-mfc: Fix to handle reference queue during finishing
b9275d8a927f PM/devfreq: governor: Add a private governor_data for governor
839f3ca8bc02 btrfs: replace strncpy() with strscpy()
b5db13545759 ext4: allocate extended attribute value in vmalloc area
6ef8b0a74350 ext4: avoid unaccounted block allocation when expanding inode
b14a553b0f87 ext4: initialize quota before expanding inode in setproject ioctl
9ef603086c5b ext4: fix inode leak in ext4_xattr_inode_create() on an error path
7138ef745ef4 ext4: avoid BUG_ON when creating xattrs
4d84ec8e5c3e ext4: fix error code return to user-space in ext4_get_branch()
a4c3c1d57db3 ext4: fix corruption when online resizing a 1K bigalloc fs
6f4200ec76a0 ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline
f263e349bacc ext4: init quota for 'old.inode' in 'ext4_rename'
78e335fb573e ext4: fix bug_on in __es_tree_search caused by bad boot loader inode
362ce137d56b ext4: fix reserved cluster accounting in __es_remove_extent()
e1d946d9c82f ext4: add helper to check quota inums
2142dfa1de61 ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode
4690a4bdcf14 ext4: fix undefined behavior in bit shift for ext4_check_flag_values
e347c269b5d6 ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop
94b283341f9f drm/vmwgfx: Validate the box size for the snooped cursor
eea62f0461a9 drm/connector: send hotplug uevent on connector cleanup
fbfd6dee521e device_cgroup: Roll back to original exceptions after copy failure
5e4500454d75 parisc: led: Fix potential null-ptr-deref in start_task()
662dc7c6be7b iommu/amd: Fix ivrs_acpihid cmdline parsing code
93e919d9acb2 crypto: n2 - add missing hash statesize
a5866d531b47 PCI/sysfs: Fix double free in error path
65bd0962992a PCI: Fix pci_device_is_present() for VFs by checking PF
d23006f2a56e ipmi: fix use after free in _ipmi_destroy_user()
cf19abbe4b9a ima: Fix a potential NULL pointer access in ima_restore_measurement_list
b16336353576 mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()
74531c23adc5 ipmi: fix long wait in unload when IPMI disconnect
d4f48c648a66 efi: Add iMac Pro 2017 to uefi skip cert quirk
2c4832a0893a md/bitmap: Fix bitmap chunk size overflow issues
b869cb7a3d52 cifs: fix missing display of three mount options
149babe5e019 cifs: fix confusing debug message
a29d62130988 media: dvb-core: Fix UAF due to refcount races at releasing
b21f62b49ee9 media: dvb-core: Fix double free in dvb_register_device()
50c2379f8795 ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod
c42cb66a8915 tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_line
cb03fc217b0d tracing/hist: Fix wrong return value in parse_action_params()
f5489d5a2420 x86/microcode/intel: Do not retry microcode reloading on the APs
cf79d5410a56 tracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx'
1a5165e80a80 dm cache: set needs_check flag after aborting metadata
2f097dfac757 dm cache: Fix UAF in destroy()
520b56cfd9fa dm clone: Fix UAF in clone_dtr()
792e51aac376 dm integrity: Fix UAF in dm_integrity_dtr()
7ae6aa649394 dm thin: Fix UAF in run_timer_softirq()
f758987ff0af dm thin: Use last transaction's pmd->root when commit failed
200aa33b5d78 dm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadata
f472bfc95d9c dm cache: Fix ABBA deadlock between shrink_slab and dm_cache_metadata_abort
52ba5b87a36e binfmt: Fix error return code in load_elf_fdpic_binary()
33933af45d1d binfmt: Move install_exec_creds after setup_new_exec to match binfmt_elf
3cdd91a91632 cpufreq: Init completion before kobject_init_and_add()
6ccb116e6b99 selftests: Use optional USERCFLAGS and USERLDFLAGS
2b8f2e127d7a arm64: dts: qcom: sdm850-lenovo-yoga-c630: correct I2C12 pins drive strength
b22d683c9014 ARM: ux500: do not directly dereference __iomem
c59ee1528b34 btrfs: fix resolving backrefs for inline extent followed by prealloc
e63e1c67932d mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K
3de2c3628351 ktest.pl minconfig: Unset configs instead of just removing them
d10523afa822 kest.pl: Fix grub2 menu handling for rebooting
d089baa5b68a soc: qcom: Select REMAP_MMIO for LLCC driver
bcce46e11594 media: stv0288: use explicitly signed char
de2ea2a0ad51 net/af_packet: make sure to pull mac header
ad3f90a9c4a2 net/af_packet: add VLAN support for AF_PACKET SOCK_RAW GSO
aa91afe59740 SUNRPC: Don't leak netobj memory when gss_read_proxy_verf() fails
e027f3b9fabd tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak
927860dfa161 tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
f1c08947ab05 mmc: vub300: fix warning - do not call blocking ops when !TASK_RUNNING
f4b5a27f56c5 f2fs: should put a page when checking the summary info
f02d2e2b9b89 mm, compaction: fix fast_isolate_around() to stay within boundaries
384ef33d37ce md: fix a crash in mempool_free
2dae4211b579 pnode: terminate at peers of source
25e8c6ecb468 ALSA: line6: fix stack overflow in line6_midi_transmit
10a07d81f693 ALSA: line6: correct midi status byte when receiving data from podxt
0e727c328eeb ovl: Use ovl mounter's fsuid and fsgid in ovl_link()
cae6dddef222 hfsplus: fix bug causing custom uid and gid being unable to be assigned with mount
fe83242eab19 HID: plantronics: Additional PIDs for double volume key presses quirk
b201fe49eeb8 HID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint
515959eb49e6 powerpc/rtas: avoid scheduling in rtas_os_term()
c2fa91abf22a powerpc/rtas: avoid device tree lookups in rtas_os_term()
418ef921cce2 objtool: Fix SEGFAULT
28046827c305 nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
24561f5d0990 nvme: resync include/linux/nvme.h with nvmecli
e69e8d78679d ata: ahci: Fix PCS quirk application for suspend
e74d9f13a408 nvme-pci: fix doorbell buffer value endianness
e8e2861cc325 cifs: fix oops during encryption
3c3baa40dcf8 media: dvbdev: fix refcnt bug
334a76861b25 media: dvbdev: fix build warning due to comments
2a0e42877dff gcov: add support for checksum field
328f3c084fd8 regulator: core: fix deadlock on regulator enable
fb0407d8cd35 iio: adc128s052: add proper .data members in adc128_of_match table
bcb052a87d8b iio: adc: ad_sigma_delta: do not use internal iio_dev lock
ad4eb32cedfa reiserfs: Add missing calls to reiserfs_security_free()
5a5ef1882fd6 HID: wacom: Ensure bootloader PID is usable in hidraw mode
9e8f60094e34 usb: dwc3: core: defer probe on ulpi_read_id timeout
7778fa1ca85f ALSA: hda/hdmi: Add HP Device 0x8711 to force connect list
12622fa053c1 ALSA: hda/realtek: Add quirk for Lenovo TianYi510Pro-14IOB
fad324bc0717 pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXES
e56423bb8e04 pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion
e8a1ccd12017 ASoC: rt5670: Remove unbalanced pm_runtime_put()
737058bd0bfe ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume()
d456c253f3ea ASoC: wm8994: Fix potential deadlock
2705bb1661c9 ASoC: rockchip: pdm: Add missing clk_disable_unprepare() in rockchip_pdm_runtime_resume()
ed1376f77140 ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
df9cd38c3b5e ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()
56f630a0d5a9 ASoC: Intel: Skylake: Fix driver hang during shutdown
fd0d3bf37d73 ALSA: hda: add snd_hdac_stop_streams() helper
d5952155d6d8 ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c
bdc2d33fa232 orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init()
2e7c09121064 orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()
511b48ee8e4a drm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid()
6c00350c9f1d drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid()
fa7163987351 hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param()
713ad301c2d4 clk: st: Fix memory leak in st_of_quadfs_setup()
0ca298d54846 media: si470x: Fix use-after-free in si470x_int_in_callback()
21d26381e1f9 mmc: f-sdh30: Add quirks for broken timeout clock capability
5bfc53df288e regulator: core: fix use_count leakage when handling boot-on
87fd18016a47 blk-mq: fix possible memleak when register 'hctx' failed
17217737c174 media: dvb-usb: fix memory leak in dvb_usb_adapter_init()
6d18b44bb44e media: dvbdev: adopts refcnt to avoid UAF
438a4a8dece2 media: dvb-frontends: fix leak of memory fw
89357aa97b52 bpf: Prevent decl_tag from being referenced in func_proto arg
7da524781c53 ppp: associate skb with a device at tx
aadb1507a77b mrp: introduce active flags to prevent UAF when applicant uninit
4bdcc6a5aa9f net: add atomic_long_t to net_device_stats fields
19d5a0e17aba md/raid1: stop mdx_raid1 thread when raid1 array run failed
5d8d046f3dba drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
2b1b145ca17b drm/sti: Use drm_mode_copy()
272d12b5f322 drm/rockchip: Use drm_mode_copy()
20022d551f20 s390/lcs: Fix return type of lcs_start_xmit()
4bee3c75d5bf s390/netiucv: Fix return type of netiucv_tx()
e859e02fbfa7 s390/ctcm: Fix return type of ctc{mp,}m_tx()
f96bd8adc8ad igb: Do not free q_vector unless new one was allocated
5b06a8a25eba wifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request()
e390838eeffb hamradio: baycom_epp: Fix return type of baycom_send_packet()
dbe1a6b930ae net: ethernet: ti: Fix return type of netcp_ndo_start_xmit()
772431f30ca0 bpf: make sure skb->len != 0 when redirecting to a tunneling device
9066300fe8bf ipmi: fix memleak when unload ipmi driver
8234c522effc ASoC: codecs: rt298: Add quirk for KBL-R RVP platform
7360b323e034 wifi: ar5523: Fix use-after-free on ar5523_cmd() timed out
ca57748593dd wifi: ath9k: verify the expected usb_endpoints are present
3cc9299036bd brcmfmac: return error when getting invalid max_flowrings from dongle
e44bfef5bffb drm/etnaviv: add missing quirks for GC300
90103ccb6e60 hfs: fix OOB Read in __hfs_brec_find
a815a3e01945 acct: fix potential integer overflow in encode_comp_t()
d706485dffbb nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset()
9ef353c92f9d ACPICA: Fix error code path in acpi_ds_call_control_method()
50163a115831 fs: jfs: fix shift-out-of-bounds in dbDiscardAG
156d440dea97 udf: Avoid double brelse() in udf_rename()
359616ce587e fs: jfs: fix shift-out-of-bounds in dbAllocAG
419b808504c2 binfmt_misc: fix shift-out-of-bounds in check_special_flags
3d92527a919e rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()
4f1d37ff4226 net: stream: purge sk_error_queue in sk_stream_kill_queues()
fbae0dc7e22a myri10ge: Fix an error handling path in myri10ge_probe()
67af8655c889 rxrpc: Fix missing unlock in rxrpc_do_sendmsg()
93e794d4fe48 net_sched: reject TCF_EM_SIMPLE case for complex ematch module
b3a5c76f61e2 mailbox: zynq-ipi: fix error handling while device_register() fails
668dc454bcbd skbuff: Account for tail adjustment during pull operations
8b74211bf60b openvswitch: Fix flow lookup to use unmasked key
0e91836628d6 rtc: mxc_v2: Add missing clk_disable_unprepare()
b0a61359026b r6040: Fix kmemleak in probe and remove
8bddef54cbe9 nfc: pn533: Clear nfc_target before being used
db77d4d005c2 mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
82ff73638cd6 mISDN: hfcpci: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
5a35d18e7952 mISDN: hfcsusb: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
fddac3b4578d nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure
f06d3feee910 NFSD: Add tracepoints to NFSD's duplicate reply cache
fe142d5ceeb5 nfsd: Define the file access mode enum for tracing
aa5fafd4a6b4 rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe()
686f0793f790 rtc: st-lpc: Add missing clk_disable_unprepare in st_rtc_probe()
1240ed71a0f6 remoteproc: qcom_q6v5_pas: Fix missing of_node_put() in adsp_alloc_memory_region()
27441fab2651 remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()
292c0f3b4ae0 pwm: sifive: Call pwm_sifive_update_clock() while mutex is held
2b7ad4357438 selftests/powerpc: Fix resource leaks
39633b4051ee powerpc/hv-gpci: Fix hv_gpci event list
aed862896d53 powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe()
d539b77bae1e powerpc/perf: callchain validate kernel stack pointer bounds
cfb5bbfcb63b powerpc/xive: add missing iounmap() in error path in xive_spapr_populate_irq_data()
f2d60f6ba173 cxl: Fix refcount leak in cxl_calc_capp_routing
9bf842ffdd21 powerpc/52xx: Fix a resource leak in an error handling path
b703da16dc97 macintosh/macio-adb: check the return value of ioremap()
b29a2f1dd33a macintosh: fix possible memory leak in macio_add_one_device()
17fd44059496 iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe()
8581ec1feb89 iommu/amd: Fix pci device refcount leak in ppr_notifier()
0d96a6f5db64 rtc: pcf85063: Fix reading alarm
bb1bdc72dd24 rtc: snvs: Allow a time difference on clock register read
6a54d033372d include/uapi/linux/swab: Fix potentially missing __always_inline
f170d4bd38dd RDMA/siw: Fix pointer cast warning
8ea68b4e3fa9 power: supply: fix null pointer dereferencing in power_supply_get_battery_info
61e80e792918 HSI: omap_ssi_core: Fix error handling in ssi_init()
7ae85631aead perf symbol: correction while adjusting symbol
739b4294f86a perf trace: Handle failure when trace point folder is missed
1b4053ad54b7 perf trace: Use macro RAW_SYSCALL_ARGS_NUM to replace number
443aaf605f9f perf trace: Add a strtoul() method to 'struct syscall_arg_fmt'
339e08e1858d perf trace: Allow associating scnprintf routines with well known arg names
97cc27a28ddc perf trace: Add the syscall_arg_fmt pointer to syscall_arg
a2fcb44f5e55 perf trace: Factor out the initialization of syscal_arg_fmt->scnprintf
ba67de37ad20 perf trace: Separate 'struct syscall_fmt' definition from syscall_fmts variable
6086919d8c2a perf trace: Return error if a system call doesn't exist
f84fff700dea power: supply: fix residue sysfs file in error handle route of __power_supply_register()
ef87ed9added HSI: omap_ssi_core: fix possible memory leak in ssi_probe()
e9a32f7523eb HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()
0f049375ad49 fbdev: uvesafb: Fixes an error handling path in uvesafb_probe()
3c9aaa58f71d fbdev: vermilion: decrease reference count in error path
9413f188efc5 fbdev: via: Fix error in via_core_init()
65dbd8eefaa8 fbdev: pm2fb: fix missing pci_disable_device()
77738055e203 fbdev: ssd1307fb: Drop optional dependency
72c8770e3526 samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()
19b651db9421 tracing/hist: Fix issue of losting command info in error_log
fab2536ba13d usb: storage: Add check for kcalloc
cdcbae2c5003 i2c: ismt: Fix an out-of-bounds bug in ismt_access()
f3f65c417784 vme: Fix error not catched in fake_init()
e5c97a433cc3 staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor()
288ada16a93a staging: rtl8192u: Fix use after free in ieee80211_rx()
c226717aa864 i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probe
d85b5247a793 chardev: fix error handling in cdev_device_add()
110dc34c9fa3 mcb: mcb-parse: fix error handing in chameleon_parse_gdd()
68e54d9ee822 drivers: mcb: fix resource leak in mcb_probe()
80dc47e751a8 usb: gadget: f_hid: fix refcount leak on error path
c78c87c4e389 usb: gadget: f_hid: fix f_hidg lifetime vs cdev
efa2ed93e5b4 usb: gadget: f_hid: optional SETUP/SET_REPORT mode
5e193764c26e usb: roles: fix of node refcount leak in usb_role_switch_is_parent()
76740fd8c608 counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update
361412dae169 cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter()
60b2ed21a65f cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()
0078dd875856 misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os
ee2715faf7e7 misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
0cd05062371a misc: ocxl: fix possible name leak in ocxl_file_register_afu()
628de998a3ab test_firmware: fix memory leak in test_firmware_init()
98c01a728b46 serial: sunsab: Fix error handling in sunsab_init()
61f4146a7e5f serial: altera_uart: fix locking in polling mode
ce40c44e62bc tty: serial: altera_uart_{r,t}x_chars() need only uart_port
071bb9e36327 tty: serial: clean up stop-tx part in altera_uart_tx_chars()
d165388227aa serial: pch: Fix PCI device refcount leak in pch_request_dma()
06c886548c03 serial: pl011: Do not clear RX FIFO & RX interrupt in unthrottle.
965f07ea5fd1 serial: amba-pl011: avoid SBSA UART accessing DMACR register
4f257e2eba41 usb: typec: tcpci: fix of node refcount leak in tcpci_register_port()
af4049a2ff7b usb: typec: Check for ops->exit instead of ops->enter in altmode_exit
a45ba33d398a staging: vme_user: Fix possible UAF in tsi148_dma_list_add
90e227d8b48b usb: fotg210-udc: Fix ages old endianness issues
12d20ba3ce2c uio: uio_dmem_genirq: Fix deadlock between irq config and handling
eca77a25a7cb uio: uio_dmem_genirq: Fix missing unlock in irq configuration
c2163ecc4873 vfio: platform: Do not pass return buffer to ACPI _RST method
3e0efc3f3f5e class: fix possible memory leak in __class_register()
0c44f584e387 serial: tegra: Read DMA status before terminating
dcb26ea75d40 tty: serial: tegra: Activate RX DMA transfer by request
da64e01da40c drivers: dio: fix possible memory leak in dio_init()
d4bf3fcccd18 IB/IPoIB: Fix queue count inconsistency for PKEY child interfaces
5cc818ad53df hwrng: geode - Fix PCI device refcount leak
1199f8e02941 hwrng: amd - Fix PCI device refcount leak
c75ea343e4b9 crypto: img-hash - Fix variable dereferenced before check 'hdev->req'
76a9a58a7141 orangefs: Fix sysfs not cleanup when dev init failed
5a2028369de8 RDMA/hfi1: Fix error return code in parse_platform_config()
7917484c9923 crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe()
c21a09ed1e08 f2fs: avoid victim selection from previous victim section
91f63dd62272 RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps()
6866154c23fb scsi: snic: Fix possible UAF in snic_tgt_create()
be5f1a82ad60 scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails
eccbec017c95 scsi: ipr: Fix WARNING in ipr_init()
c9f83544fbfc scsi: fcoe: Fix possible name leak when device_register() fails
3c4bb9446d72 scsi: hpsa: Fix possible memory leak in hpsa_add_sas_device()
6fac40d80691 scsi: hpsa: Fix error handling in hpsa_add_sas_host()
d60000cb1195 scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add()
89e3f7324a38 crypto: tcrypt - Fix multibuffer skcipher speed test mem leak
f8fc2f186529 scsi: hpsa: Fix possible memory leak in hpsa_init_one()
bd7106a6004f RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed
a36c929fd78d crypto: ccree - Make cc_debugfs_global_fini() available for module init function
895bbed5ae53 RDMA/hfi: Decrease PCI device reference count in error path
7e68c0d09573 PCI: Check for alloc failure in pci_request_irq()
a234815cee9e crypto: ccree - Remove debugfs when platform_driver_register failed
ca438aa466b8 crypto: ccree - swap SHA384 and SHA512 larval hashes at build time
263d21afbac0 scsi: scsi_debug: Fix a warning in resp_write_scat()
b5848661f123 RDMA/siw: Set defined status for work completion with undefined status
ad1676587c54 RDMA/nldev: Return "-EAGAIN" if the cm_id isn't from expected port
6af043089d3f RDMA/siw: Fix immediate work request flush to completion queue
ef6079d98f49 f2fs: fix normal discard process
7826e4c85ed8 RDMA/core: Fix order of nldev_exit call
3339d808b609 apparmor: Use pointer to struct aa_label for lbs_cred
f7368ac846ae apparmor: Fix abi check to include v8 abi
e1a68ac0154a apparmor: fix lockdep warning when removing a namespace
eb0f78e28cbc apparmor: fix a memleak in multi_transaction_new()
df121012e439 stmmac: fix potential division by 0
203d604bd521 Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()
5e832e018288 Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()
8ae86c1ec22e Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave()
f36058569115 Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave()
78e76830c73a Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave()
b38b064cba7a Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave()
f6d822ce4b56 Bluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave()
a6b9e0940310 ntb_netdev: Use dev_kfree_skb_any() in interrupt context
3f2946a54b89 net: lan9303: Fix read error execution path
7d67e8ccfc5f can: tcan4x5x: Remove invalid write in clear_interrupts
068672e75b08 net: amd-xgbe: Check only the minimum speed for active/passive cables
291b9669f664 net: amd-xgbe: Fix logic around active and passive cables
bc06c239d54c net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave()
1e39d57a0ec8 hamradio: don't call dev_kfree_skb() under spin_lock_irqsave()
20dd87360543 net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave()
3b748ba07bae net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave()
4b8256d9bf0a net: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave()
bc51a3cadffc net: apple: mace: don't call dev_kfree_skb() under spin_lock_irqsave()
303000c793f7 net/tunnel: wait until all sk_user_data reader finish before releasing the sock
0c5f2c7700cb net: farsync: Fix kmemleak when rmmods farsync
cf7416aa019b ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave()
9ec5781879b4 of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()
a44490abaf00 drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
429370c40d03 net: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload()
bba527e4ec0a net: defxx: Fix missing err handling in dfx_init()
f54731a70c8d net: vmw_vsock: vmci: Check memcpy_from_msg()
6f2198914fb9 clk: socfpga: Fix memory leak in socfpga_gate_init()
dbd1a4fdf5ed clk: socfpga: use clk_hw_register for a5/c5
49513eabda46 clk: socfpga: clk-pll: Remove unused variable 'rc'
fe783eeac48c blktrace: Fix output non-blktrace event when blk_classic option enabled
d628d5c5b4f5 wifi: brcmfmac: Fix error return code in brcmf_sdio_download_firmware()
1a49bba59db0 wifi: rtl8xxxu: Add __packed to struct rtl8723bu_c2h
9e8440a65711 spi: spi-gpio: Don't set MOSI as an input if not 3WIRE mode
a00b4e0fa273 clk: samsung: Fix memory leak in _samsung_clk_register_pll()
7a2c66429b04 media: coda: Add check for kmalloc
2b436f141024 media: coda: Add check for dcoda_iram_alloc
6250bc73317a media: c8sectpfe: Add of_node_put() when breaking out of loop
0fcee27507aa mmc: mmci: fix return value check of mmc_add_host()
0a41ea4fd449 mmc: wbsd: fix return value check of mmc_add_host()
f59ef2a47a22 mmc: via-sdmmc: fix return value check of mmc_add_host()
9e11c6bb745b mmc: meson-gx: fix return value check of mmc_add_host()
f153c9e15f89 mmc: omap_hsmmc: fix return value check of mmc_add_host()
6bb26abb92f2 mmc: atmel-mci: fix return value check of mmc_add_host()
c7a328cea791 mmc: wmt-sdmmc: fix return value check of mmc_add_host()
3b29f8769d32 mmc: vub300: fix return value check of mmc_add_host()
3dbb69a0242c mmc: toshsd: fix return value check of mmc_add_host()
937112e991ed mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()
0b7b63422579 mmc: pxamci: fix return value check of mmc_add_host()
32eb502c972d mmc: mxcmmc: fix return value check of mmc_add_host()
b174f2b36c63 mmc: moxart: fix return value check of mmc_add_host()
289c964fe182 mmc: alcor: fix return value check of mmc_add_host()
e8f20523cf98 NFSv4.x: Fail client initialisation if state manager thread can't run
f7a8a1e36ded SUNRPC: Fix missing release socket in rpc_sockname()
bcebcb11fcbc xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()
c7e9624d90bf ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt
6a8c0abcb502 media: saa7164: fix missing pci_disable_device()
4cabc3af4a6f bpf, sockmap: fix race in sock_map_free()
35593d60b162 regulator: core: fix resource leak in regulator_register()
90c38f57a821 configfs: fix possible memory leak in configfs_create_dir()
6dea95f64069 hsr: Avoid double remove of a node.
de7dbee4bd4a clk: qcom: clk-krait: fix wrong div2 functions
339ba693daaf regulator: core: fix module refcount leak in set_supply()
46dfff91025b wifi: cfg80211: Fix not unregister reg_pdev when load_builtin_regdb_keys() fails
624a989db916 spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE
52fb0ffee06d bonding: uninitialized variable in bond_miimon_inspect()
31631c2ab4a9 bpf, sockmap: Fix data loss caused by using apply_bytes on ingress redirect
7508b9f4daac bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data
d4145d028a12 netfilter: conntrack: set icmpv6 redirects as RELATED
27c09443ddcc ASoC: pcm512x: Fix PM disable depth imbalance in pcm512x_probe
981024abf5fe drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()
470a77989037 drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()
190685ff4ee0 ASoC: mediatek: mt8173: Enable IRQ when pdata is ready
0e1e311fd929 wifi: iwlwifi: mvm: fix double free on tx path.
8b0c003e37d5 ALSA: asihpi: fix missing pci_disable_device()
5447f1ad0bc1 NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturn
e53a7c28a428 NFSv4.2: Fix initialisation of struct nfs4_label
b2b472bcda7b NFSv4.2: Fix a memory stomp in decode_attr_security_label
96f3c70600a5 NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding
2672977dc089 ASoC: mediatek: mtk-btcvsd: Add checks for write and read of mtk_btcvsd_snd
d63e9eca9485 ASoC: dt-bindings: wcd9335: fix reset line polarity in example
4ea79d074776 drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe()
542a87f1cfc6 media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC
8b256d23361c media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()
9103bf21874e media: dvb-core: Fix ignored return value in dvb_register_frontend()
3359f8d5338d pinctrl: pinconf-generic: add missing of_node_put()
ffd53b7892c8 clk: imx: replace osc_hdmi with dummy
aa79b53df799 clk: imx8mn: correct the usb1_ctrl parent to be usb_bus
1d8521e1121a media: imon: fix a race condition in send_packet()
cf9c4c25caad mtd: maps: pxa2xx-flash: fix memory leak in probe
a7fc25159d6f bonding: fix link recovery in mode 2 when updelay is nonzero
0879f594a7c4 bonding: Rename slave_arr to usable_slaves
9eaeb3e460b9 bonding: Export skip slave logic to function
26b94635f1c8 clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
96be283d10ef regulator: core: use kfree_const() to free space conditionally
d884ed9a2f0e ALSA: seq: fix undefined behavior in bit shift for SNDRV_SEQ_FILTER_USE_EVENT
497279199d4c ALSA: pcm: fix undefined behavior in bit shift for SNDRV_PCM_RATE_KNOT
e6364854f5b0 HID: hid-sensor-custom: set fixed size for custom attributes
75a5bf8eebc8 bpf: Move skb->len == 0 checks into __bpf_redirect
61688b8819ea media: videobuf-dma-contig: use dma_mmap_coherent
9ca9d7fd7df4 media: platform: exynos4-is: Fix error handling in fimc_md_init()
7b02c50d3978 media: solo6x10: fix possible memory leak in solo_sysfs_init()
f81f63168f08 Input: elants_i2c - properly handle the reset GPIO when power is off
8eb64dc5a790 mtd: lpddr2_nvm: Fix possible null-ptr-deref
8e51f5894df2 wifi: ath10k: Fix return value in ath10k_pci_init()
8176538866cb ima: Fix misuse of dereference of pointer in template_desc_init_fields()
9b7c44885a07 integrity: Fix memory leakage in keyring allocation error path
4d3dc0de9c46 amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()
d39937f8de64 regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()
a8baccb79de2 ASoC: pxa: fix null-pointer dereference in filter()
6f13a895cef8 drm/mediatek: Modify dpi power on/off sequence.
a0f26560be2c drm/radeon: Add the missed acpi_put_table() to fix memory leak
832d0e19ce12 rxrpc: Fix ack.bufferSize to be 0 when generating an ack
c9c9350d30e9 net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write()
fe443b3fe36c media: camss: Clean up received buffers on failed start of streaming
08114dc18580 wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port
fa0d32ab8407 mtd: Fix device name leak when register device failed in add_mtd_device()
d70fa0a6ce74 bpf: propagate precision in ALU/ALU64 operations
54f259906039 media: vivid: fix compose size exceed boundary
38d48fd22403 ima: Handle -ESTALE returned by ima_filter_rule_match()
ecd0a6f81a1a ima: Fix fall-through warnings for Clang
55e2430e4325 ima: Rename internal filter rule functions
0b7c47b7f358 drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure
3fcdc1534b4c spi: Update reference to struct spi_controller
d87dd4528d0e clk: renesas: r9a06g032: Repair grave increment error
a2046e5a361f can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming
7482f95315d2 can: kvaser_usb: Add struct kvaser_usb_busparams
f3d20de76fc9 can: kvaser_usb_leaf: Fix bogus restart events
ad63992b6488 can: kvaser_usb_leaf: Fix wrong CAN state after stopping
920879577060 can: kvaser_usb_leaf: Fix improved state not being reported
60ad08be78fd can: kvaser_usb_leaf: Set Warning state even without bus errors
12d95e65f709 can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT
5779a9d0e358 can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event
0e56748852f1 can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device
3a9d74f33988 can: kvaser_usb: do not increase tx statistics when sending error message frames
3f2384f09ba0 media: i2c: ad5820: Fix error path
e8e2da03c287 pata_ipx4xx_cf: Fix unsigned comparison with less than zero
5994e7a806a0 wifi: rtl8xxxu: Fix reading the vendor of combo chips
988bd27de248 wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()
9850791d389b wifi: ath9k: hif_usb: fix memory leak of urbs in ath9k_hif_usb_dealloc_tx_urbs()
bb7397f6312d rapidio: devices: fix missing put_device in mport_cdev_open
6a95b17e4d4c hfs: Fix OOB Write in hfs_asc2mac
657fea0a8df0 relay: fix type mismatch when allocating memory in relay_create_buf()
e275249e5e65 eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD
311b488405ac rapidio: fix possible UAF when kfifo_alloc() fails
7aa5325e1b50 fs: sysv: Fix sysv_nblocks() returns wrong value
cb5859603cd1 MIPS: OCTEON: warn only once if deprecated link status is being used
b7ca75207e4a MIPS: BCM63xx: Add check for NULL for clk in clk_enable
14bb4bde3b7b platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()
11ad95912b8b PM: runtime: Do not call __rpm_callback() from rpm_idle()
c40ee4e04b4c PM: runtime: Improve path in rpm_idle() when no callback
4f983ee5e5de xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource()
29198f667f44 x86/xen: Fix memory leak in xen_init_lock_cpu()
ec88254208dd x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()
6e98158d97e1 xen/events: only register debug interrupt for 2-level events
314d51053524 uprobes/x86: Allow to probe a NOP instruction with 0x66 prefix
dfdde4d5138b ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
805665aa5295 clocksource/drivers/sh_cmt: Make sure channel clock supply is enabled
1bbad5793f40 rapidio: rio: fix possible name leak in rio_register_mport()
440afd7fd9b1 rapidio: fix possible name leaks when rio_add_device() fails
7ef516888c4d ocfs2: fix memory leak in ocfs2_mount_volume()
a4d3062f0ac7 ocfs2: rewrite error handling of ocfs2_fill_super
227cc62e0049 ocfs2: ocfs2_mount_volume does cleanup job before return error
5c27b46c20ec debugfs: fix error when writing negative value to atomic_t debugfs file
c7bd49275da3 docs: fault-injection: fix non-working usage of negative values
6865a549f261 lib/notifier-error-inject: fix error when writing -errno to debugfs file
6fc6461672a4 libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed value
75940697c040 cpufreq: amd_freq_sensitivity: Add missing pci_dev_put()
d25bf9af860e genirq/irqdesc: Don't try to remove non-existing sysfs files
b4e28099cd70 nfsd: don't call nfsd_file_put from client states seqfile display
e6e295a434d1 EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()
d5c06dba4612 irqchip: gic-pm: Use pm_runtime_resume_and_get() in gic_probe()
e293263248f2 perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
81b024df4755 PNP: fix name memory leak in pnp_alloc_dev()
821afb8c89c0 selftests/efivarfs: Add checking of the test return value
c0b8cff0146b MIPS: vpe-cmp: fix possible memory leak while module exiting
b3325a443525 MIPS: vpe-mt: fix possible memory leak while module exiting
7c8bf45cea9c ocfs2: fix memory leak in ocfs2_stack_glue_init()
e039929e3681 lib/fonts: fix undefined behavior in bit shift for get_default_font
160d6d6f1479 proc: fixup uptime selftest
d7b9e43a5c57 timerqueue: Use rb_entry_safe() in timerqueue_getnext()
248fa44cde6d perf: Fix possible memleak in pmu_dev_alloc()
044ede4c38ee selftests/ftrace: event_triggers: wait longer for test_event_enable
8511186f10a4 fs: don't audit the capability check in simple_xattr_list()
c907c55dc7a5 PM: hibernate: Fix mistake in kerneldoc comment
f0ff6c60bc82 alpha: fix syscall entry in !AUDUT_SYSCALL case
1399ce344ee8 cpuidle: dt: Return the correct numbers of parsed idle states
082b55fe9fc6 tpm/tpm_crb: Fix error message in __crb_relinquish_locality()
4d3126f242a0 pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP
e2516652da3f ARM: mmp: fix timer_read delay
2de791ff6f80 pstore/ram: Fix error return code in ramoops_probe()
ded1b827164f arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC
03a666631aa4 ARM: dts: turris-omnia: Add switch port 6 node
fe1fc4d84d2a ARM: dts: turris-omnia: Add ethernet aliases
b20454ea05f6 ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port
1b7017211ecc ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port
87b951b7c2e5 ARM: dts: armada-375: Fix assigned-addresses for every PCIe Root Port
e3cf3f7a6d54 ARM: dts: armada-xp: Fix assigned-addresses for every PCIe Root Port
e302758caf72 ARM: dts: armada-370: Fix assigned-addresses for every PCIe Root Port
0a8544b7236f ARM: dts: dove: Fix assigned-addresses for every PCIe Root Port
f707c3fee2e0 arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name
fdf511fc076d arm64: dts: mt2712-evb: Fix usb vbus regulators unit names
06fbfc5f4374 arm64: dts: mt2712-evb: Fix vproc fixed regulators unit names
f0c1f46e4975 arm64: dts: mt2712e: Fix unit address for pinctrl node
aaabd7e3e4aa arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillators
d69bdb61d577 perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()
af2256d7784f perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init()
1e9186d628d3 soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe
83cfc38091ed soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe
5f07c85ca107 soc: ti: knav_qmss_queue: Use pm_runtime_resume_and_get instead of pm_runtime_get_sync
f5c521195e49 arm: dts: spear600: Fix clcd interrupt
3a90edbab8d1 drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static
3459e05ad32b arm64: dts: qcom: sdm845-cheza: fix AP suspend pin bias
6a24277840dd ARM: dts: qcom: apq8064: fix coresight compatible
1a19212a711e usb: musb: remove extra check in musb_gadget_vbus_draw
40075e797577 net: loopback: use NET_NAME_PREDICTABLE for name_assign_type
9fdc79b57143 Bluetooth: L2CAP: Fix u8 overflow
77d5e6f260ac HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk
c05a7fa01020 HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10
d535a33e83a0 HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch 10E
7346b2529fed HID: ite: Add support for Acer S1002 keyboard-dock
2d91b7a0b0e8 xen-netback: move removal of "hotplug-status" to the right place
c581439a9775 igb: Initialize mailbox message for VF reset
50aa193a4bf4 USB: serial: f81534: fix division by zero on line-speed change
0d6bf63eb3ec USB: serial: f81232: fix division by zero on line-speed change
fe0f214385d4 USB: serial: cp210x: add Kamstrup RF sniffer PIDs
d48767065423 USB: serial: option: add Quectel EM05-G modem
b8fb1cba934e usb: gadget: uvc: Prevent buffer overflow in setup handler
2610c2e59c66 udf: Fix extending file within last block
ade1726d8c2c udf: Do not bother looking for prealloc extents if i_lenExtents matches i_size
4d835efd561d udf: Fix preallocation discarding at indirect extent boundary
0905c78f623e udf: Discard preallocation before extending file with a hole
0758b5069294 tracing/ring-buffer: Only do full wait when cpu != RING_BUFFER_ALL_CPUS
(From OE-Core rev: 2861fb021aa16483fd6c5e91017b380dac33d2b3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
In file included from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/define_trace.h:87,
from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../instrumentation/events/lttng-module/jbd2.h:183,
from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/lttng-probe-jbd2.c:29:
TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/lttng-tracepoint-event-impl.h:130:6: error: conflicting types for 'trace_jbd2_run_stats'
130 | void trace_##_name(_proto);
| ^~~~~~
TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/lttng-tracepoint-event-impl.h:42:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
42 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/lttng-tracepoint-event-impl.h:84:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
84 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../instrumentation/events/lttng-module/jbd2.h:107:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
107 | LTTNG_TRACEPOINT_EVENT(jbd2_run_stats,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/trace/events/jbd2.h:9,
from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/lttng-probe-jbd2.c:18:
TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/linux/tracepoint.h:243:21: note: previous definition of 'trace_jbd2_run_stats' was here
243 | static inline void trace_##name(proto) \
| ^~~~~~
TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/linux/tracepoint.h:406:2: note: in expansion of macro '__DECLARE_TRACE'
406 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/linux/tracepoint.h:542:2: note: in expansion of macro 'DECLARE_TRACE'
542 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/trace/events/jbd2.h:234:1: note: in expansion of macro 'TRACE_EVENT'
234 | TRACE_EVENT(jbd2_run_stats,
| ^~~~~~~~~~~
CC [M] TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/lttng-probe-ext4.o
Backport from upstream master branch fixes:
b28830a0dc4fd2615b87612c99eb24
Note that master branch upstream has restructured the location of header files, so the patches
do not apply cleanly. This patch combines the changes in the above commits in the old header location.
(From OE-Core rev: 520d957e14be77f73c82a295f685d189381d8f72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 (Random Act of Kindness Day) LTTng modules 2.11.8
* fix: Adjust ranges for Ubuntu 5.8.0-44 kernel
* Fix: do not use bdi_unknown_name symbol
* fix: memcg: fix a crash in wb_workfn when a device disappears (5.6)
* Fix: writeback: out-of-bound reads
* fix: Add one digit to RHEL major release version
* fix: Add one digit to SLES minor release version
* fix: RT_PATCH_VERSION is close to overflow
* fix: cast LTTNG_KERNEL_VERSION/LTTNG_LINUX_VERSION_CODE to uint64_t
* fix: UTS_UBUNTU_RELEASE_ABI is close to overflow
* fix: sublevel version overflow in LINUX_VERSION_CODE
* Namespace kernel version macros
* aarch64: blacklist gcc prior to 5.1
* fix: missing include for 'task_struct' in fdtable.h
* fix: genirq: Restrict export of irq_to_desc() (v5.11)
* fix: block: merge struct block_device and struct hd_struct (v5.11)
* fix: kprobes: Remove kretprobe hash (v5.11)
* fix: file: Rename fcheck lookup_fd_rcu (v5.11)
* fix: block: remove the request_queue argument to the block_bio_remap tracepoint (v5.11)
* fix: block: remove the request_queue argument to the block_split tracepoint (v5.11)
* fix: block: simplify and extend the block_bio_merge tracepoint class (v5.11)
* fix: block: remove the request_queue to argument request based tracepoints (v5.11)
(From OE-Core rev: fa1056f62017ea764b494c41cc7cdaefe0a80fb6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to fix CVE-2022-4743 security issue "A potential memory leak
issue was discovered in SDL2 in GLES_CreateTexture() function in
SDL_render_gles.c. The vulnerability allows an attacker to cause a
denial of service attack. The vulnerability affects SDL2 v2.0.4 and
above. SDL-1.x are not affected." as per NVD
(From OE-Core rev: f40ad856e814366c2d3588001dea1e0df7a3fed6)
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The check needs to report dri location on the host machine,
so pkg-config binary needs to be capable of finding the needed
dri.pc file on the host, and therefore needs to know where
host .pc files are located.
This may not be the case when using pkg-config from buildtools,
so this forces usage of host pkg-config.
runqemu already does the same PATH tweak, so this simply brings
the two in sync.
(From OE-Core rev: b2e06c9cf88b4d48e36d845a3cfabf4f3668d605)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0521f8a3ba7e15482756529ee7b0a95b3d53e7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, if "showSignature" is present in user gitconfig, parsing
of the timestamp will fail.
Ideally we should replace this command with a git plumbing command.
(From OE-Core rev: e872f6636f4cb51426edc6c985e58d2fb74e0f96)
Signed-off-by: Benoît Mauduit <bmauduit@beneth.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 3bd6f78f79b3d3e87d8db1e11f58d8021f929843)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed an error when Bash's unbound variable protection is enabled (set -u) and variable "LD_LIBRARY_PATH" does not exist.
(From OE-Core rev: 2c7309eea616ec88338d508bc9f284e3bd44f5a1)
Signed-off-by: Jan Kircher <openembedded@hetsh.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 85685370b0ad93291cda59fb091a15eeecf5e0d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since RRECOMMENDS declaration implictly induces building the recipes
that provide the runtime recommended packages, conditionalize adding
such values according to associated PACKAGECONFIG settings in order
to avoid redundant building.
(From OE-Core rev: a1989add927f7805378fe4d5afbde780b747ba77)
(From OE-Core rev: a35444fa035d551b6a4dcb9609ab8de960258618)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2022-4283: xkb: reset the radio_groups pointer to NULL after freeing it
Upstream-Status: Backport from ccdd431cd8
CVE-2022-46340: Xtest: disallow GenericEvents in XTestSwapFakeInput
Upstream-Status: Backport from b320ca0ffe
CVE-2022-46341: Xi: disallow passive grabs with a detail > 255
Upstream-Status: Backport from 51eb63b0ee
CVE-2022-46342: Xext: free the XvRTVideoNotify when turning off from the same client
Upstream-Status: Backport from b79f32b57c
CVE-2022-46343: Xext: free the screen saver resource when replacing it
Upstream-Status: Backport from 842ca3ccef
CVE-2022-46344: Xi: avoid integer truncation in length check of ProcXIChangeProperty
Upstream-Status: Backport from 8f454b793e
(From OE-Core rev: dcc597d52a579fca44581ebd81b4a15fa56456fe)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2019-6461 and CVE-2019-6462 are fixed, but the reporting is
incorrect as the patch for CVE-2019-6461 is actually for CVE-2019-6462
and vice-versa.
This swaps both files and edit the CVE field to report the correct
identifier.
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: 8b1f40639c16286937f04b9b50cef3d759bf442e)
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f12c2a5ac94cb29f473f3c7e335463c7fb6d8a6e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building an image cve_check_write_rootfs_manifest() would sometimes fail
with a FileNotFoundError when writing the manifest.cve due to the parent
directory (DEPLOY_DIR_IMAGE) not (yet) existing.
The image task will provide the manifest in the deploy directory afterwards,
so other recipes depending on the manifest being in DEPLOY_DIR_IMAGE should
continue to function properly.
(From OE-Core rev: c25a5c5f6fede29893a2ac1502216e9deccfa6c3)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00fb2aae22ce0d7ff5f3f8766fa770eeb4e73483)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We get random SSL failures when fetching the CVE database, and it's
notable that the NVD server is behind a DNS round-robin or geographically
diverse servers.
On a hunch that there is one misconfigured server, dump the IP that we
connected to.
(From OE-Core rev: 48c0e427675f4c99c395cc0a75743ac70eb64802)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91f46d431dc8f40e8c6475c800bb61cb08b82b0a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The database update has been done on the original file. In case of
network connection issues, temporary outage of the NVD server or
a similar situation, the function could exit with incomplete data
in the database. This patch solves the issue by performing the update
on a copy of the database. It replaces the main one only if the whole
update was successful.
See https://bugzilla.yoctoproject.org/show_bug.cgi?id=14929
Reported-by: Alberto Pianon <alberto@pianon.eu>
(From OE-Core rev: 6a219c50ee12b7fb584e2db3e4dde171903acfb7)
Signed-off-by: Marta Rybczynska <marta.rybczynska@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8efe99214d8b005f0ecac690ce5ba17b31758f92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this small patch, it's possible to overrule the public
URL with a local mirror for those without Internet access.
(From OE-Core rev: 7290b3217c31cec7dd9985cbf5a003a9c368fa54)
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2d903126e8bbece3a5171c3488c3deae1f0aa3ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bb.utils.export_proxies() is a poor-man's alternative for the
environment setup code in bb/fetch2, but it's used in several places
where recipes want to download manually (such as cve-update-db-native).
Notably, export_proxies() doesn't pass on the SSL certificate paths from
the original environment, so if SSL_CERT_FILE needs to be set (for
example, in a buildtools environment) then proxies work but SSL doesn't.
In an ideal world export_proxies and the same logic in fetch2 would
merge, but until then we can add the SSL_CERT_ variables and duplicate
the basic logic: check the datastore first and then the original
environment for variables.
[ YOCTO #15000 ]
(Bitbake rev: c16d364dbf68d2a500fecaf8d6e6d62b11475d9f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c19035e8e71c419c5688a86bfc9c946c96f638e8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport [22130dcd98]
Fixes:
In function ?SetDevicePathEndNode?,
inlined from ?FileDevicePath? at DevicePathUtilities.c:857:5:
DevicePathUtilities.c:321:3: error: writing 4 bytes into a region of size 1 [-Werror=stringop-overflow=]
321 | memcpy (Node, &mUefiDevicePathLibEndDevicePath, sizeof (mUefiDevicePathLibEndDevicePath));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from UefiDevicePathLib.h:22,
from DevicePathUtilities.c:16:
../Include/Protocol/DevicePath.h: In function ?FileDevicePath?:
../Include/Protocol/DevicePath.h:51:9: note: destination object ?Type? of size 1
51 | UINT8 Type; ///< 0x01 Hardware Device Path.
| ^~~~
(From OE-Core rev: a33abd759e2e9f41e056f87024de3b333e9b948b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Yocto #14346]
Systemd may be slow in killing pam session sometimes [1][2]. It may cause rpm
test to fail because there's process (sd_pam) running and own by "test1" user
after timeout.
Increasing timeout to 2 mins and assert earlier with debug output if
there's such process(es). If increasing of timeout doesn't help we may
want to force deletion of the user as [2] suggests.
[1] https://github.com/systemd/systemd/issues/8598
[2] https://access.redhat.com/solutions/6969188
(From OE-Core rev: e4d2351a2b5aa0c4d900abc5d75ab5da9b5e1f8a)
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 972fcc0ed1e0d36c3470071a9c667c5327c1ef78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_rm_work() task is using the first available 'rm' binary
available in PATH to remove files and folders.
However, depending on the PATH setup and RECIPE_SYSROOT_NATIVE
contents, the function can be using the 'rm' binary available
in RECIPE_SYSROOT_NATIVE, a folder that will get removed.
This causes a sporadic race-condition when trying to access the
'rm' binary of a folder already deleted.
Solve this by exclusively using the HOSTTOOLS 'rm' binary, as
this folder will not get removed.
(From OE-Core rev: 75b7e86c9d9931c9e4e114af026b51710f1920a2)
Signed-off-by: Luis Martins <luis.pinto.martins@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edcd9ad333bc4e504594e8af83e8cb7007d2e35c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous code had 2 issues:
1. make hosttools/ccache always link to host's ccache (/usr/bin/ccache)
even we have one buildtools
2. make hosttools/gcc etc, link to host's gcc event we have one
buildtools when keyword ccache in buildtools's path, eg:
/mnt/ccache/bin/buildtools
This patch is for fix above issues.
(From OE-Core rev: f2f70bf8d93b33b65875828c0402a98e943f660a)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b7c81414cf252a7203d95703810a770184d7e4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The /proc/pressure support in buildstats is creating directories in the
buildstats tree called reduced_proc_pressure, which confuses the parsing
logic as that cannot be parsed as a name-epoc-version-revision tuple.
Explicitly skip this directory to solve the problem.
(From OE-Core rev: deb919a693e4371ace649680ca06ca6b6e3da4e2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 24f0331f0b7e51161b1fa43d4592b491d2037fe9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The QB_DEFAULT_KERNEL is set to pick bundled initramfs kernel image
if the Linux kernel image is generated with INITRAMFS_IMAGE_BUNDLE="1".
This makes runqemu to automatically pick bundled initramfs kernel image
instead of explicitly mentioning bundled initramfs kernel image in
runqemu.
[YOCTO #14748]
(From OE-Core rev: 0c63018ef3843cfefd2be31c0a6693181037410d)
Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52371624313184e1a825519160c3833e282df8b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default GOCACHE is set to $HOME/.cache.
Same issue for all other go recipes had been fixed by commit 9a6d208b:
[ go: avoid host contamination by GOCACHE ]
but that commit missed go-crosssdk recipe.
(From OE-Core rev: 22fef4e278beae60d1a6afbe4645fb36732bc736)
Signed-off-by: Robert Andersson <robert.m.andersson@atlascopco.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e5fd10c647ac4baad65f9efa964c3380aad7dd10)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 0533edac27 broke
bitbake parsing when bitbake is executed from directory with existing .gitmodules
and the recipe in externalsrc does not have .gitmodules
The check needs to search for .gitmodules in sources path, not cwd.
iParsing recipes...ERROR: ExpansionError during parsing <path to recipe>
...
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception CalledProcessError: Command '['git', 'config', '--file', '.gitmodules', '--get-regexp', 'path']' returned non-zero exit status 1.
(From OE-Core rev: c58d82b98348b167b60ec3c8b9651d73b1bdfbdc)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 66ff3d1f65cd2e7f5319e98fa41f47a59b714c72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bc is needed for compiling kernel modules, more specifially
whenr running `make scripts prepare'.
In linux-yocto.inc, we have bc-native in DEPENDS. But we will
need nativesdk-bc in case we compile a kernel module inside
SDK.
(From OE-Core rev: aab8d528ceeb2ee1ab7cffdeff4007fd66275f1b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 95b5c89066baccb1e64bfba7d9a66feeeb086da9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
(From OE-Core rev: ff27ea21d7c14086335da5c3e2fac353e44438da)
(From OE-Core rev: 0624c7a77cfc7288fd3154624150b49adce8d8f8)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1596d37ba)
Signed-off-by: Nikhil R <nikhil.r@kpit.com>
Signed-off-by: Omkar Patil <omkarpatil10.93@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
851c2b5fb793 Linux 5.4.228
ff484a9ba449 ASoC: ops: Correct bounds check for second channel on SX controls
7d4aa0929963 can: mcba_usb: Fix termination command argument
f843fdcac054 can: sja1000: fix size of OCR_MODE_MASK define
b439b12d1050 pinctrl: meditatek: Startup with the IRQs disabled
9796d07c7531 ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()
3c837460f920 nfp: fix use-after-free in area_cache_get()
a40c3c9ae58f block: unhash blkdev part inode when the part is deleted
176ba4c19d1b mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page
69d4f3baa694 x86/smpboot: Move rcu_cpu_starting() earlier
d1988bf2bba3 net: bpf: Allow TC programs to call BPF_FUNC_skb_change_head
66bb2e2b24ce Linux 5.4.227
898270ec11be can: esd_usb: Allow REC and TEC to return to zero
08bf219d62f5 net: mvneta: Fix an out of bounds check
6b6d3be3661b ipv6: avoid use-after-free in ip6_fragment()
f73eb3fc9b41 net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()
f0af234e2e55 xen/netback: fix build warning
99669d94ce14 ethernet: aeroflex: fix potential skb leak in greth_init_rings()
3295582cd7a5 ipv4: Fix incorrect route flushing when table ID 0 is used
2537b637eac0 ipv4: Fix incorrect route flushing when source address is deleted
36eedb9a05a7 tipc: Fix potential OOB in tipc_link_proto_rcv()
1b6360a093ab net: hisilicon: Fix potential use-after-free in hix5hd2_rx()
e71a46cc8c9a net: hisilicon: Fix potential use-after-free in hisi_femac_rx()
7081cf86e1f6 net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq
bc06207b4c1c net: stmmac: fix "snps,axi-config" node property parsing
7fab7add08f5 nvme initialize core quirks before calling nvme_init_subsystem
677843470694 NFC: nci: Bounds check struct nfc_target arrays
e5292711b020 i40e: Disallow ip4 and ip6 l4_4_bytes
9337d87da417 i40e: Fix for VF MAC address 0
a1e295517b36 i40e: Fix not setting default xps_cpus after reset
eec1fc21edc2 net: mvneta: Prevent out of bounds read in mvneta_config_rss()
ed773dd798bf xen-netfront: Fix NULL sring after live migration
18e10a9e0e32 net: encx24j600: Fix invalid logic in reading of MISTAT register
1356c17758b8 net: encx24j600: Add parentheses to fix precedence
1831d4540406 mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()
8fb4b50f5436 selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
0834d4b121e7 net: dsa: ksz: Check return value
2c6cf0afc385 Bluetooth: Fix not cleanup led when bt_init fails
07ea5d74fc12 Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn()
c66d78aee55d af_unix: Get user_ns from in_skb in unix_diag_get_exact().
9d2ee8abf160 igb: Allocate MSI-X vector when testing
cff8ba243f5f e1000e: Fix TX dispatch condition
48bd5d3801f6 gpio: amd8111: Fix PCI device reference count leak
d2be7ba2d47b drm/bridge: ti-sn65dsi86: Fix output polarity setting bug
e2e218177271 ca8210: Fix crash by zero initializing data
efbca8234aee ieee802154: cc2520: Fix error return code in cc2520_hw_init()
3982652957e8 can: af_can: fix NULL pointer dereference in can_rcv_filter
db1ed1b3fb4e HID: core: fix shift-out-of-bounds in hid_report_raw_event
60bce926a8f3 HID: hid-lg4ff: Add check for empty lbuf
625814b85f74 HID: usbhid: Add ALWAYS_POLL quirk for some mice
585a07b82005 drm/shmem-helper: Remove errant put in error path
b8419d16f47e KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field
04edfa3dc06e mm/gup: fix gup_pud_range() for dax
35963b318219 memcg: fix possible use-after-free in memcg_write_event_control()
4afc77068e36 media: v4l2-dv-timings.c: fix too strict blanking sanity checks
91516ba54a02 Revert "net: dsa: b53: Fix valid setting for MDB entries"
50e1ab7e638f xen/netback: don't call kfree_skb() with interrupts disabled
6b1d47f9c34b xen/netback: do some code cleanup
8fe1bf6f32cd xen/netback: Ensure protocol headers don't fall in the non-linear area
5ffc2a75534d mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
48b00ceb5472 mm/khugepaged: fix GUP-fast interaction by sending IPI
324abbd8b91c mm/khugepaged: take the right locks for page table retraction
b2963819d03b net: usb: qmi_wwan: add u-blox 0x1342 composition
e35c3ad0c208 9p/xen: check logical size for buffer size
9d5126b574c9 fbcon: Use kzalloc() in fbcon_prepare_logo()
102459222d41 regulator: twl6030: fix get status of twl6032 regulators
f2ba66d87385 ASoC: soc-pcm: Add NULL check in BE reparenting
3b2c064a8e11 btrfs: send: avoid unaligned encoded writes when attempting to clone range
63badfed2002 ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event
8d16d3826ff2 regulator: slg51000: Wait after asserting CS pin
9327a9c624ee 9p/fd: Use P9_HDRSZ for header size
671f950d17d5 ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188
2c2c5d1d10f7 ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation
29917e381e02 ARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernels
3f39d53bc731 ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name
135fcc458170 ARM: dts: rockchip: fix ir-receiver node names
368f2c2640be arm: dts: rockchip: fix node name for hym8563 rtc
4b346f07f064 arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series
316cdfc48d4d Linux 5.4.226
3ab84e89135b ipc/sem: Fix dangling sem_array access in semtimedop race
210f96fb7ed5 v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails
0390da0565ad proc: proc_skip_spaces() shouldn't think it is working on C strings
dd3124a051a1 proc: avoid integer type confusion in get_proc_long
1061bf5d018b mmc: sdhci: Fix voltage switch delay
9a5f49c0f532 mmc: sdhci: use FIELD_GET for preset value bit masks
d699373ac5f3 char: tpm: Protect tpm_pm_suspend with locks
9decec299337 Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"
e67e119adf3e x86/ioremap: Fix page aligned size calculation in __ioremap_caller()
0d87bb607036 Bluetooth: L2CAP: Fix accepting connection request for invalid SPSM
b5041a3daa7f x86/pm: Add enumeration check before spec MSRs save/restore setup
3b2859457688 x86/tsx: Add a feature bit for TSX control MSR support
99c59256ea00 nvme: ensure subsystem reset is single threaded
dc85ff0a5f32 nvme: restrict management ioctls to admin
c41a89af7b7a epoll: check for events when removing a timed out thread from the wait queue
b8e803cda58b epoll: call final ep_events_available() check under the lock
e65ac2bdda54 tracing/ring-buffer: Have polling block on watermark
899e148171c6 ipv4: Fix route deletion when nexthop info is not specified
cc3cd130ecfb ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference
a14f1a9c5313 selftests: net: fix nexthop warning cleanup double ip typo
8aefb9329522 selftests: net: add delete nexthop route warning test
dd6d2d82f0be Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled
7da3a10f39c9 parisc: Increase FRAME_WARN to 2048 bytes on parisc
15568cdbe599 xtensa: increase size of gcc stack frame check
76f48511a1c8 parisc: Increase size of gcc stack frame check
cbdd83bd2fd6 iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
0090231df2cf pinctrl: single: Fix potential division by zero
73dce3c1d48c ASoC: ops: Fix bounds check for _sx controls
ced17a55a8e7 mm: Fix '.data.once' orphan section warning
c9ecc420941f arm64: errata: Fix KVM Spectre-v2 mitigation selection for Cortex-A57/A72
44ccd8c52fb7 arm64: Fix panic() when Spectre-v2 causes Spectre-BHB to re-allocate KVM vectors
1603feac154f tracing: Free buffers when a used dynamic event is removed
dcd1daad31ac mmc: sdhci-sprd: Fix no reset data and command after voltage switch
9e5581c772cf mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check
bfdfe86d839f mmc: core: Fix ambiguous TRIM and DISCARD arg
040d08c99620 mmc: mmc_test: Fix removal of debugfs file
eb5001ecfb4f pinctrl: intel: Save and restore pins in "direct IRQ" mode
ae34a4f4a209 x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3
9a130b72e6bd nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()
3ae3bb33c47e tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"
cf1c12bc5c8c error-injection: Add prompt for function error injection
2f6fd2de726d net/mlx5: DR, Fix uninitialized var warning
ea5844f946b1 hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()
89eecabe6a47 hwmon: (coretemp) Check for null before removing sysfs attrs
0aacac75b8d6 net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed
a7555681e50b sctp: fix memory leak in sctp_stream_outq_migrate()
168de4096b9c packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE
16c244bc65d1 net: tun: Fix use-after-free in tun_detach()
1c1d4830a960 afs: Fix fileserver probe RTT handling
53a62c5efe91 net: hsr: Fix potential use-after-free
ae633816ddf1 dsa: lan9303: Correct stat name
910c0264b64e net: ethernet: nixge: fix NULL dereference
2d24d91b9f44 net/9p: Fix a potential socket leak in p9_socket_open
4720725e22e1 net: net_netdev: Fix error handling in ntb_netdev_init_module()
3e21f85d87c8 net: phy: fix null-ptr-deref while probe() failed
f5c2ec288a86 wifi: cfg80211: fix buffer overflow in elem comparison
06785845e150 qlcnic: fix sleep-in-atomic-context bugs caused by msleep
78f8a34b375f can: cc770: cc770_isa_probe(): add missing free_cc770dev()
e4b474fa787c can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
0a2d73a77060 net/mlx5e: Fix use-after-free when reverting termination table
093ccc2f8450 net/mlx5: Fix uninitialized variable bug in outlen_write()
b10dd3bd14ec of: property: decrement node refcount in of_fwnode_get_reference_args()
7b2b67fe1339 hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails
45a643783435 hwmon: (i5500_temp) fix missing pci_disable_device()
dbcc3390015f scripts/faddr2line: Fix regression in name resolution on ppc64le
2b916ee1d37c iio: light: rpr0521: add missing Kconfig dependencies
3f566b626029 iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw
2d6a437064ff iio: health: afe4403: Fix oob read in afe4403_read_raw
8eb912af5250 btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()
7e88a416ed43 drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"
41f0abeadc09 drm/amdgpu: update drm_display_info correctly when the edid is read
787138e4b9e1 btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker
255289adce05 spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock
83aae3204e5c btrfs: free btrfs_path before copying inodes to userspace
9fd11e2de746 fuse: lock inode unconditionally in fuse_fallocate()
3659e33c1e4f drm/i915: fix TLB invalidation for Gen12 video and compute engines
0d1cad597199 drm/amdgpu: always register an MMU notifier for userptr
d4e9bab771aa drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN
a541f1f0ce90 btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()
d037681515b6 btrfs: free btrfs_path before copying subvol info to userspace
69e2f1dd93c1 btrfs: free btrfs_path before copying fspath to userspace
3cde2bc70819 btrfs: free btrfs_path before copying root refs to userspace
4741b00cac23 binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0
4e682ce5601a binder: Address corner cases in deferred copy and fixup
15e098ab1d3c binder: fix pointer cast warning
74e7f1828ab4 binder: defer copies of pre-patched txn data
7b31ab0d9efb binder: read pre-translated fds from sender buffer
c056a6ba35e0 binder: avoid potential data leakage when copying txn
f8fee36515f4 dm integrity: flush the journal on suspend
096e1bd659d8 net: usb: qmi_wwan: add Telit 0x103a composition
86136bf62387 tcp: configurable source port perturb table size
07da8fca307e platform/x86: hp-wmi: Ignore Smart Experience App event
82d758c9daf1 platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)
846c0f9cd05b platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()
6579436fd1a6 xen/platform-pci: add missing free_irq() in error path
375e79c57155 serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios()
e3a2211fe17c ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-01
3e2452cbc6f6 Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode
47b4949335cb gcov: clang: fix the buffer overflow issue
ecbde4222e6b nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirty
7d08b4eba1e1 firmware: coreboot: Register bus in module init
a2012335aa53 firmware: google: Release devices before unregistering the bus
cb7495fe9575 ceph: avoid putting the realm twice when decoding snaps fails
12a93545b2ed ceph: do not update snapshot context when there is no new snapshot
0528b19d5701 iio: pressure: ms5611: fixed value compensation bug
562f415bb378 iio: ms5611: Simplify IO callback parameters
def48fbbac1c nios2: add FORCE for vmlinuz.gz
da849abded31 init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
03949acb58f0 iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails
f8a76c28e957 iio: light: apds9960: fix wrong register for gesture gain
d3ad47426a58 arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency
ae6bcb26984b usb: dwc3: exynos: Fix remove() function
15f8b52523ba lib/vdso: use "grep -E" instead of "egrep"
960cf3c7ff95 s390/crashdump: fix TOD programmable field size
fabd3ab6a19d net: thunderx: Fix the ACPI memory leak
1633e6d6aa82 nfc: st-nci: fix memory leaks in EVT_TRANSACTION
0e2a4560db77 nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION
420b21235d63 s390/dasd: fix no record found for raw_track_access
9d1264c914d3 dccp/tcp: Reset saddr on failure after inet6?_hash_connect().
08f25427d81a bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()
59612acf6b5e regulator: twl6030: re-add TWL6032_SUBCLASS
1c12909a7820 NFC: nci: fix memory leak in nci_rx_data_packet()
23b83a3c76b3 xfrm: Fix ignored return value in xfrm6_init()
23ba1997ebc0 tipc: check skb_linearize() return value in tipc_disc_rcv()
59f9aad22fd7 tipc: add an extra conn_get in tipc_conn_alloc
30f91687fa25 tipc: set con sock in tipc_conn_alloc
5c12136c00b5 net/mlx5: Fix FW tracer timestamp calculation
00492f823f30 Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register()
e0d5becab1d0 Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work()
ec3d7202e99f nfp: add port from netdev validation for EEPROM access
9b8061a6dbd0 net: pch_gbe: fix pci device refcount leak while module exiting
9a39ea43f16a net/qla3xxx: fix potential memleak in ql3xxx_send()
a07149c10bae net/mlx4: Check retval of mlx4_bitmap_init
bbf6d1bc077f ARM: mxs: fix memory leak in mxs_machine_init()
3afa86449ee8 9p/fd: fix issue of list_del corruption in p9_fd_cancel()
bfadcbf5bac5 net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()
e00b42cbec15 nfc/nci: fix race with opening and closing
04ffa53ab7ae net: liquidio: simplify if expression
79c55e66caa0 ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrl
897f6a309138 tee: optee: fix possible memory leak in optee_register_device()
9c1fbac623cb bus: sunxi-rsb: Support atomic transfers
347875ff9ad4 regulator: core: fix UAF in destroy_regulator()
556121103170 regulator: core: fix kobject release warning and memory leak in regulator_register()
c06267652886 ASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove
168d59f7f72d ARM: dts: am335x-pcm-953: Define fixed regulators in root node
dd56c671ccca af_key: Fix send_acquire race with pfkey_register
9221a53bfcba MIPS: pic32: treat port as signed integer
dff9b25cb977 RISC-V: vdso: Do not add missing symbols to version section in linker script
b0e025dd87ab arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
0ba7c091f7f1 block, bfq: fix null pointer dereference in bfq_bio_bfqg()
b848811655db drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)
5dfbb54fe115 spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run
9029aee8742e wifi: mac80211: Fix ack frame idr leak when mesh has no route
1f75f9c1af6a audit: fix undefined behavior in bit shift for AUDIT_BIT
3129cec05f3d wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support
b4cb3dc11185 wifi: mac80211: fix memory free error when registering wiphy fail
(From OE-Core rev: f261daa8a04e97bfc932a72deedddbd87209daec)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
771a8acbb841 Linux 5.4.224
3e0c1ab197eb ipc: remove memcg accounting for sops objects in do_semtimedop()
a16415c8f156 wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()
a24bf3c317b2 drm/i915/sdvo: Setup DDC fully before output init
4dadd4b16178 drm/i915/sdvo: Filter out invalid outputs more sensibly
57306fef4d10 drm/rockchip: dsi: Force synchronous probe
e09ff743e30b mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times
8b1174d05896 KVM: x86: emulator: update the emulation mode after CR0 write
ac3bc06c9ac5 KVM: x86: emulator: introduce emulator_recalc_and_set_mode
f159cd915d73 KVM: x86: emulator: em_sysexit should update ctxt->mode
ef3094c4e9ee KVM: x86: Mask off reserved bits in CPUID.80000008H
da1bf3732d0f KVM: x86: Mask off reserved bits in CPUID.8000001AH
2fa24d0274fb ext4: fix BUG_ON() when directory entry has invalid rec_len
72743d5598b9 ext4: fix warning in 'ext4_da_release_space'
eed040fd35e9 parisc: Avoid printing the hardware path twice
9e902284ee3e parisc: Export iosapic_serial_irq() symbol for serial port driver
506ae301672e parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
c586068aad62 ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devices
4e8ee3cf74e2 perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]
6ffa48150b9b perf/x86/intel: Fix pebs event constraints for ICL
fee896d4534f efi: random: reduce seed size to 32 bytes
0c7275743498 fuse: add file_modified() to fallocate
0c3e6288da65 capabilities: fix potential memleak on error path from vfs_getxattr_alloc()
4bc52ddf6347 tracing/histogram: Update document for KEYS_MAX size
c8938263e640 tools/nolibc/string: Fix memcmp() implementation
993bd0de8b53 kprobe: reverse kp->flags when arm_kprobe failed
fe3da74428bf tcp/udp: Make early_demux back namespacified.
4ae03c869c9a btrfs: fix type of parameter generation in btrfs_get_dentry
27a594bc7a7c binder: fix UAF of alloc->vma in race with munmap()
bad83d55134e memcg: enable accounting of ipc resources
92aaa5e8fe90 tcp/udp: Fix memory leak in ipv6_renew_options().
c494ae149858 block, bfq: protect 'bfqd->queued' by 'bfqd->lock'
6949400ec9fe Bluetooth: L2CAP: Fix attempting to access uninitialized memory
ad18f624e3da xfs: Add the missed xfs_perag_put() for xfs_ifree_cluster()
0802130a4d0b xfs: don't fail unwritten extent conversion on writeback due to edquot
fef141f9e4c1 xfs: group quota should return EDQUOT when prj quota enabled
4267433dd3d3 xfs: gut error handling in xfs_trans_unreserve_and_mod_sb()
24e7e3935309 xfs: use ordered buffers to initialize dquot buffers during quotacheck
52802e9a035f xfs: don't fail verifier on empty attr3 leaf block
71d487a82d2c i2c: xiic: Add platform module alias
cdd19e559a72 HID: saitek: add madcatz variant of MMO7 mouse device ID
efdcd1e32c0d scsi: core: Restrict legal sdev_state transitions via sysfs
70119756311a media: meson: vdec: fix possible refcount leak in vdec_probe()
bfa8ccf70597 media: dvb-frontends/drxk: initialize err to 0
11c8f19e0f5a media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE
4a449430ecfb media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE
381453770f73 ipv6: fix WARNING in ip6_route_net_exit_late()
b49f6b2f21f5 net, neigh: Fix null-ptr-deref in neigh_table_clear()
4954b5359eb1 net: mdio: fix undefined behavior in bit shift for __mdiobus_register
c1f594dddd9f Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del()
4cd094fd5d87 Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu
5d1a47ebf845 btrfs: fix ulist leaks in error paths of qgroup self tests
6a6731a0df8c btrfs: fix inode list leak during backref walking at find_parent_nodes()
2c0329406bb2 btrfs: fix inode list leak during backref walking at resolve_indirect_refs()
3d74329d8cff isdn: mISDN: netjet: fix wrong check of device registration
2ff6b669523d mISDN: fix possible memory leak in mISDN_register_device()
b13be5e852b0 rose: Fix NULL pointer dereference in rose_send_frame()
8457a00c981f ipvs: fix WARNING in ip_vs_app_net_cleanup()
7effc4ce3d14 ipvs: fix WARNING in __ip_vs_cleanup_batch()
2cc523978f1c ipvs: use explicitly signed chars
74fd58394670 netfilter: nf_tables: release flow rule object from commit path
ca791952d42c net: tun: fix bugs for oversize packet when napi frags enabled
52e042947197 net: sched: Fix use after free in red_enqueue()
d605da3e5f74 ata: pata_legacy: fix pdc20230_set_piomode()
704b92c51b64 net: fec: fix improper use of NETDEV_TX_BUSY
f30060efcf18 nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
aef89b91c7d7 nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()
875082ae8329 RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()
af8fb5a0600e RDMA/core: Fix null-ptr-deref in ib_core_cleanup()
bbc5d7b46a72 net: dsa: Fix possible memory leaks in dsa_loop_init()
925cb538bd58 nfs4: Fix kmemleak when allocate slot failed
0bc335d0100e NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot
405309d86021 NFSv4.1: Handle RECLAIM_COMPLETE trunking errors
25760a41e380 IB/hfi1: Correctly move list in sc_disable()
6b5c87f9b3f8 RDMA/cma: Use output interface for net_dev check
a0d938496721 Linux 5.4.223
a0a2a4bdd101 can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive
fc0eecb8b457 net: enetc: survive memory pressure without crashing
69dd3ad406c4 net/mlx5: Fix possible use-after-free in async command interface
827e36a031e4 net/mlx5e: Do not increment ESN when updating IPsec ESN state
7dc6ce3ef20f nh: fix scope used to find saddr when adding non gw nh
ba6ee85355ad net: ehea: fix possible memory leak in ehea_register_port()
4175d6381f6f openvswitch: switch from WARN to pr_warn
0667bb60000d ALSA: aoa: Fix I2S device accounting
5bdea6745341 ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
2a47cc2a3d04 PM: domains: Fix handling of unavailable/disabled idle states
a49e74cc7489 net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()
e46f699ac23d i40e: Fix flow-type by setting GL_HASH_INSET registers
e88c2a1e28c5 i40e: Fix VF hang when reset is triggered on another VF
28c47fd23c20 i40e: Fix ethtool rx-flow-hash setting for X722
d303dabe7e03 media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'
b4a3a01762ae media: v4l2-dv-timings: add sanity checks for blanking values
d8f479c777b4 media: vivid: dev->bitmap_cap wasn't freed in all cases
9d6870949c2c media: vivid: s_fbuf: add more sanity checks
8e1592d41519 PM: hibernate: Allow hybrid sleep to work with s2idle
77454bc744e2 can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
f79de6451eaf tcp: fix indefinite deferral of RTO with SACK reneging
38e451696057 net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY
97ad240fd9aa net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed
663682cd3192 kcm: annotate data-races around kcm->rx_wait
e94395e916b4 kcm: annotate data-races around kcm->rx_psock
f85e54b4f3e5 amd-xgbe: add the bit rate quirk for Molex cables
71ba2a95663a amd-xgbe: fix the SFP compliance codes check for DAC cables
fe3fd27083db x86/unwind/orc: Fix unreliable stack dump with gcov
fda2d07234a2 net: netsec: fix error handling in netsec_register_mdio()
24b129aed873 tipc: fix a null-ptr-deref in tipc_topsrv_accept
758dbcc6fbf2 ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
ccaeef126ed1 arc: iounmap() arg is volatile
fa434a64a4ea drm/msm: Fix return type of mdp4_lvds_connector_mode_valid
29a6902eb076 media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation
6f3511eb8654 net: ieee802154: fix error return code in dgram_bind()
11993652d0b4 mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages
5a2d7c93d9b9 cgroup-v1: add disabled controller check in cgroup1_parse_param()
3d056d81b93a xen/gntdev: Prevent leaking grants
8f589b5c0e7b Xen/gntdev: don't ignore kernel unmapping error
f45ee2038464 xfs: force the log after remapping a synchronous-writes file
102de7717d63 xfs: clear XFS_DQ_FREEING if we can't lock the dquot buffer to flush
03b449a880d1 xfs: finish dfops on every insert range shift iteration
3d295076ba4e s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()
344e1cb0bafe s390/futex: add missing EX_TABLE entry to __futex_atomic_op()
4f969d0753bd perf auxtrace: Fix address filter symbol name match for modules
c78b0dc6fb7f kernfs: fix use-after-free in __kernfs_remove
7a09c64b7da0 mmc: core: Fix kernel panic when remove non-standard SDIO card
ed7f1ff87a4a drm/msm/hdmi: fix memory corruption with too many bridges
f649ed0e1b7a drm/msm/dsi: fix memory corruption with too many bridges
e7348308f668 mac802154: Fix LQI recording
5385af2f89bc fbdev: smscufx: Fix several use-after-free bugs
07ef3be6cae3 iio: light: tsl2583: Fix module unloading
cb972e6d01ef tools: iio: iio_utils: fix digit calculation
8f1cd9633d1f xhci: Remove device endpoints from bandwidth list when freeing the device
914704e0d283 mtd: rawnand: marvell: Use correct logic for nand-keep-config
5d36037b224d usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller
7b7a0d54333c usb: bdc: change state when port disconnected
6827b58a957d usb: dwc3: gadget: Don't set IMI for no_interrupt
9aa025430346 usb: dwc3: gadget: Stop processing more requests on IMI
035dda2bfd7f USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM
e4045fbcd98e ALSA: au88x0: use explicitly signed char
d853b4380835 ALSA: Use del_timer_sync() before freeing timer
caea5b20ef9b can: kvaser_usb: Fix possible completions during init_completion
5437642f91fd can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()
5282d4de783b Linux 5.4.222
59f89518f510 once: fix section mismatch on clang builds
(From OE-Core rev: a886ee55d6137efbcc194f7c4ba09e3b5c66990b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
b70bfeb98635 Linux 5.4.221
6bb8769326c4 mm: /proc/pid/smaps_rollup: fix no vma's null-deref
a351077e589d hv_netvsc: Fix race between VF offering and VF association message from host
2f1b3377b6fc Makefile.debug: re-enable debug info for .S files
9220881831c3 ACPI: video: Force backlight native for more TongFang devices
8ad8fc82eee8 riscv: topology: fix default topology reporting
60dd3dc2acc4 arm64: topology: move store_cpu_topology() to shared code
724483b585a1 iommu/vt-d: Clean up si_domain in the init_dmars() error path
dfc0337c6dce net: hns: fix possible memory leak in hnae_ae_register()
bc8301ea7e7f net: sched: cake: fix null pointer access issue when cake_init() fails
b87f88d58f1b net: phy: dp83867: Extend RX strap quirk for SGMII mode
6453077a00c1 net/atm: fix proc_mpc_write incorrect return value
4258c473ee03 HID: magicmouse: Do not set BTN_MOUSE on double report
567f8de358b6 tipc: fix an information leak in tipc_topsrv_kern_subscr
27ee73c1199e tipc: Fix recognition of trial period
fa0676d94fa4 ACPI: extlog: Handle multiple records
13a2719ec89f btrfs: fix processing of delayed tree block refs during backref walking
b397ce347775 btrfs: fix processing of delayed data refs during backref walking
96894a4fe6b0 r8152: add PID for the Lenovo OneLink+ Dock
7f6d2188ec33 arm64: errata: Remove AES hwcap for COMPAT tasks
aae35081633f media: venus: dec: Handle the case where find_format fails
fd596e7371ac KVM: arm64: vgic: Fix exit condition in scan_its_table()
383b7c50f544 ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
da9793150297 ata: ahci-imx: Fix MODULE_ALIAS
c00cdfc9bd76 hwmon/coretemp: Handle large core ID value
3ea7da6a97d5 x86/microcode/AMD: Apply the patch early on every logical thread
3064c74198cf ocfs2: fix BUG when iput after ocfs2_mknod fails
c2489774a2f0 ocfs2: clear dinode links count in case of error
6391ed32b101 xfs: fix use-after-free on CIL context on shutdown
ac055fee2544 xfs: move inode flush to the sync workqueue
d3eb14b8ea26 xfs: reflink should force the log out if mounted with wsync
05e2b279ead4 xfs: factor out a new xfs_log_force_inode helper
f1172b08bb8e xfs: trylock underlying buffer on dquot flush
890d7dfff79d xfs: don't write a corrupt unmount record to force summary counter recalc
8ebd3ba932df xfs: tail updates only need to occur when LSN changes
87b8a7fb6263 xfs: factor common AIL item deletion code
4202b103d382 xfs: Throttle commits on delayed background CIL push
7a8f95bfb9e3 xfs: Lower CIL flush limit for large logs
f43ff28b0183 xfs: preserve default grace interval during quotacheck
553e5c8031f5 xfs: fix unmount hang and memory leak on shutdown during quotaoff
835306dd3f0c xfs: factor out quotaoff intent AIL removal and memory free
a1e03f160019 xfs: Replace function declaration by actual definition
fdce40c8fd92 xfs: remove the xfs_qoff_logitem_t typedef
926ddf7846ee xfs: remove the xfs_dq_logitem_t typedef
80f78aa76a17 xfs: remove the xfs_disk_dquot_t and xfs_dquot_t
4776ae328ccb xfs: Use scnprintf() for avoiding potential buffer overflow
2f55a0389154 xfs: check owner of dir3 blocks
15b0651f383f xfs: check owner of dir3 data blocks
bc013efdcf17 xfs: fix buffer corruption reporting when xfs_dir3_free_header_check fails
6e204b9e67f3 xfs: xfs_buf_corruption_error should take __this_address
0213ee5f4c93 xfs: add a function to deal with corrupt buffers post-verifiers
3c88c3c00c97 xfs: rework collapse range into an atomic operation
3602df3f1f5f xfs: rework insert range into an atomic operation
7cd181cb2333 xfs: open code insert range extent split helper
fe18f1af38a7 Linux 5.4.220
d9fdda5efe76 thermal: intel_powerclamp: Use first online CPU as control_cpu
c3bb4a7e8cbc inet: fully convert sk->sk_rx_dst to RCU rules
96e2e21284ca efi: libstub: drop pointless get_memory_map() call
97238b88583c md: Replace snprintf with scnprintf
8b766dd70791 ext4: continue to expand file system when the target size doesn't reach
4a36de894779 net/ieee802154: don't warn zero-sized raw_sendmsg()
cff6131217e6 Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
1210359a6854 net: ieee802154: return -EINVAL for unknown addr type
04df9719df18 io_uring/af_unix: defer registered files gc to io_uring release
f5dd24a66462 perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
036b1f3bca7e clk: bcm2835: Make peripheral PLLC critical
1eae30c0113d usb: idmouse: fix an uninit-value in idmouse_open
0d150ccd55db nvmet-tcp: add bounds check on Transfer Tag
3a3a8d75af4d nvme: copy firmware_rev on each init
e5d8f05edb36 staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
072b5a41c5f8 Revert "usb: storage: Add quirk for Samsung Fit flash"
d6afcab1b48f usb: musb: Fix musb_gadget.c rxstate overflow bug
9fa81cbd2dd3 usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
1c00bb624cd0 md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
e30c3a9a8881 HID: roccat: Fix use-after-free in roccat_read()
81247850b8ab bcache: fix set_at_max_writeback_rate() for multiple attached devices
7cfc77f4fe1d ata: libahci_platform: Sanity check the DT child nodes number
16a45e78a687 staging: vt6655: fix potential memory leak
3376a0cf138d power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
3575949513ea nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
22f49d9d6e04 scsi: 3w-9xxx: Avoid disabling device if failing to enable it
66de92207600 clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
9181af2dbf06 media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
5dbfcf7b0803 clk: zynqmp: Fix stack-out-of-bounds in strncpy`
715fe15785b4 btrfs: scrub: try to fix super block errors
8054f824a725 ARM: dts: imx6sx: add missing properties for sram
05f789afaf69 ARM: dts: imx6sll: add missing properties for sram
48d1766b35f3 ARM: dts: imx6sl: add missing properties for sram
ef4a3baf0042 ARM: dts: imx6qp: add missing properties for sram
ee239c0340a2 ARM: dts: imx6dl: add missing properties for sram
82e5191b124a ARM: dts: imx6q: add missing properties for sram
0b2013ace8df ARM: dts: imx7d-sdb: config the max pressure for tsc2046
aec01503ba7f mmc: sdhci-msm: add compatible string check for sdm670
e67c2cda3d60 drm/amdgpu: fix initial connector audio value
079f64a1ea33 platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
30a3601c2f59 drm: panel-orientation-quirks: Add quirk for Anbernic Win600
7de3e3514cab drm/vc4: vec: Fix timings for VEC modes
8f6cad7c4b68 drm/amd/display: fix overflow on MIN_I64 definition
cdde55f97298 drm: Prevent drm_copy_field() to attempt copying a NULL pointer
fb282b4e8aef drm: Use size_t type for len variable in drm_copy_field()
1d0803b1532d drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
61fd56b0a1a3 r8152: Rate limit overflow messages
7d6f9cb24d2b Bluetooth: L2CAP: Fix user-after-free
a76462dbdd8b net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
4037270ea6d6 wifi: rt2x00: correctly set BBP register 86 for MT7620
2021a5aaf835 wifi: rt2x00: set SoC wmac clock register
f9c053c3e4e9 wifi: rt2x00: set VGC gain for both chains of MT7620
0facbe608305 wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
2f383edcb703 wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
fdcc57ef8c1f can: bcm: check the result of can_send() in bcm_can_tx()
6e85d2ad958c Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
776f33c12fdb Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()
49c742afd60f wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
18373ed500f7 xfrm: Update ipcomp_scratches with NULL when freed
2c485f4f2a64 wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
42d579d91051 tcp: annotate data-race around tcp_md5sig_pool_populated
ce25d7caf35d openvswitch: Fix overreporting of drops in dropwatch
a7fe12cea515 openvswitch: Fix double reporting of drops in dropwatch
06d73f4e6bd6 bpftool: Clear errno after libcap's checks
56a0ac486341 wifi: brcmfmac: fix invalid address access when enabling SCAN log level
38ca9ece960d NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
5a646c38f648 thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
49a6ffdaed60 powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
ac84b26a1689 MIPS: BCM47XX: Cast memcmp() of function to (void *)
13f4d3665bf6 ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
c5ed3a378978 f2fs: fix race condition on setting FI_NO_EXTENT flag
584561e94260 crypto: cavium - prevent integer overflow loading firmware
00791e017b5f kbuild: remove the target in signal traps when interrupted
d59d36aa4c3f iommu/iova: Fix module config properly
0f224fde6324 crypto: ccp - Release dma channels before dmaengine unrgister
95c4e20adc3e crypto: akcipher - default implementation for setting a private key
4010a1afaae1 iommu/omap: Fix buffer overflow in debugfs
b32a285998d4 cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
3317c7d211ef powerpc: Fix SPE Power ISA properties for e500v1 platforms
6191f0310ebf powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
f11bce700b7a x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
828d19038019 powerpc/powernv: add missing of_node_put() in opal_export_attrs()
0a5cee97c017 powerpc/pci_dn: Add missing of_node_put()
1535e14731e9 powerpc/sysdev/fsl_msi: Add missing of_node_put()
85d23c49336c powerpc/math_emu/efp: Include module.h
e77a85c3fbfd mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
f28eec40785e clk: ast2600: BCLK comes from EPLL
fc39ebf85d03 clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
111369bb8cd9 clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
2ee652f072cf spmi: pmic-arb: correct duplicate APID to PPID mapping logic
1ea4efc09fee dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
8498490b3c91 clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
8542422192d0 mfd: sm501: Add check for platform_driver_register()
f95ba4aab698 mfd: fsl-imx25: Fix check for platform_get_irq() errors
6804b4fedee2 mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
595d077f3cf5 mfd: lp8788: Fix an error handling path in lp8788_probe()
b75f4912b371 mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
1f4f8b6adb3d mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
b6c2c3059e72 fsi: core: Check error number after calling ida_simple_get
117331a2a522 scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
558a9fcb6ce7 serial: 8250: Fix restoring termios speed after suspend
c969316eeefb firmware: google: Test spinlock on panic path to avoid lockups
88b9cc60f26e staging: vt6655: fix some erroneous memory clean-up loops
83d11dd92a51 phy: qualcomm: call clk_disable_unprepare in the error handling
29b897ac7b99 tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
744c2d33a88b drivers: serial: jsm: fix some leaks in probe
9fe0a8c0694c usb: gadget: function: fix dangling pnp_string in f_printer.c
59e3d41265f3 xhci: Don't show warning for reinit on known broken suspend
f8ba29ae237e md/raid5: Ensure stripe_fill happens on non-read IO with journal
9b881a2ca0c6 mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
22830560eb2f ata: fix ata_id_has_dipm()
10d52d8dd1cb ata: fix ata_id_has_ncq_autosense()
99e7e6445154 ata: fix ata_id_has_devslp()
6ea4b3303abf ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
e09caa38e10b RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.
b21b0d17ad99 mtd: devices: docg3: check the return value of devm_ioremap() in the probe
3ca6939b5d1a dyndbg: let query-modname override actual module name
ad0a65517cff dyndbg: fix module.dyndbg handling
fc797285c40a misc: ocxl: fix possible refcount leak in afu_ioctl()
7ed37be3a2ce RDMA/rxe: Fix the error caused by qp->sk
0d773c58d702 RDMA/rxe: Fix "kernel NULL pointer dereference" error
59b315353252 media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
80a955dabb82 tty: xilinx_uartps: Fix the ignore_status
3e77ac46f290 media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
3baf53328aee HSI: omap_ssi_port: Fix dma_map_sg error check
aa9c0598b109 HSI: omap_ssi: Fix refcount leak in ssi_probe
5d9fb09612de clk: tegra20: Fix refcount leak in tegra20_clock_init
5984b1d66126 clk: tegra: Fix refcount leak in tegra114_clock_init
6d3ac23b952f clk: tegra: Fix refcount leak in tegra210_clock_init
aa3898dec1b6 clk: berlin: Add of_node_put() for of_get_parent()
fcaff9bc6bbc clk: oxnas: Hold reference returned by of_get_parent()
ad3a056982b7 clk: meson: Hold reference returned by of_get_parent()
633c574e0f8b iio: ABI: Fix wrong format of differential capacitance channel ABI.
0111032d9a02 iio: inkern: only release the device node when done with it
246af4216379 iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
46778752bbd5 iio: adc: at91-sama5d2_adc: check return status for pressure and touch
d50e3817a4b6 iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
c29c3d32bd01 ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
e00480d42b1a ARM: Drop CMDLINE_* dependency on ATAGS
fcad2eef0030 ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
6858d8599c65 ARM: dts: kirkwood: lsxl: remove first ethernet port
d45424d980e8 ARM: dts: kirkwood: lsxl: fix serial line
1edbceda073d ARM: dts: turris-omnia: Fix mpp26 pin name and comment
673db1cf4db8 soc: qcom: smem_state: Add refcounting for the 'state->of_node'
1e3ed59370c7 soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
85a40bfb8e7a memory: of: Fix refcount leak bug in of_get_ddr_timings()
b37f4a711e5d memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
56c4299f7670 ALSA: hda/hdmi: Don't skip notification handling during PM operation
45387ca42277 ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
371d4dbece4d ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
aa182988c0e6 ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
28a12e24d125 mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
93c86281838c ALSA: dmaengine: increment buffer pointer atomically
6c85495e5882 drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
c240431717d6 ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
9e421bd9fd29 mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
9d7af9b1624d drm/omap: dss: Fix refcount leak bugs
0c55618aaad3 ALSA: hda: beep: Simplify keep-power-at-enable behavior
3ac2045d0419 ASoC: rsnd: Add check for rsnd_mod_power_on
1daf69228e31 drm/bridge: megachips: Fix a null pointer dereference bug
b33b60afa53c drm: fix drm_mipi_dbi build errors
a367b7a96a5e platform/x86: msi-laptop: Fix resource cleanup
a9b32c9fe56d platform/x86: msi-laptop: Fix old-ec check for backlight registering
e548f9503c4b platform/chrome: fix memory corruption in ioctl
783c1c5000e8 platform/chrome: fix double-free in chromeos_laptop_prepare()
8242167cfc83 drm/mipi-dsi: Detach devices when removing the host
4d4a58c9d4db drm: bridge: adv7511: fix CEC power down control register offset
72c0d361940a net: mvpp2: fix mvpp2 debugfs leak
131287ff833d once: add DO_ONCE_SLOW() for sleepable contexts
03ac583eefc9 net/ieee802154: reject zero-sized raw_sendmsg()
71e0ab5b7598 bnx2x: fix potential memory leak in bnx2x_tpa_stop()
360aa7219285 net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
3625b684a285 tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
382ff4471660 sctp: handle the error returned from sctp_auth_asoc_init_active_key
466ed722f205 mISDN: fix use-after-free bugs in l1oip timer handlers
e6d0152c9510 vhost/vsock: Use kvmalloc/kvfree for larger packets.
c202ad048f50 spi: s3c64xx: Fix large transfers with DMA
60a7496b40e8 netfilter: nft_fib: Fix for rpath check with VRF devices
610798a58e72 spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
1d8c928ed729 x86/microcode/AMD: Track patch allocation size explicitly
215c146b4021 bpf: Ensure correct locking around vulnerable function find_vpid()
4017e91ff25d net: fs_enet: Fix wrong check in do_pd_setup
08a441a4ad54 wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
e0bab93245b6 bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
374dd4e51966 wifi: rtl8xxxu: Fix skb misuse in TX queue selection
df0b024ade10 spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
026ffbb07f8f spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
321c51aa59df wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
7993680752bb x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
bbe293db7e67 bpftool: Fix a wrong type cast in btf_dumper_int
9ee70c3cb4f8 wifi: mac80211: allow bw change during channel switch in mesh
4494ec1c0bb8 wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
acc393aecda0 nfsd: Fix a memory leak in an error handling path
d7f1e7af1ef4 ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
5abd2626ca37 sh: machvec: Use char[] for section boundaries
c0f4be8303d0 userfaultfd: open userfaultfds with O_RDONLY
29d0c45cf16e tracing: Disable interrupt or preemption before acquiring arch_spinlock_t
b0c2e34be932 selinux: use "grep -E" instead of "egrep"
56ee9577915d drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
16435e58e57c gcov: support GCC 12.1 and newer compilers
b6094c482935 KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
764478646115 KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
45779be5ced6 KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
c3a98fc6c2f2 media: cedrus: Set the platform driver data earlier
3cf2ef86e01a ring-buffer: Fix race between reset page and reading page
7e06ef0345ea ring-buffer: Check pending waiters when doing wake ups as well
cc1f35733c19 ring-buffer: Have the shortest_full queue be the shortest not longest
22707f033d8e ring-buffer: Allow splice to read previous partially read pages
e755b65a4727 ftrace: Properly unset FTRACE_HASH_FL_MOD
f66de70930f7 livepatch: fix race between fork and KLP transition
1211121f0e73 ext4: place buffer head allocation before handle start
52c7b8d3b75e ext4: make ext4_lazyinit_thread freezable
3638aa1c7d87 ext4: fix null-ptr-deref in ext4_write_info
a22f52d88331 ext4: avoid crash when inline data creation follows DIO write
21ea616f1e59 jbd2: wake up journal waiters in FIFO order, not LIFO
d1c2d820a2cd nilfs2: fix use-after-free bug of struct nilfs_root
c99860f9a750 f2fs: fix to do sanity check on summary info
68b1e607559d f2fs: fix to do sanity check on destination blkaddr during recovery
c5d8198ce863 f2fs: increase the limit for reserve_root
26b7c0ac49a3 btrfs: fix race between quota enable and quota rescan ioctl
3742e9fd552e fbdev: smscufx: Fix use-after-free in ufx_ops_open()
52895c495b62 powerpc/boot: Explicitly disable usage of SPE instructions
e3f7e99337c6 PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
cd251d39b134 UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
08f03b333c4f riscv: Pass -mno-relax only on lld < 15.0.0
c61f553ba87c riscv: Allow PROT_WRITE-only mmap()
09058e5ef7c1 parisc: fbdev/stifb: Align graphics memory size to 4MB
2c60db6869fe RISC-V: Make port I/O string accessors actually work
14c06375c853 regulator: qcom_rpm: Fix circular deferral regression
79b7547eeb37 ASoC: wcd9335: fix order of Slimbus unprepare/disable
6927ee818fe1 quota: Check next/prev free block number after reading from quota file
4cf9233eb175 HID: multitouch: Add memory barriers
477ac1d57f60 fs: dlm: handle -EBUSY first in lock arg validation
d3961f732d85 fs: dlm: fix race between test_bit() and queue_work()
4352db1e330a mmc: sdhci-sprd: Fix minimum clock limit
fbefc5cce481 can: kvaser_usb_leaf: Fix CAN state after restart
9948b80910e2 can: kvaser_usb_leaf: Fix TX queue out of sync after restart
76d9afd30ef3 can: kvaser_usb_leaf: Fix overread with an invalid command
953bb1dfea88 can: kvaser_usb: Fix use of uninitialized completion
42f7d9339612 usb: add quirks for Lenovo OneLink+ Dock
37daa23f2850 iio: pressure: dps310: Reset chip after timeout
228348a9fe5f iio: pressure: dps310: Refactor startup procedure
974c1f15ac9a iio: dac: ad5593r: Fix i2c read protocol requirements
d0050ec3ebbc cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
bd09adde6771 cifs: destage dirty pages before re-reading them for cache=none
8298f20e1149 mtd: rawnand: atmel: Unmap streaming DMA mappings
8d763c8e6cdb ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
4c354105176f ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
a943c4a16bfb ALSA: hda/realtek: Correct pin configs for ASUS G533Z
19731649623b ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
121fadc0cae5 ALSA: usb-audio: Fix NULL dererence at error path
988ec0cd0a26 ALSA: usb-audio: Fix potential memory leaks
de7d80d0fe10 ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
afb507303ea9 ALSA: oss: Fix potential deadlock at unregistration
(From OE-Core rev: d066c78c0946f76b3a0a6720b41b3c865dbba012)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream went with something slightly different so let's update the
patch so we don't have to carry a patch that isn't going to be merged.
This patch is part of snapshot 1.17.6.
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: d40dbaf85511f074fde32b22dc864b856976d7c8)
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 19eb1e388fbbe5bfb8462710c745f2bb5446b5b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen two different regressions in this API since it is used by
layer-index but not be the core code. Add a test for it to try and
ensure we don't break it again.
(From OE-Core rev: cc8ec63310f9a936371ea1070cb257c926808755)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b07de5de43ec9c9a2c5d496a64940ccdc5b47cf8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In current psplash framework, the psplash might not exist at all.
For example, in case DSITRO is set to nodistro, the psplash does
not exist.
In our psplash recipe, we have:
SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default"
This variable is parsed to if psplash-poky-img.h exists, a package
named psplash-default is created and is added to RDEPENDS:${PN}.
We can see that the psplash-poky-img.h resides in meta-poky,
and in psplash_git.bbappend file in meta-poky, we have:
FILESEXTRAPATHS:prepend:poky := "${THISDIR}/files:"
So this file is only available in case poky distro is used.
To fix this issue, add condition check in the corresponding systemd
services.
(From OE-Core rev: bf9cb1a3d68da6463195f79caf8baf94cd01a30a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7a62ff9ed39c179d2b9b0c40f4f8423ced413063)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently TOOLCHAIN is strictly set to gcc in kernel-arch.bbclass.
And this prevents any TOOLCHAIN changes for any kernel recipe.
This change makes TOOLCHAIN configurable as usual.
(From OE-Core rev: 7d45d4696970c45534b905dc7a65418073108f97)
Signed-off-by: Alexey Smirnov <pyih.soft@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit be1634fc35dcc81f0301d942064a6eed584e0704)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Distros can customize the location of OPKG data using OPKGLIBDIR. In
OE-Core commit 11f1956cf5d7 ("package_manager.py: define info_dir and
status_file when OPKGLIBDIR isn't the default"), a fix was applied to
correctly set the info_dir and status_file options relative to
OPKGLIBDIR.
However, as the commit message notes, the opkg.conf file deployed as
part of the opkg package must also be adjusted to correctly reflect the
changed location. Otherwise, opkg running inside the image cannot find
its data.
Fix this by also setting the info_dir and status_file options in
opkg.conf to the correct location relative to OPKGLIBDIR.
Fixes: 11f1956cf5d7 ("package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default")
(From OE-Core rev: 38224b19bda2592705ef4274c28cb250d9e980dc)
Signed-off-by: Harald Seiler <hws@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit adb939ae3635de6e02208859fbf29cf0ed39f565)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the KERNEL_DEBUG_TIMESTAMPS is not working as expected
at rebuild. That is, even if we set it to "1", the kernel build time
is not changed. The problem could be reproduced by the following steps.
1. bitbake core-image-minimal; start image and check `uname -a` output.
2. set in local.conf: KERNEL_DEBUG_TIMESTAMPS = "1"
3. bitbake core-image-minimal; start image and check `uname -a` output.
It's expected that after enabling KERNEL_DEBUG_TIMESTAMPS, the kernel
build time will be set to current date. But it's not. This is because
the compile.h was not re-generated when do_compile task was re-executed.
In mkcompile_h, we have:
"""
# Only replace the real compile.h if the new one is different,
# in order to preserve the timestamp and avoid unnecessary
# recompilations.
# We don't consider the file changed if only the date/time changed,
# unless KBUILD_BUILD_TIMESTAMP was explicitly set (e.g. for
# reproducible builds with that value referring to a commit timestamp).
# A kernel config change will increase the generation number, thus
# causing compile.h to be updated (including date/time) due to the
# changed comment in the
# first line.
"""
It has made it very clear that it will not be re-generated unless
we have KBUILD_BUILD_TIMESTAMP set explicitly. So we set this variable
explicitly in do_compile to fix this issue.
(From OE-Core rev: e44f0cda8176186d42a752631810c1cb5f1971eb)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1b68c2d2d385013a1c535ef81172494302a36d74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In 526bdd88ccd758204452579333ba188e29270bde the imageType loop in
kernel_do_deploy was changed to use KERNEL_IMAGETYPE_FOR_MAKE rather
than KERNEL_IMAGETYPES. This broke the special handling for fitImage
immediately below because KERNEL_IMAGETYPE_FOR_MAKE never contains
fitImage.
It has always been my understanding that KERNEL_IMAGETYPE_FOR_MAKE
controlled what was passed to make, but KERNEL_IMAGETYPE controlled what
was installed/deployed. When the two are different then it's the
responsibility of whoever set KERNEL_IMAGETYPE_FOR_MAKE to ensure that
whatever comes out of the kernel build system has been transformed in to
the requested form by the time of installation. This is what happens for
kernel.bbclass's own support for vmlinux.gz.
I think this means that for KERNEL_IMAGETYPE vmlinux.gz, kernel.bbclass
is responsible for generating vmlinux.gz.initramfs[1] so that
kernel_do_deploy can deploy it. This means that the change in
526bdd88ccd758204452579333ba188e29270bde can be reverted, fixing
KERNEL_IMAGETYPE = "fitImage".
In addition, it ought to be possible for recipes and other classes that
use kernel.bbclass to hook into this mechanism by setting
KERNEL_IMAGETYPE_FOR_MAKE and performing their own transformations.
do_bundle_initramfs calls kernel_do_compile and we don't want it to
transform vmlinux to vmlinux.gz at that point, since it will fight
against the careful renaming and preserving that do_bundle_initramfs
does. Let's separate the transformation out of kernel_do_compile to a
new do_transform_kernel task that can be run at the right time. This
means that it's also logical to perform the equivalent translation for
the kernel with the initramfs in a separate
do_transform_bundled_initramfs task too.
This leaves two clear customisation points for recipes and other classes
to hook into the process and perform their transformations:
do_transform_kernel and do_transform_bundled_initramfs.
(I care about this because our recipes that use kernel.bbclass also set
KERNEL_IMAGETYPE_FOR_MAKE and transform vmlinux into a form suitable for
our bootloader after do_compile and do_bundle_initramfs into the format
matching KERNEL_IMAGETYPE. I'm unable to successfully bundle an
initramfs after 526bdd88ccd758204452579333ba188e29270bde, but I didn't
want to just revert that change to reintroduce the bug that it was
fixing.)
I can't say that I'm entirely happy with this change, but I'm unsure
what to do to improve it. I find the way that both the bare kernel and
the one with the initramfs both get deployed to be confusing, and a
waste of build time. I would like to not actually generate a publishable
kernel image at all during do_compile when an initramfs is in use, but I
suspect that this would affect valid use cases that I'm not aware of.
(From OE-Core rev: d9e9653616638f2b187d5e04540071ac34d99f56)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
[1] It could be argued that this should be vmlinux.initramfs.gz, but
that would require another special case in kernel_do_deploy and the
filename is only visible within this class and the recipes that use it
anyway.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 10a4a132e87e835726bf5da81a60f6f509b90765)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, when shortening sstate filenames, the reserved
characters for .siginfo were not considered, when siginfo=False,
resulting in differently shortend filenames for the sstate and siginfo
files. With this change, the filenames of the truncated sstate and
siginfo files have the same basename, just as is already the case for
untruncated filenames.
Making sure that the .siginfo files always have the filename of the
corresponding sstate file plus its .siginfo suffix, also when being
truncated, makes it easier to manage the sstate cache and an sstate
mirror outside of Bitbake/Yocto.
(From OE-Core rev: 408bf1b4bb4f4ed126c17fb3676f9fa0513065ba)
Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c2e0e43b7123cf5149833e0072c8edaea3629112)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE is in the io/fs package, which first appeared in go1.16.
Since dunfell is using go1.14, this issue does not apply.
CVE was fixed in fa2d41d0ca736f3ad6b200b2a4e134364e9acc59
Original code in b64202bc29b9c1cf0118878d1c0acc9cdb2308f6
(From OE-Core rev: 1e258940e9a6fabda6e7e60841082c113fdf9500)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only affects Windows platform, as per the release announcement [1]:
"If, on Windows, Cmd.Run, cmd.Start, cmd.Output, or cmd.CombinedOutput
are executed when Cmd.Path is unset and, in the working directory, there
are binaries named either "..com" or "..exe", they will be executed."
[1] https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
(From OE-Core rev: 54c40730bc54aa2b2c12b37decbcc99bbcafd07a)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dunfell uses golang 1.14 which does not contain the affected code (it
was introduced in golang 1.16). From the golang announcement [1]
"Reader.Open (the API implementing io/fs.FS introduced in Go 1.16) can
be made to panic by an attacker providing either a crafted ZIP archive
containing completely invalid names or an empty filename argument.
[1] https://groups.google.com/g/golang-announce/c/0fM21h43arc
(From OE-Core rev: 2329902f994b631d6b77e8bd501d5599db6d5306)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bug in golang.org/x/net/html/parse.go. The golang compiler
includes a partial copy of this under src/vendor/golang.org/x/net/
however the "html" subdirectory is not included. So this bug does not
apply to the compiler itself.
(From OE-Core rev: b8a851faef9990ccb41ded875fc79cf28abd4a4e)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An off-by-one Error issue was discovered in Systemd in format_timespan()
function of time-util.c. An attacker could supply specific values for
time and accuracy that leads to buffer overrun in format_timespan(),
leading to a Denial of Service.
Add a patch to solve above CVE issue
Link: 9102c625a6
(From OE-Core rev: e2db40ca49b8ed217f14c7f861087837e8b3f389)
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the path to bitbake.lock is in a deep directory, bitbake will hang. The
reason was that the max file length limiting code (to 255 chars) was including
the directory name and it should only act on the filename within the directory.
Fix it to just use the base filename.
[YOCTO #14766]
(Bitbake rev: e3db9c2e9eded3c5cb6040714a6054b44f6b3880)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89d70e7b71eecfe06592202f326e566c579ba01d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fetcher mirror code can go crazy creating lock filenames which exceed the
filesystem limits. When this happens, the code will loop/hang.
Handle the filename too long exception correctly but also truncate lockfile
lengths to under 256 since the worst case situation is lockfile overlap
and lack of parallelism.
(Bitbake rev: 30d42ef030d03e11322b6b05ea7bbb64ab3d6f21)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63baf3440b16e41ac6601de21ced94a94bdf1509)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need the system tar to be GNU tar, as we reply on --xattrs. Some
distributions may be using libarchive's tar binary, which is definitely
not as featureful, so check for this and abort early with a clear
message instead of later with mysterious errors.
(From OE-Core rev: 8f852648fe730615c99bcdaace8a4748ef4e96a5)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7dd2b1cd1bb10e67485dab8600c0787df6c2eee7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The trailing slash in ${B} caused -fdebug-prefix-map=${B}=... to not
match as intended, resulting in ${TMPDIR} ending up in files in
${PN}-dbg when externalsrc was in use, which in turn triggered buildpath
QA warnings.
(From OE-Core rev: fa89e048e223ae2e96d0f55979f93f29904b5229)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b5031ed5a0d102905fa75acc418246c23df6eef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fix issue introduced in:
https://git.openembedded.org/openembedded-core/commit/?id=95fbac8dcad6c93f4c9737e9fe13e92ab6befa09
* it added check for s_dir + git-dir (typically '.git') isn't
the same as ${TOPDIR} + git-dir, but due to copy-paste issue
it was just comparing it with s_dir + git-dir again, resulting
in most external repos (where git-dir is '.git') to be processed
as regular directory (not taking advantage of git write-tree).
* normally this wouldn't be an issue, but for big repo with a lot of
files this added a lot of checksums in:
d.setVarFlag('do_compile', 'file-checksums', '${@srctree_hash_files(d)}')
and I mean *a lot, e.g. in chromium build it was 380227 paths
which still wouldn't that bad, but the checksum processing in
siggen.py isn't trivial and just looping through all these
checksums takes very long time (over 1000sec on fast NVME drive
with warm cache) and then
https://git.openembedded.org/bitbake/commit/?id=b4975d2ecf615ac4c240808fbc5a3f879a93846b
made the processing a bit more complicated and the loop in
get_taskhash() function took 6448sec and to make things worse
there was no output from bitbake during that time, so even with -DDD
it looks like this:
DEBUG: virtual/libgles2 resolved to: mesa (langdale/oe-core/meta/recipes-graphics/mesa/mesa_22.2.0.bb)
Bitbake still alive (no events for 600s). Active tasks:
Bitbake still alive (no events for 1200s). Active tasks:
Bitbake still alive (no events for 1800s). Active tasks:
Bitbake still alive (no events for 2400s). Active tasks:
Bitbake still alive (no events for 3000s). Active tasks:
Bitbake still alive (no events for 3600s). Active tasks:
Bitbake still alive (no events for 4200s). Active tasks:
Bitbake still alive (no events for 4800s). Active tasks:
Bitbake still alive (no events for 5400s). Active tasks:
Bitbake still alive (no events for 6000s). Active tasks:
DEBUG: Starting bitbake-worker
without -DDD it will get stuck for almost 2 hours in:
"Initialising tasks..."
before it finally writes sstate summary like:
"Sstate summary: Wanted 3102 Local 0 Mirrors 0 Missed 3102 Current 1483 (0% match, 32% complete)"
* fix the copy&paste typo to use git work-tree in most cases, but
be aware that this issue still exists for huge local source
trees not in git
[YOCTO #14942]
(From OE-Core rev: 1f0e4de8d92edd7438d462c779d917ac0ccd5499)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9102e5a94b8146cb1da27afbe41d3db999a914ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Major changes between OpenSSL 1.1.1r and OpenSSL 1.1.1s [1 Nov 2022]
* Fixed a regression introduced in OpenSSL 1.1.1r not refreshing the
certificate data to be signed before signing the certificate.
Major changes between OpenSSL 1.1.1q and OpenSSL 1.1.1r [11 Oct 2022]
* Added a missing header for memcmp that caused compilation failure on
some platforms
(From OE-Core rev: a39a32efd41c92a3ada49d667979c79101a4a2da)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Below commits on glibc-2.31 stable branch are updated.
d4b7559457 x86-64: Require BMI2 for avx2 functions [BZ #29611]
b8bb48a18d x86-64: Require BMI2 for strchr-avx2.S [BZ #29611]
c8f2a3e803 Add test for bug 29530
e6ae5b25cd Fix memmove call in vfprintf-internal.c:group_number
1dbe841a67 Remove most vfprintf width/precision-dependent allocations (bug 14231, bug 26211).
5a802723db stdio: Add tests for printf multibyte convertion leak [BZ#25691]
ae7748e67f stdio: Remove memory leak from multibyte convertion [BZ#25691]
174d0b61c7 Linux: Require properly configured /dev/pts for PTYs
0a167374fd Linux: Detect user namespace support in io/tst-getcwd-smallbuff
4ad1659d8c getcwd: Set errno to ERANGE for size == 1 (CVE-2021-3999)
3319cea99e support: Add helpers to create paths longer than PATH_MAX
f733e291bb support: Fix xclone build failures on ia64 and hppa
43757c70ee support: Add xclone
29d3aeb0e8 Add xchdir to libsupport.
2d7720f316 support: Add create_temp_file_in_dir
183709983d NEWS: Add a bug fix entry for BZ #28896
d385079bd5 x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c
7df3ad6560 x86: Test wcscmp RTM in the wcsncmp overflow case [BZ #28896]
fc133fcf49 x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #28896]
775c05b28c string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]
c6b346ec55 x86-64: Test strlen and wcslen with 0 in the RSI register [BZ #28064]
0675185923 x86: Remove wcsnlen-sse4_1 from wcslen ifunc-impl-list [BZ #28064]
5db3239baf x86: Black list more Intel CPUs for TSX [BZ #27398]
5b99f172b8 x86: Check RTM_ALWAYS_ABORT for RTM [BZ #28033]
70d293a158 NEWS: Add a bug fix entry for BZ #27974
a2be2c0f5d String: Add overflow tests for strnlen, memchr, and strncat [BZ #27974]
489006c3c5 x86: Optimize strlen-evex.S
937f2c783a x86: Fix overflow bug in wcsnlen-sse4_1 and wcsnlen-avx2 [BZ #27974]
0058c73d11 x86-64: Add wcslen optimize for sse4.1
665d0252f1 x86-64: Move strlen.S to multiarch/strlen-vec.S
82ff13e2cc x86-64: Fix an unknown vector operation in memchr-evex.S
539b593a1d x86: Optimize memchr-evex.S
7b37ae60c6 x86: Optimize strlen-avx2.S
0381c1c10d x86: Fix overflow bug with wmemchr-sse2 and wmemchr-avx2 [BZ #27974]
10368cb76b x86: Optimize memchr-avx2.S
66ca40582e test-strnlen.c: Check that strnlen won't go beyond the maximum length
927bcaf892 test-strnlen.c: Initialize wchar_t string with wmemset [BZ #27655]
0d4159c36c x86-64: Require BMI2 for __strlen_evex and __strnlen_evex
c0cbb9345e NEWS: Add a bug fix entry for BZ #27457
e81b975fcc x86-64: Fix ifdef indentation in strlen-evex.S
aa4e48e73c x86-64: Use ZMM16-ZMM31 in AVX512 memmove family functions
ac911d3b57 x86-64: Use ZMM16-ZMM31 in AVX512 memset family functions
20d37de533 x86: Add string/memory function tests in RTM region
fbaa99ed41 x86-64: Add AVX optimized string/memory functions for RTM
096e14f632 x86-64: Add memcmp family functions with 256-bit EVEX
f00fad4e4c x86-64: Add memset family functions with 256-bit EVEX
cf239ddd2e x86-64: Add memmove family functions with 256-bit EVEX
7257ba7bf2 x86-64: Add strcpy family functions with 256-bit EVEX
db9071c0f6 x86-64: Add ifunc-avx2.h functions with 256-bit EVEX
2d612b2c5f x86: Set Prefer_No_VZEROUPPER and add Prefer_AVX2_STRCMP
5b13651085 NEWS: Add a bug fix entry for BZ #28755
5ee8a436ab x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]
(From OE-Core rev: 1d047a1f19ea57f919180273589cdf7fb4dacaa3)
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Below commits on binutils-2.34 stable branch are updated.
c4e78c0868a PR27755, powerpc-ld infinite loop
33973d228c9 gas, arm: PR26858 Fix availability of single precision vmul/vmla in arm mode
0c8652fe288 x86: Update GNU property tests
5c1bd3f52c6 x86: Properly merge -z ibt and -z shstk
93b9bf1651a PowerPC TPREL_HA/LO optimisation
58950a3bfd4 Date update
e3b314d3a61 aarch64: set sh_entsize of .plt to 0
26b6ab7a0e4 S/390: z13: Accept vector alignment hints
7324292cd94 gas: Fix checking for backwards .org with negative offset
463ec189fe9 Prevent a potential use-after-fee memory corruption bug in the linker (for PE format files).
ef2826c0fdb Fix the ARM assembler to generate a Realtime profile for armv8-r.
8524bb5bd28 Re: Fix tight loop on recursively-defined symbols
5768460022b Fix tight loop on recursively-defined symbols
a72427b1ae0 gas: PR 25863: Fix scalar vmul inside it block when assembling for MVE
9f57ab49b32 BFD: Exclude sections with no content from compress check.
aaf3f0599a2 Arm: Fix LSB of GOT for Thumb2 only PLT.
97f92b3e90a Arm: Fix thumb2 PLT branch offsets.
3053d7a163c include: Sync plugin-api.h with GCC
f7aec2b8e09 PR25745, powerpc64-ld overflows string buffer in --stats mode
1b2bf0f65c1 include: Sync plugin-api.h with GCC
5e8619b9597 include: Sync lto-symtab.h and plugin-api.h with GCC
23820109ced plugin: Don't invoke LTO-wrapper
64f5c0afcc4 plugin: Use LDPT_ADD_SYMBOLS_V2 to get symbol type
aaa1e160040 Silence warnings due to plugin API change
e7c0ee5110c Include: Sync lto-symtab.h and plugin-api.h with GCC
b6520be37fd Fix dwarf.c build with GCC 10
a560c29ca5a bfd: Change num_group to unsigned int
3ca4cd1ebde gas, arm: Fix bad backport
b3174859c4b gas, arm: PR25660L Fix vadd/vsub with lt and le condition codes for MVE
de9c1b7cfe6 powerpc64-ld infinite loop
0318fc4e18e Adjust PR25355 testcase
40bfb976274 Re: PR24511, nm should not mark symbols in .init_array as "t"
42b2380cdce Don't call lto-wrapper for ar and ranlib
acc4a8b8ac8 PR25585, PHDR segment not covered by LOAD segment
(From OE-Core rev: ad15d44b6c56ccbbe8e4c12717e7dfe3492a659a)
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
archive/tar: limit size of headers
Set a 1MiB limit on special file blocks (PAX headers, GNU long names,
GNU link names), to avoid reading arbitrarily large amounts of data
into memory.
Link: https://github.com/golang/go/commit/0a723816cd2
(From OE-Core rev: a8e2f91edfe2df5204a482c4e53fbdd08f80e878)
Signed-off-by: Sunil Kumar <sukumar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unless we're using systemd, dbus is not pulled into the system
automatically. Bluez5 will not work without dbus so add it to RDEPENDS
explicitly.
(From OE-Core rev: babcb7cd3bbefe9c0ea28e960e4fd6cefbc03cae)
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 377ef7009a8638efe688b6b61f67ae399eb1f23d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
coreutils-native will pick up openssl on the host if it's GPL
compatible (version >= 3), which causes uninative failures with hosts
that don't have openssl3.
Add a PACKAGECONFIG entry for openssl so it can be enabled, but isn't
by default.
(From OE-Core rev: 590d8f2bdbb7ea558b9e99e58a1dae2b5eb58153)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9859a8124a0c09ac38d476445e7df7097f41d153)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The urlopen() call can block indefinitely under some circumstances.
This can result in the bitbake process to run endlessly because of
the 'do_fetch' task of cve-update-bb-native to remain active.
This adds a default timeout of 60 seconds to avoid this hang, while
being large enough to minimize the risk of unwanted timeouts.
(From OE-Core rev: f51a6742bcae3a151a326d17cd44935815eb78c7)
Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5f6652854f544106b40d860de2946954de642f3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: 54bbfe94ae4514386c572564bf221edfdbb2ce38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the newer version of ssh in Ubuntu 22.04 we are getting errors of this type:
Unable to negotiate with 192.168.7.2 port 22: no matching host key type found. Their offer: ssh-rsa
Add -o HostKeyAlgorithms=+ssh-rsa to command invocation as suggested at:
http://www.openssh.com/legacy.html
(From OE-Core rev: 9275d23c782071382c201bca2d647f6426a64e2f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a UBOOT_MKIMAGE_SIGN_ARGS variable to enable passing additional
options to uboot-mkimage when it is run the second time to perform
signing.
(From OE-Core rev: fd39b936b03a6416e7a66408c47578daa2a08cf1)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8fd7ee7414b45a1feeef7982af3583475902a677)
Signed-off-by: Massimiliano Minella <massimiliano.minella@se.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
fd92cfed8bc6 Linux 5.4.219
0cb5be43dc4b wifi: mac80211: fix MBSSID parsing use-after-free
9478c5f9c007 wifi: mac80211: don't parse mbssid in assoc response
7f441a6c90fe mac80211: mlme: find auth challenge directly
c248c3330d5f Revert "fs: check FMODE_LSEEK to control internal pipe splicing"
1d0da8674c23 Linux 5.4.218
3ff54a91e4ea Input: xpad - fix wireless 360 controller breaking after suspend
690467759573 Input: xpad - add supported devices as contributed on github
9389750ac6b0 wifi: cfg80211: update hidden BSSes to avoid WARN_ON
7fab3bf52059 wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
77bb20ccb9df wifi: cfg80211: avoid nontransmitted BSS list corruption
785eaabfe310 wifi: cfg80211: fix BSS refcounting bugs
359ce507f751 wifi: cfg80211: ensure length byte is present before access
43689bf2cd8e wifi: cfg80211/mac80211: reject bad MBSSID elements
020402c7dd58 wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
c634a9107f6a random: use expired timer rather than wq for mixing fast pool
39800adc38f6 random: avoid reading two cache lines on irq randomness
bc0375ca434b random: restore O_NONBLOCK support
49d2fc9f998b USB: serial: qcserial: add new usb-id for Dell branded EM7455
20a5bde60597 scsi: stex: Properly zero out the passthrough command structure
46b822a7550d efi: Correct Macmini DMI match in uefi cert quirk
b719d10f7ec3 ALSA: hda: Fix position reporting on Poulsbo
e5d25a3bfde4 random: clamp credited irq bits to maximum mixed
194f59391d6c ceph: don't truncate file in atomic_open
259c0f68168a nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
b7e409d11db9 nilfs2: fix leak of nilfs_root in case of writer thread creation failure
792211333ad7 nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level()
963089ad76cb rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
2da677c0c725 mmc: core: Terminate infinite loop in SD-UHS voltage switch
373eca05b5b8 mmc: core: Replace with already defined values for readability
7ec8f073c2bf USB: serial: ftdi_sio: fix 300 bps rate for SIO
21446ad9cb98 usb: mon: make mmapped memory read only
d2f3a51ca27e arch: um: Mark the stack non-executable to fix a binutils warning
bb2d4c37b1fc um: Cleanup compiler warning in arch/x86/um/tls_32.c
9e26e0eef622 um: Cleanup syscall_handler_t cast in syscalls_32.h
3c9a75b3d2f7 net/ieee802154: fix uninit value bug in dgram_sendmsg
61be8898d704 scsi: qedf: Fix a UAF bug in __qedf_probe()
c790d3a00d42 ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
aefe2f55a986 dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
db702ecd713a dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
59684c877783 firmware: arm_scmi: Add SCMI PM driver remove routine
70e4f70d54e0 fs: fix UAF/GPF bug in nilfs_mdt_destroy
398312c687bb perf tools: Fixup get_current_dir_name() compilation
393a1aa4215b mm: pagewalk: Fix race between unmap and page walker
6e150d605c9e Linux 5.4.217
0c41153c367b docs: update mediator information in CoC docs
096740d67560 Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
e911caf9a158 Revert "drm/amdgpu: use dirty framebuffer helper"
ae19c3c76dc4 xfs: remove unused variable 'done'
538657def702 xfs: fix uninitialized variable in xfs_attr3_leaf_inactive
9ff41b8d71ba xfs: streamline xfs_attr3_leaf_inactive
c893fedaf10c xfs: move incore structures out of xfs_da_format.h
5e13ad940a2a xfs: fix memory corruption during remote attr value buffer invalidation
821e0951b4b3 xfs: refactor remote attr value buffer invalidation
a1b66abe30da xfs: fix IOCB_NOWAIT handling in xfs_file_dio_aio_read
1e4a0723eb38 xfs: fix s_maxbytes computation on 32-bit kernels
16de74ee3ad6 xfs: truncate should remove all blocks, not just to the end of the page cache
87e73331e4b7 xfs: introduce XFS_MAX_FILEOFF
bd67d06b099d xfs: fix misuse of the XFS_ATTR_INCOMPLETE flag
24f45c878299 x86/speculation: Add RSB VM Exit protections
564275d4b93f x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced IBRS parts
4891e5fd1001 x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
9862c0f4fd6c x86/speculation: Disable RRSBA behavior
b9ae02c3c253 x86/bugs: Add Cannon lake to RETBleed affected CPU list
d6a8a470dc22 x86/cpu/amd: Enumerate BTC_NO
2edfa537f3b1 x86/common: Stamp out the stepping madness
17a9fc4a7b91 x86/speculation: Fill RSB on vmexit for IBRS
2242cf215013 KVM: VMX: Fix IBRS handling after vmexit
51c71ed134e9 KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS
a31bdec99a95 KVM: VMX: Convert launched argument to flags
5895a9297e60 KVM: VMX: Flatten __vmx_vcpu_run()
64723cd346ea KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hw
57ba312f1037 KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S
87dfe68a3513 x86/speculation: Remove x86_spec_ctrl_mask
4109a8ce107d x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit
0fd086edf887 x86/speculation: Fix SPEC_CTRL write on SMT state change
18d5a93fd202 x86/speculation: Fix firmware entry SPEC_CTRL handling
03a575a0f954 x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n
8afd1c7da2b0 x86/speculation: Change FILL_RETURN_BUFFER to work with objtool
3ee9e9a5af07 intel_idle: Disable IBRS during long idle
97bc52c14a93 x86/bugs: Report Intel retbleed vulnerability
fd67fe3db93f x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()
2d4ce2d72c3b x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS
e2d793a3742a x86/bugs: Optimize SPEC_CTRL MSR writes
a3111faed5c1 x86/entry: Add kernel IBRS implementation
fd32a31553a1 x86/entry: Remove skip_r11rcx
3c93ff4e23ea x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value
9a596426d7bd x86/bugs: Add AMD retbleed= boot parameter
063b7f980607 x86/bugs: Report AMD retbleed vulnerability
954d591a84d0 x86/cpufeatures: Move RETPOLINE flags to word 11
893cd858b09c x86/kvm/vmx: Make noinstr clean
f62d272c2fec x86/cpu: Add a steppings field to struct x86_cpu_id
69460b1ed63d x86/cpu: Add consistent CPU match macros
87449d94e75c x86/devicetable: Move x86 specific macro out of generic code
fbd29b7549b2 Revert "x86/cpu: Add a steppings field to struct x86_cpu_id"
3a8ff61e6f13 Revert "x86/speculation: Add RSB VM Exit protections"
(From OE-Core rev: 285fdd43a20ccb12231bd36e5e75fe13ad2a32fd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
f28b7414ab71 Linux 5.4.216
b8b87cb13681 clk: iproc: Do not rely on node name for correct PLL setup
d417d5eb29d7 clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
762706bd12a6 selftests: Fix the if conditions of in test_extra_filter()
ae0d3a431639 nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
18ef5cd4c53c nvme: add new line after variable declatation
3ea4a5342452 usbnet: Fix memory leak in usbnet_disconnect()
6ca922ec7598 Input: melfas_mip4 - fix return value check in mip4_probe()
38c4d8230f93 Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
7291d19a9eeb soc: sunxi: sram: Fix debugfs info for A64 SRAM C
cdbcdfc96126 soc: sunxi: sram: Fix probe function ordering issues
73dbc6e136b5 soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()
26170e4fd145 soc: sunxi: sram: Prevent the driver from being unbound
883778a1f4fa soc: sunxi: sram: Actually claim SRAM regions
1ba52486082b ARM: dts: am33xx: Fix MMCHS0 dma properties
d0c69c722ff1 ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver
d18565280076 media: dvb_vb2: fix possible out of bound access
0f4634f70bfd mm: fix madivse_pageout mishandling on non-LRU page
ffd11370b74f mm/migrate_device.c: flush TLB while holding PTL
b9e31f4885c4 mm: prevent page_frag_alloc() from corrupting the memory
d535fb83844e mm/page_alloc: fix race condition between build_all_zonelists and page allocation
2ec4949738c8 mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
bb7c23e4e523 libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
5cebfac6a8c9 Revert "net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()"
9a3740f448be ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
46e784cf4a84 ARM: dts: integrator: Tag PCI host with device_type
85b5edb1b429 clk: ingenic-tcu: Properly enable registers before accessing timers
f8a2e22289e4 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
43699b8fbcf1 uas: ignore UAS for Thinkplus chips
fc540f6e4bb4 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
383c663c7359 uas: add no-uas quirk for Hiksemi usb_disk
6215647d9699 Linux 5.4.215
579976dc0d9f ext4: make directory inode spreading reflect flexbg size
26e7c965f41b xfs: fix use-after-free when aborting corrupt attr inactivation
8b3c9eb1b3dd xfs: fix an ABBA deadlock in xfs_rename
37ec5a20c80d xfs: don't commit sunit/swidth updates to disk if that would cause repair failures
4668f08cda30 xfs: split the sunit parameter update into two parts
fd6c5da3fa2b xfs: refactor agfl length computation function
6363fdf7acac xfs: use bitops interface for buf log item AIL flag check
a95582d9d500 xfs: stabilize insert range start boundary to avoid COW writeback race
7a20c664a7d8 xfs: fix some memory leaks in log recovery
ad9759d48802 xfs: always log corruption errors
0336599b645e xfs: constify the buffer pointer arguments to error functions
8856a6572fed xfs: convert EIO to EFSCORRUPTED when log contents are invalid
9185003c93b3 xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename()
796ff09598cd xfs: attach dquots and reserve quota blocks during unwritten conversion
a33bcad48b48 xfs: range check ri_cnt when recovering log items
a102869fb173 xfs: add missing assert in xfs_fsmap_owner_from_rmap
979eb1230413 xfs: slightly tweak an assert in xfs_fs_map_blocks
c494dbca9928 xfs: replace -EIO with -EFSCORRUPTED for corrupt metadata
bb7eb3ca4b3b ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0
04aa8187eba5 workqueue: don't skip lockdep work dependency in cancel_work_sync()
a874609522b5 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
75ed7dee26ab drm/amd/display: Limit user regamma to a valid value
c89849ecfd2e drm/amdgpu: use dirty framebuffer helper
0b467eab0aad Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region
8c8d0f7ac82f cifs: always initialize struct msghdr smb_msg completely
1438e412aeda usb: xhci-mtk: fix issue of out-of-bounds array access
2e473351400e s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
9eb710d1843a serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
6cc0434f9d44 serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
556e827b0f63 serial: Create uart_xmit_advance()
903f7d322c17 net: sched: fix possible refcount leak in tc_new_tfilter()
0e8de8f54b04 net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD
67199c26a006 perf kcore_copy: Do not check /proc/modules is unchanged
80b2f37b3370 perf jit: Include program header in ELF files
95c5637d3d1f can: gs_usb: gs_can_open(): fix race dev->can.state condition
11ebf32fde46 netfilter: ebtables: fix memory leak when blob is malformed
6a3239f80682 net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs
d12a1eb07003 net/sched: taprio: avoid disabling offload when it was never enabled
420c9b10737b of: mdio: Add of_node_put() when breaking out of for_each_xx
d2ac2baf1fc4 i40e: Fix set max_tx_rate when it is lower than 1 Mbps
450d106804ff i40e: Fix VF set max MTU size
3daf09781982 iavf: Fix set max MTU size with port VLAN and jumbo frames
bfaff9adaa89 iavf: Fix bad page state
9bf52411eeaa MIPS: Loongson32: Fix PHY-mode being left unspecified
405bd0ebb00c MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko
37f79374bba4 net: team: Unsync device addresses on ndo_stop
346e94aa4a99 ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
b84fdb6be105 iavf: Fix cached head and tail value for iavf_get_tx_pending
721ea8ac063d netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
d0a24bc8e2aa netfilter: nf_conntrack_irc: Tighten matching on DCC message
0376a77fa7bc netfilter: nf_conntrack_sip: fix ct_sip_walk_headers
c9355b7e5a6f arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma
312eb4574d16 arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz
a52ef6ae2842 arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob
016b150992ee mm/slub: fix to return errno if kmalloc() fails
cafb9cad9bcc efi: libstub: check Shim mode using MokSBStateRT
9599d4601941 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop
befadcf8f7f2 ALSA: hda/realtek: Add quirk for ASUS GA503R laptop
b90ac48c0540 ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack
5f622518a7d0 ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack
8f8a740e9160 ALSA: hda/realtek: Re-arrange quirk table entries
dafeac1226a4 ALSA: hda/realtek: Add quirk for Huawei WRT-WX9
95b9a7f0bfbb ALSA: hda: add Intel 5 Series / 3400 PCI DID
7fff38ab90b8 ALSA: hda/tegra: set depop delay for tegra
78d3ae9bfad6 USB: serial: option: add Quectel RM520N
55f0f59e8227 USB: serial: option: add Quectel BG95 0x0203 composition
95b97afdde75 USB: core: Fix RST error in hub.c
f5e322ffe7aa Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio"
430c9bd664ec Revert "usb: add quirks for Lenovo OneLink+ Dock"
05ec31717feb usb: cdns3: fix issue with rearming ISO OUT endpoint
10c5d34f6f68 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
ddf7bc221817 usb: add quirks for Lenovo OneLink+ Dock
da8ac086943e tty: serial: atmel: Preserve previous USART mode if RS485 disabled
e56a40281997 serial: atmel: remove redundant assignment in rs485_config
85a64208b319 tty/serial: atmel: RS485 & ISO7816: wait for TXRDY before sending data
9ad48cbf8b07 wifi: mac80211: Fix UAF in ieee80211_scan_rx()
9a3695bde9c7 usb: xhci-mtk: relax TT periodic bandwidth allocation
174645cc63c3 usb: xhci-mtk: allow multiple Start-Split in a microframe
6cfde07c5d8e usb: xhci-mtk: add some schedule error number
664b0b8f4efa usb: xhci-mtk: add a function to (un)load bandwidth info
d1eed0d3fb8c usb: xhci-mtk: use @sch_tt to check whether need do TT schedule
1833e8e049d0 usb: xhci-mtk: add only one extra CS for FS/LS INTR
3826d4f0ef89 usb: xhci-mtk: get the microframe boundary for ESIT
4ccf7afa4729 usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop
a5bdea59f43d usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup()
67bf926f16b3 usb: dwc3: gadget: Refactor pullup()
24e4f6308d95 usb: dwc3: gadget: Prevent repeat pullup()
62b6cbc5983e usb: dwc3: Issue core soft reset before enabling run/stop
e24f90d7617b usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind
85371aad2855 ALSA: hda/sigmatel: Fix unused variable warning for beep power change
07191f984842 cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
1878eaf0edb8 video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
47c5ef29e52f mksysmap: Fix the mismatch of 'L0' symbols in System.map
f0ebdfc10bd1 MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping()
c53c3cbca5ef afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked
1aea20f98ed3 net: usb: qmi_wwan: add Quectel RM520N
447f95d41397 ALSA: hda/tegra: Align BDL entry to 4KB boundary
9f55da12d05d ALSA: hda/sigmatel: Keep power up while beep is enabled
39265647c4a6 rxrpc: Fix calc of resend age
cc273ed79e7c rxrpc: Fix local destruction being repeated
da01ec04a0b0 regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe()
17a21341d953 ASoC: nau8824: Fix semaphore unbalance at error paths
323f289a9044 iomap: iomap that extends beyond EOF should be marked dirty
d88039e6fee4 MAINTAINERS: add Chandan as xfs maintainer for 5.4.y
36128fd71f03 cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
81081a5c9c74 cifs: revalidate mapping when doing direct writes
834f4d856fda tracing: hold caller_addr to hardirq_{enable,disable}_ip
2c4e260d45fd task_stack, x86/cea: Force-inline stack helpers
4051324a6daf ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC
47d7e6af5bd4 parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
2aae9b7d0723 drm/meson: Fix OSD1 RGB to YCbCr coefficient
5dd9cb66b712 drm/meson: Correct OSD1 global alpha value
f1de50e1db99 gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
82e276e5fcdc NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0
e0e88c25f88b of: fdt: fix off-by-one error in unflatten_dt_nodes()
9f02aa34e179 Linux 5.4.214
c629ec4ddd4f tracefs: Only clobber mode/uid/gid on remount if asked
fe26b6ca0404 soc: fsl: select FSL_GUTS driver for DPIO
1bd66f1053be net: dp83822: disable rx error interrupt
c128bff9ff35 mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()
bf3cd8f2c69b usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS
72b31dc26415 platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes
0573dc9f154a perf/arm_pmu_platform: fix tests for platform_get_irq() failure
baba0cfc3df0 nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()
161e7555520b Input: iforce - add support for Boeder Force Feedback Wheel
a725bc34d81a ieee802154: cc2520: add rc code in cc2520_tx()
2670d1d3f59c tg3: Disable tg3 device on system reboot to avoid triggering AER
c118ae56a5fb hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message
3e89e8d1c634 HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo
7e214f5b2f34 drm/msm/rd: Fix FIFO-full deadlock
(From OE-Core rev: 8cf29e02798b98ed8f5fe504cf5f10f63d491300)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid accidentally linking to the rdma library from the host by
adding a PACKAGECONFIG for the option. This was found on new
Fedora 36 autobuilder workers.
(From OE-Core rev: aa9d0c2b777c10bb6c68b0232d54cbcd1af1493f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a0f3cb225e4d5471155abbcd05d09bd6bf1620f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid accidentally linking to the rbd library from the host by
adding a PACKAGECONFIG for the option.
(From OE-Core rev: bb32854dbe68335d834aaa80e42d6a524ea4e1b2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid accidentally linking to the vde library from the host by
adding a PACKAGECONFIG for the option.
(From OE-Core rev: cc979908beec8a40a636d00a1fdcf2769358377f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8839e9540528b0b46c4fb4f95e508f038bcef8b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Git has removed support for "git submodule--helper list".
31955475d1
This change provides an alternate method for gathering the submodules
information.
Tested:
Build recipes with and without submodules
(From OE-Core rev: 6c50d83af0af677c2dff864ac40c580ae446372b)
Signed-off-by: Carson Labrado <clabrado@google.com>
Signed-off-by: John Edward Broadbent <jebr@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d9364e5f3535954f65cbbc694ee7933ac1d664f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: 8f53bba4936b79dfe8dfa30216990b3d440150a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Security and bug fixes.
* Drop CVE-2021-28861.patch as it was merged in 3.8.14 release.
Fixes:
* CVE-2020-10735
https://nvd.nist.gov/vuln/detail/CVE-2020-10735
* CVE-2021-28861
https://nvd.nist.gov/vuln/detail/CVE-2021-28861
* CVE-2018-25032
https://nvd.nist.gov/vuln/detail/CVE-2018-25032
Python 3.8.14
Release Date: Sept. 6, 2022
This is a security release of Python 3.8
Note: The release you're looking at is Python 3.8.14, a security bugfix
release for the legacy 3.8 series. Python 3.10 is now the latest
feature release series of Python 3.
Security content in this release
CVE-2020-10735: converting between int and str in bases other than
2 (binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base
10 (decimal) now raises a ValueError if the number of digits in string
form is above a limit to avoid potential denial of service attacks due
to the algorithmic complexity.
gh-87389: http.server: Fix an open redirection vulnerability in the HTTP
server when an URI path starts with //.
gh-93065: Fix contextvars HAMT implementation to handle iteration over
deep trees to avoid a potential crash of the interpreter.
gh-90355: Fix ensurepip environment isolation for the subprocess running
pip.
gh-80254: Raise ProgrammingError instead of segfaulting on recursive usage
of cursors in sqlite3 converters.
(From OE-Core rev: 25fafd35a4698daa0d4abb814a91601e68223128)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2022-39253 in git meant file:// urls within submodules were disabled. Add
a parameter to the commands in the tests to allow this to continue to work.
(Bitbake rev: 8ea8e443005ad92f4ad264d9abd9e90e33fb5c17)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a wrong reference no longer tolerated by Sphinx 5.x
(missing "bitbake:" prefix)
(From yocto-docs rev: 2359aff814f5faccffbf3cb2cd180979c248fc3c)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:57:53 +01:00
296 changed files with 11819 additions and 4076 deletions
return "Your version of tar is older than 1.28 and does not have the support needed to enable reproducible builds. Please install a newer version of tar (you could use the project's buildtools-tarball from our last release or use scripts/install-buildtools).\n"
try:
result = subprocess.check_output(["tar", "--help"], stderr=subprocess.STDOUT).decode('utf-8')
if "--xattrs" not in result:
return "Your tar doesn't support --xattrs, please use GNU tar.\n"
except subprocess.CalledProcessError as e:
return "Unable to execute tar --help, exit code %d\n%s\n" % (e.returncode, e.output)
return None
# We use git parameters and functionality only found in 1.7.8 or later
self.skipTest("Could not determine the path to dri drivers on the host via pkg-config.\nPlease install Mesa development files (particularly, dri.pc) on the host machine.")
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.