Compare commits

...

249 Commits

Author SHA1 Message Date
Steve Sakoman
7235399a86 build-appliance-image: Update to mickledore head revision
(From OE-Core rev: 23b5141400b2c676c806df3308f023f7c04e34e0)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-13 14:19:27 -10:00
Xiangyu Chen
7f366c7d84 grub: Fix for CVE-2023-4692 and CVE-2023-4693
CVE: CVE-2023-4692

Crafted file system images can cause heap-based buffer
overflow and may allow arbitrary code execution and secure boot bypass.

Upstream-Status: Backport
[https://git.savannah.gnu.org/cgit/grub.git/commit/?id=43651027d24e62a7a463254165e1e46e42aecdea]

CVE: CVE-2023-4693

There an out-of-bounds read at fs/ntfs.c, a physically present attacker
may leverage that by presenting a specially crafted NTFS file system
image to read arbitrary memory locations. A successful attack may allow
sensitive data cached in memory or EFI variables values to be leaked
presenting a high Confidentiality risk.

Upstream-Status: Backport
[https://git.savannah.gnu.org/cgit/grub.git/commit/?id=0ed2458cc4eff6d9a9199527e2a0b6d445802f94]

(From OE-Core rev: 51236150a3740d95e3601499d3918af5a37f8f86)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit: a8bc6f041599ce8da275c163c87f155a2f09369c)
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-13 12:22:20 -10:00
Steve Sakoman
c0c48c613d build-appliance-image: Update to mickledore head revision
(From OE-Core rev: 3c35416a8bff3a857004beadbd053d50eca30ce2)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-12 16:41:21 -10:00
Steve Sakoman
b4fc02f941 Revert "oeqa/utils/gitarchive: fix tag computation when creating archive"
This reverts commit b0d96ea432196800fedb45e6d1da44a3523fad63.

This caused failures on the build performance tests on the autobuilder.

(From OE-Core rev: c337b5a45d43eefee171e7043f70cf19e6eb2cce)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-12 16:38:12 -10:00
Steve Sakoman
028ef3991e build-appliance-image: Update to mickledore head revision
(From OE-Core rev: 0f4cd6a395404352e2f66bdd11a7727c1f117046)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-12 11:36:17 -10:00
Alexis Lothoré
03ccc1284a oeqa/utils/gitarchive: fix tag computation when creating archive
Sporadic errors have been observed in autobuilder when trying to store new
tests results:

error: failed to push some refs to 'push.yoctoproject.org:yocto-testresults'
hint: Updates were rejected because the tag already exists in the remote.

The new tag name is generated by gitarchive based on known tags from the
repository (learnt with git tag). In autobuilder case, this repository is a
shallow clone, so git tag only returns most recent tags, which mean we
could miss some older tags which exist in remote but not locally. In this
case, gitarchive will likely create a tag which already exists in remote,
and so will fail to push

Fix this tag duplication by using git ls-remote to learn about existing
tags instead of git tag. To do so, create a helper ("get_tags") which
manages both nominal case (target directory is a git repository with a
proper remote) and fallback case (target directory is not from a clone, no
remote has been configured)

Fixes [YOCTO #15140]

(From OE-Core rev: b0d96ea432196800fedb45e6d1da44a3523fad63)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9cbbe9689866158825a7ae774b7965b41ff5c461)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-12 11:30:08 -10:00
Richard Purdie
f0265a9051 Revert "oeqa/utils/gitarchive: fix tag computation when creating archive"
This reverts commit 5a0a7da85a3acfd4a20a07478eabefdab60f313a.

This caused failres on the build performance tests on the autobuilder.

(cherry picked from commit cbfa57a982c0e633e41d3ea00543f87ad818c43a)
(From OE-Core rev: 1506737eae894310bb98a82cf43c91f4b17d5878)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-12 11:30:07 -10:00
Steve Sakoman
b8bb4e6cb0 build-appliance-image: Update to mickledore head revision
(From OE-Core rev: ae69823d9439ba1995ef48676a2d2236a50fe665)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:26:04 -10:00
Steve Sakoman
ee3efb03e1 poky.conf: bump version for 4.2.4 release
(From meta-yocto rev: 62fb88d93c7a706ed191df71dc67f80b47e7c602)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Xiangyu Chen
65c06a2ea8 sudo: upgrade 1.9.13p3 -> 1.9.15p2
Upgrade 1.9.13p3 to 1.9.15p2 to fix bugs and CVEs

License-update: file removed upstream
Drop patch as issue fixed upstream.

Changelogs:
1.9.15p2: https://www.sudo.ws/releases/stable/#1.9.15p2
1.9.15p1: https://www.sudo.ws/releases/stable/#1.9.15p1
1.9.15:   https://www.sudo.ws/releases/stable/#1.9.15
1.9.14p3: https://www.sudo.ws/releases/stable/#1.9.14p3
1.9.14p2: https://www.sudo.ws/releases/stable/#1.9.14p2
1.9.14p1: https://www.sudo.ws/releases/stable/#1.9.14p1
1.9.14:   https://www.sudo.ws/releases/stable/#1.9.14

(From OE-Core rev: 1681813ef11c813d8b7433790dfc60425e31bc63)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Tan Wen Yan
02b045ff13 python3-urllib3: update to v1.26.18
https://github.com/urllib3/urllib3/releases/tag/1.26.18

Major changes in python3-urllib3 1.26.18:
- Made body stripped from HTTP requests changing the request method to GET after HTTP 303 "See Other" redirect responses. (CVE-2023-45803)

(From OE-Core rev: 74da05b63634c248910594456dae286947f33da5)

Signed-off-by: Tan Wen Yan <wen.yan.tan@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Vijay Anusuri
b5686f826d xserver-xorg: Fix for CVE-2023-5367 and CVE-2023-5380
Upstream-Status: Backport
[541ab2ecd4
&
564ccf2ce9]

(From OE-Core rev: d7ecf2b605cef1ec5b3a9d253d4b46590a7c6891)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Xiangyu Chen
271877ff39 qemu: fix "Bad FPU state detected" fault on qemu-system-i386
Qemu introduced a commit "target/i386: Enable AVX cpuid bits when using TCG"
since v7.2.0. It causes qemu-system-i386 hang with following error:

traps: rndc-confgen[342] general protection fault ip:b7ef5545 sp:bfcc6e6c error:0
------------[ cut here ]------------
Bad FPU state detected at __restore_fpregs_from_fpstate+0x2f/0x60, reinitializing FPU registers.
WARNING: CPU: 7 PID: 353 at arch/x86/mm/extable.c:65 fixup_exception+0x29c/0x2d0
Modules linked in: cfg80211 8021q parport_pc parport sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 kvm irqbypass fuse configfs
CPU: 7 PID: 353 Comm: in:imklog Not tainted 5.15.78-yocto-standard #1
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.1-0-g3208b098f51a-prebuilt.qemu.org 04/01/2014
EIP: fixup_exception+0x29c/0x2d0
Code: 05 ed da 89 df 01 68 b0 cb 5f df e8 4f e7 b6 00 0f 0b 58 e9 9d fe ff ff c6 05 ef da 89 df 01 50 68 f0 cb 5f df e8 35 e7 b6 00 <0f> 0b 5b 5e e9 0a ff ff ff ba 01 00 00 00 89 f0 e8 8a c1 b6 00 0f
EAX: 00000060 EBX: df734b60 ECX: f5be9cd0 EDX: f5be9ccc
ESI: c3485eec EDI: 0000000d EBP: c3485e64 ESP: c3485e4c
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 EFLAGS: 00000096
CR0: 80050033 CR2: b79fdde0 CR3: 03cbe000 CR4: 001506d0
Call Trace:
 ? __restore_fpregs_from_fpstate+0x2f/0x60
 exc_general_protection+0x9a/0x390
 ? exc_bounds+0x90/0x90
 handle_exception+0x133/0x133

Upstream has been fixed this issue[1], so backport the patch to fix it.

Ref:
[1] 48b60eb6c9

(From OE-Core rev: 11370f237dcf140e05014f82200e07d5cff38bd3)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Chen Qi
8134b3dd7b systemd: backport patch to fix warning in systemd-vconsole-setup
The backported patch fixes the following warning:
systemd-vconsole-setup[221]: Failed to import credentials, ignoring: No such file or directory

(From OE-Core rev: 07c31cd6190476d9d9a4de750a30fe0fb3a93b21)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Xiangyu Chen
155c80d7ed linux-yocto: make sure the pahole-native available before do_kernel_configme
When using debug-btf.scc in a clean workspace, the CONFIG_MODULE_ALLOW_BTF_MISMATCH cannot
apply to kernel until clean the kernel code(bitbake linux-yocto -c cleanall) and rebuild.

After tracking the code, some options depend on CONFIG_PAHOLE_VERSION, it was generated by
scripts/pahole-version.sh in kernel, but during do_kernel_configme step, the pahole-native
is not available in sysroot-native, so need to wait pahole-native install to sysroot-native
before do_kernel_configme.

(cherry picked from commit 217a4db53edbd88001f6390bbff39e5dd3d137af)
(From OE-Core rev: b535bf84a03dca7ed3f54ef1d0bc9da78756a9d8)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Peter Marko
0e5f980f1c openssl: Upgrade 3.1.3 -> 3.1.4
https://github.com/openssl/openssl/blob/openssl-3.1/NEWS.md#major-changes-between-openssl-313-and-openssl-314-24-oct-2023

Major changes between OpenSSL 3.1.3 and OpenSSL 3.1.4 [24 Oct 2023]
* Mitigate incorrect resize handling for symmetric cipher keys and IVs. (CVE-2023-5363)

(From OE-Core rev: 914f5ed4cfcc5f05fc04ec990128803a8d108fd1)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Ross Burton
61dee96403 cve-check: don't warn if a patch is remote
We don't make do_cve_check depend on do_unpack because that would be a
waste of time 99% of the time.  The compromise here is that we can't
scan remote patches for issues, but this isn't a problem so downgrade
the warning to a note.

Also move the check for CVEs in the filename before the local file check
so that even with remote patches, we still check for CVE references in
the name.

(From OE-Core rev: 4f21354c7204c3404326ddc243d02056387472d3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0251cad677579f5b4dcc25fa2f8552c6040ac2cf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Ross Burton
ea56fc0611 cve-check: slightly more verbose warning when adding the same package twice
Occasionally the cve-check tool will warn that it is adding the same
package twice.  Knowing what this package is might be the first step
towards understanding where this message comes from.

(From OE-Core rev: 7d7d1de6211b2813c1679bb9ce35289607d66c12)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c1179faec8583a8b7df192cf1cbf221f0e3001fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Ross Burton
fb3a1733c0 cve-check: sort the package list in the JSON report
The JSON report generated by the cve-check class is basically a huge
list of packages.  This list of packages is, however, unsorted.

To make things easier for people comparing the JSON, or more
specifically for git when archiving the JSON over time in a git
repository, we can sort the list by package name.

(From OE-Core rev: e32b4655e79561dd9c38efdf99858372bde806b0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9861be0e5020830c2ecc24fd091f4f5b05da036)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Soumya Sambu
a09c4a4833 libwebp: Fix CVE-2023-4863
Heap buffer overflow in WebP in Google Chrome prior to 116.0.5845.187
allowed a remote attacker to perform an out of bounds memory write via
a crafted HTML page.

Removed CVE-2023-5129.patch as CVE-2023-5129 is duplicate of CVE-2023-4863.

CVE: CVE-2023-4863

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-4863
https://security-tracker.debian.org/tracker/CVE-2023-4863
https://bugzilla.redhat.com/show_bug.cgi?id=2238431#c12

(From OE-Core rev: e2bd9494b59b486000320c6814371f37828d4c2d)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Ross Burton
c97d2f0f09 pixman: ignore CVE-2023-37769
This issue relates to a floating point exception in stress-test, which
is an unlikely security exploit at the best of times, but the test is
not installed so isn't relevant.

(From OE-Core rev: 3625bed6d7432091bfb144314b8ef979b5246e4c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a36d62a06be6cce1a438f8f2178eb60aad6b7267)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Xiangyu Chen
197d1d8cd6 shadow: Fix CVE-2023-4641
shadow-utils: possible password leak during passwd(1) change

(From OE-Core rev: 3623f48ff73ad97f583172b7dbfcb56affc9353b)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Mingli Yu
eefb8f69ce curl: Fix CVE-2023-38039
Backport patch [1] to fix CVE-2023-38039 and reference [2] and [3] to fix
the build error.

[1] https://github.com/curl/curl/commit/3ee79c1674fd6f9
[2] https://github.com/curl/curl/commit/2cb0d346aaa
[3] https://github.com/curl/curl/commit/83319e027179

(From OE-Core rev: 77a7921660e8da1cb618ba3634835790ae8adfdd)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-11 08:23:01 -10:00
Michael Opdenacker
7b04ca50ee test-manual: reproducible-builds: stop mentioning LTO bug
Now that https://bugzilla.yoctoproject.org/show_bug.cgi?id=14481
is closed.

(From yocto-docs rev: 91a29ca94314c87fd3dc68601cd4932bdfffde35)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-09 04:44:46 -10:00
Marta Rybczynska
05b8a1b5c1 dev-manual: add security team processes
Add the initial version of the section on vulnerability reports,
operations of the Security Team with a
transcription of https://wiki.yoctoproject.org/wiki/Security_private_reporting

(From yocto-docs rev: 763d66c72bf60dc06195acc6168a9535fdf7b302)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-09 04:44:46 -10:00
Michael Opdenacker
f2f7ea77d5 manuals: correct "yocto-linux" by "linux-yocto"
(From yocto-docs rev: 872b0cc8b78a9b9459adabed1441799dfbcd3437)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-09 04:44:46 -10:00
Samantha Jalabert
4edf3bf2c6 bitbake: Fix disk space monitoring on cephfs
Error occured while running bitbake on cephfs:

WARNING: The free inode of path is running low (-0.001K left)
ERROR: Immediately halt since the disk space monitor action is "HALT"!

(Bitbake rev: c7e094ec3beccef0bbbf67c100147c449d9c6836)

Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-09 04:44:46 -10:00
BELHADJ SALEM Talel
6c3c62ebc1 ref-manual: variables: add example for SYSROOT_DIRS variable
(From yocto-docs rev: 11906c1497afb5876d8f5a9c50b4b0160ef4c8ec)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
BELHADJ SALEM Talel
7a43e96179 ref-manual: variables: add TOOLCHAIN_OPTIONS variable
(From yocto-docs rev: c69126b44157a13ad2c7e69be65a7f6730c22690)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
BELHADJ SALEM Talel
90499aafb5 ref-manual: variables: add RECIPE_SYSROOT and RECIPE_SYSROOT_NATIVE
(From yocto-docs rev: acdef1c3728b88f46d94415567fec85438a51ba4)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Michael Opdenacker
d6701da0f4 dev-manual: start.rst: remove obsolete reference
Remove a reference to a web resource which is clearly marked as obsolete.
Replace the unnecessarily verbose note by just links to the mentioned tools.

[YOCTO #15233]

(From yocto-docs rev: f7e57707a08a9a86ea146722e481ef2e7f362277)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Michael Opdenacker
1172a378c9 brief-yoctoprojectqs: use new CDN mirror for sstate
Recommended instead of the Yocto Project mirror, because expected
to be faster. Make sure you only set one such mirror.

(From yocto-docs rev: fbf020e19a47b4a4bf6c4f12ecabab6fce572d66)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: richard.purdie@linuxfoundation.org
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
BELHADJ SALEM Talel
9438f3d1fd dev-manual: layers: Add notes about layer.conf
As discussed before with Richard Purdie, the code supports this but the documentation does not.
Developers in general will not notice this or focus on it because they do not mess with the
layer.conf template file, but in my opinion I think more details can help.

(From yocto-docs rev: 635b198dfeb8147728a610b710fbc8ce77859389)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Quentin Schulz
1680e558e1 ref-manual: variables: provide no-match example for COMPATIBLE_MACHINE
COMPATIBLE_MACHINE is used to forbid the use of a recipe or its packages
for a specific set of machines.

In some cases, it may make more sense to have the logic inverted and
have the recipe always forbidden except for hand-picked machines. Such
could be the case for pieces of software that only support some
architectures. In that scenario, it is sometimes a bit easier on the eye
and for maintenance to use the OVERRIDES mechanism but for that, a
default should be set.

COMPATIBLE_MACHINE:aarch64 = "^(aarch64)$"
COMPATIBLE_MACHINE:mips64 = "^(mips64)$"

wouldn't do much because if COMPATIBLE_MACHINE isn't set, the recipe is
assumed compatible and therefore, if no default is provided we enter
that case.

Hence, we need to add

COMPATIBLE_MACHINE = "^$"

as default so that it only matches the empty string, which isn't
possible for MACHINEOVERRIDES.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 051f868d1da1cbcd5726eb4c1e3f25946ce690e3)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Robert P. J. Day
4d79b36d46 profile-manual: aesthetic cleanups
Various aesthetic cleanups of section 1 of that manual, including:

  * replace 'HOWTO' with manual
  * add more examples of sdk-related images
  * font fixes

(From yocto-docs rev: 55ce55247ab3238d69c165a01da1689158d8967a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
BELHADJ SALEM Talel
8de77fdcbb ref-manual: Fix PACKAGECONFIG term and add an example
PACKAGECONFIG's first and second flag value will be added to PACKAGECONFIG_CONFARGS
and then it will be added to the appropriate variable (EXTRA_OECMAKE, or ...)
So we need to only mention PACKAGECONFIG_CONFARGS and it will lead to other variables.

I added a custom example that can help understanding very well PACKAGECONFIG.

(From yocto-docs rev: 1bf0ac5c208d2d9609649bae681f37e3b4281c63)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Robert P. J. Day
0041bad3a5 dev-manual: new-recipe.rst: add missing parenthesis to "Patching Code" section
Add missing parenthesis, and another example of a compressed patch filename.

(From yocto-docs rev: 3b770bd5699706f7b843d579cb6a8ba796a3e54e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Michael Opdenacker
72e595ce70 sdk-manual: appendix-obtain: improve and update descriptions
- Improve text formatting
- Stop mentioning all possible values
- Update examples
- Correct descriptions

(From yocto-docs rev: 391e905c35beb262ce63273d66cc69edf9308e0d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Michael Opdenacker
aea49e1da6 bsp-guide: bsp: skip Intel machines no longer supported in Poky
(From yocto-docs rev: 47980f9769b75b88a1525069b2c63c79515c4a31)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Arne Schwerdt
eb793e0506 ref-manual: Warn about COMPATIBLE_MACHINE skipping native recipes
(From yocto-docs rev: 33cf8166a543a3fd76bb0e6cab03589c6d45f48c)

Signed-off-by: Arne Schwerdt <arne.schwerdt@elbbits.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Martijn de Gouw
e0cfa4c6a1 busybox: Set PATH in syslog initscript
This script is not always called with /sbin and /usr/sbin in the PATH
already, for example when called via ssh. Explicitly set PATH to make
sure it includes /sbin and /usr/sbin since that's where start-stop-daemon
is located.

(From OE-Core rev: e9ca1405b732720ff72d379e0262a78bfd2e7d53)

Signed-off-by: Martijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fa53f898eaba15dff030f9eadf86e5bca7d954fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Peter Kjellerstedt
2b0c041e2c packages.bbclass: Correct the check for conflicts with renamed packages
The original solution replaced all overrides with the package name that
was being checked. This can have unforseen consequences where some
variable involved in defining the value for the PKG:<package> variable
may rely on some override which is not set as expected. It also meant
that any PKG variable set using an override would not be caught, e.g.,
PKG:${PN}:${MACHINE} = "${PN}-dev" (made up example that would always
fail with the old code).

(From OE-Core rev: 3fc3e55933716ce9cfa8b2e8e4cc8fa2e94a0061)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit de62d538dbfe6caf123ff366643f893077175583)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Richard Purdie
7c96ef81f8 oeqa/concurrencytest: Remove invalid buffering option
Fix warnings from oe-selftest -j:

/usr/lib/python3.10/os.py:1030: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  return io.open(fd, mode, buffering, encoding, *args, **kwargs)

Remove the option since it clearly doesn't do much.

(From OE-Core rev: bd487f92103acd7e97d7815c8c6e233932f6f1f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b872ee72942951fd464c4c6cb9eadcb9b4749c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Daniel Semkowicz
a3be76f47c wic: bootimg-partition: Fix file name in debug message
Debug message about using custom configuration file includes file name
with incorrect extension. Correct file name to "extlinux.conf".

(From OE-Core rev: bb063e8b461b8c3c0b5b6965f26a555781dc94b7)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd63e1520454b2d53a48b72eaae126059af9809b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Richard Purdie
c4f83aa58c oeqa/utils/gitarchive: Handle broken commit counts in results repo
The test results repository contains tags like:

master/64501-g65c94ca3196e5ef3344a469fea8e30444f2e967a/0
master/1-g65c94ca3196e5ef3344a469fea8e30444f2e967a/3
master/1-g65c94ca3196e5ef3344a469fea8e30444f2e967a/2
master/1-g65c94ca3196e5ef3344a469fea8e30444f2e967a/1
master/1-g65c94ca3196e5ef3344a469fea8e30444f2e967a/0

where the commit count is correct in one case and not in the others. This causes
assertion errors in the current code.

Add in some code to work around these historical issues where the commit counts are low.

(From OE-Core rev: 27c1ad02b9479f30ad8eacdee1cdad79cab5269d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d51fc5c8c469730885af7bbde7122032de411d89)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Richard Purdie
1cb8768b28 oeqa/selftest: Fix broken symlink removal handling
The test above this removal correctly looks at symlinks however to
remove a symlink we should call unlink(), not remove(). This avoids
some build failures/tracebacks.

(From OE-Core rev: 830412641abe8c7a3ad5eb1709c8372c796a7760)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dbdb6e73b0f52bc5f9429aca47802d51edbbc834)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Jan Garcia
592a3ed0eb insane.bbclass: Count raw bytes in shebang-size
Operating systems limit the shebang to a maximum number of bytes.
This patch makes the shebang-size check count raw bytes instead of UTF-8 characters.

(From OE-Core rev: 76efaa1e177a5051cfec87f288c8c7372f142fe2)

Signed-off-by: Jan Garcia <j@n-garcia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d4ac66c5cdaf971fb717cc5c5bf9aa51a787d412)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Martin Jansa
e1bcc335a9 fontcache.bbclass: avoid native recipes depending on target fontconfig
* this caused liberation-font-native to depend on TUNE_PKGARCH target fontconfig
  because ${MLPREFIX}fontconfig-utils is added to RDEPENDS in anonymous python

* the dependency tree for liberation-font-native got much shorter
  (just quilt-native and liberation-font-native itself):
   2 after/pn-buildlist
  78 before/pn-buildlist

* fixes graphviz-native signature issue as well as detected with sstate-diff-machines.sh

  $ bitbake-diffsigs \
    sstate-after/mako/x86_64-linux/graphviz-native/8.1.0.do_populate_sysroot.sigdata.184d4fd355f1e7a2d7d929ef4b5f62b94e2071df9dd674b2067ec21bfc7bcc1b \
    sstate-after/qemux86-64/x86_64-linux/graphviz-native/8.1.0.do_populate_sysroot.sigdata.35da674d2dbc275bac02869dfce4165466315023910bdef65a6026e2cb942a46
  Hash for task dependency liberation-fonts-native:do_populate_sysroot changed from 310d3da04ad9abf8ee99997e53d1ffa71c2b7d9d60fb0e8de85171a9ab6a77d3 to 048420ad1410c2b8d95498fc3c11681207335a2c722836f1f3e683cc449814da

(From OE-Core rev: 7956db86a7377bc3afefcbbb6f92aae9161df715)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 998d4da9d89aea77dc0f2cbac60ea64258331756)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Michael Opdenacker
29bcbba9d9 libevent: fix patch Upstream-Status
(From OE-Core rev: 6afee5ac3b419532d290d8a0c533e5d144913e92)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c987afb2054f24d9bf86305774c186a6e015a8f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Michael Opdenacker
50a51e7104 shadow: fix patch Upstream-Status
Replace "Accepted" by "Backport" as specified on
https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes

(From OE-Core rev: 2d789678cf430683fc24995514414ddfe32c22b5)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 945f1106de1fc1b08921e05aa0f871092c2c116d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Quentin Schulz
7d7dc5e2b4 uboot-extlinux-config.bbclass: fix missed override syntax migration
uboot-extlinux-config allows to specify multiple "labels" (entries in a
menu, à-la grub) and each of them have their own values for some fields.
Each "base" variable, e.g. UBOOT_EXTLINUX_FDT can be overridden for each
label. This is done via the OVERRIDES mechanism based on the label name,
e.g. UBOOT_EXTLINUX_FDT:linux if linux is a label.

However, OVERRIDES doesn't contain the label globally because it's only
necessary in one task. Therefore, the OVERRIDES itself is modified
within the task. This means that the sigdata will not be told the
dependency on UBOOT_EXTLINUX_FDT:linux, because it cannot know about it.

For this reason, we need to explicitly specify which variables this task
depends on via vardeps varflag for the task.

This was done in the past, but we missed updating it during the override
syntax migration so the cache wouldn't get invalidated if someone
modifies UBOOT_EXTLINUX_FDT:linux from a configuration file or a
bbappend for example.

Let's fix this by migrating it to the new syntax.

(From OE-Core rev: 585544b99c62d3e4edebd7c4e9225f70069a5176)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4dd9d873508128adbbf5ff6cf0a3df3d2ffbcf6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Siddharth Doshi
3f2a31ddc6 vim: Upgrade 9.0.2009 -> 9.0.2048
This includes CVE fix for CVE-2023-5535.

(From OE-Core rev: b385544941a4d974ab95b0a886031d5c9f3971ba)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Steve Sakoman
c408ffd972 cve-exclusion_6.1.inc: update for 6.1.57
(From OE-Core rev: b7c6d43fbe84de9732329deed627e94ba5974213)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Bruce Ashfield
731b04b33e linux-yocto/6.1: update to v6.1.57
Updating  to the latest korg -stable release that comprises
the following commits:

    082280fe94a0 Linux 6.1.57
    a4cc925e2e12 xen/events: replace evtchn_rwlock with RCU
    a4fcf8a242c6 ipv6: remove one read_lock()/read_unlock() pair in rt6_check_neigh()
    6e4c40aa270b btrfs: file_remove_privs needs an exclusive lock in direct io write
    ff81d1c77d08 netlink: remove the flex array from struct nlmsghdr
    6cd57f5c7795 btrfs: fix fscrypt name leak after failure to join log transaction
    6d05a1a7a484 btrfs: fix an error handling path in btrfs_rename()
    5aaa45025f9f vrf: Fix lockdep splat in output path
    fd32f1eee6c0 ipv6: remove nexthop_fib6_nh_bh()
    edeccce85cbe parisc: Restore __ldcw_align for PA-RISC 2.0 processors
    8226ffc759ea ksmbd: fix uaf in smb20_oplock_break_ack
    a2ca5fd3dbcc ksmbd: fix race condition between session lookup and expire
    64301a935462 x86/sev: Use the GHCB protocol when available for SNP CPUID requests
    76b6a980e85f RDMA/mlx5: Fix NULL string error
    26eb1307c704 RDMA/mlx5: Fix mutex unlocking on error flow for steering anchor creation
    5cf38e638e5d RDMA/siw: Fix connection failure handling
    2b298f918158 RDMA/srp: Do not call scsi_done() from srp_abort()
    c54204d7960f RDMA/uverbs: Fix typo of sizeof argument
    233229fa577a RDMA/cma: Fix truncation compilation warning in make_cma_ports
    39f701870114 RDMA/cma: Initialize ib_sa_multicast structure to 0 when join
    52b0bb7139c9 gpio: pxa: disable pinctrl calls for MMP_GPIO
    d09e467491b2 gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()
    7e47a8419da6 IB/mlx4: Fix the size of a buffer in add_port_entries()
    315ae630502c of: dynamic: Fix potential memory leak in of_changeset_action()
    9c480fb41aa4 RDMA/core: Require admin capabilities to set system parameters
    f60287b2d240 dm zoned: free dmz->ddev array in dmz_put_zoned_devices
    485f0bac83a6 parisc: Fix crash with nr_cpus=1 option
    c9c110ce3754 smb: use kernel_connect() and kernel_bind()
    ec02b892237d intel_idle: add Emerald Rapids Xeon support
    cdcc04e844a2 HID: intel-ish-hid: ipc: Disable and reenable ACPI GPE bit
    07c6338acb15 HID: sony: remove duplicate NULL check before calling usb_free_urb()
    40d609b6ad90 netlink: annotate data-races around sk->sk_err
    0915de8c6083 netlink: Fix potential skb memleak in netlink_ack
    1a6e2da05f37 netlink: split up copies in the ack construction
    220f0f866d69 sctp: update hb timer immediately after users change hb_interval
    63cb52e75fd1 sctp: update transport state when processing a dupcook packet
    419b2c5766fa tcp: fix delayed ACKs for MSS boundary condition
    4acf07bafb58 tcp: fix quick-ack counting to count actual ACKs of new data
    143e72757a90 tipc: fix a potential deadlock on &tx->lock
    f2697457ab73 net: stmmac: dwmac-stm32: fix resume on STM32 MCU
    da7fa17bd9ac ipv4: Set offload_failed flag in fibmatch results
    56a6ea76dd9b netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
    7ff9a9857b8b netfilter: nf_tables: Deduplicate nft_register_obj audit logs
    e1bbe4afe1a3 selftests: netfilter: Extend nft_audit.sh
    82273f15e3db selftests: netfilter: Test nf_tables audit logging
    00d35e6b1672 netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp
    6e1dbbf29031 ibmveth: Remove condition to recompute TCP header checksum.
    2428c557cd62 net: ethernet: ti: am65-cpsw: Fix error code in am65_cpsw_nuss_init_tx_chns()
    7562780e32b8 net: nfc: llcp: Add lock when modifying device list
    9ffc5018020f net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg
    7f042041360e ipv6: tcp: add a missing nf_reset_ct() in 3WHS handling
    a003d4994088 net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
    6a91ec7cfd0e ptp: ocp: Fix error handling in ptp_ocp_device_init
    f6a7182179c0 ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()
    a8ed1b2e1674 neighbour: fix data-races around n->output
    2b76aad68b30 neighbour: switch to standard rcu, instead of rcu_bh
    0526933c1005 neighbour: annotate lockless accesses to n->nud_state
    8904d8848b31 bpf: Add BPF_FIB_LOOKUP_SKIP_NEIGH for bpf_fib_lookup
    f82aac816287 net: fix possible store tearing in neigh_periodic_work()
    8ef7f9acbe8e modpost: add missing else to the "of" check
    b8f97e47b6fb bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets
    c024db960301 bpf, sockmap: Do not inc copied_seq when PEEK flag set
    46052a98854a bpf: tcp_read_skb needs to pop skb regardless of seq
    99fe9a120729 NFSv4: Fix a nfs4_state_manager() race
    23acd1784eb5 ima: rework CONFIG_IMA dependency block
    6c5d7f541693 scsi: target: core: Fix deadlock due to recursive locking
    f23c35f0686c ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig
    937ec4434e0a regulator/core: regulator_register: set device->class earlier
    fbac416e25ef iommu/mediatek: Fix share pgtable for iova over 4GB
    183e0f9da6af perf/x86/amd: Do not WARN() on every IRQ
    2f4e16e39e4f wifi: mac80211: fix potential key use-after-free
    89192c6cbe0f regmap: rbtree: Fix wrong register marked as in-cache when creating new node
    e485a69d9b44 perf/x86/amd/core: Fix overflow reset on hotplug
    6150d4596861 wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling
    b9eded289bea drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close()
    6bfc4c7043c8 Bluetooth: ISO: Fix handling of listen for unicast
    c201d944bc38 Bluetooth: Delete unused hci_req_prepare_suspend() declaration
    b46384a681a8 regulator: mt6358: split ops for buck and linear range LDO regulators
    a01576f58b19 regulator: mt6358: Use linear voltage helpers for single range regulators
    c6ac402567e4 regulator: mt6358: Drop *_SSHUB regulators
    163042a01544 bpf: Fix tr dereferencing
    c14c7214fc68 leds: Drop BUG_ON check for LED_COLOR_ID_MULTI
    6b706286473d wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
    42970d32fe1e wifi: cfg80211: add missing kernel-doc for cqm_rssi_work
    c797498e860e wifi: cfg80211: fix cqm_config access race
    3fcc6d7d5f40 wifi: cfg80211: add a work abstraction with special semantics
    2ae4585f740a wifi: cfg80211: move wowlan disable under locks
    fb195ff4183a wifi: cfg80211: hold wiphy lock in auto-disconnect
    6b3223449c95 wifi: iwlwifi: mvm: Fix a memory corruption issue
    78b5c62edeea wifi: iwlwifi: dbg_ini: fix structure packing
    6a5a8f0a9740 erofs: fix memory leak of LZMA global compressed deduplication
    91aeb418b917 ubi: Refuse attaching if mtd's erasesize is 0
    f237b17611fa HID: sony: Fix a potential memory leak in sony_probe()
    6e3ae2927b43 arm64: errata: Add Cortex-A520 speculative unprivileged load workaround
    0a4ae2634801 arm64: Add Cortex-A520 CPU part definition
    d2894c4f473a drm/amd: Fix logic error in sienna_cichlid_update_pcie_parameters()
    c8bd3e12b329 drm/amd: Fix detection of _PR3 on the PCIe root port
    fc8d9630c80b net: prevent rewrite of msg_name in sock_sendmsg()
    34f9370ae444 net: replace calls to sock->ops->connect() with kernel_connect()
    2dfb5f324d79 PCI: qcom: Fix IPQ8074 enumeration
    ebf2d9a7822b md/raid5: release batch_last before waiting for another stripe_head
    c404d39e7749 wifi: mwifiex: Fix tlv_buf_left calculation
    794ae3a9f8fe Bluetooth: hci_sync: Fix handling of HCI_QUIRK_STRICT_DUPLICATE_FILTER
    626535077ba9 Bluetooth: hci_codec: Fix leaking content of local_codecs
    01afbfb39585 qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info
    454bb54b8fe8 mptcp: userspace pm allow creating id 0 subflow
    4674e9626beb net: ethernet: mediatek: disable irq before schedule napi
    3a72decd6b49 vringh: don't use vringh_kiov_advance() in vringh_iov_xfer()
    c12ef025add7 iommu/vt-d: Avoid memory allocation in iommu_suspend()
    cdf18e75850f scsi: zfcp: Fix a double put in zfcp_port_enqueue()
    ef167cc1882f i40e: fix the wrong PTP frequency calculation
    a0829d9cf22e hwmon: (nzxt-smart2) add another USB ID
    6ddb9e6b9b6a hwmon: (nzxt-smart2) Add device id
    752ec2d93e75 block: fix use-after-free of q->q_usage_counter
    77d0e7e8e582 rbd: take header_rwsem in rbd_dev_refresh() only when updating
    698039a461a3 rbd: decouple parent info read-in from updating rbd_dev
    377d26174e1d rbd: decouple header read-in from updating rbd_dev->header
    33ecf5f5a876 rbd: move rbd_dev_refresh() definition
    ff09fa5f23aa iommu/arm-smmu-v3: Avoid constructing invalid range commands
    357ba59b9d3b iommu/arm-smmu-v3: Set TTL invalidation hint better
    71472872932b drm/amd/display: Adjust the MST resume flow
    b0fe37867455 arm64: cpufeature: Fix CLRBHB and BC detection
    b6912642746d net: release reference to inet6_dev pointer
    bad004c384b7 net: change accept_ra_min_rtr_lft to affect all RA lifetimes
    ec4162bb7018 net: add sysctl accept_ra_min_rtr_lft
    9d91134c165f arm64: Avoid repeated AA64MMFR1_EL1 register read on pagefault path
    dd8c8369305d Revert "NFSv4: Retry LOCK on OLD_STATEID during delegation return"
    ef54db5b5df7 btrfs: use struct fscrypt_str instead of struct qstr
    68ad364ec8dd btrfs: setup qstr from dentrys using fscrypt helper
    1cf474cd474b btrfs: use struct qstr instead of name and namelen pairs
    87efd87d3624 ring-buffer: Fix bytes info in per_cpu buffer stats
    62eed43e0390 ring-buffer: remove obsolete comment for free_buffer_page()
    836adaddc60c mm: page_alloc: fix CMA and HIGHATOMIC landing on the wrong buddy list
    d1da921452b3 mm/page_alloc: leave IRQs enabled for per-cpu page allocations
    570786ac6f04 mm/page_alloc: always remove pages from temporary list
    939189aedfac mm: mempolicy: keep VMA walk if both MPOL_MF_STRICT and MPOL_MF_MOVE are specified
    ce9f3441fc6a mm/mempolicy: convert migrate_page_add() to migrate_folio_add()
    dc0a8466cd11 mm/mempolicy: convert queue_pages_pte_range() to queue_folios_pte_range()
    6c2c728d299f mm/mempolicy: convert queue_pages_pmd() to queue_folios_pmd()
    6d6635749d4c mm/memory: add vm_normal_folio()
    89f2ace6d016 NFSv4: Fix a state manager thread deadlock regression
    80ba4fd1ac33 NFS: rename nfs_client_kset to nfs_kset
    15ff58702361 NFS: Cleanup unused rpc_clnt variable
    2f09a09d73cb ata: libata-scsi: Fix delayed scsi_rescan_device() execution
    f2b359e3a4f3 scsi: Do not attempt to rescan suspended devices
    5d3b0fcb3ca6 scsi: core: Improve type safety of scsi_rescan_device()
    deacabef6834 scsi: sd: Do not issue commands to suspended disks on shutdown
    8de6d8449ae9 scsi: sd: Differentiate system and runtime start/stop management
    dc3354c961ba ata,scsi: do not issue START STOP UNIT on resume
    078651647064 mptcp: process pending subflow error on close
    fc8917b79069 mptcp: move __mptcp_error_report in protocol.c
    c1432ece79e6 mptcp: annotate lockless accesses to sk->sk_err
    09b6fdf7a12e mptcp: fix dangling connection hang-up
    7544918e48e6 mptcp: rename timer related helper to less confusing names
    bbdfef76096d ASoC: tegra: Fix redundant PLLA and PLLA_OUT0 updates
    5f9d73761553 ASoC: soc-utils: Export snd_soc_dai_is_dummy() symbol
    1031f68108ea spi: zynqmp-gqspi: fix clock imbalance on probe failure

(From OE-Core rev: 61392049b50c12016f96693549482c758e9f8bd7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5e4241c9d5fee655f08e5e5ed82aa7bf24e2701a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Bruce Ashfield
5c5eecadd7 linux-yocto/6.1: tiny: fix arm 32 boot
Integrating the following commit(s) to linux-yocto/.:

    0816d0a6984 qemuarma15: add ARM_PATCH_PHYS_VIRT

(From OE-Core rev: 80dd08fb9685ae04e4c9f99d9dd32d9044efe8f2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 732d1ee4bc824cb52fab4327601efdb1558b6d9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Bruce Ashfield
2107d810d4 linux-yocto/6.1: update to v6.1.56
Updating  to the latest korg -stable release that comprises
the following commits:

    ecda77b46871 Linux 6.1.56
    8c515d4f2d66 ASoC: amd: yc: Fix a non-functional mic on Lenovo 82TL
    a3c1da448353 mm, memcg: reconsider kmem.limit_in_bytes deprecation
    b8901b6c2e9b memcg: drop kmem.limit_in_bytes
    ee335e0094ad drm/meson: fix memory leak on ->hpd_notify callback
    b60028c81e46 drm/amdkfd: Use gpu_offset for user queue's wptr
    48a22f13fb1b fs: binfmt_elf_efpic: fix personality for ELF-FDPIC
    69e61ee8ea8a power: supply: ab8500: Set typing and props
    c038ebffbb48 power: supply: rk817: Add missing module alias
    69dd84470b4d drm/i915/gt: Fix reservation address in ggtt_reserve_guc_top
    60d2e06ad6e3 ata: libata-sata: increase PMP SRST timeout to 10s
    886f387db1e6 ata: libata-core: Do not register PM operations for SAS ports
    5cfbe6da8354 ata: libata-core: Fix port and device removal
    0b7aaf2058ba ata: libata-core: Fix ata_port_request_pm() locking
    f555a508087a fs/smb/client: Reset password pointer to NULL
    1983fd78701a net: thunderbolt: Fix TCPv6 GSO checksum calculation
    4fb56e82d939 bpf: Fix BTF_ID symbol generation collision in tools/
    4f1e3e02777b bpf: Fix BTF_ID symbol generation collision
    b1041cab4726 bpf: Add override check to kprobe multi link attach
    09635bf4cdd4 media: uvcvideo: Fix OOB read
    d6a749e4cab2 btrfs: properly report 0 avail for very full file systems
    f3ad8874541d ring-buffer: Update "shortest_full" in polling
    6bacdb914a99 mm: memcontrol: fix GFP_NOFS recursion in memory.high enforcement
    a5569bb18752 mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()
    9a4fe81a8644 mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()
    68a63a077e02 arm64: defconfig: remove CONFIG_COMMON_CLK_NPCM8XX=y
    b29756aefe03 drm/tests: Fix incorrect argument in drm_test_mm_insert_range
    a90eafbf165f timers: Tag (hr)timer softirq as hotplug safe
    f32340c70eb9 Revert "SUNRPC dont update timeout value on connection reset"
    1e4c03d530d8 netfilter: nf_tables: fix kdoc warnings after gc rework
    49903f70d728 sched/rt: Fix live lock between select_fallback_rq() and RT push
    787256ec9b44 kernel/sched: Modify initial boot task idle setup
    afa2bbd682c7 ASoC: amd: yc: Fix non-functional mic on Lenovo 82QF and 82UG
    829ff08be566 i2c: i801: unregister tco_pdev in i801_probe() error path
    75c307d9f2fb io_uring/fs: remove sqe->rw_flags checking from LINKAT
    06fba8a8dea2 ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
    476fd029e700 ata: libata-scsi: link ata port and scsi device
    490f3b805ee3 LoongArch: numa: Fix high_memory calculation
    7bc8585aa071 LoongArch: Define relocation types for ABI v2.10
    f04ded9ae268 ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q
    9af8bb2afea3 netfilter: nf_tables: disallow rule removal from chain binding
    980663f1d189 nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
    e14f68a48fd4 serial: 8250_port: Check IRQ data before use
    c61d0b87a702 Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
    37435ddfadc6 misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe
    5d6613ed2b7d mptcp: fix bogus receive window shrinkage with multiple subflows
    00c27bffdba6 KVM: x86/mmu: Do not filter address spaces in for_each_tdp_mmu_root_yield_safe()
    cd41db6cb285 KVM: x86/mmu: Open code leaf invalidation from mmu_notifier
    733d7a5451fc KVM: SVM: Fix TSC_AUX virtualization setup
    e86a3a622633 KVM: SVM: INTERCEPT_RDTSCP is never intercepted anyway
    6ce2f297a716 x86/srso: Add SRSO mitigation for Hygon processors
    811ba2ef0cb6 x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race
    f90f4c562003 iommu/arm-smmu-v3: Fix soft lockup triggered by arm_smmu_mm_invalidate_range
    a09446ac0414 smack: Retrieve transmuting information in smack_inode_getsecurity()
    cbb16d0f4996 smack: Record transmuting in smk_transmuted
    4b8ef68e39d2 nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev
    1d7bc76b5849 scsi: qla2xxx: Fix NULL pointer dereference in target mode
    1a51d35ba729 wifi: ath11k: Don't drop tx_status when peer cannot be found
    a60768c05b58 nvme-pci: do not set the NUMA node of device if it has none
    6b2165cae403 nvme-pci: factor out a nvme_pci_alloc_dev helper
    69bc295d0e0b nvme-pci: factor the iod mempool creation into a helper
    9ebee88a8911 perf build: Define YYNOMEM as YYNOABORT for bison < 3.81
    8e85af2c682e fbdev/sh7760fb: Depend on FB=y
    f105e893a8ed LoongArch: Set all reserved memblocks on Node#0 at initialization
    146ba159f5a6 tsnep: Fix NAPI polling with budget 0
    78ac1e7dec24 tsnep: Fix NAPI scheduling
    b09c1359e4f0 net: hsr: Add __packed to struct hsr_sup_tlv.
    97788f0757bd ncsi: Propagate carrier gain/loss events to the NCSI controller
    c93aa8cfaec4 powerpc/watchpoints: Annotate atomic context in more places
    3632e9fd82d0 powerpc/watchpoint: Disable pagefaults when getting user instruction
    16722418cbe3 powerpc/watchpoints: Disable preemption in thread_change_pc()
    ee8bbb2a31d3 ASoC: SOF: Intel: MTL: Reduce the DSP init timeout
    3608be186ae5 NFSv4.1: fix zero value filehandle in post open getattr
    e9f05ae6f636 media: vb2: frame_vector.c: replace WARN_ONCE with a comment
    28c369324922 ASoC: imx-rpmsg: Set ignore_pmdown_time for dai_link
    1c88886587d3 memblock tests: fix warning ‘struct seq_file’ declared inside parameter list
    729757fe9718 memblock tests: fix warning: "__ALIGN_KERNEL" redefined
    53618d56bfe4 firmware: cirrus: cs_dsp: Only log list of algorithms in debug build
    110e6f575028 ASoC: cs42l42: Don't rely on GPIOD_OUT_LOW to set RESET initially low
    cbc43ddd5ce2 ASoC: cs42l42: Ensure a reset pulse meets minimum pulse width.
    019f01f81887 ALSA: hda: intel-sdw-acpi: Use u8 type for link index
    92f24f98d5ff bpf: Clarify error expectations from bpf_clone_redirect
    60446b5e7486 spi: intel-pci: Add support for Granite Rapids SPI serial flash
    12716449289e ASoC: fsl: imx-pcm-rpmsg: Add SNDRV_PCM_INFO_BATCH flag
    85ca138f922c spi: stm32: add a delay before SPI disable
    84592ec591be spi: nxp-fspi: reset the FLSHxCR1 registers
    d5ae9d9f0c41 ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
    2132ea3f9f5a smb3: correct places where ENOTSUPP is used instead of preferred EOPNOTSUPP
    2259e1901b2d scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command
    82f575a7e811 scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command
    6e392ff88476 riscv: errata: fix T-Head dcache.cva encoding
    91b6845ef387 drm/amdgpu: Handle null atom context in VBIOS info ioctl
    ad3c37f90bae drm/amdgpu/nbio4.3: set proper rmmio_remap.reg_offset for SR-IOV
    cca15a827907 drm/amdgpu/soc21: don't remap HDP registers for SR-IOV
    b9971393d4c9 drm/amd/display: Don't check registers, if using AUX BL control
    49bdfc83c74a thermal/of: add missing of_node_put()
    d6a68f163246 platform/x86: asus-wmi: Support 2023 ROG X16 tablet mode
    d1f916c6eb0c platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
    dfbcef80dda9 ata: sata_mv: Fix incorrect string length computation in mv_dump_mem()
    797d75bd575c net/smc: bugfix for smcr v2 server connect success statistic
    b08a4938229d ring-buffer: Do not attempt to read past "commit"
    baa1634bc936 selftests: fix dependency checker script
    45ad79c9cb50 btrfs: assert delayed node locked when removing delayed item
    11054f0b889f ring-buffer: Avoid softlockup in ring_buffer_resize()
    a687e817d814 selftests/ftrace: Correctly enable event in instance-event.tc
    5fb322df090e scsi: ufs: core: Poll HCS.UCRDY before issuing a UIC command
    81a6cdfcfd23 scsi: ufs: core: Move __ufshcd_send_uic_cmd() outside host_lock
    843348f9e4aa scsi: qedf: Add synchronization between I/O completions and abort
    655e9d209c06 parisc: irq: Make irq_stack_union static to avoid sparse warning
    8a2c2630e18d parisc: drivers: Fix sparse warning
    60caeaf090d5 parisc: iosapic.c: Fix sparse warnings
    632e0fcf409b parisc: sba: Fix compile warning wrt list of SBA devices
    be90c9e29dd5 nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid()
    36b29974a7ad spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain
    e15bb292b246 spi: sun6i: reduce DMA RX transfer width to single byte
    5685f8a6fae1 bpf: Annotate bpf_long_memcpy with data_race
    be8f49029eca dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lock
    89744b649144 ceph: drop messages from MDS when unmounting
    1375d9600c38 x86/reboot: VMCLEAR active VMCSes before emergency reboot
    85fafa7ef0ac i2c: npcm7xx: Fix callback completion ordering
    0d6c2f0942c3 gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
    e578a26084eb firmware: arm_ffa: Don't set the memory region attributes for MEM_LEND
    099cfc6e5d1b arm64: dts: imx: Add imx8mm-prt8mm.dtb to build
    328efccc7847 soc: imx8m: Enable OCOTP clock for imx8mm before reading registers
    aab681bcb13a selftests/powerpc: Fix emit_tests to work with run_kselftest.sh
    763f029f8c0f selftests/powerpc: Pass make context to children
    b9dc3d6b761d selftests/powerpc: Use CLEAN macro to fix make warning
    fe6406238d5a power: supply: rk817: Fix node refcount leak
    1005010b732b xtensa: boot/lib: fix function prototypes
    6438653ad1f2 xtensa: umulsidi3: fix conditional expression
    45661247d117 xtensa: boot: don't add include-dirs
    fca1b09645e5 xtensa: iss/network: make functions static
    b4e666fa38fd xtensa: add default definition for XCHAL_HAVE_DIV32
    7cad56459964 firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()
    33ed60d8b961 power: supply: ucs1002: fix error code in ucs1002_get_property()
    1ec48a9fac7d bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
    dd19672aaac4 ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot
    fe1379c0f61d ARM: dts: Unify pinctrl-single pin group nodes for omap4
    16455bed4f86 ARM: dts: Unify pwm-omap-dmtimer node names
    4ccb05618b4d ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4
    fe4da07a7f1b ARM: dts: omap: correct indentation
    ea4efaf54685 clk: tegra: fix error return case for recalc_rate
    efad31b6c062 clk: sprd: Fix thm_parents incorrect configuration
    1ea6975aa68a power: supply: mt6370: Fix missing error code in mt6370_chg_toggle_cfo()
    64adb41644fc firmware: arm_scmi: Fixup perf power-cost/microwatt support
    a135c8813815 firmware: arm_scmi: Harden perf domain info access
    3a21635aed62 bus: ti-sysc: Fix missing AM35xx SoC matching
    771eb7c3f3fb bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset()
    e6389d61b720 drm/bridge: ti-sn65dsi83: Do not generate HFP/HBP/HSA and EOT packet
    404b8bc41872 spi: spi-gxp: BUG: Correct spi write return value
    d3dc8acb60f8 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
    c01b2e0ee22e vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent()
    cca10592ffd5 btrfs: reset destination buffer when read_extent_buffer() gets invalid range
    cdfcaa4e8043 drm/amdkfd: Insert missing TLB flush on GFX10 and later
    9becfff9f91e drm/amdkfd: Flush TLB after unmapping for GFX v9.4.3
    52c7b41ad6ee scsi: qla2xxx: Use raw_smp_processor_id() instead of smp_processor_id()
    35c02a333d52 scsi: qla2xxx: Select qpair depending on which CPU post_cmd() gets called
    3a8ac77a70cc wifi: ath11k: Cleanup mac80211 references on failure during tx_complete
    1cccd28aa591 wifi: ath11k: fix tx status reporting in encap offload mode
    dc1ab6577475 arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved
    03b808058a88 s390/pkey: fix PKEY_TYPE_EP11_AES handling in PKEY_CLR2SECK2 IOCTL
    a84ac8995ac7 f2fs: get out of a repeat loop when getting a locked data page
    8b3b859bf8be f2fs: optimize iteration over sparse directories
    3134156e3421 ARM: dts: qcom: msm8974pro-castor: correct touchscreen syna,nosleep-mode
    064f57151dff ARM: dts: qcom: msm8974pro-castor: correct touchscreen function names
    21e5e3c3f71c ARM: dts: qcom: msm8974pro-castor: correct inverted X of touchscreen
    05951f5c26b4 ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size
    226590fbd967 ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
    70a1df9e0b44 i2c: xiic: Correct return value check for xiic_reinit()
    fb9cfb28bdde i2c: mux: gpio: Add missing fwnode_handle_put()
    976c8c1c4073 i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
    50a096aab61f gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
    908b3b5e97d2 cifs: Fix UAF in cifs_demultiplex_thread()
    7e4f49cd2bd7 proc: nommu: fix empty /proc/<pid>/maps
    1d45e6d9951d proc: nommu: /proc/<pid>/maps: release mmap read lock
    c5c9ee388723 igc: Expose tx-usecs coalesce setting to user
    cae59ae73106 octeontx2-pf: Do xdp_do_flush() after redirects.
    98ebbdefe490 bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI
    26f1829c8538 net: ena: Flush XDP packets on error.
    d64e738adc5c locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested()
    987a7f5311ba i915/pmu: Move execlist stats initialization to execlist specific setup
    ea5a61d58886 netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
    c4b0facd5c20 netfilter: nf_tables: disable toggling dormant table state more than once
    51fa66024a5e net: rds: Fix possible NULL-pointer dereference
    2f0acb0736ec team: fix null-ptr-deref when team device type is changed
    89f9f20b1cbd net: bridge: use DEV_STATS_INC()
    69d7eef31ee1 net: hns3: add 5ms delay before clear firmware reset irq source
    b1b85b3d767e net: hns3: fix fail to delete tc flower rules during reset issue
    d3f7af41de52 net: hns3: only enable unicast promisc when mac table full
    ed6a0b21b6ac net: hns3: fix GRE checksum offload issue
    430f18eed1c1 net: hns3: add cmdq check for vf periodic service task
    adbcec23c842 x86/srso: Fix SBPB enablement for spec_rstack_overflow=off
    755195b2d2df x86/srso: Fix srso_show_state() side effect
    7f301aa243b9 platform/x86: intel_scu_ipc: Fail IPC send if still busy
    b34121a8fec1 platform/x86: intel_scu_ipc: Don't override scu in intel_scu_ipc_dev_simple_command()
    962444595841 platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt()
    98a5a7f344fa platform/x86: intel_scu_ipc: Check status after timeout in busy_loop()
    8ef5cc6b4ef0 net: hsr: Properly parse HSRv1 supervisor frames.
    eef16bfdb212 x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()
    73be49248a04 dccp: fix dccp_v4_err()/dccp_v6_err() again
    c2019f0a6816 powerpc/perf/hv-24x7: Update domain value check
    5734d22c9ea0 scsi: iscsi_tcp: restrict to TCP sockets
    2712545e535d ipv4: fix null-deref in ipv4_link_failure
    54228157fb57 igc: Fix infinite initialization loop with early XDP redirect
    40b5032c9951 ionic: fix 16bit math issue when PAGE_SIZE >= 64KB
    f2c6e5945da5 netfilter, bpf: Adjust timeouts of non-confirmed CTs in bpf_ct_insert_entry()
    d98bad2998fd i40e: Fix VF VLAN offloading when port VLAN is configured
    0546cd573404 iavf: schedule a request immediately after add/delete vlan
    00bbedbd7c5a iavf: add iavf_schedule_aq_request() helper
    16fd3c37d1ca ASoC: SOF: core: Only call sof_ops_free() on remove if the probe was successful
    211aac2ef6ff iavf: do not process adminq tasks when __IAVF_IN_REMOVE_TASK is set
    65976385d49f octeon_ep: fix tx dma unmap len values in SG
    66823a9025bc ASoC: imx-audmix: Fix return error with devm_clk_get()
    ee79256b1615 ASoC: hdaudio.c: Add missing check for devm_kstrdup
    488ea2a3e266 net/core: Fix ETH_P_1588 flow dissector
    bf560c8a83ca selftests: tls: swap the TX and RX sockets in some tests
    f5a75b3d31d3 netfilter: conntrack: fix extension size table
    09424e88126e ALSA: hda/realtek: Splitting the UX3402 into two separate models
    1698854b03a5 ASoC: rt5640: Fix IRQ not being free-ed for HDA jack detect mode
    293e4920f715 ASoC: rt5640: Revert "Fix sleep in atomic context"
    e388671635ac bpf: Avoid deadlock when using queue and stack maps from NMI
    1e01b127685f netfilter: nf_tables: disallow element removal on anonymous sets
    7a7fd891022a ASoC: meson: spdifin: start hw on dai probe
    7e5d732e6902 netfilter: nf_tables: fix memleak when more than 255 elements expired
    be4fbbbcd2f2 netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
    973288e9d988 netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails
    8c643a8e040d netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
    92b4b4bde940 netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
    9a8c544158f6 netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
    a42ac74c9666 netfilter: nf_tables: defer gc run if previous batch is still pending
    620e594be334 netfilter: nf_tables: use correct lock to protect gc_list
    5d319f7a8143 netfilter: nf_tables: GC transaction race with abort path
    afa584c35065 netfilter: nf_tables: GC transaction race with netns dismantle
    41113aa5698a netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
    59ee68c437c5 netfilter: nf_tables: don't fail inserts if duplicate has expired
    0b9af4860a61 netfilter: nf_tables: remove busy mark and gc batch API
    4ead4f74b3a9 netfilter: nft_set_hash: mark set element as dead when deleting from packet path
    df650d6a4bf4 netfilter: nf_tables: adapt set backend to use GC transaction API
    ea3eb9f2192e netfilter: nf_tables: GC transaction API to avoid race with control plane
    59dab3bf0b8f netfilter: nf_tables: don't skip expired elements during walk
    6bb88a0344c0 ext4: do not let fstrim block system suspend
    b4d5db1c77fa ext4: move setting of trimmed bit into ext4_try_to_trim_range()
    1e3c25df7d40 ext4: replace the traditional ternary conditional operator with with max()/min()
    39c4a9522db0 btrfs: remove BUG() after failure to insert delayed dir index item
    0d1a761dec22 btrfs: improve error message after failure to add delayed dir index item
    dbf1a7198505 dm: fix a race condition in retrieve_deps
    df9950d37df1 netfs: Only call folio_start_fscache() one time for each folio
    2d9757480b43 media: via: Use correct dependency for camera sensor drivers
    ae68541d5285 media: v4l: Use correct dependency for camera sensor drivers
    a997d583571b NFSv4.1: fix pnfs MDS=DS session trunking
    f86a2c2ea085 NFSv4.1: use EXCHGID4_FLAG_USE_PNFS_DS for DS server
    839e07de9a0a SUNRPC: Mark the cred for revalidation if the server rejects it
    13acbca81eee NFS/pNFS: Report EINVAL errors from connect() to the server
    edd1f0614510 NFS: More fixes for nfs_direct_write_reschedule_io()
    d4729af1c73c NFS: Use the correct commit info in nfs_join_page_group()
    1f49386d6779 NFS: More O_DIRECT accounting fixes for error paths
    4d98038e5bd9 NFS: Fix O_DIRECT locking issues
    f16fd0b11f0f NFS: Fix error handling for O_DIRECT write scheduling

(From OE-Core rev: c7fa56add3c55d17f1b2242602d9833461e14b7c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5d66067b39e7f9d442d44d8025fe20a0fa7efba7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Bruce Ashfield
781b36e2c0 linux-yocto/6.1: update to v6.1.55
Updating  to the latest korg -stable release that comprises
the following commits:

    d23900f974e0 Linux 6.1.55
    0db211ec0f1d interconnect: Teach lockdep about icc_bw_lock order
    b93aeb6352b0 net/sched: Retire rsvp classifier
    4c6bb9158179 drm/amdgpu: fix amdgpu_cs_p1_user_fence
    45ea58f9dbf8 Revert "memcg: drop kmem.limit_in_bytes"
    4422080e777e drm/amd/display: fix the white screen issue when >= 64GB DRAM
    97d4186c3503 ext4: fix rec_len verify error
    89365b624af5 scsi: pm8001: Setup IRQs on resume
    c2cb422dca0b scsi: megaraid_sas: Fix deadlock on firmware crashdump
    890e1e5dd8ba ata: libahci: clear pending interrupt status
    a3517ee1d4e6 ata: libata: disallow dev-initiated LPM transitions to unsupported states
    30057f4add41 i2c: aspeed: Reset the i2c controller when timeout occurs
    8b0f7d55b22e tracefs: Add missing lockdown check to tracefs_create_dir()
    dcf3caeee432 nfsd: fix change_info in NFSv4 RENAME replies
    978b86fbdb2a selinux: fix handling of empty opts in selinux_fs_context_submount()
    2617afde0c3d tracing: Have option files inc the trace array ref count
    6dc57c3a1d13 tracing: Have current_trace inc the trace array ref count
    a46bf337a20f tracing: Increase trace array ref count on enable and filter files
    0c2982b01501 tracing: Have event inject files inc the trace array ref count
    d65553fe5281 tracing: Have tracing_max_latency inc the trace array ref count
    1f89e6daf2b0 btrfs: check for BTRFS_FS_ERROR in pending ordered assert
    50e385d98b2a btrfs: release path before inode lookup during the ino lookup ioctl
    52932bbc6d4b btrfs: fix a compilation error if DEBUG is defined in btree_dirty_folio
    32247b9526bf btrfs: fix lockdep splat and potential deadlock after failure running delayed items
    d7b2abd87d1f dm: don't attempt to queue IO under RCU protection
    216eae7d7dea Revert "drm/amd: Disable S/G for APUs when 64GB or more host memory"
    98ea94f1627b md: Put the right device in md_seq_next
    f07c0bc27b0e nvme: avoid bogus CRTO values
    6a1d1365fafe io_uring/net: fix iter retargeting for selected buf
    e7dcf8339a0f ovl: fix incorrect fdput() on aio completion
    17854d92fa4a ovl: fix failed copyup of fileattr on a symlink
    6a84939cc7dd attr: block mode changes of symlinks
    3494a0066d8a Revert "SUNRPC: Fail faster on bad verifier"
    ba4f28a1d362 md/raid1: fix error: ISO C90 forbids mixed declarations
    2076b4b677c3 samples/hw_breakpoint: fix building without module unloading
    0dea06849924 x86/purgatory: Remove LTO flags
    2074cb608cb5 x86/boot/compressed: Reserve more memory for page tables
    038249ee7264 panic: Reenable preemption in WARN slowpath
    6069b9d8056d scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
    1cd41d1669bc scsi: target: core: Fix target_cmd_counter leak
    dd8fce4e2da5 riscv: kexec: Align the kexeced kernel entry
    e9b8e266105a x86/ibt: Suppress spurious ENDBR
    03425393f41c selftests: tracing: Fix to unmount tracefs for recovering environment
    bc912eed8a1a scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
    cbf226355ee3 drm: gm12u320: Fix the timeout usage for usb_bulk_msg()
    64561352c0f2 nvmet-tcp: pass iov_len instead of sg->length to bvec_set_page()
    5ee5c928dbb6 nvmet: use bvec_set_page to initialize bvecs
    00cf1dc13c1f block: factor out a bvec_set_page helper
    2174731a17b0 btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
    31242daa108b btrfs: add a helper to read the superblock metadata_uuid
    44751b057c24 MIPS: Use "grep -E" instead of "egrep"
    8332311cd02a misc: fastrpc: Fix incorrect DMA mapping unmap request
    5a5641755ca8 misc: fastrpc: Prepare to dynamic dma-buf locking specification
    b4539ff7a48d dma-buf: Add unlocked variant of attachment-mapping functions
    6ca28642dd9a printk: Consolidate console deferred printing
    13ebf3ff08b0 printk: Keep non-panic-CPUs out of console lock
    ee42bfc791aa interconnect: Fix locking for runpm vs reclaim
    48aebbe801e7 kobject: Add sanity check for kset->kobj.ktype in kset_register()
    240571c49f76 media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
    91f400233edc usb: chipidea: add workaround for chipidea PEC bug
    8e3556f2f497 usb: ehci: add workaround for chipidea PORTSC.PEC bug
    48c135c30ad2 misc: open-dice: make OPEN_DICE depend on HAS_IOMEM
    a3c9315a8c78 serial: cpm_uart: Avoid suspicious locking
    4738bf8b2d36 scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
    6c440fec96af tools: iio: iio_generic_buffer: Fix some integer type and calculation
    826e9c91a203 usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
    bbc9c3652708 usb: cdns3: Put the cdns set active part outside the spin lock
    96a0bf5827e7 media: pci: cx23885: replace BUG with error return
    257092cb544c media: tuners: qt1010: replace BUG_ON with a regular error
    b2a019ec8b33 scsi: lpfc: Abort outstanding ELS cmds when mailbox timeout error is detected
    dfcd3c010209 media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer
    6ab7ea4e17d6 media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
    14b94154a723 media: anysee: fix null-ptr-deref in anysee_master_xfer
    abb6fd93e05e media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
    08dfcbd03b2b media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
    0143f282b15f media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
    8ba9d91c8f21 media: mdp3: Fix resource leaks in of_find_device_by_node
    b78796126f80 PCI: fu740: Set the number of MSI vectors
    9318c3ae155b PCI: vmd: Disable bridge window for domain reset
    96f27ff73220 powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
    ee378f45a70d ARM: 9317/1: kexec: Make smp stop calls asynchronous
    09066c19d945 PCI: dwc: Provide deinit callback for i.MX
    4de3a603010e jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
    2f7a36448f51 fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
    035bc86fbf2b ext2: fix datatype of block number in ext2_xattr_set2()
    4f7d853b4590 md: raid1: fix potential OOB in raid1_remove_disk()
    4e547968a6e4 bus: ti-sysc: Configure uart quirks for k3 SoC
    4c743c1dd2ee drm/mediatek: dp: Change logging to dev for mtk_dp_aux_transfer()
    edddbdb8122e drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
    a101b1bdd24a drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN314
    2c0f5b6972eb drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN31
    506d2ee72af2 drm/amd/display: Use DTBCLK as refclk instead of DPREFCLK
    2d027da82a96 ALSA: hda: intel-dsp-cfg: add LunarLake support
    cc4553c14fbb ASoC: Intel: sof_sdw: Update BT offload config for soundwire config
    d843bcc7adc9 ASoC: SOF: topology: simplify code to prevent static analysis warnings
    2ec715bf8816 drm/amd/display: Fix underflow issue on 175hz timing
    4630c27c5529 samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
    306c7903de14 arm64: dts: qcom: sm8250-edo: correct ramoops pmsg-size
    41ff904a7c46 arm64: dts: qcom: sm8150-kumano: correct ramoops pmsg-size
    23f9d0c67199 arm64: dts: qcom: sm6350: correct ramoops pmsg-size
    03499a685773 arm64: dts: qcom: sm6125-pdx201: correct ramoops pmsg-size
    766cc11e854e drm/edid: Add quirk for OSVR HDK 2.0
    8178dac6ee2c drm/bridge: tc358762: Instruct DSI host to generate HSE packets
    d5feaef143b6 libbpf: Free btf_vmlinux when closing bpf_object
    b9a175e3b250 wifi: mac80211_hwsim: drop short frames
    7e1cda5cf07f wifi: mac80211: check for station first in client probe
    d7b0fe3487d2 wifi: cfg80211: ocb: don't leave if not joined
    676a42341013 wifi: cfg80211: reject auth/assoc to AP with our address
    28b07e30bc14 netfilter: ebtables: fix fortify warnings in size_entry_mwt()
    7ae7a1378a11 wifi: mac80211: check S1G action frame size
    1c27b73ffa90 alx: fix OOB-read compiler warning
    a13c1f6c324a mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
    b62e8838e988 tpm_tis: Resend command to recover from data transfer errors
    c2b226f223fb netlink: convert nlk->flags to atomic flags
    06e2b5ad72b6 Bluetooth: Fix hci_suspend_sync crash
    d3ad023a39f1 crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
    e5d94c98a72f net/ipv4: return the real errno instead of -EINVAL
    d5372a1f0cdf net: Use sockaddr_storage for getsockopt(SO_PEERNAME).
    ab0ae0af0a2d can: sun4i_can: Add support for the Allwinner D1
    4eb79abf910a can: sun4i_can: Add acceptance register quirk
    f04b40cb70a5 wifi: wil6210: fix fortify warnings
    5c8bbb79c7cb mt76: mt7921: don't assume adequate headroom for SDIO headers
    4f621fe1acac wifi: mwifiex: fix fortify warning
    2640a8e54f84 wifi: ath9k: fix printk specifier
    1800a27a3dba wifi: ath9k: fix fortify warnings
    5760a72b3060 ice: Don't tx before switchdev is fully configured
    ad58d7ebbf93 crypto: lrw,xts - Replace strlcpy with strscpy
    ac70101e5b94 devlink: remove reload failed checks in params get/set callbacks
    a0300edca5df selftests/nolibc: fix up kernel parameters support
    1ea7e4780727 ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
    dc1d81ee9312 hw_breakpoint: fix single-stepping when using bpf_overflow_handler
    d42d342d3132 perf/imx_ddr: speed up overflow frequency of cycle
    9d9b5cbc12f4 perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
    4cb0612cf260 ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
    9f10b4eb1b21 scftorture: Forgive memory-allocation failure if KASAN
    83ed0cdb6ae0 rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()
    3b1107abdc2c kernel/fork: beware of __put_task_struct() calling context
    e1f686930ee4 ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
    34bff6d85001 locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
    28062cd6eda0 btrfs: output extra debug info if we failed to find an inline backref
    726deae613bc autofs: fix memory leak of waitqueues in autofs_catatonic_mode
    a356197db198 Linux 6.1.54
    77b49370a261 drm/amd/display: Fix a bug when searching for insert_above_mpcc
    3ce9925584c6 MIPS: Only fiddle with CHECKFLAGS if `need-compiler'
    e5b28ce127a6 kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().
    a47db2caae27 ixgbe: fix timestamp configuration code
    6f0d85d501ab tcp: Fix bind() regression for v4-mapped-v6 non-wildcard address.
    63830afece93 tcp: Fix bind() regression for v4-mapped-v6 wildcard address.
    489ced24c7ca tcp: Factorise sk_family-independent comparison in inet_bind2_bucket_match(_addr_any).
    82f9af464e01 ipv6: Remove in6addr_any alternatives.
    8b6556c4c4e3 ipv6: fix ip6_sock_set_addr_preferences() typo
    d5d315cf7687 net: macb: fix sleep inside spinlock
    7aa720c350c7 net: macb: Enable PTP unicast
    7f4116c6f984 net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()
    f72497c521c9 platform/mellanox: NVSW_SN2201 should depend on ACPI
    9d392695f323 platform/mellanox: mlxbf-pmc: Fix reading of unprogrammed events
    3f16330a4869 platform/mellanox: mlxbf-pmc: Fix potential buffer overflows
    3a45dcfb4d3c platform/mellanox: mlxbf-tmfifo: Drop jumbo frames
    30c8bbe1edba platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors
    16989de75497 kcm: Fix memory leak in error path of kcm_sendmsg()
    2323397e5877 r8152: check budget for r8152_poll()
    44c8ffd482cc net: dsa: sja1105: block FDB accesses that are concurrent with a switch reset
    e74bd1b229cb net: dsa: sja1105: serialize sja1105_port_mcast_flood() with other FDB accesses
    d766cf9ddb97 net: dsa: sja1105: fix multicast forwarding working only for last added mdb entry
    538e7fe66c46 net: dsa: sja1105: propagate exact error code from sja1105_dynamic_config_poll_valid()
    9a3e7eca2b5b net: dsa: sja1105: hide all multicast addresses from "bridge fdb show"
    66e79c2f3a93 net:ethernet:adi:adin1110: Fix forwarding offload
    c281948cebcc net: ethernet: adi: adin1110: use eth_broadcast_addr() to assign broadcast address
    61866f7d814e hsr: Fix uninit-value access in fill_frame_info()
    ff5faed5f548 net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
    349638f7e5d3 net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
    9dbbc87d5b61 net: stmmac: fix handling of zero coalescing tx-usecs
    70c8d17007dc net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add
    ef5d546b9d4f selftests: Keep symlinks, when possible
    cdd61a27fb0a kselftest/runner.sh: Propagate SIGTERM to runner child
    980f84454798 net: ipv4: fix one memleak in __inet_del_ifa()
    9acb294ebdfe kunit: Fix wild-memory-access bug in kunit_free_suite_set()
    cb30ff2adb10 drm/amdgpu: register a dirty framebuffer callback for fbcon
    b53fee19ec5e drm/amd/display: Remove wait while locked
    2d7a6fcb1f23 drm/amd/display: always switch off ODM before committing more streams
    c29bfda64b44 perf hists browser: Fix the number of entries for 'e' key
    f4618f131629 perf tools: Handle old data in PERF_RECORD_ATTR
    be69e8c8f5c2 perf test shell stat_bpf_counters: Fix test on Intel
    cb0940640d51 perf hists browser: Fix hierarchy mode header
    ec5409612255 MIPS: Fix CONFIG_CPU_DADDI_WORKAROUNDS `modules_install' regression
    60b5ef4cf82c KVM: SVM: Skip VMSA init in sev_es_init_vmcb() if pointer is NULL
    12645e623f28 KVM: SVM: Set target pCPU during IRTE update if target vCPU is running
    5b2b0535fa7a KVM: nSVM: Load L1's TSC multiplier based on L1 state, not L2 state
    6c1ecfea1daf KVM: nSVM: Check instead of asserting on nested TSC scaling support
    5c18ace750e4 KVM: SVM: Get source vCPUs from source VM for SEV-ES intrahost migration
    ba82001e4118 KVM: SVM: Don't inject #UD if KVM attempts to skip SEV guest insn
    3988692acc92 KVM: SVM: Take and hold ir_list_lock when updating vCPU's Physical ID entry
    ff536a96687c drm/amd/display: prevent potential division by zero errors
    e1769b1dfcae drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
    3388ca3a38a5 mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
    31d42146fa6f mtd: rawnand: brcmnand: Fix potential false time out warning
    7c6ba20a0b9a mtd: spi-nor: Correct flags for Winbond w25q128
    45fe4ad7f439 mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
    a7e118fcc8b4 mtd: rawnand: brcmnand: Fix crash during the panic_write
    8bf2d4ca521d drm/mxsfb: Disable overlay plane in mxsfb_plane_overlay_atomic_disable()
    09974a1352d3 btrfs: use the correct superblock to compare fsid in btrfs_validate_super
    b692f7d1576b btrfs: zoned: re-enable metadata over-commit for zoned mode
    08daa38ca212 btrfs: set page extent mapped after read_folio in relocate_one_page
    91f6a538d625 btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART
    f933a1c43b68 btrfs: free qgroup rsv on io failure
    cdc3ba292df8 btrfs: fix start transaction qgroup rsv double free
    59c38f050d9b btrfs: zoned: do not zone finish data relocation block group
    ef819c2f8e8a fuse: nlookup missing decrement in fuse_direntplus_link
    6694be119f63 ata: pata_ftide010: Add missing MODULE_DESCRIPTION
    ae73b94ad771 ata: sata_gemini: Add missing MODULE_DESCRIPTION
    1605f2709017 ata: pata_falcon: fix IO base selection for Q40
    cdd0d707357c ata: ahci: Add Elkhart Lake AHCI controller
    e93bc372dbc0 hwspinlock: qcom: add missing regmap config for SFPB MMIO implementation
    0649dc0af93a lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix()
    980b592c6087 f2fs: avoid false alarm of circular locking
    1c64dbe8fa35 f2fs: flush inode if atomic file is aborted
    1fb3f1bbfdb5 ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup}
    03393857a95b ext4: add correct group descriptors and reserved GDT blocks to system zone
    20108975ec51 jbd2: correct the end of the journal recovery scan range
    dbafe636db41 jbd2: check 'jh->b_transaction' before removing it from checkpoint
    c5f23305f8b1 jbd2: fix checkpoint cleanup performance regression
    6ea18981bb8a dmaengine: sh: rz-dmac: Fix destination and source data size setting
    de43bc17987d clocksource/drivers/arm_arch_timer: Disable timer before programming CVAL
    f2953184bf19 ARC: atomics: Add compiler barrier to atomic operations...
    8eea0afbcc9d net/mlx5: Free IRQ rmap and notifier on kernel shutdown
    017a05805368 Multi-gen LRU: avoid race in inc_min_seq()
    69561478400c sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()
    9cd5cf0bfeaf net: hns3: remove GSO partial feature bit
    136806771864 net: hns3: fix the port information display when sfp is absent
    9bd9afd55c52 net: hns3: fix invalid mutex between tc qdisc and dcb ets command issue
    d76436e26943 net: hns3: fix debugfs concurrency issue between kfree buffer and read
    b5087697130a net: hns3: fix byte order conversion issue in hclge_dbg_fd_tcam_read()
    5c28780f4232 net: hns3: fix tx timeout issue
    7bb8d52b4271 netfilter: nfnetlink_osf: avoid OOB read
    d9ebfc0f2137 netfilter: nftables: exthdr: fix 4-byte stack OOB write
    6cf0d1d5a50b bpf: Assign bpf_tramp_run_ctx::saved_run_ctx before recursion check.
    04f92e67b35d bpf: Invoke __bpf_prog_exit_sleepable_recur() on recursion in kern_sys_bpf().
    a12f15d1f863 bpf: Remove prog->active check for bpf_lsm and bpf_iter
    5f09b79e99ad net: dsa: sja1105: complete tc-cbs offload support on SJA1110
    ec9f203ad7f3 net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times
    483f0e3975df net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload
    54b59bc18d19 ip_tunnels: use DEV_STATS_INC()
    175f290dc937 idr: fix param name in idr_alloc_cyclic() doc
    147d8da33a2c s390/zcrypt: don't leak memory if dev_set_name() fails
    ccb048dae8ff igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
    74b98c61c9c6 igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
    30acc4f954a0 igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
    e2e2c839d827 octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler
    e30388b80d23 kcm: Destroy mutex in kcm_exit_net()
    a18349dc8d91 net: sched: sch_qfq: Fix UAF in qfq_dequeue()
    2100bbf55e56 af_unix: Fix data race around sk->sk_err.
    ce3aa88ceccd af_unix: Fix data-races around sk->sk_shutdown.
    2d8933ca863e af_unix: Fix data-race around unix_tot_inflight.
    b9cdbb38e030 af_unix: Fix data-races around user->unix_inflight.
    923877254f00 bpf, sockmap: Fix skb refcnt race after locking changes
    71fb38b222cf net: phy: micrel: Correct bit assignments for phy_device flags
    aa8fd3a63691 net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
    e752860bbc3c veth: Fixing transmit return status for dropped packets
    a47ad6d226dc gve: fix frag_list chaining
    24b1e835db34 igb: disable virtualization features on 82580
    7ddfe350e255 ipv6: ignore dst hint for multipath routes
    0b2ee66411fe ipv4: ignore dst hint for multipath routes
    b7d25ac3627a mptcp: annotate data-races around msk->rmem_fwd_alloc
    787c5829681b net: annotate data-races around sk->sk_forward_alloc
    f1175881ddd9 net: use sk_forward_alloc_get() in sk_get_meminfo()
    bd9bd085c681 drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt()
    2b7510bb92c1 drm/i915/gvt: Put the page reference obtained by KVM's gfn_to_pfn()
    f5738399ed96 drm/i915/gvt: Verify pfn is "valid" before dereferencing "struct page"
    6436973164ea xsk: Fix xsk_diag use-after-free error during socket cleanup
    d92c34348b37 net: fib: avoid warn splat in flow dissector
    9036b6342fcd net: read sk->sk_family once in sk_mc_loop()
    5aaa7ee23203 ipv4: annotate data-races around fi->fib_dead
    471f534971d9 sctp: annotate data-races around sk->sk_wmem_queued
    f39b49077abe net/sched: fq_pie: avoid stalls in fq_pie_timer()
    47f72ee50226 smb: propagate error code of extract_sharename()
    60e3318e3e90 cifs: use fs_context for automounts
    84d577923450 blk-throttle: consider 'carryover_ios/bytes' in throtl_trim_slice()
    fd2420905c8e blk-throttle: use calculate_io/bytes_allowed() for throtl_trim_slice()
    8017a27cec32 drm/i915: mark requests for GuC virtual engines to avoid use-after-free
    0686336f7383 perf test stat_bpf_counters_cgrp: Enhance perf stat cgroup BPF counter test
    66b23e7b0822 perf test stat_bpf_counters_cgrp: Fix shellcheck issue about logical operators
    523f6268e865 pwm: lpc32xx: Remove handling of PWM channels
    fa5392873639 watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
    032cd8ce89a4 perf top: Don't pass an ERR_PTR() directly to perf_session__delete()
    adeb9f392d07 perf vendor events: Drop STORES_PER_INST metric event for power10 platform
    6ade9094b477 perf vendor events: Drop some of the JSON/events for power10 platform
    b7cbcafb6d04 perf vendor events: Update the JSON/events descriptions for power10 platform
    6a43e0d62311 x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
    6522397e7502 perf annotate bpf: Don't enclose non-debug code with an assert()
    e62e740009cc Input: tca6416-keypad - fix interrupt enable disbalance
    a7345501a3bd Input: tca6416-keypad - always expect proper IRQ number in i2c client
    d7add2001991 backlight: gpio_backlight: Drop output GPIO direction check for initial power state
    9de7eb95bbe8 pwm: atmel-tcb: Fix resource freeing in error path and remove
    c42256a283d6 pwm: atmel-tcb: Harmonize resource allocation order
    b9734e8505bd pwm: atmel-tcb: Convert to platform remove callback returning void
    62dd514c34be perf trace: Really free the evsel->priv area
    e5dee8222d7c perf trace: Use zfree() to reduce chances of use after free
    eb17c3d0055b Input: iqs7222 - configure power mode before triggering ATI
    8ab594223950 kconfig: fix possible buffer overflow
    39c29d075352 mailbox: qcom-ipcc: fix incorrect num_chans counting
    36201d559b47 gfs2: low-memory forced flush fixes
    694e43f22c5b gfs2: Switch to wait_event in gfs2_logd
    c4807163e2d4 tpm_crb: Fix an error handling path in crb_acpi_add()
    46d3bc902b03 kbuild: do not run depmod for 'make modules_sign'
    390275d7a863 kbuild: rpm-pkg: define _arch conditionally
    31cf7853a940 net: deal with integer overflows in kmalloc_reserve()
    2b39866f0a38 net: factorize code in kmalloc_reserve()
    36974c3a5438 net: remove osize variable in __alloc_skb()
    5f7676fdaf42 net: add SKB_HEAD_ALIGN() helper
    8b4d0f3890c8 bus: mhi: host: Skip MHI reset if device is in RDDM
    fd9a8ad2cfa7 NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
    dac14a1dbe20 NFS: Fix a potential data corruption
    1bb9546c7aed clk: qcom: mss-sc7180: fix missing resume during probe
    017e60a215d8 clk: qcom: q6sstop-qcs404: fix missing resume during probe
    eab2ece5e4b5 clk: qcom: lpasscc-sc7280: fix missing resume during probe
    5310f712157a clk: qcom: dispcc-sm8450: fix runtime PM imbalance on probe errors
    f6250ecb7fbb soc: qcom: qmi_encdec: Restrict string length in decode
    c4e1204bd714 clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock
    5b3b0f7f7363 clk: imx: pll14xx: align pdiv with reference manual
    871244f8efe8 clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz
    311db21d4a1f dt-bindings: clock: xlnx,versal-clk: drop select:false
    54e5ff4af78b pinctrl: cherryview: fix address_space_handler() argument
    9c8fc05bd4d0 cifs: update desired access while requesting for directory lease
    db5d5673ab7e parisc: led: Reduce CPU overhead for disk & lan LED computation
    ff2c44f0118d parisc: led: Fix LAN receive and transmit LEDs
    421855d0d24d lib/test_meminit: allocate pages up to order MAX_ORDER
    84a212a72c84 mm: hugetlb_vmemmap: fix a race between vmemmap pmd split
    21ef9e11205f memcg: drop kmem.limit_in_bytes
    0f7339056893 send channel sequence number in SMB3 requests after reconnects
    22ec50d7b524 arm64: dts: renesas: rzg2l: Fix txdv-skew-psec typos
    df2d596e7e9c clk: qcom: turingcc-qcs404: fix missing resume during probe
    b83ae66d8265 ASoC: tegra: Fix SFC conversion for few rates
    3c9881fd220a drm/ast: Fix DRAM init on AST2200
    c0341bddd6cc clk: qcom: camcc-sc7180: fix async resume during probe
    f83c1b13f815 fbdev/ep93xx-fb: Do not assign to struct fb_info.dev
    a0b4a0666bea null_blk: fix poll request timeout handling
    f55797084931 scsi: qla2xxx: Fix firmware resource tracking
    3a9d4db2d2e0 scsi: qla2xxx: Error code did not return to upper layer
    c7355cbb9c1b scsi: qla2xxx: Fix smatch warn for qla_init_iocb_limit()
    974887e1d689 scsi: qla2xxx: Flush mailbox commands on chip reset
    98643561d853 scsi: qla2xxx: Remove unsupported ql2xenabledif option
    1f0e3814adc7 scsi: qla2xxx: Fix TMF leak through
    e6aabf0654cc scsi: qla2xxx: Fix session hang in gnl
    addaa136f10b scsi: qla2xxx: Turn off noisy message log
    01e3440ce021 scsi: qla2xxx: Fix erroneous link up failure
    ddb8fa05981c scsi: qla2xxx: Fix command flush during TMF
    6e44a7e2a0bc scsi: qla2xxx: fix inconsistent TMF timeout
    cd06c45b326e scsi: qla2xxx: Fix deletion race condition
    820010cfe5f8 scsi: qla2xxx: Limit TMF to 8 per function
    faf7e224b4fa scsi: qla2xxx: Adjust IOCB resource on qpair create
    98d3e7c5f757 drm/virtio: Conditionally allocate virtio_gpu_fence
    3e8b9b06de9d io_uring: Don't set affinity on a dying sqpoll thread
    9704cfcf1fa9 io_uring/sqpoll: fix io-wq affinity when IORING_SETUP_SQPOLL is used
    605d055452e7 io_uring: break out of iowq iopoll on teardown
    b04f22b68643 io_uring/net: don't overflow multishot accept
    5afbf7fdb730 io_uring: revert "io_uring fix multishot accept ordering"
    fd459200ff81 io_uring: always lock in io_apoll_task_func
    f36791596176 Multi-gen LRU: fix per-zone reclaim
    a73d04c46052 mm: multi-gen LRU: rename lrugen->lists[] to lrugen->folios[]
    7164d74aae1c net/ipv6: SKB symmetric hash should incorporate transport ports

(From OE-Core rev: 282e9a1fbedec54a3879323bf5f67a4a6ac3a376)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7efd25c9e6efa4adcc1646e36c2d6fe444f6e28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Ross Burton
57fb41f5c6 libxpm: upgrade to 3.5.17
This release fixes the following CVEs:

- CVE-2023-43788
- CVE-2023-43789

(From OE-Core rev: b4596281de1f96fdf6533ab4caa957f1eaeff756)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 46dd8ce41756dbc2aa0f9001416f208cced1c8d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Ross Burton
d441582b06 libx11: upgrade to 1.8.7
This incorporates fixes for the following CVEs:

- CVE-2023-43785
- CVE-2023-43786
- CVE-2023-43787

(From OE-Core rev: 79f9c062df37ca15649d41bb6501e6fab2d73114)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a1534bb34b680bfc5cb2f35b5fd5a0c2afed6368)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Lee Chee Yang
167b0b6a93 python3-urllib3: 1.26.15 -> 1.26.17
1.26.17 (2023-10-02)
Added the Cookie header to the list of headers to strip from requests
when redirecting to a different host. As before, different headers can
be set via Retry.remove_headers_on_redirect. (CVE-2023-43804)

1.26.16 (2023-05-23)
Fixed thread-safety issue where accessing a PoolManager with many
distinct origins would cause connection pools to be closed while
requests are in progress (#2954)

(From OE-Core rev: 7466db00ca2f884cf58504c3910b858a87f33128)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Antoine Lubineau
39bec240c2 cve-check: add CVSS vector string to CVE database and reports
This allows building detailed vulnerability analysis tools without
relying on external resources.

(From OE-Core rev: 587ae7bc85fc471d927308d866821d463799023d)

Signed-off-by: Antoine Lubineau <antoine.lubineau@easymile.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 048ff0ad927f4d37cc5547ebeba9e0c221687ea6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Lee Chee Yang
df92f67b17 qemu: ignore RHEL specific CVE-2023-2680
(From OE-Core rev: 7300254fdb6659c0a7462c64133f893d1a152850)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:01 -10:00
Sean Nyekjaer
d4bc6a9374 dmidecode: fixup for CVE-2023-30630
The previous CVE-2023-30630_1.patch picked only the patch
"dmidecode: Write the whole dump file at once" d8cfbc808f.
But there was a refactoring which does not allow to cherry-pick it fast
forward. Resolving this conflict was not correctly done. The patch was:

+    u32 len;
+    u8 *table;
...
-    if (!(opt.flags & FLAG_QUIET))
-        pr_comment("Writing %d bytes to %s.", crafted[0x05],
-                   opt.dumpfile);
-    write_dump(0, crafted[0x05], crafted, opt.dumpfile, 1);
+    dmi_table_dump(crafted, crafted[0x05], table, len);

It looks like the variables len and table have been added without
initialization.
Now this problem is solved by applying the previous refactoring as
well. Patch 1 gets replaced by Patch 1a and Patch 1b. Patch 2..4 are
rebased without changes.

This is basically the same patch as in kirkstone:
ea069a94a2 dmidecode: fixup for CVE-2023-30630

(From OE-Core rev: 0bc69dc078c39381a39789d3c5fff673d7da994c)

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:00 -10:00
Lee Chee Yang
9954a4df00 cups: fix CVE-2023-4504
(From OE-Core rev: a1138dfc1e9394966dcca8f6259767a8ce5ca4cb)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:51:00 -10:00
Richard Purdie
fcc391ebcd SECURITY.md: Add file
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.

(From meta-yocto rev: c8f27eaa00fdd1a2594aaa70695373f608ff30bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-24 13:10:32 +01:00
Marta Rybczynska
0ac25662c7 bitbake: SECURITY.md: add file
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.

(Bitbake rev: 973aa73b9f1f542f4a636cf8eca733b4df5a778f)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-24 12:52:46 +01:00
Stefan Tauner
87dc91ac72 gdb: fix RDEPENDS for PACKAGECONFIG[tui]
TUI mode needs terminfo at runtime, which is required to be
explicitly stated in the respective PACKAGECONFIG variable.

Without this change /etc/terminfo/ might be missing, which
leads to a runtime error when trying to use tui, e.g.:
(gdb) tui enable
Cannot enable the TUI: error opening terminal [TERM=xterm-256color]

(From OE-Core rev: 266944eb216912b7b2a935360aa51cd79847a071)

Signed-off-by: Stefan Tauner <stefan.tauner@artech.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f17bc03a0c2d894e43c3c835fa38a24b1d5df64)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Richard Purdie
5bad01b1be oeqa/selftest/wic: Improve assertTrue calls
assertTrue is a problematic call use in test cases since when it fails,
you just get an unhelpful "False is not True" message.

Replace some uses with assertIn/assertNotIn which will give more helpful results
and for the rest, add msg entries which given more helpful debugging.

For example, this patch would help debugging of #15176.

(From OE-Core rev: 52a2455ba7d91d404fc2c4568c805cf1fbe2b2ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 35d4c39e0df1a304f557471151a03d1e4b0f30c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Peter Kjellerstedt
629f043c8f libsoup-2.4: Only specify --cross-file when building for target
The soup.cross file is only created when building for target so only
tell meson to read it when it exists. This allows libsoup-2.4-native to
be built again.

(From OE-Core rev: d52003dd13cb17e32ccfa717f8462c8301334dd1)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4acbd2269931b500846d56885c3304d244e514f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Alexander Kanavin
975e96c83e openssl: ensure all ptest fails are caught
Piping results through sed may mask failures that sed isn't catching.

(From OE-Core rev: 687989f2ee2204643157e04a976d3310018a3bb3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b1b0e9e4d5011e7c2fd1b59fc277a7cfdc41194)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Alexander Kanavin
677a3f6e8c openssl: parallelize tests
This brings them from 15 minutes to just over 4.

(From OE-Core rev: 3cd99ff32da3bb85d7ee278fec69504a12c1f715)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9eeee78aa94aaa441da012aeb904a0f1cbcd4d91)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Alexander Kanavin
048bf00ec2 strace: parallelize ptest
strace is one of the slowest tests otherwise (can take 40 minutes or more),
and this brings it to under 10 minutes \0/

(From OE-Core rev: 30b6692ef4a12958419c94b96e3fc5a50e8a7ad6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c632b418a785494318d9f375a07d879772e8ced)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Alexander Kanavin
0d47374974 ptest: report tests that were killed on timeout
I'm not sure if this was reported correctly before, but it
currently is not. Test that is stuck is an error in itself.

(From OE-Core rev: f2989e8f87b8793b03fe13254f8214e495008527)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 002e27c9932a83e46be0b03a5232594cfba7212c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Alexander Kanavin
ec061cddc7 igt-gpu-tools: do not write shortened git commit hash into binaries
Shortened hashes are prone to collisions, and in this case git
lengthens the hash to resolve the collision. This in turn breaks
reproducibility, depending on whether the colliding hash is present
in the history or not. This has been observed here:
http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20230917-br60if6q/packages/diff-html/

(From OE-Core rev: e0cdfefe3054a2278f7db5d382045304b710118b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a74e1eff93d4de5724481e3298308a6d925a4512)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Mikko Rapeli
c5d0496e16 oeqa/selftest/context.py: check git command return values
Don't ignore return values from the git command lines. If something goes
wrong, fail the test right away.

(From OE-Core rev: 776053f4af19e9c2de7ce725e6ec94312028fa7f)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfc178a70d6fa60e89d4716f05d68e2c72c6ecd3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Mikko Rapeli
639474140a oeqa dnf_runtime.py: fix HTTP server IP address and port
Use correct HTTPService parameters like apt.py when setting up the repo
server. These work with qemu tun and slirp networking. Fixes test
failure with slirp networking when executing testimage.bbclass
selftests "oe-selftest -r runtime_test.TestImage".

(From OE-Core rev: 68f0100b779bac1788818320f8aa64d79e3db3c2)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
(cherry picked from commit 764424df2f4b6bf0e89fb20b4253a7601468f70d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Khem Raj
5aaae18b89 libc-test: Run as non-root user
Some of tests impose rlimit on it before running which wont be imposed
when running as root user.

Fixes
src/regression/pthread_atfork-errno-clobber.c:23: (pid = fork()) == -1 failed: fork succeeded despite rlimit
src/regression/pthread_atfork-errno-clobber.c:23: (pid = fork()) == -1 failed: fork succeeded despite rlimit
FAIL src/regression/pthread_atfork-errno-clobber-static.exe [status 1]

(From OE-Core rev: 16075f19b49cb23ead2dec6746d2be6773ae4ae7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 585bf4b780a8ad60ba2b33cede4f0092ff61ddfc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Otavio Salvador
04296bff89 weston-init: fix init code indentation
Tested-by: Tom Hochstein <tom.hochstein@nxp.com>
(From OE-Core rev: feb3af7fe3f1a062946de71a76c11388f9e50c90)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c08d474c97ce071ba376b66f30d6ee0a6159d596)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Otavio Salvador
d6b645127c weston-init: remove misleading comment about udev rule
The udev rule has been removed but the comment has kept, by
mistake. Remove it.

Fixes: dd83fb40f7 ("weston-init: Stop running weston as root")
Tested-by: Tom Hochstein <tom.hochstein@nxp.com>
(From OE-Core rev: 35367d029fedc78724396d94abd899e4bd8bef0c)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8aa3d43fa1c53cdce45ec88a49f27b076d3812ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Alexander Kanavin
4284cd0c18 build-sysroots: target or native sysroot population need to be selected explicitly
Running them in parallel is prone to races as postinsts from target sysroots
rely on executables from native sysroots which may or may not be fully prepared
yet. This was observed for example here:

https://autobuilder.yoctoproject.org/typhoon/#/builders/146/builds/468/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/147/builds/467/steps/12/logs/stdio

(From OE-Core rev: 93e864a23e3f82edc2b2fa2207b2bc4b56c230a9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 38d7a2e45b883cf999a86af05bcc0eaa875bb47c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Alexander Kanavin
099fdd3441 runqemu: check permissions of available render nodes as well as their presence
qemu itself is not helpful when render nodes exist, but can't be opened:

qemu-system-x86_64: egl: render node init failed

To fix this, users likely need to

 * modprobe vgem (presence when physical graphic card is absent or has a driver without
support for render nodes, such as many older cards found in server machines)

 * add their user to "render" group to write to /dev/dri/renderD* (permissions)

With this change runqemu should print hints for the above as appropriate from probing the nodes.

(From OE-Core rev: 12ae43abbc4e7d6184198a912487ace3a4e66e50)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit acd85925cb197b7a31a25b60e8de762e2c3697ef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Ross Burton
559ed4ecd5 avahi: handle invalid service types gracefully
Services which broadcast an invalid service type will cause the browse
to fail. Instead of failing, replace the service type and continue.

(From OE-Core rev: 273aed0462728508506a4c65d367d583a86a54c3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e581da6c4db21312833395e96b48e868a202f0f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Eilís 'pidge' Ní Fhlannagáin
6b09ead55a nativesdk-intercept: Fix bad intercept chgrp/chown logic
Running either of these ends up corrupting the os.execv args.

If we run:
./scripts/nativesdk-intercept/chown -R foo:foo bar

The loop here ends up missing the conversion of foo:foo to root:root because
it sees sys.argv[0] and assumes that it's the user:group argument and that we
should convert that. We end up a os.execv(path, args) that have the following
args:

['root:root', '-R', 'foo:foo', 'bar']

As os.execv ignores args[0], we can just populate it with sys.argv[0] and then
loop through sys.argv[1:]. As both chgrp and chown would have either flags and
USER[:GROUP] next, this fixes the issue.

(From OE-Core rev: e27982afaed33e5823962f7fefe6f709c10e9107)

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a75f647ec7696d353f4b09099d777ba53f34d36)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Siddharth Doshi
6f40a967bd vim: Upgrade 9.0.1894 -> 9.0.2009
This includes CVE fix for CVE-2023-5441.

(From OE-Core rev: 7166f503211c39542d828aa3fef5006dccf2c07a)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Alexander Kanavin
227b06eefa screen: update 4.9.0 -> 4.9.1
* Support stop/parity bits on serial port
* Add needed system headers in checks and return values for implicit function declarations
* Fixes:
   - Avoid zombies after shell exit
   - Missed signal sending permission check on failed query messages (CVE-2023-24626)
   - manpage fixes
   - source code fixes during cleanup
   - UTF-8 encoding can emit invalid UTF-8 sequences for out of range unicode values

Remove patches; they are merged upstream or backported.

(From OE-Core rev: 224f1929b92b38993e5f50100ce6306f63ee8ade)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2566f8e51d56848d8b28f37462160e90253b79fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Alexander Kanavin
9c52d1e15f gzip: update 1.12 -> 1.13
Stable release update

Drop autoconf-2.73.patch as issue resolved upstream.

License-update: http -> https

(From OE-Core rev: 8ca6589c1cb37cd0ba446cfd58e5f7f90832b93c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ddf9e053b17913718c780ad4c877d5ddb6ff536)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Wang Mingyu
80990ab718 wireless-regdb: upgrade 2023.05.03 -> 2023.09.01
Changelog:
==========
wireless-regdb: update regulatory database based on preceding changes
wireless-regdb: Update regulatory rules for Australia (AU) for June 2023
wireless-regdb: Update regulatory info for Türkiye (TR)
wireless-regdb: Update regulatory rules for Egypt (EG) from March 2022 guidel...
wireless-regdb: Update regulatory rules for Philippines (PH)

(From OE-Core rev: c1ae47b562460e82d94a94a2009c4cb50aa1daa9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f5edb6904bf16a9c52a9b124aeb5297487cd716)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Wang Mingyu
f6bf88909a dbus: upgrade 1.14.8 -> 1.14.10
Changelog:
===========
• Avoid a dbus-daemon crash if re-creating a connection's policy fails.

• If getting the groups from a user ID fails, report the error correctly,
  instead of logging "(null)"

• Return the primary group ID in GetConnectionCredentials()' UnixGroupIDs
  field for processes with a valid-but-empty supplementary group list

(From OE-Core rev: 67ddf87d3286007a68071685d28a8f9e1ce7f3fa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aeabd6dd4e65e5cc31f4c2acc5cc46ea03737bed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Archana Polampalli
af8586bde2 curl: fix CVE-2023-38546
A flaw was found in the Curl package. This flaw allows an attacker to insert
cookies into a running program using libcurl if the specific series of conditions are met.

(From OE-Core rev: a6c5931192a1315cfc5f708585d22bc7bed9f7fd)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Archana Polampalli
d1c80c5f4a curl: fix CVE-2023-38545
This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake.

(From OE-Core rev: 9b0867861a9c053f19bdb99bd6cba44ee5cb64e1)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Joe Slater
f9694145e9 ghostscript: fix CVE-2023-43115
The patch is copied from kirkstone.  master has advanced
to ghostscript 10.02.0 which includes the fix.

(From OE-Core rev: 80a9b54ca94a9fe5818daa1cd03ae8035043e1e8)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Yogita Urade
d06bb8d657 tiff: fix CVE-2023-41175
libtiff: potential integer overflow in raw2tiff.c

References:
https://bugzilla.redhat.com/show_bug.cgi?id=2235264
https://security-tracker.debian.org/tracker/CVE-2023-41175
https://gitlab.com/libtiff/libtiff/-/issues/592

(From OE-Core rev: b2518923dff885778c550f0faa22e99bf76b6288)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4ee806cbc12fbc830b09ba6222e96b1e5f24539f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Yogita Urade
912aaf2a87 tiff: fix CVE-2023-40745
libtiff: integer overflow in tiffcp.c

References:
https://security-tracker.debian.org/tracker/CVE-2023-40745
https://gitlab.com/libtiff/libtiff/-/issues/591
https://bugzilla.redhat.com/show_bug.cgi?id=2235265

(From OE-Core rev: 3340e024ae8676081488f23a0678c28c23ab0b42)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c3d4fbeb51278a04a6800c894c681733ad2259ca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00
Lee Chee Yang
a57506c46d migration-guides: add release notes for 4.0.13
(From yocto-docs rev: bb5c0f8e8956938ca05907feabbf7b0ef2ea6dbe)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Joshua Watt
b3d49d5205 overview: Add note about non-reproducibility side effects
Adds an additional note about some of the side effects that can occur if
recipes are not reproducible and hash equivalence is enabled.

(From yocto-docs rev: 968ac9807466df775f18fca050070170d3ed8585)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Trevor Gamblin
7988bf713a dev-manual: fix testimage usage instructions
The proper way to inherit the testimage class is now

IMAGE_CLASSES += "testimage"

so change lines with 'INHERIT += "testimage"' to match. This makes the
dev-manual consistent with the migration guide, which already specifies
that the old way causes an error.

(From yocto-docs rev: 4d660551a6547ffe216e53402759baef424c4da2)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Michael Opdenacker
9a9aa4bd53 ref-manual: releases.svg: Scarthgap is now version 5.0
According to https://wiki.yoctoproject.org/wiki/Releases

(From yocto-docs rev: 1d80812f27e21956124a5adcc81ac638e753cf37)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Ross Burton
1ebf76e213 libgudev: explicitly disable tests and vapi
Explicitly disable the tests and vapi support instead of relying on
defaults and missing dependencies.

(From OE-Core rev: c451a9cb6adbc9480dacd81e935a0b9369f22e07)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 575e2e29e00bb4492e7ee7f10b753e3f17982caa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Ross Burton
1606f9676a busybox: remove coreutils dependency in busybox-ptest
A dependency on coreutils was added to busybox-ptest in oe-core 658c5ed
to fix a test failure.

The failure is because one of the start-stop-daemon tests is known to
fail if /bin/false is busybox. Instead of failing, we can check if
/bin/false is a symlink to busybox and skip the test if so.

[ YOCTO #15068 ]

(From OE-Core rev: 12fc32351ff6e42d0b5f9ce679793a8875d3447a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37482e404cf4dcf9360c29986ced8db78baf249b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Mikko Rapeli
8acce65aa5 oeqa selftest context.py: remove warning from missing meta-selftest
It's not a warning but a handled case and layer gets added
automatically. Very few build configs have this layer enabled
by default.

(From OE-Core rev: 70d2ceea48ef6ec04675e4e6a9c48ebc5bb78f52)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
(cherry picked from commit 9a2493ea83f0b30578a819de05108502aaadc7f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Mikko Rapeli
0198d514d6 oeqa selftest context.py: whitespace fix
(From OE-Core rev: fa4204c34efeda543a108c942cd50a6d6322600e)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
(cherry picked from commit 8aed3ca405cb3cc5d346eb8da8b3307d93f75d5b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Emil Kronborg Andersen
d61e137c1a libxkbcommon: add CVE_PRODUCT
(From OE-Core rev: 7d395b97e864bb081866eb029168aee7335ed98e)

Signed-off-by: Emil Kronborg Andersen <emkan@prevas.dk>
(cherry picked from commit a23a4a3f156f5758dc4d9dcf1ab27c74302eb2a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Emil Kronborg Andersen
5e5a140f3c dbus: add additional entries to CVE_PRODUCT
(From OE-Core rev: 0329ca7bb29cdd77cca93c4354e8e0e5de5e37d8)

Signed-off-by: Emil Kronborg Andersen <emkan@prevas.dk>
(cherry picked from commit d50b395ceff3f30c30a10dba94fb340a547e434f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Ross Burton
88216a9565 wayland-utils: add libdrm PACKAGECONFIG
wayland-utils has optional libdrm support, so add a PACKAGECONFIG and
enable it.

(From OE-Core rev: 0ba10930f73e4b0c2896afd326229fc6ae460f51)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6c488c259d1f38a05a71e576ca2f32d412413f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Ross Burton
efdb7d00b8 libsoup-2.4: update PACKAGECONFIG
Add explicit PACKAGECONFIGs for brotli,ntlm, and sysprof.

libsoup needs to be told where ntlm_auth will be on the target, so write
a cross file to do so.

(From OE-Core rev: c78a34caf466524356572b8cdd2ada615081bfc2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54b6ea078daeb58a3bb20bb4275d1140640a77d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Ross Burton
9103dc5b89 pango: explictly enable/disable libthai
Pango has had an explicit option since 1.46.2

(From OE-Core rev: dc939fbc70c124a515b882b3425d7810be0c6748)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 42755f135d2d015e564d783996fbb3ef860f2bf7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:05 -10:00
Ross Burton
fa43d8ac4f glib-2.0: libelf has a configure option now, specify it
GLib has had an option to control libelf since 2.67.0, so use it.

(From OE-Core rev: c5bece42d8e10554a6061872ca0f8f70d7102a79)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d2f028c53a2390c28685b373841c9a600e91819a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:04 -10:00
Alexander Kanavin
0a3ab977a5 openssl: build and install manpages only if they are enabled
This significantly speeds up the build by default.

(From OE-Core rev: d6f638c6ab891a4fd9db49eeb6f9b5f2b0c3bbeb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b5ee583c62dbe381cd429da14ecbba5ea32d506)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:04 -10:00
Richard Purdie
89007c7f4c mdadm: Disable further tests due to intermittent failures
I took the mdadm ptest enabling as I was told the tests were fine now.
They're not. Disable more of them as having intermittent issues.

(From OE-Core rev: d72261b4827f9cdfa9ca5e199028c88c1b525257)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2993a0bd6aca81d4382c3de5ac2fd9b5dac94868)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:04 -10:00
Steve Sakoman
96727f63c0 linux-yocto: update kernel exclusions for 6.1
(From OE-Core rev: 20f4a9538f80bcc61d8e786cf12c556ab54d2c0a)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:04 -10:00
Yuta Hayama
af312b14fa linux/generate-cve-exclusions: fix mishandling of boundary values
affected_versions in kernel_cves.json does not mean "first affected version
to last affected version" but actually "first affected version to fixed
version". Therefore, the variable names, conditional expressions, and
CVE_STATUS descriptions should be fixed.

For example, when the script was run against v6.1, if affected_versions was
"xxx to 6.1", the output was "cpe-stable-backport: Backported in 6.1", but
this should be "fixed-version: Fixed from version 6.1".

(From OE-Core rev: a0cafa6587acf2b41f0e832d06de884ffe62fd4b)

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2064b2f9b92e2dff45dab633598b5ed37145d0b6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:04 -10:00
Bruce Ashfield
5e7d38bb7a linux-yocto/6.1: update to v6.1.53
Updating  to the latest korg -stable release that comprises
the following commits:

    09045dae0d90 Linux 6.1.53
    41cb5369cb80 udf: initialize newblock to 0
    c74b1cd93f26 clk: Avoid invalid function names in CLK_OF_DECLARE()
    59e0dd5bef6c treewide: Fix probing of devices in DT overlays
    abb597c85acb clk: Mark a fwnode as initialized when using CLK_OF_DECLARE() macro
    b372816ad610 md: fix regression for null-ptr-deference in __md_stop()
    adac9f0ddd2b NFSv4.2: Rework scratch handling for READ_PLUS (again)
    779563475162 NFSv4.2: Fix a potential double free with READ_PLUS
    d9ece8c0269f md: Free resources in __md_stop
    ba6a70adb557 Revert "drm/amd/display: Do not set drr on pipe commit"
    1dd387668d5b tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY
    e43a7ae58d00 serial: sc16is7xx: fix regression with GPIO configuration
    8aaef0a3eb1b serial: sc16is7xx: remove obsolete out_thread label
    cc8a853c2d5f perf/x86/uncore: Correct the number of CHAs on EMR
    e1eb0419126f x86/sgx: Break up long non-preemptible delays in sgx_vepc_release()
    f705617bab47 USB: core: Fix oversight in SuperSpeed initialization
    8186596a6635 USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()
    d309fa69c2e3 USB: core: Change usb_get_device_descriptor() API
    90b01f8df568 USB: core: Unite old scheme and new scheme descriptor reads
    0d3b5fe47938 usb: typec: bus: verify partner exists in typec_altmode_attention
    9b7cd3fe01f0 usb: typec: tcpm: set initial svdm version based on pd revision
    33a31064211c of: property: fw_devlink: Add a devlink for panel followers
    7f3d84cfaec7 cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
    08c86156361c crypto: stm32 - fix loop iterating through scatterlist for DMA
    73e64c5eeddf s390/dasd: fix string length handling
    f9a3d6f037c9 s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
    6489ec010786 s390/dcssblk: fix kernel crash with list_add corruption
    8bf567b63c2a arm64: sdei: abort running SDEI handlers during crash
    e95d7a8a6edd pstore/ram: Check start of empty przs during init
    351705a44621 mmc: renesas_sdhi: register irqs before registering controller
    a3f6c1447db8 platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER
    e6e6a5f50f58 x86/MCE: Always save CS register on AMD Zen IF Poison errors
    d08b39bb3dff fsverity: skip PKCS#7 parser when keyring is empty
    40a1ef4bb092 net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
    342d130205f1 X.509: if signature is unsupported skip validation
    3d5fed8c79d9 r8169: fix ASPM-related issues on a number of systems with NIC version from RTL8168h
    ba50e7773a99 x86/sev: Make enc_dec_hypercall() accept a size instead of npages
    f8a7f10a1dcc dccp: Fix out of bounds access in DCCP error handler
    9667854e69a7 dlm: fix plock lookup when using multiple lockspaces
    c96c67991aac bpf: Fix issue in verifying allow_ptr_leaks
    b23c96589ff7 drm/amd/display: Add smu write msg id fail retry process
    5ad3e534605e parisc: Fix /proc/cpuinfo output for lscpu
    316a4a329a4d procfs: block chmod on /proc/thread-self/comm
    5e4e9900e6fa block: don't add or resize partition on the disk with GENHD_FL_NO_PART
    1654635bed83 Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
    5a3e327dc3fd ntb: Fix calculation ntb_transport_tx_free_entry()
    88c7931f81d8 ntb: Clean up tx tail index on link down
    4f4af6b8b7a2 ntb: Drop packets when qp link is down
    e95e31a8607d PCI/PM: Only read PCI_PM_CTRL register when available
    223fc5352054 PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation
    4443f3695d58 PCI: Free released resource after coalescing
    316f3984298a scsi: mpt3sas: Perform additional retries if doorbell read returns 0
    6c4f87e52331 Revert "scsi: qla2xxx: Fix buffer overrun"
    ab8c52977fe0 media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts
    25934d8f6eb2 media: dvb: symbol fixup for dvb_attach()
    fd4d61f85e76 ALSA: hda/cirrus: Fix broken audio on hardware with two CS42L42 codecs.
    ba0b46166b8e arm64: csum: Fix OoB access in IP checksum code for negative lengths
    ad661951a98f i3c: master: svc: fix probe failure when no i3c device exist
    cc9bf2d62f19 LoongArch: mm: Add p?d_leaf() definitions
    5a8b2c1665ca xtensa: PMU: fix base address for the newer hardware
    9a9b8596c3dc drm/amd/display: register edp_backlight_control() for DCN301
    47636d32a0ee backlight/lv5207lp: Compare against struct fb_info.device
    83166d03a5b7 backlight/bd6107: Compare against struct fb_info.device
    b4ab337aad09 backlight/gpio_backlight: Compare against struct fb_info.device
    8fa9cb58445d io_uring: break iopolling on signal
    4a3e0d51c3e1 XArray: Do not return sibling entries from xa_load()
    7a7f11283392 ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
    09cb2a71b2e9 ipmi_si: fix a memleak in try_smi_init()
    dafe7acfedfb PCI: rockchip: Use 64-bit mask on MSI 64-bit PCI address
    823f52daef12 media: i2c: Add a camera sensor top level menu
    ceedc62a3bc8 media: i2c: ccs: Check rules is non-NULL
    fea9dd8653ff cpu/hotplug: Prevent self deadlock on CPU hot-unplug
    4245ca8f4051 mm/vmalloc: add a safer version of find_vm_area() for debug
    157c46360cf3 scsi: core: Fix the scsi_set_resid() documentation
    2344b1397651 printk: ringbuffer: Fix truncating buffer size min_t cast
    3f7a4e88e40e rcu: dump vmalloc memory info safely
    8ad2e7efb2ce ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
    8918025feb2f PM / devfreq: Fix leak in devfreq_dev_release()
    d2e906c72597 igb: set max size RX buffer when store bad packet is enabled
    04c3eee4e13f skbuff: skb_segment, Call zero copy functions before using skbuff frags
    4921f9349b66 netfilter: xt_sctp: validate the flag_info count
    1c164c1e9e93 netfilter: xt_u32: validate user space input
    bcdb4a5c42b0 netfilter: nft_exthdr: Fix non-linear header modification
    7ca0706c68ad netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
    6678912b4df1 igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
    ad8900dd8a56 virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
    4927edc23edc cpufreq: Fix the race condition while updating the transition_task of policy
    96db43aced39 Drivers: hv: vmbus: Don't dereference ACPI root object handle
    e351933e4a14 dmaengine: ste_dma40: Add missing IRQ check in d40_probe
    43a57ca7dd90 um: Fix hostaudio build errors
    222b85e748eb mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
    eaf4c78982ae mtd: spi-nor: Check bus width while setting QE bit
    3e313b6c470d leds: trigger: tty: Do not use LED_ON/OFF constants, use led_blink_set_oneshot instead
    f741121a2251 leds: Fix BUG_ON check for LED_COLOR_ID_MULTI that is always false
    a253c416e67d leds: multicolor: Use rounded division when calculating color components
    2804cc350804 leds: pwm: Fix error code in led_pwm_create_fwnode()
    cae0787e408c rpmsg: glink: Add check for kstrdup
    f309ac8a4db9 phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
    8f0f5452cb1b phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
    0d86292e3fbb phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328
    50fa01243dd5 dmaengine: idxd: Modify the dependence of attribute pasid_enabled
    6453a2fbc804 mtd: rawnand: brcmnand: Fix mtd oobsize
    74c85396bd73 tracing: Fix race issue between cpu buffer write and swap
    fb34716c9ee6 tracing: Remove extra space at the end of hwlat_detector/mode
    ca5e8427e20d x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
    55a448e8d863 tick/rcu: Fix false positive "softirq work is pending" messages
    69b8d7bf834c platform/x86/amd/pmf: Fix a missing cleanup path
    2763732ec1e6 HID: multitouch: Correct devm device reference for hidinput input_dev name
    f283805d9843 HID: uclogic: Correct devm device reference for hidinput input_dev name
    6e5960954151 HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
    cf38960386f3 RDMA/efa: Fix wrong resources deallocation order
    9d9a40530383 RDMA/siw: Correct wrong debug message
    bbd1b1b5082c RDMA/siw: Balance the reference of cep->kref in the error path
    3f39698e7e84 Revert "IB/isert: Fix incorrect release of isert connection"
    81ff633a88be amba: bus: fix refcount leak
    db18d5e3eee4 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
    93e908545361 interconnect: qcom: bcm-voter: Use enable_maks for keepalive voting
    e9ef8b5099d5 interconnect: qcom: bcm-voter: Improve enable_mask handling
    1d085c6a25fa interconnect: qcom: sm8450: Enable sync_state
    5a5fb3b1754f scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
    f06c7d823ab5 scsi: core: Use 32-bit hostnum in scsi_host_lookup()
    f01cfec8d345 RDMA/irdma: Prevent zero-length STAG registration
    5fa1552877ce coresight: trbe: Fix TRBE potential sleep in atomic context
    848cd6f24aa7 cgroup:namespace: Remove unused cgroup_namespaces_init()
    0d545a8e77cb Revert "f2fs: fix to do sanity check on extent cache correctly"
    3f60a36ed6e3 f2fs: Only lfs mode is allowed with zoned block device feature
    33d4c00725b0 f2fs: judge whether discard_unit is section only when have CONFIG_BLK_DEV_ZONED
    4d7e804f49a0 f2fs: fix to avoid mmap vs set_compress_option case
    3a2cf76cfb8f media: i2c: rdacm21: Fix uninitialized value
    86a41ad0128a media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
    85fb0b963f2b media: ov2680: Fix ov2680_set_fmt() which == V4L2_SUBDEV_FORMAT_TRY not working
    0790c0914059 media: ov2680: Add ov2680_fill_format() helper function
    90fbf01c8080 media: ov2680: Don't take the lock for try_fmt calls
    e0b6edf4a346 media: ov2680: Remove VIDEO_V4L2_SUBDEV_API ifdef-s
    6d51cdf66b9f media: ov2680: Fix vflip / hflip set functions
    7263c39fd711 media: ov2680: Fix ov2680_bayer_order()
    ef9055e9a768 media: ov2680: Remove auto-gain and auto-exposure controls
    9e6e509c08f6 media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
    2b9d0a65d133 media: ov5640: Fix initial RESETB state and annotate timings
    5074c70795d4 media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
    a4cd2c3eff18 HID: input: Support devices sending Eraser without Invert
    297992e5c635 drivers: base: Free devm resources when unregistering a device
    66eb45e7d5fc USB: gadget: f_mass_storage: Fix unused variable warning
    324da2f3ee73 USB: gadget: core: Add missing kerneldoc for vbus_work
    365ce3f86bb1 docs: ABI: fix spelling/grammar in SBEFIFO timeout interface
    c90182cffbff media: venus: hfi_venus: Only consider sys_idle_indicator on V1
    d52509fdb29c media: go7007: Remove redundant if statement
    0294e2475092 media: cec: core: add adap_unconfigured() callback
    d6610151ae22 media: cec: core: add adap_nb_transmit_canceled() callback
    6ced15ff1746 platform/x86: dell-sysman: Fix reference leak
    45e3181d7995 iommu/vt-d: Fix to flush cache of PASID directory table
    d9c47d2bf307 iommu/qcom: Disable and reset context bank before programming
    a30f26dc3ad9 fsi: aspeed: Reset master errors after CFAM reset
    d020963638f2 IB/uverbs: Fix an potential error pointer dereference
    4dca13c30b9e RDMA/hns: Fix CQ and QP cache affinity
    2368ce8cd5ad RDMA/hns: Fix inaccurate error label name in init instance
    93c986805f4e RDMA/hns: Fix incorrect post-send with direct wqe of wr-list
    c48b0b30ac92 RDMA/hns: Fix port active speed
    117a1b903baf iommu/sprd: Add missing force_aperture
    fadc62aa82d2 iommu/mediatek: Fix two IOMMU share pagetable issue
    f81325a709dd iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data
    343ccde5ade7 extcon: cht_wc: add POWER_SUPPLY dependency
    d3e075a3f099 kernfs: add stub helper for kernfs_generic_poll()
    91a05d4c12ce driver core: Call dma_cleanup() on the test_remove path
    58a3b87be681 driver core: test_async: fix an error code
    636f5b8a6601 dma-buf/sync_file: Fix docs syntax
    ae867cab6bc9 interconnect: qcom: qcm2290: Enable sync state
    7e1476f27751 coresight: tmc: Explicit type conversions to prevent integer overflow
    ee8f58b40e4a RDMA/irdma: Replace one-element array with flexible-array member
    af6fd0b3bccf scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
    dd8ce1c9ff49 scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
    472f2497a4c8 scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
    70518f3aaf5a RDMA/rxe: Fix incomplete state save in rxe_requester
    59a4f61feccf RDMA/rxe: Split rxe_run_task() into two subroutines
    0ad56bf59dc3 x86/APM: drop the duplicate APM_MINOR_DEV macro
    6d209ed70f9c serial: sprd: Fix DMA buffer leak issue
    70f7513342f4 serial: sprd: Assign sprd_port after initialized to avoid wrong access
    21608d2ba565 iio: accel: adxl313: Fix adxl313_i2c_id[] table
    25feffb3fbd5 scsi: qla4xxx: Add length check when parsing nlattrs
    1806edae979f scsi: be2iscsi: Add length check when parsing nlattrs
    85b8c282d185 scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
    bb8d101b835a scsi: iscsi: Add length check for nlattr payload
    2737d82760ae scsi: iscsi: Rename iscsi_set_param() to iscsi_if_set_param()
    bdc4f8f68171 scsi: RDMA/srp: Fix residual handling
    67b02818e209 usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
    858322c409e0 media: mediatek: vcodec: fix resource leaks in vdec_msg_queue_init()
    bdc00039fd1b media: mediatek: vcodec: fix potential double free
    a356b60031d1 media: mediatek: vcodec: Return NULL if no vdec_fb is found
    b4ee61e5a110 media: amphion: ensure the bitops don't cross boundaries
    932d84a8a808 media: amphion: fix UNUSED_VALUE issue reported by coverity
    60f6392bdede media: amphion: fix UNINIT issues reported by coverity
    bddd678fd286 media: amphion: fix REVERSE_INULL issues reported by coverity
    3930d62f5d7c media: amphion: fix CHECKED_RETURN issues reported by coverity
    9ada33ee83dd media: rkvdec: increase max supported height for H.264
    715c0200b480 media: mtk-jpeg: Fix use after free bug due to uncanceled work
    62ea218a7e7f media: amphion: add helper function to get id name
    745f40a96c7f media: amphion: reinit vpu if reqbufs output 0
    6f0d0f5613d7 dt-bindings: extcon: maxim,max77843: restrict connector properties
    dd0dadb93844 scsi: hisi_sas: Fix normally completed I/O analysed as failed
    ab0719d7b6e4 scsi: hisi_sas: Fix warnings detected by sparse
    79a1a8f83869 RDMA/siw: Fabricate a GID on tun and loopback devices
    a96892a40fce media: cx24120: Add retval check for cx24120_message_send()
    2b6e20ef0585 media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
    323ee5fc980b media: dib7000p: Fix potential division by zero
    90e0ea8e9b26 drivers: usb: smsusb: fix error handling code in smsusb_init_device
    92e2dcf9412f iommu: rockchip: Fix directory table address encoding
    13ed255248df iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbind
    25afb3e03bf8 media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
    aeb79a1778cb media: i2c: tvp5150: check return value of devm_kasprintf()
    d7d47edf78c9 media: ad5820: Drop unsupported ad5823 from i2c_ and of_device_id tables
    79e2cc5c4c10 media: ov5640: fix low resolution image abnormal issue
    5643c936d1b8 RDMA/qedr: Remove a duplicate assignment in irdma_query_ah()
    8199a46af2ea cgroup/cpuset: Inherit parent's load balance state in v2
    590b45e5cd12 pNFS: Fix assignment of xprtdata.cred
    4030ace74d8b NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
    fdbc9637bf82 NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
    6d08bd22fa29 NFSD: da_addr_body field missing in some GETDEVICEINFO replies
    02a29a2455b0 fs: lockd: avoid possible wrong NULL parameter
    f27f759f4cd4 jfs: validate max amount of blocks before allocation.
    b648f5717581 ext4: fix unttached inode after power cut with orphan file feature enabled
    f17d5efaafba powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
    e83f5e21089b powerpc/mpc5xxx: Add missing fwnode_handle_put()
    4515f1676d8d powerpc/pseries: Fix hcall tracepoints with JUMP_LABEL=n
    ebbfe48dd15f nfs/blocklayout: Use the passed in gfp flags
    4c8568cf4c45 powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT
    a5b6b008e358 powerpc: Don't include lppaca.h in paca.h
    18d51547fe2f NFSv4.2: Fix READ_PLUS size calculations
    fccdafa51de0 NFSv4.2: Fix up READ_PLUS alignment
    5c47974263e8 NFSv4.2: Fix READ_PLUS smatch warnings
    886959f425b6 NFSv4.2: Rework scratch handling for READ_PLUS
    e12e13952b0c wifi: ath10k: Use RMW accessors for changing LNKCTL
    811ec8bc68f3 wifi: ath11k: Use RMW accessors for changing LNKCTL
    7f4c9c44d1b9 net/mlx5: Use RMW accessors for changing LNKCTL
    433330fb1296 drm/radeon: Use RMW accessors for changing LNKCTL
    a0f0daf60bc1 drm/amdgpu: Use RMW accessors for changing LNKCTL
    ed6483fac428 powerpc/perf: Convert fsl_emb notifier to state machine callbacks
    1d58a9246989 powerpc/fadump: reset dump area size if fadump memory reserve fails
    ab8094db59e1 nvdimm: Fix dereference after free in register_nvdimm_pmu()
    500a6ff9c2a8 nvdimm: Fix memleak of pmu attr_groups in unregister_nvdimm_pmu()
    f6f300ecc196 vfio/type1: fix cap_migration information leak
    aae5a866d397 powerpc/radix: Move some functions into #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
    dd9241fc4b19 clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
    cc7e04d7ff92 clk: imx8mp: fix sai4 clock
    fcaf148b20f0 clk: imx: imx8ulp: update SPLL2 type
    e1139dea2c02 clk: imx: pllv4: Fix SPLL2 MULT range
    402e73f64597 clk: qcom: gcc-sm8450: Use floor ops for SDCC RCGs
    6c88c9d9c630 PCI/ASPM: Use RMW accessors for changing LNKCTL
    952da7c6e199 PCI: pciehp: Use RMW accessors for changing LNKCTL
    f2d7da8fafed PCI: Add locking to RMW PCI Express Capability Register accessors
    3108f7c78884 PCI: Allow drivers to request exclusive config regions
    8a5e87f9e93c pinctrl: mcp23s08: check return value of devm_kasprintf()
    8562df72cff2 PCI: Mark NVIDIA T4 GPUs to avoid bus reset
    f3229c9cb634 PCI: microchip: Correct the DED and SEC interrupt bit offsets
    9daefd22756e clk: qcom: gcc-sm6350: Fix gcc_sdcc2_apps_clk_src
    a1801d14a891 clk: qcom: reset: Use the correct type of sleep/delay based on length
    a4ff4b54f388 kvm/vfio: ensure kvg instance stays around in kvm_vfio_group_add()
    fef33ca5e28c kvm/vfio: Prepare for accepting vfio device fd
    cc16a50d5088 clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src
    e0f5698757ab ext4: avoid potential data overflow in next_linear_group
    772ca4bc1d0d ext4: correct grp validation in ext4_mb_good_group
    d5fc7d681320 EDAC/igen6: Fix the issue of no error events
    8f43c4000cdf clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src
    d1a5f22abab4 clk: sunxi-ng: Modify mismatched function name
    d96799ee3b78 PCI/DOE: Fix destroy_work_on_stack() race
    4a43285900cd drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
    d96da888dcd7 PCI: qcom-ep: Switch MHI bus master clock off during L1SS
    c53d53006d7f PCI: apple: Initialize pcie->nvecs before use
    7618133eda26 clk: rockchip: rk3568: Fix PLL rate setting for 78.75MHz
    eb613f81d034 clk: qcom: gcc-sc8280xp: Add missing GDSCs
    57fc62c50690 dt-bindings: clock: qcom,gcc-sc8280xp: Add missing GDSCs
    06d3a7e03c61 clk: qcom: gcc-sc8280xp: Add missing GDSC flags
    747848b4afea clk: qcom: gcc-sc8280xp: Add EMAC GDSCs
    9cba16beca66 clk: qcom: gpucc-sm6350: Fix clock source names
    6ace98cb617b clk: qcom: gpucc-sm6350: Introduce index-based clk lookup
    74a1194cce60 ipmi:ssif: Fix a memory leak when scanning for an adapter
    2e7d90a81b9c ipmi:ssif: Add check for kstrdup
    abbd28d04c36 ALSA: ac97: Fix possible error value of *rac97
    53996463f8c3 of: unittest: Fix overlay type in apply/revert check
    3fb210cd521c of: overlay: Call of_changeset_init() early
    b13b0c84a4af ASoC: SOF: amd: clear dsp to host interrupt status
    c4b06324fc44 md: raid0: account for split bio in iostat accounting
    cc54fa43de67 md/raid0: Fix performance regression for large sequential writes
    cd1dd83888d7 md/raid0: Factor out helper for mapping and submitting a bio
    c227aa141660 md: add error_handlers for raid0 and linear
    bc82cd1e7ff2 firmware: cs_dsp: Fix new control name check
    711fb9260620 md/raid5-cache: fix null-ptr-deref for r5l_flush_stripe_to_raid()
    ac9e103f282a md/raid5-cache: fix a deadlock in r5l_exit_log()
    26bf790b8e99 bus: ti-sysc: Fix cast to enum warning
    5abfee5e4076 arm64: dts: qcom: sc8280xp-x13s: Unreserve NC pins
    b386c3e16956 arm64: dts: qcom: msm8996: Fix dsi1 interrupts
    c6035ee015b9 arm64: dts: qcom: msm8998: Add missing power domain to MMSS SMMU
    cab4cdb2a4bd arm64: dts: qcom: msm8998: Drop bus clock reference from MMSS SMMU
    67b4726cb87e arm64: dts: qcom: apq8016-sbc: Fix ov5640 regulator supply names
    867aa88c9efa drm/mediatek: Fix potential memory leak if vmap() fail
    1e47d1ac20e3 ARM: dts: qcom: ipq4019: correct SDHCI XO clock
    4d6a25792fc1 drm/mediatek: Remove freeing not dynamic allocated memory
    635051576f0e bus: ti-sysc: Fix build warning for 64-bit build
    b625a6eaf2bf drm/mediatek: dp: Add missing error checks in mtk_dp_parse_capabilities
    0c323430e470 io_uring: fix drain stalls by invalid SQE
    9183c4fe9141 block/mq-deadline: use correct way to throttling write requests
    9ca08adb75fb audit: fix possible soft lockup in __audit_inode_child()
    607eda339b60 drm/msm/a2xx: Call adreno_gpu_init() earlier
    f27dff881f0b drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
    d41ceafe3d24 smackfs: Prevent underflow in smk_set_cipso()
    d1994bb5947c drm/msm/dpu: fix the irq index in dpu_encoder_phys_wb_wait_for_commit_done
    bd3a6b6d5dd8 firmware: meson_sm: fix to avoid potential NULL pointer dereference
    2965015006ef drm/msm/mdp5: Don't leak some plane state
    0cd481c27b03 soc: qcom: smem: Fix incompatible types in comparison
    3b1f1999a300 drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask
    9b372d2fdc44 ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
    92eaa1840301 drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
    4174f889c4c1 drm/repaper: Reduce temporary buffer size in repaper_fb_dirty()
    d544c89bb1cd drm/armada: Fix off-by-one error in armada_overlay_get_property()
    0ef736fec614 ARM: dts: BCM53573: Fix Tenda AC9 switch CPU port
    976eca4cbd37 arm64: dts: qcom: sm8150: Fix the I2C7 interrupt
    43cc228099c5 of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
    4ab834ff9fbf drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
    508383dc278c drm/msm: Update dev core dump to not print backwards
    f9b9c6b0d451 md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
    e970bc3828b7 md/md-bitmap: remove unnecessary local variable in backlog_store()
    3829cb3caeda md/raid10: use dereference_rdev_and_rrdev() to get devices
    27acd8c13183 md/raid10: factor out dereference_rdev_and_rrdev()
    097f30f0cef8 md: restore 'noio_flag' for the last mddev_resume()
    835cbfebc1c5 md: Change active_io to percpu
    3db392257008 md: Factor out is_md_suspended helper
    8dcc23191a6d drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
    13f5c43e0921 arm64: dts: qcom: msm8996-gemini: fix touchscreen VIO supply
    5ccd294df265 arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk"
    4aaced381c69 arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
    a80621bb23dc ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
    b9fa4e10b5cf drm: adv7511: Fix low refresh rate register for ADV7533/5
    1a7314734743 ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
    9a91a5466ab1 ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
    4e184a73203c ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
    075ee661ba67 drm/bridge: anx7625: Use common macros for HDCP capabilities
    ba1ca2cf4d00 drm/bridge: anx7625: Use common macros for DP power sequencing commands
    d309b170ea70 x86/mm: Fix PAT bit missing from page protection modify mask
    00c0b2825bb5 block: don't allow enabling a cache on devices that don't support it
    e5e0ec8ff160 block: cleanup queue_wc_store
    7db90dd1c5a4 drm/etnaviv: fix dumping of active MMU context
    800bf8a2226e arm64: tegra: Fix HSUART for Smaug
    ee5e1d6480ef arm64: dts: qcom: pmi8994: Add missing OVP interrupt
    31fe89ccf5a0 arm64: dts: qcom: pm660l: Add missing short interrupt
    cd1ba241d21e arm64: dts: qcom: pm6150l: Add missing short interrupt
    6fd913f0f63f arm64: dts: qcom: sm8250-sony-xperia: correct GPIO keys wakeup again
    0f0e6963705a arm64: tegra: Fix HSUART for Jetson AGX Orin
    f5ff6897094f ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
    ab5154ae26c4 ARM: dts: BCM53573: Add cells sizes to PCIe node
    ee1d740374aa ARM: dts: BCM53573: Drop nonexistent #usb-cells
    fd28ce30b525 drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
    1f3b03863ef5 firmware: ti_sci: Use system_state to determine polling
    0765a80c160d ARM: dts: stm32: Add missing detach mailbox for DHCOM SoM
    e3c7b7ce7cd6 ARM: dts: stm32: Update to generic ADC channel binding on DHSOM systems
    9d77a7fc5d04 ARM: dts: stm32: Add missing detach mailbox for Odyssey SoM
    c0929f2bbd68 ARM: dts: stm32: YAML validation fails for Odyssey Boards
    aa72079a1952 ARM: dts: stm32: Add missing detach mailbox for emtrion emSBC-Argon
    0746cab4768d ARM: dts: stm32: adopt generic iio bindings for adc channels on emstamp-argon
    a5274a79ef3a ARM: dts: stm32: YAML validation fails for Argon Boards
    e62c091b6dfa ARM: dts: stm32: Rename mdio0 to mdio
    e8d6e54daf1a arm64: dts: qcom: sm8250: Mark PCIe hosts as DMA coherent
    c755b194d793 arm64: dts: qcom: pmk8350: fix ADC-TM compatible string
    5aa1969ce7c4 arm64: dts: qcom: pmr735b: fix thermal zone name
    de4688dcc0f6 arm64: dts: qcom: pm8350b: fix thermal zone name
    0f52060fa1db arm64: dts: qcom: pm8350: fix thermal zone name
    8fd3533f4bce arm64: dts: qcom: sm8350: Use proper CPU compatibles
    db336dcb0127 arm64: dts: qcom: sm8350: Add missing LMH interrupts to cpufreq
    0c32fba73549 arm64: dts: qcom: sm8350: Fix CPU idle state residency times
    c97633eaf571 arm64: dts: qcom: sdm845-tama: Set serial indices and stdout-path
    8622340505dc arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller
    82c3d3490b6b arm64: dts: qcom: sc8280xp: Add missing SCM interconnect
    e5bf98ceac1e arm64: dts: qcom: sc8280xp-crd: Correct vreg_misc_3p3 GPIO
    4c7477d0daaa arm64: dts: qcom: sm8250-edo: Rectify gpio-keys
    7852d207882c arm64: dts: qcom: sm8250-edo: Add GPIO line names for PMIC GPIOs
    4a36d16cdf3c arm64: dts: qcom: sm8250-edo: Add gpio line names for TLMM
    537346ff2a60 arm64: dts: qcom: msm8916-l8150: correct light sensor VDDIO supply
    d244c92988ab arm64: dts: qcom: sm8250: correct dynamic power coefficients
    e2040c110138 arm64: dts: qcom: sm6350: Fix ZAP region
    ba7ff6085b80 soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
    fb4a774a6627 soc: qcom: ocmem: Add OCMEM hardware version print
    7bdeb7679f4c ASoC: stac9766: fix build errors with REGMAP_AC97
    c2c6dfc04237 drm/hyperv: Fix a compilation issue because of not including screen_info.h
    a9fa161b8356 drm/amd/display: Do not set drr on pipe commit
    3027e200dd58 quota: fix dqput() to follow the guarantees dquot_srcu should provide
    d57af071cf40 quota: add new helper dquot_active()
    fdcc50d506f3 quota: rename dquot_active() to inode_quota_active()
    622789ebe197 quota: factor out dquot_write_dquot()
    25193037e083 ASoC: cs43130: Fix numerator/denominator mixup
    aa449fa41e10 drm/bridge: tc358764: Fix debug print parameter order
    45107f9ca863 netrom: Deny concurrent connect().
    a1e820fc7808 net/sched: sch_hfsc: Ensure inner classes have fsc curve
    85da5ec0681e sfc: Check firmware supports Ethernet PTP filter
    ea701e0eba7e cteonxt2-pf: Fix backpressure config for multiple PFC priorities to work simultaneously
    1b7f266e0219 octeontx2-pf: Fix PFC TX scheduler free
    80de42d9af97 octeontx2-pf: Refactor schedular queue alloc/free calls
    23a7b872898b hwmon: (tmp513) Fix the channel number in tmp51x_is_visible()
    8b2fb4b671b3 mlxsw: core_hwmon: Adjust module label names based on MTCAP sensor counter
    6406a95c4a5e mlxsw: i2c: Limit single transaction buffer size
    2fc240094031 mlxsw: i2c: Fix chunk size setting in output mailbox buffer
    ec9538da6ce4 net: arcnet: Do not call kfree_skb() under local_irq_disable()
    cb09afe905cb ice: avoid executing commands on other ports when driving sync
    90e7778660c9 wifi: ath9k: use IS_ERR() with debugfs_create_dir()
    4a8fadcf3748 arm64: mm: use ptep_clear() instead of pte_clear() in clear_flush()
    a33ae132eec2 Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave()
    7e7197e4d6a1 wifi: mwifiex: avoid possible NULL skb pointer dereference
    7930fa4ca871 mac80211: make ieee80211_tx_info padding explicit
    4381d6083254 wifi: nl80211/cfg80211: add forgotten nla_policy for BSS color attribute
    4c340bfddce6 wifi: ath9k: protect WMI command response buffer replacement with a lock
    8ba31f946a6d wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
    7984c381bbc1 samples/bpf: fix broken map lookup probe
    c813db76bc15 samples/bpf: fix bio latency check with tracepoint
    ef67f3a959a7 ARM: dts: Add .dts files missing from the build
    cde525d61178 wifi: mwifiex: Fix missed return in oob checks failed path
    84081b4baafb wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
    9257a1d6f272 net: annotate data-races around sk->sk_lingertime
    844d60cc5efc fs: ocfs2: namei: check return value of ocfs2_add_entry()
    a485a4bd8238 lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
    065d5f17096e lwt: Fix return values of BPF xmit ops
    0159a21b9d8e hwrng: iproc-rng200 - Implement suspend and resume calls
    92651ce45ba1 crypto: caam - fix unchecked return value error
    841d2fffd09f ice: ice_aq_check_events: fix off-by-one check when filling buffer
    0f50641222f5 net-memcg: Fix scope of sockmem pressure indicators
    8d61adfb5918 selftests/bpf: Clean up fmod_ret in bench_rename test script
    eafa3465c8d9 selftests/bpf: Fix repeat option when kfunc_call verification fails
    d6702008fc9c net: tcp: fix unexcepted socket die when snd_wnd is 0
    81d8e9f59df6 Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()
    bd39b5524047 Bluetooth: hci_sync: Don't double print name in add/remove adv_monitor
    94617b736c25 Bluetooth: Fix potential use-after-free when clear keys
    9246d9310cd6 Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
    c4cb61c5f976 crypto: api - Use work queue in crypto_destroy_instance
    501f77cfce8a crypto: stm32 - Properly handle pm_runtime_get failing
    6fc09c8d765e kbuild: rust_is_available: fix confusion when a version appears in the path
    4f8c55ae5d58 kbuild: rust_is_available: add check for `bindgen` invocation
    bb15fb4e497e kbuild: rust_is_available: fix version check when CC has multiple arguments
    6c7182b9c87e kbuild: rust_is_available: remove -v option
    90978b2ff422 selftests/bpf: fix static assert compilation issue for test_cls_*.c
    c015029dfc89 wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
    3975e21d4d01 wifi: mwifiex: Fix OOB and integer underflow when rx packets
    49b6db89ab28 wifi: mt76: mt7915: fix power-limits while chan_switch
    2dd5c7f4200a can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
    ce60bfc24c88 spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
    f5f7aa2b6b8f wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH
    c0ce0fb76610 bpf: reject unhashed sockets in bpf_sk_assign
    99331d7c6ee2 udp: re-score reuseport groups when connected sockets are present
    328b85e7b14f wifi: mt76: mt7921: fix non-PSC channel scan fail
    6bf4ccafb356 wifi: rtw89: debug: Fix error handling in rtw89_debug_priv_btc_manual_set()
    39a6b4bbc573 regmap: rbtree: Use alloc_flags for memory allocations
    684431894e06 hwrng: pic32 - use devm_clk_get_enabled
    79a8ea5bf421 hwrng: nomadik - keep clock enabled while hwrng is registered
    73d97508ab11 tcp: tcp_enter_quickack_mode() should be static
    01964c630824 crypto: qat - change value of default idle filter
    912310dd841b bpf: Fix an error in verifying a field in a union
    780f072f4fad bpf: Clear the probe_addr for uprobe
    0cfbadb15351 libbpf: Fix realloc API handling in zero-sized edge cases
    fc7ed36a31b1 bpftool: Use a local bpf_perf_event_value to fix accessing its fields
    0b20dc1edd88 bpftool: Use a local copy of BPF_LINK_TYPE_PERF_EVENT in pid_iter.bpf.c
    840c64d96e39 bpftool: Define a local bpf_perf_link to fix accessing its fields
    4d5f00b2fa2c bpftool: use a local copy of perf_event to fix accessing :: Bpf_cookie
    010c6a02e6e1 selftests/bpf: Fix bpf_nf failure upon test rerun
    6f2b84248bab cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
    91f76271ec43 x86/efistub: Fix PCI ROM preservation in mixed mode
    fcf78a17bbb9 cpufreq: amd-pstate-ut: Fix kernel panic when loading the driver
    14920fb907f0 cpufreq: amd-pstate-ut: Remove module parameter access
    7da6250d2967 thermal/of: Fix potential uninitialized value access
    7c7093256806 ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table
    a99f32b81ca1 ACPI: x86: s2idle: Post-increment variables when getting constraints
    8ee6d04ef24b irqchip/loongson-eiointc: Fix return value checking of eiointc_index
    14e37e08b4e1 s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs
    f326e37a210e s390/pkey: fix PKEY_TYPE_EP11_AES handling for sysfs attributes
    f98ea9abc1f7 s390/pkey: fix PKEY_TYPE_EP11_AES handling in PKEY_GENSECK2 IOCTL
    87d452a076d1 s390/pkey: fix/harmonize internal keyblob headers
    7d31730c5d81 selftests/futex: Order calls to futex_lock_pi
    048d1a8b9da8 perf/imx_ddr: don't enable counter0 if none of 4 counters are used
    5fce29ab20cb sched/rt: Fix sysctl_sched_rr_timeslice intial value
    dfadde169774 arm64/fpsimd: Only provide the length to cpufeature for xCR registers
    8efd0420290e arm64/sme: Don't use streaming mode to probe the maximum SME VL
    1d9a735d4e45 x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
    be361e5ec4b2 sched/psi: Select KERNFS as needed
    287aeeb731e9 arm64/ptrace: Clean up error handling path in sve_set_common()
    9d8f66d6de83 selftests/resctrl: Close perf value read fd on errors
    f046a88cbadd selftests/resctrl: Unmount resctrl FS if child fails to run benchmark
    d4b1f43944c5 selftests/resctrl: Don't leak buffer in fill_cache()
    1051a1c5dd26 selftests/resctrl: Add resctrl.h into build deps
    5d343b49078d OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
    e0322a255a22 refscale: Fix uninitalized use of wait_queue_head_t
    085fe4323841 ARM: ptrace: Restore syscall skipping for tracers
    916ca8192201 ARM: ptrace: Restore syscall restart tracing
    ed134f284b4e vfs, security: Fix automount superblock LSM init problem, preventing NFS sb sharing
    1cdf51b4e5ef selftests/harness: Actually report SKIP for signal tests
    c13e6edbad1a tmpfs: verify {g,u}id mount options correctly
    254c396da3a2 iomap: Remove large folio handling in iomap_invalidate_folio()
    b553ac4894e7 fs: Fix error checking for d_hash_and_lookup()
    e12214c7ad13 eventfd: prevent underflow for eventfd semaphores
    9720f894286e reiserfs: Check the return value from __getblk()
    0c7e6ff75e6c tools/resolve_btfids: Fix setting HOSTCFLAGS
    1ad863e91af8 tools/resolve_btfids: Pass HOSTCFLAGS as EXTRA_CFLAGS to prepare targets
    a2a9f5bcccab tools/resolve_btfids: Tidy HOST_OVERRIDES
    b3f1d78c672e tools/resolve_btfids: Compile resolve_btfids as host program
    833a654b510b tools/resolve_btfids: Alter how HOSTCC is forced
    2457021a4f07 tools/resolve_btfids: Install subcmd headers
    d35187340a8a tools/resolve_btfids: Use pkg-config to locate libelf
    05026e944bd2 tools lib subcmd: Add dependency test to install_headers
    424fd5693246 tools lib subcmd: Make install_headers clearer
    a07388d1a773 tools lib subcmd: Add install target
    b9c54fd37668 Revert "net: macsec: preserve ingress frame ordering"
    786e09ae59f0 Revert "PCI: tegra194: Enable support for 256 Byte payload"
    f725ae7f0e2b Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN
    b990ac56447c udf: Handle error when adding extent to a file
    6ac8f2c8362a udf: Check consistency of Space Bitmap Descriptor
    7ac1467f9472 drm/amd/display: ensure async flips are only accepted for fast updates
    8f965b5b525d net: Avoid address overwrite in kernel_connect
    8c737d950c2b KVM: x86/mmu: Add "never" option to allow sticky disabling of nx_huge_pages
    45e3dfbf0e0c KVM: x86/mmu: Use kstrtobool() instead of strtobool()
    181831df9de8 tpm: Enable hwrng only for Pluton on AMD CPUs
    9c8dab18f830 crypto: rsa-pkcs1pad - Use helper to set reqsize
    63f1117db590 cpufreq: intel_pstate: set stale CPU frequency to minimum
    c50fdd533448 of: property: Simplify of_link_to_phandle()
    8f647ac91a22 platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
    10f358cd4b0e tracing: Introduce pipe_cpumask to avoid race on trace_pipes
    41103f7f688a net: sfp: handle 100G/25G active optical cables in sfp_parse_support
    f24681b8162b ALSA: seq: oss: Fix racy open/close of MIDI devices
    ab5c5c10d066 LoongArch: Fix the write_fcsr() macro
    9920a52362a0 LoongArch: Let pmd_present() return true when splitting pmd
    790587097c01 scsi: lpfc: Fix incorrect big endian type assignment in bsg loopback path
    1a7f80f33a59 scsi: storvsc: Always set no_report_opcodes
    7d1ac3c2eb70 scsi: aacraid: Reply queue mapping to CPUs based on IRQ affinity
    dcfd75bca8cf sctp: handle invalid error codes without calling BUG()
    fbd3ae6997fb cifs: fix max_credits implementation
    8a424afa08c5 cifs: fix sockaddr comparison in iface_cmp
    ea13eff14ef2 bnx2x: fix page fault following EEH recovery
    179b9b062fe8 netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
    78ef22febd68 wifi: mac80211: Use active_links instead of valid_links in Tx
    41b446e4904a wifi: cfg80211: remove links only on AP
    5251c835324b drm/amdgpu: Match against exact bootloader status
    f20bee49dc2a net: hns3: restore user pause configure when disable autoneg
    c61d10461279 scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
    24d9cc933597 scsi: lpfc: Remove reftag check in DIF paths
    c70b9758eebe platform/x86/amd/pmf: Fix unsigned comparison with less than zero
    acf4ec3b4244 idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
    59c4b9a2caf4 powerpc/powermac: Use early_* IO variants in via_calibrate_decr()
    54d3fba7d8c5 wifi: brcmfmac: Fix field-spanning write in brcmf_scan_params_v2_to_v1()
    71f5a7f1745c net: usb: qmi_wwan: add Quectel EM05GV2
    a2b5a9654a1d net: annotate data-races around sk->sk_{rcv|snd}timeo
    94515e9aa84c net: dsa: microchip: KSZ9477 register regmap alignment to 32 bit boundaries
    848477e08391 Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"
    51edd7383b1e vmbus_testing: fix wrong python syntax for integer value comparison
    98f933716a52 clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
    473a55cfc131 kprobes: Prohibit probing on CFI preamble symbol
    896e9e57784c security: keys: perform capable check only on privileged operations
    0ffed24af577 staging: fbtft: ili9341: use macro FBTFT_REGISTER_SPI_DRIVER
    55954eea708f ALSA: usb-audio: Update for native DSD support quirks
    d676d02be8e2 ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer()
    fbf4048d8fba ovl: Always reevaluate the file signature for IMA
    ae1cb9656ef4 drm/amd/display: Exit idle optimizations before attempt to access PHY
    faa77cf5f28f drm/amd/display: Guard DCN31 PHYD32CLK logic against chip family
    d7b1aa3e2098 drm/amd/smu: use AverageGfxclkFrequency* to replace previous GFX Curr Clock
    7c2d13fb9bab platform/x86: huawei-wmi: Silence ambient light sensor
    5c5628287bac platform/x86: asus-wmi: Fix setting RGB mode on some TUF laptops
    aeee50c15291 platform/x86: think-lmi: Use kfree_sensitive instead of kfree
    dea41980d793 platform/x86/intel/hid: Add HP Dragonfly G2 to VGBS DMI quirks
    7d0f7924ef61 platform/x86: intel: hid: Always call BTNL ACPI method
    eb54ad1ed620 ALSA: usb-audio: Add quirk for Microsoft Modern Wireless Headset
    9c1263320163 ASoC: atmel: Fix the 8K sample parameter in I2SC master
    2e780a9f4ac1 ASoC: rt711-sdca: fix for JD event handling in ClockStop Mode0
    a1fbf45a24d3 ASoC: rt711: fix for JD event handling in ClockStop Mode0
    82e17577b66f ASoc: codecs: ES8316: Fix DMIC config
    10999df817cb ASoC: rt5682-sdw: fix for JD event handling in ClockStop Mode0
    952af5cfd5b4 fs/nls: make load_nls() take a const parameter
    d28f76be7952 s390/dasd: fix hanging device after request requeue
    d563f679a268 s390/dasd: use correct number of retries for ERP requests
    a41f2f6aff5e m68k: Fix invalid .section syntax
    328fcde050ff ethernet: atheros: fix return value check in atl1c_tso_csum()
    0f7b43a5776b ASoC: nau8821: Add DMI quirk mechanism for active-high jack-detect
    eb746c4750a8 ASoC: da7219: Check for failure reading AAD IRQ events
    3c59ad8d6e8e ASoC: da7219: Flush pending AAD IRQ when suspending
    330d900620df ksmbd: fix out of bounds in init_smb2_rsp_hdr()
    99a2426b135e ksmbd: no response from compound read
    becb5191d1d5 ksmbd: validate session id and tree id in compound request
    9776024ee06b ksmbd: fix out of bounds in smb3_decrypt_req()
    513eac8b8530 9p: virtio: make sure 'offs' is initialized in zc_request
    05d88512e833 9p: virtio: fix unlikely null pointer deref in handle_rerror
    72c90ebb2dc5 media: pci: cx23885: fix error handling for cx23885 ATSC boards
    eb3c2b3519bf media: pulse8-cec: handle possible ping error
    0b6e7170ccdf media: amphion: use dev_err_probe
    026e918b3670 phy: qcom-snps-femto-v2: use qcom_snps_hsphy_suspend/resume error code
    2981ff271d52 Revert "MIPS: unhide PATA_PLATFORM"
    b60802573357 media: uapi: HEVC: Add num_delta_pocs_of_ref_rps_idx field
    36148a9b144c powerpc/boot: Disable power10 features after BOOTAFLAGS assignment
    4e005f5dd5b0 ALSA: hda/realtek: Enable 4 amplifiers instead of 2 on a HP platform
    f4bd9a43152e ARM: dts: imx: Set default tuning step for imx7d usdhc
    7f483ce4699a Revert "Revert drm/amd/display: Enable Freesync Video Mode by default"
    6ab081571f6a scsi: ufs: Try harder to change the power mode
    9fc3adc6d0fe Partially revert "drm/amd/display: Fix possible underflow for displays with large vblank"
    918639847212 Revert "bridge: Add extack warning when enabling STP in netns."

(From OE-Core rev: 3f3be3181f78355cfd2c2626f3188c5c1b8c7bc2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f4a68ccbd2d4cf3209328e6a800aa9fbaadca172)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:04 -10:00
Bruce Ashfield
9ae693cd21 linux-yocto/6.1: update to v6.1.52
Updating  to the latest korg -stable release that comprises
the following commits:

    59b13c2b647e Linux 6.1.52
    4a6284a2fc63 pinctrl: amd: Don't show `Invalid config param` errors
    7bec12fa9813 usb: typec: tcpci: clear the fault status bit
    4da07e958bfd nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse
    fdbfc54d5399 nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()
    689561db6869 dt-bindings: sc16is7xx: Add property to change GPIO function
    dca7c9965141 tcpm: Avoid soft reset when partner does not support get_status
    a1fc0096921c fsi: master-ast-cf: Add MODULE_FIRMWARE macro
    b5c7bc370e03 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
    b7366429626e serial: sc16is7xx: fix bug when first setting GPIO direction
    682f9b944374 serial: sc16is7xx: fix broken port 0 uart init
    4b3de7d2f869 serial: qcom-geni: fix opp vote on shutdown
    1cd102aaedb2 wifi: mt76: mt7921: fix skb leak by txs missing in AMSDU
    74ceef6e6925 wifi: mt76: mt7921: do not support one stream on secondary antenna only
    179c65828593 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition
    86b818e2495d staging: rtl8712: fix race condition
    bd69537c1a2c HID: wacom: remove the battery when the EKR is off
    48729a1d2a7a usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0
    c564d4f91a0c usb: dwc3: meson-g12a: do post init to fix broken usb after resumption
    bfc4ccc0bcae ALSA: usb-audio: Fix init call orders for UAC1
    69d9330f2eff USB: serial: option: add FOXCONN T99W368/T99W373 product
    34f396f7abd0 USB: serial: option: add Quectel EM05G variant (0x030e)
    5d0fe30be4e2 modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
    36231e2c4ebd rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
    915219699da1 net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index
    4dab89cccd8c mmc: au1xmmc: force non-modular build and remove symbol_get usage
    ac6fa0e04be0 ARM: pxa: remove use of symbol_get()
    cf859267e639 ksmbd: reduce descriptor size if remaining bytes is less than request size
    d070c4dd2a5b ksmbd: replace one-element array with flex-array member in struct smb2_ea_info
    30fd6521b2fb ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
    7d8855fd849d ksmbd: fix wrong DataOffset validation of create context
    1ce9ebc96eda erofs: ensure that the post-EOF tails are all zeroed

(From OE-Core rev: 3dc84243cfb11df1e483568093b2214d15f99e5d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9be500bb695d0c6f863397d2f4b17d505427001a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:04 -10:00
Peter Marko
cda8bd8eb1 openssl: Upgrade 3.1.2 -> 3.1.3
https://github.com/openssl/openssl/blob/openssl-3.1/NEWS.md#major-changes-between-openssl-312-and-openssl-313-19-sep-2023
Major changes between OpenSSL 3.1.2 and OpenSSL 3.1.3 [19 Sep 2023]
* Fix POLY1305 MAC implementation corrupting XMM registers on Windows (CVE-2023-4807)

(From OE-Core rev: 99e40cd72c73363fd1a1094106f90092d5d79c3a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:04 -10:00
Alexander Kanavin
5fa9c019e3 gnupg: upgrade 2.4.2 -> 2.4.3
New stable GnuPG release: version 2.4.3.  This version fixes some minor bugs and
improves the performance on Windows.

(From OE-Core rev: e0641f1ff96e7f3835bde0196ea8d4d3a734f0f2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c2365540ae61fe6fab61fb076ddb976ca26ce47)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:04 -10:00
Archana Polampalli
e7467ef8a1 gstreamer: upgrade 1.22.5 -> 1.22.6
This release only contains bugfixes and security fixes.

Highlighted bugfixes in 1.22.6:

Security fixes for the MXF demuxer and H.265 video parser
Fix latency regression in H.264 hardware decoder base class
androidmedia: fix HEVC codec profile registration and fix coded_data handling
decodebin3: fix switching from a raw stream to an encoded stream
gst-inspect: prettier and more correct signal and action signals printing
rtmp2: Allow NULL flash version, omitting the field, for better RTMP server compatibility
rtspsrc: better compatibility with buggy RTSP servers that don't set a clock-rate
rtpjitterbuffer: fix integer overflow that led to more packets being declared lost than have been lost
v4l2: fix video encoding regression on RPi and fix support for left and top padding
waylandsink: Crop surfaces to their display width height
cerbero: recognise Manjaro; add Rust support for MSVC ARM64; cmake detection fixes
various bug fixes, build fixes, memory leak fixes, and other stability and reliability improvements

https://nvd.nist.gov/vuln/detail/CVE-2023-40474
https://nvd.nist.gov/vuln/detail/CVE-2023-40475
https://nvd.nist.gov/vuln/detail/CVE-2023-40476

https://gstreamer.freedesktop.org/releases/1.22/#1.22.6

(From OE-Core rev: f481d973d7f942f8a9492cd71985bd1d428ac59a)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-13 04:31:04 -10:00
Roland Hieber
6baf59b397 contributor-guide: style-guide: discourage using Pending patch status
Suggested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: 7826ddb9bc397f3c59c69b8b4480911466c5f628)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:47 -10:00
Roland Hieber
affffacb11 contributor-guide: deprecate "Accepted" patch status
This is in accordance with the gatesgarth Release Notes:

  > In the ``Upstream-Status`` header convention for patches,
  > ``Accepted`` has | been replaced with ``Backport`` as these almost
  > always mean the same thing i.e. the patch is already upstream and
  > may need to be removed in a future recipe upgrade. If you are adding
  > these headers to your own patches then use Backport to indicate that
  > the patch has been sent upstream.

  <https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes>

Suggested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
(From yocto-docs rev: ca3fa9079f0effc8506626fc2c76736b240d2c29)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:47 -10:00
Roland Hieber
58a8315b46 contributor-guide: discourage marking patches as Inappropriate
It was never really clear what all those reasons really meant, and every
patch submitted upstream liftens the maintenance on the Yocto side.
So remove the current list, and replace it with two reasons in which an
upstream submission likely won't benefit the upstream project.

Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: 3b2211e56220319f8134bfda2e9dc51376623173)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:47 -10:00
Roland Hieber
7932747244 contributor-guide: recipe-style-guide: add section about CVE patches
This was previously included in the OpenEmbedded wiki page [1], but was
not ported along with the rest in commit 95c9a1e1e78bbfb82ade
(2023-09-12, Michael Opdenacker: "contributor-guide: recipe-style-guide:
add Upstream-Status").

  [1]: https://www.openembedded.org/index.php?title=Commit_Patch_Message_Guidelines&oldid=10935

Group the examples in their own sections (but name it differently from
any other section in this document so that sphinx doesn't generate a
warning about duplicate labels).

(From yocto-docs rev: f22254dcfe0f17cc7998a7cfc69dfc055b41e2f0)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:47 -10:00
Roland Hieber
747a765e20 contributor-guide: recipe-style-guide: add more patch tagging examples
(From yocto-docs rev: 5341d166be5938405a3cb99b28febd2e12bcf9f0)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Michael Opdenacker
c86bb1ce89 dev-manual: new-recipe.rst: replace reference to wiki
(From yocto-docs rev: 7f60472fd0bfdd8d241536ac3868e428b87ae4f5)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Michael Opdenacker
04b0ca0ee0 bsp-guide: bsp.rst: replace reference to wiki
(From yocto-docs rev: eee269646728f22c92c11f945e67798ce727ac68)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Richard Purdie
1d766e93b4 contributor-guide/style-guide: Add a note about task idempotence
(From yocto-docs rev: 266f018e816047ea3f91efa4b1944221ea3a2005)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Richard Purdie
f73ea64bc7 contributor-guide/style-guide: Refer to recipes, not packages
Whilst often referred to as packages by people we should use the more
accurate term in documentation, 'recipe' instead of 'packages'.

(From yocto-docs rev: b164d45594bc054e96af7e64efae7e4fe685cec3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Yuta Hayama
67baa777fe linux/generate-cve-exclusions: print the generated time in UTC
Allow time comparisons to be made regardless of where the script was run.

(From OE-Core rev: aa90e5ea1fe77c97e5915e5e9a69bbd0b9461d09)

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 018e74f2ce0b1a4c0614c99bc19f07f787d61123)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Khem Raj
aa56c1b8fa tcl: Add a way to skip ptests
Some tests hardcode assumptions on locales, which may not be present in
musl systems e.g., therefore add a way to skip such tests using -skip
option.

Skip unixInit-3* test on musl

(From OE-Core rev: c6f4728d4e483067e353e91f5fb20ed552e6c911)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fa66f1cee2d88c2276442e8b4aaeccde5490f9ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Benjamin Bara
c46f32ccf4 ffmpeg: avoid neon on unsupported machines
Disable neon if the machine does not support it.

(From OE-Core rev: 866d3ca22ca30bff9d7b85b87387f40b59d60113)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c3a6a74531d3860a3849a1f53f6709d6a0e88a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Benjamin Bara
62630557f6 nettle: avoid neon on unsupported machines
Disable neon if the machine does not support it. --enable-fat also
includes the neon assembler code, therefore also disable it.

(From OE-Core rev: 9a0c8796cc5788a88b3e4fea50de130185b11a18)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 768c6bb46e1cc4a1d8c12c6f30408bb821ec4534)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Benjamin Bara
974832c9cb pixman: avoid neon on unsupported machines
Disable neon if the machine does not support it.

(From OE-Core rev: dfc65be35a38bc84134aa7d9e3483b1e00b95729)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9ea1a98bcfe30a46898765e41e0fc9ebb0086738)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Benjamin Bara
d0cc90abf1 README: fix mail address in git example command
(From OE-Core rev: 73f8bbc74fbc7b0962314e5517ba8fd754e5507e)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ff1c5ee9201cb792bb60f3338a5ee6d2d9f11ef9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Peter Marko
2de37e41ea gcc-runtime: remove bashism
Debian 12 no longer supports replacing dash with bash as default shell.
Therefore to achieve compatibility with Debian 12, all bashisms need
to be removed.

Shell comparison via == gives an error with dash and thus the condition
is always false.

(From OE-Core rev: f842d8a9dc2d785e75981ce009e68227796135be)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3723b26f82219ff71823335d550dbf29086d63d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Sean Nyekjaer
fd6757be09 gcc: depend on zstd
Add zstd LTO support for target and nativesdk compiler.

This also brings gcc into sync with gcc-cross.

% x86_64-oe-linux-gcc -v
[...]
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (GCC)
% x86_64-oesdk-linux-gcc -v
[...]
Supported LTO compression algorithms: zlib
gcc version 12.2.0 (GCC)

(From OE-Core rev: fdabb7a54bb994d3680c410c8a46eed30e23ec47)

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Bruce Ashfield
4c5f577740 linux-yocto/6.1: update to v6.1.51
Updating  to the latest korg -stable release that comprises
the following commits:

    c2cbfe5f5122 Linux 6.1.51
    ae0188f9c2a8 thunderbolt: Fix a backport error for display flickering issue
    583a8426abb3 kallsyms: Fix kallsyms_selftest failure
    5d54040e9d57 io_uring/parisc: Adjust pgoff in io_uring mmap() for parisc
    fff21bc26bbd parisc: sys_parisc: parisc_personality() is called from asm code
    e8ac4be71701 parisc: Cleanup mmap implementation regarding color alignment
    b3d099df68de lockdep: fix static memory detection even more
    1cb79e7e0572 ARM: module: Use module_init_layout_section() to spot init sections
    8d99105d6a10 arm64: module: Use module_init_layout_section() to spot init sections
    42efdb3531ab arm64: module-plts: inline linux/moduleloader.h
    207e228bf1f3 module: Expose module_init_layout_section()
    b0dc0aac2085 ACPI: thermal: Drop nocrt parameter

(From OE-Core rev: 9d0c26e3ac58c9c8d9e5bad8e3bff97f8dcdd507)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ade4bf6b95aca4c168c3d33c2bcfc429f41d49b8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Bruce Ashfield
40d7b5863b linux-yocto/6.1: update to v6.1.50
Updating  to the latest korg -stable release that comprises
the following commits:

    a2943d2d9a00 Linux 6.1.50
    19641b979b24 ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG
    9d5a3b4aee11 maple_tree: disable mas_wr_append() when other readers are possible
    936cf79649e0 ASoC: amd: yc: Fix a non-functional mic on Lenovo 82SJ
    d10ab996bd5c gpio: sim: pass the GPIO device's software node to irq domain
    3c839f8332df gpio: sim: dispose of irq mappings before destroying the irq_sim domain
    3282e79a85c1 dma-buf/sw_sync: Avoid recursive lock during fence signal
    6ed06b94f683 pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function}
    3fb1b959af17 pinctrl: renesas: rzv2m: Fix NULL pointer dereference in rzv2m_dt_subnode_to_map()
    4a75bf3f6f4f pinctrl: renesas: rzg2l: Fix NULL pointer dereference in rzg2l_dt_subnode_to_map()
    0ba9a242a6b3 clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
    70461151d0eb scsi: core: raid_class: Remove raid_component_add()
    774cb3de7ac9 scsi: snic: Fix double free in snic_tgt_create()
    bd20e20c4d64 madvise:madvise_free_pte_range(): don't use mapcount() against large folio for sharing check
    f67e3a725b49 can: raw: add missing refcount for memory leak fix
    b7803afc77be ublk: remove check IO_URING_F_SQE128 in ublk_ch_uring_cmd
    f016326d31d0 thunderbolt: Fix Thunderbolt 3 display flickering issue on 2nd hot plug onwards
    d3ff67076bed cgroup/cpuset: Free DL BW in case can_attach() fails
    f0135131bb0e sched/deadline: Create DL BW alloc, free & check overflow interface
    064b960dbe94 cgroup/cpuset: Iterate only if DEADLINE tasks are present
    d1b4262b78cc sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets
    9bcfe1527882 sched/cpuset: Bring back cpuset_mutex
    7030fbf75f26 cgroup/cpuset: Rename functions dealing with DEADLINE accounting
    ce59b7c1b027 nfsd: use vfs setgid helper
    362ed5d93114 nfs: use vfs setgid helper
    a0ec52f36ce9 selftests/net: mv bpf/nat6to4.c to net folder
    f1fa6e6f85cb hwmon: (aquacomputer_d5next) Add selective 200ms delay after sending ctrl report
    d8f9a9cfdcd3 x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4
    6bcb9c7d0435 x86/fpu: Invalidate FPU state correctly on exec()
    3bc9b0364a8c drm/display/dp: Fix the DP DSC Receiver cap size
    3abffee6091c drm/i915/dgfx: Enable d3cold at s2idle
    115f2ccd3a99 drm/vmwgfx: Fix shader stage validation
    1900e193b5dd PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
    fe04122b9321 media: vcodec: Fix potential array out-of-bounds in encoder queue_setup
    4919043ab93b pinctrl: amd: Mask wake bits on probe again
    c6b7d8902025 of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock
    2d00ca90b81e of: unittest: Fix EXPECT for parse_phandle_with_args_map() test
    e75de82b3786 radix tree: remove unused variable
    aa096bc3c8c0 riscv: Fix build errors using binutils2.37 toolchains
    33835975740e riscv: Handle zicsr/zifencei issue between gcc and binutils
    30ffd5890a03 lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels
    82bb5f8aba00 batman-adv: Hold rtnl lock during MTU update via netlink
    cb1f73e691bb batman-adv: Fix batadv_v_ogm_aggr_send memory leak
    f1bead97f0ad batman-adv: Fix TT global entry leak when client roamed back
    fc9b87d8b741 batman-adv: Do not get eth header before batadv_check_management_packet
    ed1eb19806ae batman-adv: Don't increase MTU when set by user
    efef746c5a38 batman-adv: Trigger events for auto adjusted MTU
    d6b64d710e9b selinux: set next pointer before attaching to list
    36c5aecc789d nfsd: Fix race to FREE_STATEID and cl_revoked
    96fb46ef8281 NFS: Fix a use after free in nfs_direct_join_group()
    bdc544a87d43 mm: memory-failure: fix unexpected return value in soft_offline_page()
    07fad410aa6e mm: add a call to flush_cache_vmap() in vmap_pfn()
    a8a60bc8027e mm/gup: handle cont-PTE hugetlb pages correctly in gup_must_unshare() via GUP-fast
    d4e11b85a269 ALSA: ymfpci: Fix the missing snd_card_free() call at probe error
    d13f3a63d236 shmem: fix smaps BUG sleeping while atomic
    091591f6e7c3 mm,ima,kexec,of: use memblock_free_late from ima_free_kexec_buffer
    a7d172252bfa clk: Fix slab-out-of-bounds error in devm_clk_release()
    14904f4d8bf8 NFSv4: Fix dropped lock for racing OPEN and delegation return
    ac467d7405fe platform/x86: ideapad-laptop: Add support for new hotkeys found on ThinkBook 14s Yoga ITL
    e6a60eccd0c8 wifi: mac80211: limit reorder_buf_filtered to avoid UBSAN warning
    b8b7243aafec ibmveth: Use dcbf rather than dcbfl
    85607ef399d9 ASoC: cs35l41: Correct amp_gain_tlv values
    014fec554010 ASoC: amd: yc: Add VivoBook Pro 15 to quirks list for acp6x
    22a406b3629a io_uring/msg_ring: fix missing lock on overflow for IOPOLL
    816c7cecf6a0 io_uring/msg_ring: move double lock/unlock helpers higher up
    4f5937528518 io_uring: extract a io_msg_install_complete helper
    0d617fb6d513 io_uring: get rid of double locking
    82d811ff5665 KVM: x86/mmu: Fix an sign-extension bug with mmu_seq that hangs vCPUs
    2800385fda53 KVM: x86: Preserve TDP MMU roots until they are explicitly invalidated
    a0559fd0e14e bonding: fix macvlan over alb bond support
    b15dea3de413 rtnetlink: Reject negative ifindexes in RTM_NEWLINK
    ed3fe5f9020c netfilter: nf_tables: fix out of memory error handling
    41841b585e53 netfilter: nf_tables: flush pending destroy work before netlink notifier
    136861956ad6 i40e: fix potential NULL pointer dereferencing of pf->vf i40e_sync_vsi_filters()
    581668893e31 net/sched: fix a qdisc modification with ambiguous command request
    f94f30e2abfa igc: Fix the typo in the PTM Control macro
    9b7fd6beec37 igb: Avoid starting unnecessary workqueues
    39d43b9cdfe8 can: isotp: fix support for transmission of SF without flow control
    f41781b9d8a4 selftests: bonding: do not set port down before adding to bond
    850e2322ae59 ice: Fix NULL pointer deref during VF reset
    7cddaed2a3f6 Revert "ice: Fix ice VF reset during iavf initialization"
    1188e9dd7af9 ice: fix receive buffer size miscalculation
    417e7ec0d61e ipv4: fix data-races around inet->inet_id
    4af1fe642f37 net: validate veth and vxcan peer ifindexes
    afc9d3d21793 net: bcmgenet: Fix return value check for fixed_phy_register()
    029e491b8c11 net: bgmac: Fix return value check for fixed_phy_register()
    ac259251487a net: dsa: mt7530: fix handling of 802.1X PAE frames
    c663607202f5 selftests: mlxsw: Fix test failure on Spectrum-4
    1288f9907514 mlxsw: Fix the size of 'VIRT_ROUTER_MSB'
    7134565a8207 mlxsw: reg: Fix SSPR register layout
    22f9b5468df5 mlxsw: pci: Set time stamp fields also when its type is MIRROR_UTC
    4496f6ccf599 ipvlan: Fix a reference count leak warning in ipvlan_ns_exit()
    265ed382e0f4 dccp: annotate data-races in dccp_poll()
    b516a24f4c07 sock: annotate data-races around prot->memory_pressure
    cfee17993d10 net: dsa: felix: fix oversize frame dropping for always closed tc-taprio gates
    b701b8d191da devlink: add missing unregister linecard notification
    1375d2061204 devlink: move code to a dedicated directory
    eaeef5c865ab octeontx2-af: SDP: fix receive link config
    2cb0c037c927 tracing: Fix memleak due to race between current_tracer and trace
    7d0c2b0de2db tracing: Fix cpu buffers unavailable due to 'record_disabled' missed
    7e862cce3491 drm/i915/gt: Support aux invalidation on all engines
    8e3f138b96f6 drm/i915/gt: Poll aux invalidation register bit on invalidation
    017d4404312a drm/i915/gt: Ensure memory quiesced before invalidation
    c23126f2c76a drm/i915: Add the gen12_needs_ccs_aux_inv helper
    d4f5dcf68c05 s390/zcrypt: fix reply buffer calculations for CCA replies
    246d763b79a5 s390/zcrypt: remove unnecessary (void *) conversions
    40dafcab9da9 can: raw: fix lockdep issue in raw_release()
    335987e21237 can: raw: fix receiver memory leak
    e5c768d809a8 jbd2: fix a race when checking checkpoint buffer busy
    5fda50e262e6 jbd2: remove journal_clean_one_cp_list()
    8168c96c24ec jbd2: remove t_checkpoint_io_list
    1fa68a781098 MIPS: cpu-features: Use boot_cpu_type for CPU type based features
    92c568c82ee7 MIPS: cpu-features: Enable octeon_cache by cpu_type
    3e4d038da33e PCI: acpiphp: Reassign resources on bridge if necessary
    28916927b762 video/aperture: Move vga handling to pci function
    4aad3b82b9de video/aperture: Only kick vgacon when the pdev is decoding vga
    437e99f2a1e9 drm/aperture: Remove primary argument
    cccfcbb9e51a drm/gma500: Use drm_aperture_remove_conflicting_pci_framebuffers
    6db53af15444 fbdev/radeon: use pci aperture helpers
    cd1f889c99ee drm/ast: Use drm_aperture_remove_conflicting_pci_framebuffers
    26ea8668b8aa xprtrdma: Remap Receive buffers after a reconnect
    d9aac9cdd6e2 NFSv4: fix out path in __nfs4_get_acl_uncached
    4a289d123f62 NFSv4.2: fix error handling in nfs42_proc_getxattr
    024f76bca9d0 Linux 6.1.49
    db05f8449bb3 Revert "f2fs: fix to do sanity check on direct node in truncate_dnode()"
    c5bd20577ff3 Revert "f2fs: fix to set flush_merge opt and show noflush_merge"
    76e18e6709c8 Revert "f2fs: don't reset unchangable mount option in f2fs_remount()"
    77c576602dc7 objtool/x86: Fix SRSO mess
    cd363bb9548e Linux 6.1.48
    7487244912b1 x86/srso: Correct the mitigation status when SMT is disabled
    4da4aae04b7f objtool/x86: Fixup frame-pointer vs rethunk
    c8b056a3b4eb x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
    dae93ed961a8 x86/srso: Disable the mitigation on unaffected configurations
    e4679a0342e0 x86/CPU/AMD: Fix the DIV(0) initial fix attempt
    b41eb316c95c x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()
    c1f831425fe9 x86/static_call: Fix __static_call_fixup()
    c16d0b3baff4 x86/srso: Explain the untraining sequences a bit more
    529a9f087a7e x86/cpu: Cleanup the untrain mess
    e6b40d2cb5aa x86/cpu: Rename srso_(.*)_alias to srso_alias_\1
    54dde78a50a8 x86/cpu: Rename original retbleed methods
    44dbc912fd8a x86/cpu: Clean up SRSO return thunk mess
    53ebbe1c8c02 x86/alternative: Make custom return thunk unconditional
    8bb1ed390d35 x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()
    6e4dd7d2636d x86/cpu: Fix __x86_return_thunk symbol type
    802aacbbffe2 Linux 6.1.47
    0768ecc49ea7 mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
    b2c55af89b51 net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
    3f27451c9f29 drm/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create
    790c2f9d15b5 af_unix: Fix null-ptr-deref in unix_stream_sendpage().
    ab63f883bfdc drm/amdgpu: keep irq count in amdgpu_irq_disable_all
    8abce61273c2 drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11
    21614ba60883 arm64/ptrace: Ensure that SME is set up for target when writing SSVE state
    1be35f5c1670 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
    1b4ce2952b4f hugetlb: do not clear hugetlb dtor until allocating vmemmap
    4bdfe20d85b3 drm/amd/display: Implement workaround for writing to OTG_PIXEL_RATE_DIV register
    8517d739923e sched/fair: Remove capacity inversion detection
    e8acf9971fbe sched/fair: unlink misfit task from cpu overutilized
    5274bf1f743f zsmalloc: allow only one active pool compaction context
    d4008eadfce5 drm/amd/display: disable RCO for DCN314
    b2f599c014f3 ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG
    7de99bf5bcd6 drm/amdgpu/pm: fix throttle_status for other than MP1 11.0.7
    9c8c2cf9f9bc drm/amdgpu: skip fence GFX interrupts disable/enable for S0ix
    e1cbd5637f37 drm/amd: flush any delayed gfxoff on suspend entry
    df1566ce41ee drm/i915/sdvo: fix panel_type initialization
    a1fa8f0fc58e drm/qxl: fix UAF on handle creation
    5818da46a2b5 mmc: block: Fix in_flight[issue_type] value error
    dccd07b0d9e4 mmc: wbsd: fix double mmc_free_host() in wbsd_init()
    8ad3bfdd227e blk-crypto: dynamically allocate fallback profile
    65bcb07b1262 arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards
    fc66f8157917 virtio-net: Zero max_tx_vq field for VIRTIO_NET_CTRL_MQ_HASH_CONFIG case
    9e725386d426 cifs: Release folio lock on fscache read hit.
    bfd25f5e6400 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
    0c05493341d6 serial: 8250: Fix oops for port->pm on uart_change_pm()
    af7ca7ad3753 riscv: uaccess: Return the number of bytes effectively not copied
    ea65d78ef999 ALSA: hda/realtek - Remodified 3k pull low procedure
    b662856b7134 soc: aspeed: socinfo: Add kfree for kstrdup
    15db1e594e2c soc: aspeed: uart-routing: Use __sysfs_match_string
    6c889d2123ba ALSA: hda/realtek: Add quirks for HP G11 Laptops
    7b041466ed42 ASoC: meson: axg-tdm-formatter: fix channel slot allocation
    f0451002a4d9 ASoC: rt5665: add missed regulator_bulk_disable
    2b34636b50bf arm64: dts: imx93: Fix anatop node size
    9ba52bd26774 ARM: dts: imx: Set default tuning step for imx6sx usdhc
    6777c4379bd8 arm64: dts: imx8mm: Drop CSI1 PHY reference clock configuration
    ca69bb145383 ARM: dts: imx6: phytec: fix RTC interrupt level
    d2d6d51d753a ARM: dts: imx: align LED node names with dtschema
    66d761a2290a arm64: dts: rockchip: Disable HS400 for eMMC on ROCK 4C+
    52d3607db0de arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4
    9657a754c5de arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict
    fae3868be844 bus: ti-sysc: Flush posted write on enable before reset
    1c82d1b736ce ice: Block switchdev mode when ADQ is active and vice versa
    fbc7b1dad825 qede: fix firmware halt over suspend and resume
    2e03a92b2411 net: do not allow gso_size to be set to GSO_BY_FRAGS
    06b8f06f9302 sock: Fix misuse of sk_under_memory_pressure()
    3d820924c00c sfc: don't unregister flow_indr if it was never registered
    df83af3b996d net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
    740924313a1b i40e: fix misleading debug logs
    ea749b5e3b38 iavf: fix FDIR rule fields masks validation
    c965a5837614 net: openvswitch: reject negative ifindex
    d5e4c0e78f1d team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    85bd0af93994 net: phy: broadcom: stub c45 read/write for 54810
    7148bca63b21 netfilter: nft_dynset: disallow object maps
    7f8a160d40ef ipvs: fix racy memcpy in proc_do_sync_threshold
    00ea7eb1c69e netfilter: nf_tables: deactivate catchall elements in next generation
    a800fcd8f18d netfilter: nf_tables: fix false-positive lockdep splat
    75c724e2b714 octeon_ep: cancel tx_timeout_task later in remove sequence
    58a54bad3a76 net: macb: In ZynqMP resume always configure PS GTR for non-wakeup source
    06af678c6080 drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs
    2f07f1302ecb selftests: mirror_gre_changes: Tighten up the TTL test match
    cd4460b21741 net: phy: fix IRQ-based wake-on-lan over hibernate / power off
    a41e5a79a059 net: pcs: Add missing put_device call in miic_create
    120a89c36d3d virtio-net: set queues after driver_ok
    45085ba966fb virtio_net: notify MAC address change on device initialization
    a442cd170193 xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH
    87b655f4936b xfrm: add NULL check in xfrm_update_ae_params
    2b05bf5dc437 ip_vti: fix potential slab-use-after-free in decode_session6
    55ad2309205c ip6_vti: fix slab-use-after-free in decode_session6
    0d27567fde5b xfrm: fix slab-use-after-free in decode_session6
    71dfe71df100 net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
    479884b4ce16 net: af_key: fix sadb_x_filter validation
    9a0056276f5f net: xfrm: Fix xfrm_address_filter OOB read
    5a47c2fa0d39 i2c: designware: Handle invalid SMBus block data response length value
    52114963307e i2c: designware: Correct length byte validation logic
    ceb9ba8e3083 btrfs: fix BUG_ON condition in btrfs_cancel_balance
    9f68e2105dd9 btrfs: fix incorrect splitting in btrfs_drop_extent_map_range
    0693c8f134f9 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
    31311a9a4baa tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
    d6aa03bda8c0 vdpa: Enable strict validation for netlinks ops
    ff71709445ac vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check
    8ad9bc25cbdc vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check
    44b508cc9688 vdpa: Add features attr to vdpa_nl_policy for nlattr length check
    b8fee83aa4ed powerpc/rtas_flash: allow user copy to flash block cache objects
    9fedcd07abdc fbdev: mmp: fix value check in mmphw_probe()
    3461e6492ca2 i2c: tegra: Fix i2c-tegra DMA config option processing
    ba249011f665 i2c: hisi: Only handle the interrupt of the driver's transfer
    db0416c15572 i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
    5ee28bcfbaac cifs: fix potential oops in cifs_oplock_break
    cba26abc3f94 vdpa/mlx5: Delete control vq iotlb in destroy_mr only when necessary
    bb4983ec9e75 vdpa/mlx5: Fix mr->initialized semantics
    e706675beeec vduse: Use proper spinlock for IRQ injection
    af5818c35173 virtio-mmio: don't break lifecycle of vm_dev
    6297644db23f btrfs: fix use-after-free of new block group that became unused
    29cebf80877b btrfs: convert btrfs_block_group::seq_zone to runtime flag
    94cde94169f0 btrfs: convert btrfs_block_group::needs_free_space to runtime flag
    01eca70ef8cf btrfs: move out now unused BG from the reclaim list
    485ec8f8e1d8 video/aperture: Only remove sysfb on the default vga pci device
    f83ab817effb fbdev/hyperv-fb: Do not set struct fb_info.apertures
    e41170d128e6 ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
    3d2d051be161 KVM: arm64: vgic-v4: Make the doorbell request robust w.r.t preemption
    402f1d86ea26 drm/amd/display: fix access hdcp_workqueue assert
    81e6cf447a2e drm/amd/display: phase3 mst hdcp for multiple displays
    d90f97cb3821 drm/amd/display: save restore hdcp state when display is unplugged from mst hub
    48f0671be281 igc: read before write to SRRCTL register
    128c06a34cfe ring-buffer: Do not swap cpu_buffer during resize process
    356fe907dfcd Bluetooth: MGMT: Use correct address for memcpy()
    a1ceb871284f powerpc/kasan: Disable KCOV in KASAN code
    6d06cf0f0238 ALSA: hda/realtek: Add quirk for ASUS ROG GZ301V
    2b248cf8b6db ALSA: hda/realtek: Add quirk for ASUS ROG GA402X
    c48616e52d5d ALSA: hda/realtek: Add quirk for ASUS ROG GX650P
    cdd412b528de ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
    63e0b5d76d75 ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
    9e79f3e8f129 fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted
    1e2205568bb8 fs: ntfs3: Fix possible null-pointer dereferences in mi_read()
    4246bbef0442 fs/ntfs3: Enhance sanity check while generating attr_list
    dd0b3b367c38 drm/amdgpu: Fix potential fence use-after-free v2
    3a89f3bfbf53 ceph: try to dump the msgs when decoding fails
    d92613aa43da Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally
    149daab45922 Bluetooth: L2CAP: Fix use-after-free
    de8677ccf883 watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)
    9040adc38cf6 firewire: net: fix use after free in fwnet_finish_incoming_packet()
    ef87750caea5 thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth
    acb9038e1d60 thunderbolt: Add Intel Barlow Ridge PCI ID
    e8a80cf06b4b pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
    a4f71523ed21 gfs2: Fix possible data races in gfs2_show_options()
    8277a215c872 usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
    31f8efefa2a9 usb: chipidea: imx: don't request QoS for imx8ulp
    809625f4419c thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx()
    b7bd48f0be84 media: platform: mediatek: vpu: fix NULL ptr dereference
    28d900836d47 usb: gadget: uvc: queue empty isoc requests if no video buffer is available
    49038877f948 usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push
    54a55c345c3b media: camss: set VFE bpl_alignment to 16 for sdm845 and sm8250
    c71aa5f1cf96 media: v4l2-mem2mem: add lock to protect parameter num_rdy
    6c9317f73b80 led: qcom-lpg: Fix resource leaks in for_each_available_child_of_node() loops
    bda3f463543f serial: stm32: Ignore return value of uart_remove_one_port() in .remove()
    7e4f5c3f01fb cifs: fix session state check in reconnect to avoid use-after-free issue
    945f4a7aff84 smb: client: fix warning in cifs_smb3_do_mount()
    a783230585e5 ALSA: hda/realtek: Add quirks for ROG ALLY CS35l41 audio
    de840f77f564 HID: intel-ish-hid: ipc: Add Arrow Lake PCI device ID
    055971715ff6 ASoC: SOF: core: Free the firmware trace before calling snd_sof_shutdown()
    359ec0952cbb drm/amd/display: Enable dcn314 DPP RCO
    5447155001e6 drm/amd/display: Skip DPP DTO update if root clock is gated
    5fe7815e784b RDMA/mlx5: Return the firmware result upon destroying QP/RQ
    fbd9332d32ec drm/amd/display: Apply 60us prefetch for DCFCLK <= 300Mhz
    78b25110eb8c drm/amdgpu: install stub fence into potential unused fence pointers
    96522cf9c71e iommu/amd: Introduce Disable IRTE Caching Support
    83c22663acb6 HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard
    d7933b92c4ca accel/habanalabs: add pci health check during heartbeat
    b7a34e30d42f dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
    3dd5c90c48bf ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion
    ff1b4b1e02c3 iopoll: Call cpu_relax() in busy loops
    b3e662ece02e ASoC: Intel: sof_sdw: Add support for Rex soundwire
    c01ec45a7c4c ASoC: Intel: sof_sdw_rt_sdca_jack_common: test SOF_JACK_JDSRC in _exit
    31149bb94f77 ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
    a7d4d28d2c0b ASoC: amd: vangogh: Add check for acp config flags in vangogh platform
    633ac567bd9e drm: rcar-du: remove R-Car H3 ES1.* workarounds
    340dba127bbe drm/stm: ltdc: fix late dereference check
    f934cad91318 ASoC: SOF: amd: Add pci revision id check
    ea88c6c7819e PCI: tegra194: Fix possible array out of bounds access
    5c23d9bd5f5d ASoC: Intel: sof_sdw: add quirk for LNL RVP
    3f498ae94c54 ASoC: Intel: sof_sdw: add quirk for MTL RVP
    ce3288d8d654 drm/amdgpu: fix memory leak in mes self test
    9f55d300541c drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1
    ab6f446c220d drm/amdgpu: fix calltrace warning in amddrm_buddy_fini
    caa2d40a0da2 net: phy: at803x: fix the wol setting functions
    7dcc894e1518 net: phy: at803x: Use devm_regulator_get_enable_optional()
    0d52759710fa net/smc: Fix setsockopt and sysctl to specify same buffer size again
    206381cee964 net/smc: replace mutex rmbs_lock and sndbufs_lock with rw_semaphore
    0fc3c55a3a4b selftests: forwarding: tc_actions: Use ncat instead of nc
    306a5dddfb12 selftests: forwarding: tc_actions: cleanup temporary files when test is aborted
    f872672edd5e zsmalloc: fix races between modifications of fullness and isolated
    802b34e99224 zsmalloc: consolidate zs_pool's migrate_lock and size_class's locks
    8a214f88e8ff cpuidle: psci: Move enabling OSI mode after power domains creation
    ad1fa1a028ee cpuidle: psci: Extend information in log about OSI/PC mode
    78721c8f9379 mmc: sdhci-f-sdh30: Replace with sdhci_pltfm

(From OE-Core rev: 1bf3d27340de90b04571518d1d6a84d343a91e07)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4167fba25e39f0e6722ddb45d51bdf7a65e1a232)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Bruce Ashfield
57c2aef3c1 linux-yocto/6.1: fix CONFIG_F2FS_IO_TRACE configuration warning
Integrating the following commit(s) to linux-yocto/.:

    70924d2512b features/f2fs: remove CONFIG_F2FS_IO_TRACE

(From OE-Core rev: 77ab879e9d71a6fecdf4793b34a68950ffb3cbe2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dabdc29e96e962e1b917bdcee2d38d654e28dab5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Wang Mingyu
d235c863d5 xz: upgrade 5.4.3 -> 5.4.4
Changelog:
===========
* liblzma and xzdec can now build against WASI SDK when threading
  support is disabled. xz and tests don't build yet.

* CMake:

    - Fixed a bug preventing other projects from including liblzma
      multiple times using find_package().

    - Don't create broken symlinks in Cygwin and MSYS2 unless
      supported by the environment. This prevented building for the
      default MSYS2 environment. The problem was introduced in
      xz 5.4.0.

* Documentation:

    - Small improvements to man pages.

    - Small improvements and typo fixes for liblzma API
      documentation.

* Tests:

    - Added a new section to INSTALL to describe basic test usage
      and address recent questions about building the tests when
      cross compiling.

    - Small fixes and improvements to the tests.

* Translations:

    - Fixed a mistake that caused one of the error messages to not
      be translated. This only affected versions 5.4.2 and 5.4.3.

    - Updated the Chinese (simplified), Croatian, Esperanto, German,
      Korean, Polish, Romanian, Spanish, Swedish, Ukrainian, and
      Vietnamese translations.

    - Updated the German, Korean, Romanian, and Ukrainian man page
      translations.

(From OE-Core rev: 51334c166c8d5cd5c99b7a7bd1cf6edd7e631f0b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1cc37e3f7aca7e04b03de99f9ce4b8068a61510d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Wang Mingyu
e42c33944a mpfr: upgrade 4.2.0 -> 4.2.1
Changelog:
===========
- Bug fixes (see <https://www.mpfr.org/mpfr-4.2.0/#fixed> and/or the
  ChangeLog file).
- Improved MPFR manual.
- Configure tests: replaced the test of the link with GMP, in order to
  avoid the use of a function without a prototype (Autoconf issue), as
  this is obsolescent in ISO C. The new test should be more robust.

(From OE-Core rev: 8bf18487eaf2a385794bf8f2b958e8d9eb11899e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7d0699e176ad1b50c26c5981c0ee976615994729)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Wang Mingyu
7180b28b19 libsndfile1: upgrade 1.2.0 -> 1.2.2
Changelog:
=========
* Fixed invalid regex in src/create_symbols_file.py
* Fixed passing null pointer to printf %s in tests

(From OE-Core rev: 7d5a6d6c908ce7e7601c85a00a2331039f1e5fe4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ff22e9ae6a237d8c48aa9eaee65de3157f52307b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Wang Mingyu
6d6d20ffa3 librepo: upgrade 1.15.1 -> 1.15.2
Changelog:
=============
    Fixes and optimizations in header files
    Fix lr_gpg_list_keys function when keys are empty
    Update PGP test vectors
    Fix CMake warnings
    Bump glib version

(From OE-Core rev: eba267b4ed4e4d90f0ef053925c80b4c5499d4ba)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 583882c25eec915cfc37e334fcb7e41d6ea6d88e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Wang Mingyu
dc5c7fb0b4 libconvert-asn1-perl: upgrade 0.33 -> 0.34
Changelog:
===========
  * Fixes: #47 2nd - Debug output using print instead of printf
  * Fixes #47 Debug output using print instead of printf
  * ASN1.pod: fix minor typo

(From OE-Core rev: ebdb27debc87473c8262ee6697ae9958bb09b5da)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit db8c33b58baacd73781cf7184bfeac66c3801e0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Wang Mingyu
2709fd6c22 ell: upgrade 0.57 -> 0.58
Changelog:
 Add support for handling sysctl settings.

(From OE-Core rev: b9dfc608c0db72edfa62c56a064d8bc45cfc14b1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 76d0d0d18498c95945e9a4334de7d44d1024e2d1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Yogita Urade
30969f3e97 qemu: fix CVE-2023-42467
QEMU through 8.0.0 could trigger a division by zero in scsi_disk_reset
in hw/scsi/scsi-disk.c because scsi_disk_emulate_mode_select does not
prevent s->qdev.blocksize from being 256. This stops QEMU and the guest
immediately.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-42467
https://gitlab.com/qemu-project/qemu/-/issues/1813

(From OE-Core rev: 4925ac7120605d551e1b28196b4a4dab7bc72b66)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Soumya Sambu
ae2c4f104b qemu: Fix CVE-2023-3180
A flaw was found in the QEMU virtual crypto device while handling
data encryption/decryption requests in virtio_crypto_handle_sym_req.
There is no check for the value of `src_len` and `dst_len` in
virtio_crypto_sym_op_helper, potentially leading to a heap buffer
overflow when the two values differ.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-3180

(From OE-Core rev: 2038b5e977481cac2e9e35101a467fbd5268231e)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-11 03:54:46 -10:00
Yash Shinde
c71b397ea0 glibc: stable 2.37 branch updates.
b4e23c75ae tunables: Terminate if end of input is reached (CVE-2023-4911)
2dfd8c77b5 i686: Regenerate ulps
94ef701365 Document CVE-2023-4806 and CVE-2023-5156 in NEWS
4473d1b87d Fix leak in getaddrinfo introduced by the fix for CVE-2023-4806 [BZ #30843]
9d5c6e27ed x86: Fix for cache computation on AMD legacy cpus.
79310b45af x86/dl-cacheinfo: remove unsused parameter from handle_amd
6529a7466c getaddrinfo: Fix use after free in getcanonname (CVE-2023-4806)
b752934602 CVE-2023-4527: Stack read overflow with large TCP responses in no-aaaa mode
1a7cbe52c8 elf: Move l_init_called_next to old place of l_text_end in link map
bdb594afa5 elf: Remove unused l_text_end field from struct link_map
a7e34a6675 elf: Always call destructors in reverse constructor order (bug 30785)
3d24d1903d elf: Do not run constructors for proxy objects
be26b29262 io: Fix record locking contants for powerpc64 with __USE_FILE_OFFSET64
0d500bfdc0 hurd: Make exception subcode a long
f94ff95e93 x86: Fix incorrect scope of setting `shared_per_thread` [BZ# 30745]
cc8243fb0b x86: Use `3/4*sizeof(per-thread-L3)` as low bound for NT threshold.
80a8c858a5 x86: Fix slight bug in `shared_per_thread` cache size calculation.
1caf955269 x86: Increase `non_temporal_threshold` to roughly `sizeof_L3 / 4`

Dropped 0023-CVE-2023-4527.patch and 0024-CVE-2023-4806.patch files as they are
present in glibc version update.

(From OE-Core rev: 9e7aaefc0d764eaecf35582bb19490cc6262f966)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 14:19:57 -10:00
Chen Qi
9d5a1d14c9 oe-depends-dot: improve '-w' behavior
The '-w' option is not giving very helpful information. For example,
if we add 'spice' to IMAGE_INSTALL, bitbake -g core-image-minimal,
and then run `oe-depends-dot -k nspr -w task-depends.dot', the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss
  core-image-minimal -> nss -> nspr

The result is not showing the full dependency chain which brings in nspr.
With this patch, the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss libcacard spice
  core-image-minimal -> spice -> libcacard -> nss -> nspr

This patch also fixes a typo in help message: recipe-depends.dot -> task-depends.dot.

(From OE-Core rev: 275410d3cc78acb66e9c7a6d529a58ac38581c8d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 222302810c472c8eb2efceaa757a253dcac5618f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:28 -10:00
Ryan Eatmon
69fab13b50 kernel.bbclass: Add force flag to rm calls
The latest 6.5 kernels do not appear to create the source file in
${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source so the
recipe errors out when trying to remove it.  Simple fix is to add the
-f (force) flag to the call.

(From OE-Core rev: f4422831cce168d0b113fb47eebbb480d157cebb)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e669bf797b15d803e7d6a700e449bdc467a4bcc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:28 -10:00
Ross Burton
0451adb82e inetutils: remove obsolete cruft from do_configure
glob/ doesn't exist and the other files are copied by autotools.bbclass

(From OE-Core rev: edfd456dee40dcd6a65545c60a6ace50aa52f65f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f11fac5430c1308347f673c6e1fb6c5b2c7ff9c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:28 -10:00
Ross Burton
c559b2cc36 inetutils: don't guess target paths
inetutils guesses a lot of target paths in cross builds, and warns that
some of them are known to be wrong (for example, whether /proc/net/dev
exists is guessed as 'no').

Add a post-configure function to check for these warnings, and pass
--with-path-* as appropriate to set the paths explicitly.

This means we can remove the patch which was setting PATH_PROCNET_DEV,
and the autoconf cache value inetutils_cv_path_login.

The downside is that these --with-path-* options are not real autoconf
options, so the "unknown options" warning is emitted.  Losing those is
an acceptable compromise, so disable it.

Musl doesn't implement utmp and has stub defines for _PATH_UTMP but not
_PATH_UTMPX, so we need to set the X variants explicitly.

(From OE-Core rev: 86b88aaec534c3da74de6127198c57521977bd10)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91179f89db127063dbdf998e15d63e04d6be53f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:28 -10:00
Richard Purdie
6ecbb1a032 README: Update to point to new contributor guide
Now we have a contributor guide combining various wiki pages, point at
that.

(From OE-Core rev: b39533ce98a106744738b92d473201bdbd2f643c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 43a3ab6b412186b6c7494e928809662c4ec462f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:28 -10:00
Alexander Kanavin
c7c5a23a76 systemd-bootchart: musl fixes have been rejected upstream
Systemd upstream has reiterated that the only supported libc
implementation is glibc.

(From OE-Core rev: 836d8d5b645ded6cb1da9368efc9ca563595503a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3655b965a0b13518e35b3312e1ae7b59b1f231a6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Khem Raj
6a5828afac core-image-ptest: Define a fallback for SUMMARY field
Fixes errors like below seen with bitbake core-image-ptest-fast

WARNING: core-image-ptest-apr-util-1.0-r0 do_recipe_qa: QA Issue: Recipe core-image-ptest-apr-util in /mnt/b/yoe/master/sources/poky/meta/recipes-core/images/core-image-ptest.bb does not contain a SUMMARY. Please a
dd an entry. [missing-metadata]

(From OE-Core rev: 66c2245280dd6e22fa2de230de458ce5ba267f91)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 307381c9267eb3a3e687c577a0afd552d44248f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Alberto Planas
33a7287abc bitbake.conf: add bunzip2 in HOSTTOOLS
rpm2cpio.sh can make calls to bunzip2 to uncompress the RPM payload that
conform the cpio file.

bzip2 is already part of HOSTTOOLS, as a link to the system installed
bzip2.

This patch add bunzip2 in HOSTOOLS list as a non-optional binary, so is
available to rpm2cpio.sh when it is required.

The currect rpm2cpio.sh has other calls to gunzip (present in HOSTOOLS),
xzcat (missing), unlzma (missing) and unzstd (present in HOSTTOOLS since
bff58d337890e804d33d7decbaa46065a4d3bba4)

Adding the missing ones will not add any new host dependency as xz-utils
is already listed as a requirement.

(From OE-Core rev: 08ab02865bb94865826515def8cf13352bacda8a)

Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fd376a11ed8d1b79633c2572ec0b4341d3ca2f1c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Joshua Watt
ce5cc6c7a2 buildtools-tarball: Add libacl
Hash equivalence need to include the ACLs in the output hash, and libacl
is used to do that so include the library in the buildtools-tarball.

(From OE-Core rev: 1a0622be3804598895a35c31bd44866c8647967f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d152dfe784f231fa369d59f9bce8195ad09c5482)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Julien Stephan
8c72a790db patch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir
[YOCTO #14141]

Currently the gitdir is manually constructed using `git
rev-parse --show-toplevel` and appending `.git`. This is most of the time
correct but not always: `.git` can be a file with the following content:

gitdir: <some_folder>

This is the case for submodules, so when using devtool modify on a recipe
using submodules *and* patching files inside one of the submodules, do_patch
fails with the following error:

ERROR: 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:patch_do_patch(d)
     0003:
File: '<..>/poky/meta/classes-global/patch.bbclass', lineno: 157, function: patch_do_patch
     0153:        except Exception as exc:
     0154:            bb.utils.remove(process_tmpdir, True)
     0155:            bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc).replace("\\n", "\n")))
     0156:        try:
 *** 0157:            resolver.Resolve()
     0158:        except bb.BBHandledException as e:
     0159:            bb.utils.remove(process_tmpdir, True)
     0160:            bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e).replace("\\n", "\n")))
     0161:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 769, function: Resolve
     0765:    def Resolve(self):
     0766:        olddir = os.path.abspath(os.curdir)
     0767:        os.chdir(self.patchset.dir)
     0768:        try:
 *** 0769:            self.patchset.Push()
     0770:        except Exception:
     0771:            import sys
     0772:            os.chdir(olddir)
     0773:            raise
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 274, function: Push
     0270:            else:
     0271:                next = 0
     0272:
     0273:            bb.note("applying patch %s" % self.patches[next])
 *** 0274:            ret = self._applypatch(self.patches[next], force)
     0275:
     0276:            self._current = next
     0277:            return ret
     0278:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 556, function: _applypatch
     0552:        if os.path.lexists(hooks_dir_backup):
     0553:            raise Exception("Git hooks backup directory already exists: %s" % hooks_dir_backup)
     0554:        if os.path.lexists(hooks_dir):
     0555:            shutil.move(hooks_dir, hooks_dir_backup)
 *** 0556:        os.mkdir(hooks_dir)
     0557:        commithook = os.path.join(hooks_dir, 'commit-msg')
     0558:        applyhook = os.path.join(hooks_dir, 'applypatch-msg')
     0559:        with open(commithook, 'w') as f:
     0560:            # NOTE: the formatting here is significant; if you change it you'll also need to
Exception: NotADirectoryError: [Errno 20] Not a directory: '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-n87_zx1i/workdir/git/third_party/spdlog/.git/hooks'

Using `git rev-parse --absolute-git-dir` instead of `git rev-parse
--show-toplevel` ensure we get the correct gitdir

(From OE-Core rev: e974a5ebc08d5adf00081a7361ccc77e31124974)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f74879dd95b19504ce8a8554636d2310d0336806)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Tom Hochstein
086241ea36 linux-firmware: add firmware files for NXP BT chipsets
These BT only firmware files are submitted for NXP chips.

88w8997-bt:
uartuart8997_bt_v4.bin version: 16.92.21.p81
helper_uart_3000000.bin version: 16.92.21.p81

88w8987-bt:
uartuart8987_bt.bin version: 16.92.21.p76.5

88w9098-bt:
uartuart9098_bt_v1.bin version: 17.92.1.p136.24

iw416-bt:
uartiw416_bt_v0.bin version: 16.92.21.p81

iw611-bt / iw612-bt:
uartspi_n61x_v1.bin.se version: 18.99.1.p154.40

These firmware files are downloaded over UART interface. The
helper_uart_3000000.bin needs to be downloaded before
uartuart8997_bt_v4.bin for 88w8997 chip to set download baudrate
to 3000000.

The above commit message is copied from the source commit message:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/nxp?id=1f82dd25c3ea59b6bed80ee685d860f0c5f19875

(From OE-Core rev: d9b6e764f0dc2f68c79026ffff8d883ecee47a88)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a6cf0b53346262872dd82a55d69a93a8d2e2cce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Dmitry Baryshkov
418b7ee1cc linux-firmware: package Dragonboard 845c sensors DSP firmware
Add package with sensors DSP firmware for Qualcomm RB3 aka Dragonboard
845c platform.

(From OE-Core rev: af12592ec44f9c4e2fcf1a9215f5c887c5b8640c)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 632a8955ce8f6cd8fe66fef4b116747e11fa7085)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Dmitry Baryshkov
d9c6299fb3 linux-firmware: package audio topology for Lenovo X13s
Add audio topology description to the qcom-sc8280xp-lenovo-x13s-audio
package. The file is licensed is copyright by Linaro and licensed under
BSD 3-clause license.

(From OE-Core rev: 12c2dd9dc0cee2e1a09fbd149f7a2ecab16ecaef)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 958d6a209edf059d31ff07bdd55179fc21ea7079)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Dmitry Baryshkov
e221d81ba1 linux-firmware: upgrade 20230625 -> 20230804
License-Update: additional firmwares

(From OE-Core rev: e24e87385ae4e1544f3a00df7288da68003d46b6)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6a36c10cd51382bd2356fe6589e4c1d3be8179cd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Bruce Ashfield
20297215b4 linux-yocto/5.15: update to v5.15.133
Updating  to the latest korg -stable release that comprises
the following commits:

    b911329317b4 Linux 5.15.133
    e3a29b80e9e6 interconnect: Teach lockdep about icc_bw_lock order
    c6244cd00c97 drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
    08569c92f7f3 net/sched: Retire rsvp classifier
    6b080fa8aae1 drm/amdgpu: fix amdgpu_cs_p1_user_fence
    6386a2d4dc01 drm/amd/display: fix the white screen issue when >= 64GB DRAM
    e04b7073bdce ext4: fix rec_len verify error
    93763d58705a scsi: pm8001: Setup IRQs on resume
    72a22696cf19 scsi: megaraid_sas: Fix deadlock on firmware crashdump
    54603e8a88bc ata: libata: disallow dev-initiated LPM transitions to unsupported states
    01c7c38a90bc i2c: aspeed: Reset the i2c controller when timeout occurs
    763d39f4e8fb tracefs: Add missing lockdown check to tracefs_create_dir()
    bf195968e362 nfsd: fix change_info in NFSv4 RENAME replies
    bf38c1d29f8b tracing: Have option files inc the trace array ref count
    85ad4688b7a7 tracing: Have current_trace inc the trace array ref count
    962e6723239b tracing: Have tracing_max_latency inc the trace array ref count
    380bbd46d61c btrfs: release path before inode lookup during the ino lookup ioctl
    779c3cf2749c btrfs: fix lockdep splat and potential deadlock after failure running delayed items
    f9c78afcee46 ovl: fix incorrect fdput() on aio completion
    05a7289a5d4b ovl: fix failed copyup of fileattr on a symlink
    8bcb80293be7 attr: block mode changes of symlinks
    d30af15e460f md/raid1: fix error: ISO C90 forbids mixed declarations
    abdfde037712 samples/hw_breakpoint: fix building without module unloading
    58787ff3d023 x86/purgatory: Remove LTO flags
    8abf1ec895d5 x86/boot/compressed: Reserve more memory for page tables
    e1a27664fcf5 scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
    f0fd24f1fae0 selftests: tracing: Fix to unmount tracefs for recovering environment
    dded6b81ad68 scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
    1d5caeac9655 drm: gm12u320: Fix the timeout usage for usb_bulk_msg()
    b9f0572b38c1 btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
    cba491ee38e2 btrfs: add a helper to read the superblock metadata_uuid
    cb3671a2eeac btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
    f16fe29368fd perf test shell stat_bpf_counters: Fix test on Intel
    ad73216e006f perf test: Remove bash construct from stat_bpf_counters.sh test
    d8f81baeb9eb MIPS: Use "grep -E" instead of "egrep"
    dfe961b1e476 mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
    56cf9f446b33 mtd: rawnand: brcmnand: Allow SoC to provide I/O operations
    34fcb59437a7 jbd2: correct the end of the journal recovery scan range
    a4605449cc9f jbd2: rename jbd_debug() to jbd2_debug()
    db6c90f2671c jbd2: kill t_handle_lock transaction spinlock
    e9270898222a jbd2: fix use-after-free of transaction_t race
    b0412dd1c24b jbd2: refactor wait logic for transaction updates into a common function
    f980bf1586ef printk: Consolidate console deferred printing
    9be2957f014d interconnect: Fix locking for runpm vs reclaim
    f3f6bf22a4f5 kobject: Add sanity check for kset->kobj.ktype in kset_register()
    81bbe6667024 media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
    d4ef3c9c7947 usb: ehci: add workaround for chipidea PORTSC.PEC bug
    c829d25e26fb serial: cpm_uart: Avoid suspicious locking
    5353df78c226 scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
    b97aaf9faf89 tools: iio: iio_generic_buffer: Fix some integer type and calculation
    60a71fd1910e usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
    c861a61be6d3 usb: cdns3: Put the cdns set active part outside the spin lock
    930c60e13947 media: pci: cx23885: replace BUG with error return
    48bb6a9fa5cb media: tuners: qt1010: replace BUG_ON with a regular error
    2a33fc57133d media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer
    5b1ea100ad36 media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
    3dd5846a8739 media: anysee: fix null-ptr-deref in anysee_master_xfer
    033b0c0780ad media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
    903566208ae6 media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
    d9ef84a7c222 media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
    ca49cef3acaa PCI: fu740: Set the number of MSI vectors
    d35e7ae10eb8 powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
    46870eea5496 ARM: 9317/1: kexec: Make smp stop calls asynchronous
    ef7311101ca4 jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
    aa5b019a3e0f fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
    7ac65c29b6c2 ext2: fix datatype of block number in ext2_xattr_set2()
    4f96c0665f9f md: raid1: fix potential OOB in raid1_remove_disk()
    f3e9fc7b02b9 bus: ti-sysc: Configure uart quirks for k3 SoC
    3157aa794c75 drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
    78bc9d25997a drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN31
    5eca70c14b31 ALSA: hda: intel-dsp-cfg: add LunarLake support
    e8ba418d4926 samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
    961df5a3f5cc arm64: dts: qcom: sm8250-edo: correct ramoops pmsg-size
    49cd54900078 arm64: dts: qcom: sm8150-kumano: correct ramoops pmsg-size
    1e0a38bb840a arm64: dts: qcom: sm6125-pdx201: correct ramoops pmsg-size
    201071956ec6 drm/bridge: tc358762: Instruct DSI host to generate HSE packets
    c64ee9dd3358 wifi: mac80211_hwsim: drop short frames
    66594a1e6ddd netfilter: ebtables: fix fortify warnings in size_entry_mwt()
    fedd9377dd9c wifi: mac80211: check S1G action frame size
    e08333e2abae alx: fix OOB-read compiler warning
    2b0a093cdf59 mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
    0a1f87f0ca76 tpm_tis: Resend command to recover from data transfer errors
    67589d247909 crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
    389106425dee wifi: wil6210: fix fortify warnings
    ddb8f358b5e0 wifi: mwifiex: fix fortify warning
    a7ebe459c72e wifi: ath9k: fix printk specifier
    3de6b6ab69e2 wifi: ath9k: fix fortify warnings
    6b0adfafb073 crypto: lrw,xts - Replace strlcpy with strscpy
    dc100292e503 devlink: remove reload failed checks in params get/set callbacks
    7b7964cd9db3 ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
    eda268b5b7ad hw_breakpoint: fix single-stepping when using bpf_overflow_handler
    6e743b7261ef perf/imx_ddr: speed up overflow frequency of cycle
    f9a2c79c2970 perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
    ed1afb597280 ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
    f685311dbe05 scftorture: Forgive memory-allocation failure if KASAN
    4f03fba096bf rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()
    f1ceff37ac6b kernel/fork: beware of __put_task_struct() calling context
    430787056dd3 ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
    766e56faddbe locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
    6994f806c6d1 btrfs: output extra debug info if we failed to find an inline backref
    71eeddcad734 autofs: fix memory leak of waitqueues in autofs_catatonic_mode
    35ecaa3632bf Linux 5.15.132
    0c0d79f3366a pcd: fix error codes in pcd_init_unit()
    893978f1b4d1 drm/amd/display: Fix a bug when searching for insert_above_mpcc
    0b8e09b39ef3 MIPS: Only fiddle with CHECKFLAGS if `need-compiler'
    55d2e7c1ab8e kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().
    e80228b27487 ixgbe: fix timestamp configuration code
    5b55dac919ec ipv6: fix ip6_sock_set_addr_preferences() typo
    481bd6dcc5fe net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()
    3600c0dc0deb platform/mellanox: mlxbf-pmc: Fix reading of unprogrammed events
    07c0abc80604 platform/mellanox: mlxbf-pmc: Fix potential buffer overflows
    7c34ea34516d platform/mellanox: mlxbf-tmfifo: Drop jumbo frames
    694035201aac platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors
    97275339c34c kcm: Fix memory leak in error path of kcm_sendmsg()
    864da4a5d5eb r8152: check budget for r8152_poll()
    fbdc4e9908b2 net: dsa: sja1105: hide all multicast addresses from "bridge fdb show"
    6a4480c5e6eb hsr: Fix uninit-value access in fill_frame_info()
    072324cfab9b net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
    5bb09dddc724 net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
    06b4934ab2b5 net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add
    aea3801c234d kselftest/runner.sh: Propagate SIGTERM to runner child
    2f1e86014d0c net: ipv4: fix one memleak in __inet_del_ifa()
    f086e859ddc2 ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
    8173d9027031 ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size
    072cd213c64f block: don't add or resize partition on the disk with GENHD_FL_NO_PART
    c6ce1c5dd327 block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART
    6c06a7f6b41c block: move GENHD_FL_BLOCK_EVENTS_ON_EXCL_WRITE to disk->event_flags
    8247ff0d5036 block: move GENHD_FL_NATIVE_CAPACITY to disk->state
    5ad42b999a42 pcd: cleanup initialization
    7607bc7fe6cc pcd: move the identify buffer into pcd_identify
    242bbe218814 perf hists browser: Fix the number of entries for 'e' key
    4d7a8a44e030 perf tools: Handle old data in PERF_RECORD_ATTR
    a8f91f480c62 perf hists browser: Fix hierarchy mode header
    4ee1cf2a5bcc MIPS: Fix CONFIG_CPU_DADDI_WORKAROUNDS `modules_install' regression
    df4d8d5ab647 drm/amd/display: prevent potential division by zero errors
    3b51d016bbbf mtd: rawnand: brcmnand: Fix potential false time out warning
    2353b7bb61e4 mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
    b59ff750bf80 mtd: rawnand: brcmnand: Fix crash during the panic_write
    ca5218aef9e5 btrfs: use the correct superblock to compare fsid in btrfs_validate_super
    f3260733894a btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART
    7ef0e8b812e0 btrfs: free qgroup rsv on io failure
    5fd6f40d17e8 fuse: nlookup missing decrement in fuse_direntplus_link
    65b6890c3d01 ata: pata_ftide010: Add missing MODULE_DESCRIPTION
    0b62825dc6c3 ata: sata_gemini: Add missing MODULE_DESCRIPTION
    81dd61cb1caa ata: pata_falcon: fix IO base selection for Q40
    20bc2c470369 lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix()
    4315b4a95ecf ext4: add correct group descriptors and reserved GDT blocks to system zone
    ef5fea70e591 jbd2: check 'jh->b_transaction' before removing it from checkpoint
    6778a3857266 jbd2: fix checkpoint cleanup performance regression
    6b195e07a2cf dmaengine: sh: rz-dmac: Fix destination and source data size setting
    0476f2016ddc ARC: atomics: Add compiler barrier to atomic operations...
    3375186d5e3f net/mlx5: Free IRQ rmap and notifier on kernel shutdown
    2348a375ee16 sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()
    f5160dc17e81 net: hns3: remove GSO partial feature bit
    6d548b7cb216 net: hns3: fix the port information display when sfp is absent
    cc3c67e08169 net: hns3: fix invalid mutex between tc qdisc and dcb ets command issue
    2c9643fa6360 net: hns3: fix debugfs concurrency issue between kfree buffer and read
    8bfa87cf4a86 net: hns3: fix byte order conversion issue in hclge_dbg_fd_tcam_read()
    19280e8dfb52 netfilter: nfnetlink_osf: avoid OOB read
    1ad7b189cc14 netfilter: nftables: exthdr: fix 4-byte stack OOB write
    347f765176db net: dsa: sja1105: complete tc-cbs offload support on SJA1110
    cb4494cfe4b7 net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times
    77b850b84d21 net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload
    d11109c03d6e ip_tunnels: use DEV_STATS_INC()
    fcfb5842ef9c idr: fix param name in idr_alloc_cyclic() doc
    131cd74a8e38 s390/zcrypt: don't leak memory if dev_set_name() fails
    12de76fdddb5 igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
    7c2f90b1c213 igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
    f4c5640d6d38 igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
    9210b3dd74ac octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler
    1840f08c2a1b kcm: Destroy mutex in kcm_exit_net()
    6ea277b2c626 net: sched: sch_qfq: Fix UAF in qfq_dequeue()
    3868de7c5361 af_unix: Fix data race around sk->sk_err.
    d95456660fae af_unix: Fix data-races around sk->sk_shutdown.
    e5edc6e44a88 af_unix: Fix data-race around unix_tot_inflight.
    9151ed4b0061 af_unix: Fix data-races around user->unix_inflight.
    907fbed65cec net: phy: micrel: Correct bit assignments for phy_device flags
    5d2d3f2300c3 net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
    77dd55f5ec6a veth: Fixing transmit return status for dropped packets
    56603b2c82e3 igb: disable virtualization features on 82580
    149bc7834d6f ipv4: ignore dst hint for multipath routes
    e18b49495a52 drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt()
    5979985f2d6b xsk: Fix xsk_diag use-after-free error during socket cleanup
    49acc5c5b280 net: fib: avoid warn splat in flow dissector
    ed4e0adfa407 net: read sk->sk_family once in sk_mc_loop()
    e0b483a0584f ipv4: annotate data-races around fi->fib_dead
    74df0319e4e2 sctp: annotate data-races around sk->sk_wmem_queued
    973a4c302d7f net/sched: fq_pie: avoid stalls in fq_pie_timer()
    5e22217c1142 pwm: lpc32xx: Remove handling of PWM channels
    676152264dec watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
    d6aa2be1379d perf top: Don't pass an ERR_PTR() directly to perf_session__delete()
    79bd17c99ec9 perf vendor events: Drop some of the JSON/events for power10 platform
    1356eaceef34 perf vendor events: Update the JSON/events descriptions for power10 platform
    24481d5c7413 x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
    6e9863165674 perf annotate bpf: Don't enclose non-debug code with an assert()
    184be0d59242 Input: tca6416-keypad - fix interrupt enable disbalance
    0b79f5a19cfb Input: tca6416-keypad - always expect proper IRQ number in i2c client
    1e3167aa4ba2 backlight: gpio_backlight: Drop output GPIO direction check for initial power state
    6fc8bdc3cf4c pwm: atmel-tcb: Fix resource freeing in error path and remove
    6b2bb1a1a63c pwm: atmel-tcb: Harmonize resource allocation order
    d4734ef765eb pwm: atmel-tcb: Convert to platform remove callback returning void
    c3bc668581e7 perf trace: Really free the evsel->priv area
    8e96f741b328 perf trace: Use zfree() to reduce chances of use after free
    414cf7a2cc87 kconfig: fix possible buffer overflow
    be9ce0dbde4f gfs2: low-memory forced flush fixes
    751facd3634c gfs2: Switch to wait_event in gfs2_logd
    d0245b066971 kbuild: do not run depmod for 'make modules_sign'
    05333a6a21e3 bus: mhi: host: Skip MHI reset if device is in RDDM
    e2964c98ec31 NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
    da302f1d476a NFS: Fix a potential data corruption
    0db19df21be5 clk: qcom: mss-sc7180: fix missing resume during probe
    f64f682be7c8 clk: qcom: q6sstop-qcs404: fix missing resume during probe
    b2f39b813d1e soc: qcom: qmi_encdec: Restrict string length in decode
    e61db8922631 clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock
    a8474506c912 clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz
    a69b951c8398 dt-bindings: clock: xlnx,versal-clk: drop select:false
    ead2436cf05e pinctrl: cherryview: fix address_space_handler() argument
    8859f58c1790 parisc: led: Reduce CPU overhead for disk & lan LED computation
    2655e1d970cf parisc: led: Fix LAN receive and transmit LEDs
    7ad44409cd3b lib/test_meminit: allocate pages up to order MAX_ORDER
    2d8138cea71d clk: qcom: turingcc-qcs404: fix missing resume during probe
    9f5db4ab19f8 drm/ast: Fix DRAM init on AST2200
    cfc47807a482 clk: qcom: camcc-sc7180: fix async resume during probe
    309c27162afe fbdev/ep93xx-fb: Do not assign to struct fb_info.dev
    4316e951f164 scsi: qla2xxx: Fix firmware resource tracking
    7b89c3727bff scsi: qla2xxx: Error code did not return to upper layer
    15a71bb25beb scsi: qla2xxx: Fix smatch warn for qla_init_iocb_limit()
    106392156273 scsi: qla2xxx: Flush mailbox commands on chip reset
    def49a05aef4 scsi: qla2xxx: Remove unsupported ql2xenabledif option
    be12c9f4c60c scsi: qla2xxx: Fix TMF leak through
    4322f3de9f21 scsi: qla2xxx: Fix session hang in gnl
    a4708402c458 scsi: qla2xxx: Turn off noisy message log
    b0453b0cf506 scsi: qla2xxx: Fix erroneous link up failure
    5934b2125f5b scsi: qla2xxx: Fix command flush during TMF
    4a16a46c8481 scsi: qla2xxx: fix inconsistent TMF timeout
    f1ea164be545 scsi: qla2xxx: Fix deletion race condition
    683945b17724 scsi: qla2xxx: Limit TMF to 8 per function
    fde268c234d1 scsi: qla2xxx: Adjust IOCB resource on qpair create
    c29848249f78 io_uring: break iopolling on signal
    0def123f1254 io_uring: break out of iowq iopoll on teardown
    1a0aba2bf293 io_uring: always lock in io_apoll_task_func
    2920cc4c64a1 net/ipv6: SKB symmetric hash should incorporate transport ports
    529bcc70c49c udf: initialize newblock to 0
    fae2d591f3cb Revert "drm/amdgpu: install stub fence into potential unused fence pointers"
    f01e21d6c7ed md/md-bitmap: remove unnecessary local variable in backlog_store()
    99a8d14d7965 tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY
    05c581ad3e7b perf/x86/uncore: Correct the number of CHAs on EMR
    861cfdc51f22 x86/sgx: Break up long non-preemptible delays in sgx_vepc_release()
    7e3ddbea87a9 USB: core: Fix oversight in SuperSpeed initialization
    7fe9d8799606 USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()
    eda9a2966582 USB: core: Change usb_get_device_descriptor() API
    56c49a3328e9 USB: core: Unite old scheme and new scheme descriptor reads
    0ad6bad31da6 usb: typec: bus: verify partner exists in typec_altmode_attention
    31220bd89c22 usb: typec: tcpm: set initial svdm version based on pd revision
    3acc6b9f266f cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
    cb65ad51f1bd crypto: stm32 - fix loop iterating through scatterlist for DMA
    9ab2c149c2e7 s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
    6aff2732577c arm64: sdei: abort running SDEI handlers during crash
    fedecaeef888 pstore/ram: Check start of empty przs during init
    8d68582b93e6 mmc: renesas_sdhi: register irqs before registering controller
    5294144b6ad2 fsverity: skip PKCS#7 parser when keyring is empty
    86608e1b0c6f net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
    51ffed9ca1a4 X.509: if signature is unsupported skip validation
    6ecf09699eb1 dccp: Fix out of bounds access in DCCP error handler
    7a2978e8d3c0 dlm: fix plock lookup when using multiple lockspaces
    703cf47d47ba parisc: Fix /proc/cpuinfo output for lscpu
    49a49d442075 procfs: block chmod on /proc/thread-self/comm
    44f6ec589353 Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
    d73d3787c9d1 ntb: Fix calculation ntb_transport_tx_free_entry()
    da0c7293f4db ntb: Clean up tx tail index on link down
    bfa051f650a7 ntb: Drop packets when qp link is down
    8f4edcd65534 scsi: mpt3sas: Perform additional retries if doorbell read returns 0
    58388f2958f6 Revert "scsi: qla2xxx: Fix buffer overrun"
    bd188d1e3855 media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts
    6e9632a01e6d media: dvb: symbol fixup for dvb_attach()
    9a43563cfd6b arm64: csum: Fix OoB access in IP checksum code for negative lengths
    a0a49da2a79a i3c: master: svc: fix probe failure when no i3c device exist
    a905ac21b2ab xtensa: PMU: fix base address for the newer hardware
    8742dbf9c25d backlight/lv5207lp: Compare against struct fb_info.device
    568132f74cb1 backlight/bd6107: Compare against struct fb_info.device
    4e7b4ddc900c backlight/gpio_backlight: Compare against struct fb_info.device
    3b018c3d1016 ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
    cbb7d8a4b4be ipmi_si: fix a memleak in try_smi_init()
    6043dd31f771 PCI: rockchip: Use 64-bit mask on MSI 64-bit PCI address
    aba1bf197467 media: i2c: ccs: Check rules is non-NULL
    df64819dd6a0 mm/vmalloc: add a safer version of find_vm_area() for debug
    20b7d0a62ad1 scsi: core: Fix the scsi_set_resid() documentation
    20990d6a8543 printk: ringbuffer: Fix truncating buffer size min_t cast
    0a22f9c17b1a rcu: dump vmalloc memory info safely
    d479c841b18d ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
    111bafa210ae PM / devfreq: Fix leak in devfreq_dev_release()
    be7353af5b35 igb: set max size RX buffer when store bad packet is enabled
    d5790386595d skbuff: skb_segment, Call zero copy functions before using skbuff frags
    267a29f8bfdb netfilter: xt_sctp: validate the flag_info count
    b3d07714ad24 netfilter: xt_u32: validate user space input
    a9e6142e5f8f netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
    3e48f741e98a igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
    de16cb7986f2 virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
    d6f80ddb9eda cpufreq: Fix the race condition while updating the transition_task of policy
    42d8c7fa0bf6 dmaengine: ste_dma40: Add missing IRQ check in d40_probe
    329d0f168c8f um: Fix hostaudio build errors
    58d17e766093 mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
    679a71b31179 mtd: spi-nor: Check bus width while setting QE bit
    8869fd166f23 leds: trigger: tty: Do not use LED_ON/OFF constants, use led_blink_set_oneshot instead
    0f715ea7d36e leds: multicolor: Use rounded division when calculating color components
    1a68bef23726 leds: pwm: Fix error code in led_pwm_create_fwnode()
    abd740db896b rpmsg: glink: Add check for kstrdup
    b45cf29f97a2 phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
    40d637359f3f phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
    52942a47d034 phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328
    31d7e6c7689b mtd: rawnand: brcmnand: Fix mtd oobsize
    6182318ac046 tracing: Fix race issue between cpu buffer write and swap
    548f48ec1915 tracing: Remove extra space at the end of hwlat_detector/mode
    2ba8bb00720a x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
    dde88ab4e45b HID: multitouch: Correct devm device reference for hidinput input_dev name
    4fb28379b3c7 HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
    1bb42aca7a96 Revert "IB/isert: Fix incorrect release of isert connection"
    4f1807fddd9b amba: bus: fix refcount leak
    1c3701373463 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
    076fb40cf27a scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
    c4772759abe1 scsi: core: Use 32-bit hostnum in scsi_host_lookup()
    6248f4305378 cgroup:namespace: Remove unused cgroup_namespaces_init()
    04824d50e6b5 media: i2c: rdacm21: Fix uninitialized value
    f3572eef8551 media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
    205f71744176 media: ov2680: Fix ov2680_set_fmt() which == V4L2_SUBDEV_FORMAT_TRY not working
    89ecb4b40094 media: ov2680: Add ov2680_fill_format() helper function
    784d1b83ae2c media: ov2680: Don't take the lock for try_fmt calls
    dbb717b4ee68 media: ov2680: Remove VIDEO_V4L2_SUBDEV_API ifdef-s
    4c1a5c2885d4 media: ov2680: Fix vflip / hflip set functions
    958905ed42b8 media: ov2680: Fix ov2680_bayer_order()
    cdd5fca7200d media: ov2680: Remove auto-gain and auto-exposure controls
    322a805ffdff media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
    abba34017e16 media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
    1717f67be875 USB: gadget: f_mass_storage: Fix unused variable warning
    121b8d30f42c media: venus: hfi_venus: Only consider sys_idle_indicator on V1
    f6b483ead6dc media: go7007: Remove redundant if statement
    d079a3e1ccdd platform/x86: dell-sysman: Fix reference leak
    426bd7418701 iommu/vt-d: Fix to flush cache of PASID directory table
    9dc6f660815a iommu/qcom: Disable and reset context bank before programming
    3274e32fc969 fsi: aspeed: Reset master errors after CFAM reset
    7a17deca33e1 IB/uverbs: Fix an potential error pointer dereference
    42d111304dd7 RDMA/hns: Fix CQ and QP cache affinity
    b051c3bf3bdf RDMA/hns: Fix incorrect post-send with direct wqe of wr-list
    154822356e4d RDMA/hns: Fix port active speed
    de4aca5b284e iommu/sprd: Add missing force_aperture
    46b76f13f1ad driver core: test_async: fix an error code
    a6992ecefe5d dma-buf/sync_file: Fix docs syntax
    d3256d80406c coresight: tmc: Explicit type conversions to prevent integer overflow
    93a5b461a4e1 RDMA/irdma: Replace one-element array with flexible-array member
    97097ea2f37e scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
    1c996be7f233 scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
    cb6d20a8b5d7 scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
    2f0d202d82b9 x86/APM: drop the duplicate APM_MINOR_DEV macro
    f34508d934c4 serial: sprd: Fix DMA buffer leak issue
    c54c66d904fa serial: sprd: Assign sprd_port after initialized to avoid wrong access
    f61fc650c478 scsi: qla4xxx: Add length check when parsing nlattrs
    46ad449efde1 scsi: be2iscsi: Add length check when parsing nlattrs
    4bd57d889099 scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
    e9bac3cc744f scsi: iscsi: Add length check for nlattr payload
    9285efd95996 scsi: iscsi: Rename iscsi_set_param() to iscsi_if_set_param()
    7231d60d41c4 scsi: RDMA/srp: Fix residual handling
    484ddaa90b7e usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
    cbb8f7097e11 media: mediatek: vcodec: Return NULL if no vdec_fb is found
    18dc93de9019 media: rkvdec: increase max supported height for H.264
    f1e7d999f37e scsi: hisi_sas: Fix normally completed I/O analysed as failed
    46d1b2a3d5a6 scsi: hisi_sas: Fix warnings detected by sparse
    e454e985950b scsi: hisi_sas: Modify v3 HW SATA completion error processing
    7caac45b52f4 scsi: hisi_sas: Modify v3 HW SSP underflow error processing
    f64d02822b82 media: cx24120: Add retval check for cx24120_message_send()
    7ca7cd02114a media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
    fb24b65aaccd media: dib7000p: Fix potential division by zero
    56a3d8ae4576 drivers: usb: smsusb: fix error handling code in smsusb_init_device
    d1b51b130d32 iommu: rockchip: Fix directory table address encoding
    a50d60b8f2af iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbind
    caf058833b6f media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
    711e9e44f6c4 media: i2c: tvp5150: check return value of devm_kasprintf()
    30d4380eb030 media: ad5820: Drop unsupported ad5823 from i2c_ and of_device_id tables
    663114dfc178 RDMA/qedr: Remove a duplicate assignment in irdma_query_ah()
    1473e40b3912 pNFS: Fix assignment of xprtdata.cred
    fb7ddc1138b0 NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
    53a1e5ab1b11 NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
    19a648a07572 NFSD: da_addr_body field missing in some GETDEVICEINFO replies
    b0f127a7c635 fs: lockd: avoid possible wrong NULL parameter
    8f994b830dd0 jfs: validate max amount of blocks before allocation.
    f6a84ef1d080 ext4: fix unttached inode after power cut with orphan file feature enabled
    a9ddbfed5346 powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
    a70c8de30514 nfs/blocklayout: Use the passed in gfp flags
    2935443dc9c2 powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT
    75dcb650a7ef powerpc: Don't include lppaca.h in paca.h
    cefcb002c5c9 PCI: layerscape: Add workaround for lost link capabilities during reset
    4be323c73797 PCI: layerscape: Add the endpoint linkup notifier support
    69c712389e1f PCI: dwc: Add start_link/stop_link inlines
    aac0a9a1577b wifi: ath10k: Use RMW accessors for changing LNKCTL
    3539bab5f9de wifi: ath11k: Use RMW accessors for changing LNKCTL
    ea670d0146a3 net/mlx5: Use RMW accessors for changing LNKCTL
    348ef09df984 drm/radeon: Use RMW accessors for changing LNKCTL
    5468237382ed drm/amdgpu: Use RMW accessors for changing LNKCTL
    00f79e78bf4b powerpc/perf: Convert fsl_emb notifier to state machine callbacks
    a26a5e4be2c4 powerpc/fadump: reset dump area size if fadump memory reserve fails
    13fd667db999 vfio/type1: fix cap_migration information leak
    6b708243d3d9 powerpc/radix: Move some functions into #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
    dbde1d9c54e2 clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
    824e97302fd8 clk: imx8mp: fix sai4 clock
    66ef144dbdf9 PCI/ASPM: Use RMW accessors for changing LNKCTL
    f46fa8ab8d82 PCI: pciehp: Use RMW accessors for changing LNKCTL
    759d978e831b pinctrl: mcp23s08: check return value of devm_kasprintf()
    02faf0bd6fdc PCI: Mark NVIDIA T4 GPUs to avoid bus reset
    4c20a4143276 PCI: microchip: Correct the DED and SEC interrupt bit offsets
    377f7aeddda0 clk: qcom: gcc-sm6350: Fix gcc_sdcc2_apps_clk_src
    1c4a98c55fa3 clk: qcom: reset: Use the correct type of sleep/delay based on length
    bd4eff9c835a clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src
    b1cb8bf42b36 ext4: avoid potential data overflow in next_linear_group
    3e24082f1682 ext4: correct grp validation in ext4_mb_good_group
    febacbefe451 EDAC/igen6: Fix the issue of no error events
    964f62caac08 clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src
    f1399e1543e7 clk: sunxi-ng: Modify mismatched function name
    92913d32e719 drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
    3ad53071fe85 ipmi:ssif: Fix a memory leak when scanning for an adapter
    7792869495b6 ipmi:ssif: Add check for kstrdup
    53abafedfeb7 ALSA: ac97: Fix possible error value of *rac97
    48fc5717b249 of: unittest: Fix overlay type in apply/revert check
    01bb96ad3808 of: overlay: Call of_changeset_init() early
    30f04a41e7d7 md: raid0: account for split bio in iostat accounting
    9643cc0b1771 md/raid0: Fix performance regression for large sequential writes
    17fbf7da491f md/raid0: Factor out helper for mapping and submitting a bio
    d04f1e322f52 md: add error_handlers for raid0 and linear
    d8b6adb84041 md: Set MD_BROKEN for RAID1 and RAID10
    a68fabdad970 bus: ti-sysc: Fix cast to enum warning
    7636dfc42b66 arm64: dts: qcom: apq8016-sbc: Fix ov5640 regulator supply names
    fff4d36247e8 drm/mediatek: Fix potential memory leak if vmap() fail
    e5758ad9a34f drm/mediatek: Remove freeing not dynamic allocated memory
    97274bea0136 bus: ti-sysc: Fix build warning for 64-bit build
    cc6b09671d0c io_uring: fix drain stalls by invalid SQE
    0152e7758cc4 audit: fix possible soft lockup in __audit_inode_child()
    48e4c4819039 drm/msm/a2xx: Call adreno_gpu_init() earlier
    76c3ad12441f drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
    32e060927351 smackfs: Prevent underflow in smk_set_cipso()
    502dfc5875ba firmware: meson_sm: fix to avoid potential NULL pointer dereference
    c0b1eee64870 drm/msm/mdp5: Don't leak some plane state
    d0b82c217feb drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask
    b7b0c48851c4 ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
    8025396b76e9 drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
    27eee65b2e31 drm/armada: Fix off-by-one error in armada_overlay_get_property()
    cc9254b24a4b arm64: dts: qcom: sm8150: Fix the I2C7 interrupt
    ea5bc6f5aa09 of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
    4197eeb55f4b drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
    9712279e9743 drm/msm: Update dev core dump to not print backwards
    8ef5d1f16d92 md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
    382638364711 md/bitmap: don't set max_write_behind if there is no write mostly device
    a3d36107ee48 md/raid10: use dereference_rdev_and_rrdev() to get devices
    94ca5eed9530 md/raid10: factor out dereference_rdev_and_rrdev()
    246bac7d3c3e drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
    de93b4711ac2 arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk"
    a9e56fa8a0ca arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
    db0ba312542d ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
    c4413633ef78 drm: adv7511: Fix low refresh rate register for ADV7533/5
    57b6d92c79e9 ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
    b7f47031e319 ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
    2f0246b3c7ff ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
    d12beb1b1ee5 ARM: dts: s3c64xx: align pinctrl with dtschema
    188f2d41fa5d x86/mm: Fix PAT bit missing from page protection modify mask
    1dd43e1e54d5 drm/etnaviv: fix dumping of active MMU context
    1634fe406c34 arm64: dts: qcom: pmi8994: Add missing OVP interrupt
    4b7eb5e2c1c4 arm64: dts: qcom: Move WLED num-strings from pmi8994 to sony-xperia-tone
    92919d98e673 arm64: dts: qcom: pmi8994: Remove hardcoded linear WLED enabled-strings
    365909857242 arm64: dts: qcom: pm660l: Add missing short interrupt
    ea48fd91df12 arm64: dts: qcom: correct SPMI WLED register range encoding
    eee01e0d6abe arm64: dts: qcom: pmi8998: Add node for WLED
    b788afdbfd5a arm64: dts: qcom: sm8250-sony-xperia: correct GPIO keys wakeup again
    2840d9b9c875 ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
    b35f3ca1877e ARM: dts: BCM53573: Add cells sizes to PCIe node
    bed08bb83292 drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
    261e69456617 arm64: dts: qcom: sm8250: Mark PCIe hosts as DMA coherent
    12a93e53eaf0 arm64: dts: qcom: pmk8350: fix ADC-TM compatible string
    4c9a637258bb arm64: dts: qcom: sm8350: Use proper CPU compatibles
    4c918fb77dea arm64: dts: qcom: sm8350: Add missing LMH interrupts to cpufreq
    9c022ab2db40 arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller
    bda65ecaec97 arm64: dts: qcom: sm8250-edo: Rectify gpio-keys
    6119aaced94f arm64: dts: qcom: sm8250-edo: Add GPIO line names for PMIC GPIOs
    c0dc9d7d3f2b arm64: dts: qcom: sm8250-edo: Add gpio line names for TLMM
    d2d698daa1fa arm64: dts: qcom: sm8250: correct dynamic power coefficients
    510bae3d37f7 soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
    b08c7a31baeb soc: qcom: ocmem: Add OCMEM hardware version print
    dc04034502e6 ASoC: stac9766: fix build errors with REGMAP_AC97
    89602de9a2d7 quota: fix dqput() to follow the guarantees dquot_srcu should provide
    1df46e717ee9 quota: add new helper dquot_active()
    bd0a6452f070 quota: rename dquot_active() to inode_quota_active()
    5b8240223407 quota: factor out dquot_write_dquot()
    6c6efd3a1d06 drm/bridge: tc358764: Fix debug print parameter order
    a48e7def0006 netrom: Deny concurrent connect().
    4cf994d3f4ff net/sched: sch_hfsc: Ensure inner classes have fsc curve
    edb5b1b3b9f8 hwmon: (tmp513) Fix the channel number in tmp51x_is_visible()
    a85fd8116555 mlxsw: i2c: Limit single transaction buffer size
    7790b6a2f5f0 mlxsw: i2c: Fix chunk size setting in output mailbox buffer
    510e0cbd6408 net: arcnet: Do not call kfree_skb() under local_irq_disable()
    93a572b9d42f wifi: ath9k: use IS_ERR() with debugfs_create_dir()
    5138beea8e7f Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave()
    d7fd24b8d1bb wifi: mwifiex: avoid possible NULL skb pointer dereference
    71ce8be48bf0 wifi: nl80211/cfg80211: add forgotten nla_policy for BSS color attribute
    11f93fff6e8a wifi: ath9k: protect WMI command response buffer replacement with a lock
    6904c7afd512 wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
    cec7db9ea031 samples/bpf: fix broken map lookup probe
    89f19a9a055d wifi: mwifiex: Fix missed return in oob checks failed path
    308eb3a609ac wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
    9c00731bf05d fs: ocfs2: namei: check return value of ocfs2_add_entry()
    f683992d30ee lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
    e3f647e4b642 lwt: Fix return values of BPF xmit ops
    4ff998134025 hwrng: iproc-rng200 - Implement suspend and resume calls
    5a70ab6b59b2 crypto: caam - fix unchecked return value error
    660b6b1c5cf8 ice: ice_aq_check_events: fix off-by-one check when filling buffer
    55fab9389d65 net-memcg: Fix scope of sockmem pressure indicators
    41c40d84838d selftests/bpf: Clean up fmod_ret in bench_rename test script
    50c78e71446d net: tcp: fix unexcepted socket die when snd_wnd is 0
    942d8cefb022 Bluetooth: Fix potential use-after-free when clear keys
    7b0243d26a71 Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
    048545d9fc64 crypto: api - Use work queue in crypto_destroy_instance
    56cb7bbefcaf crypto: stm32 - Properly handle pm_runtime_get failing
    e3c4a6b073e4 selftests/bpf: fix static assert compilation issue for test_cls_*.c
    43423b3e0467 wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
    7c54b6fc39eb wifi: mwifiex: Fix OOB and integer underflow when rx packets
    a20b96cf6925 wifi: mt76: mt7915: fix power-limits while chan_switch
    5c75a4379589 can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
    890843254f38 spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
    2ff9ac0cf25f wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH
    802008e8c73a ipv6: Add reasons for skb drops to __udp6_lib_rcv
    7dcbc0bb0e5c bpf: reject unhashed sockets in bpf_sk_assign
    caa2883b1885 udp: re-score reuseport groups when connected sockets are present
    b60dfa4559d8 regmap: rbtree: Use alloc_flags for memory allocations
    34f1180658d9 hwrng: pic32 - use devm_clk_get_enabled
    5af3c8676b36 hwrng: nomadik - keep clock enabled while hwrng is registered
    14c6d1e80847 tcp: tcp_enter_quickack_mode() should be static
    7b75b4c90a9e bpf: Clear the probe_addr for uprobe
    75d3960be702 bpftool: Use a local bpf_perf_event_value to fix accessing its fields
    8ea6871116d5 cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
    be2092d2a703 x86/efistub: Fix PCI ROM preservation in mixed mode
    9eb25ea7b65d ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table
    26097a7f28b3 ACPI: x86: s2idle: Post-increment variables when getting constraints
    8a962f11a95b s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs
    7833a74f8d00 s390/pkey: fix/harmonize internal keyblob headers
    208383d68510 selftests/futex: Order calls to futex_lock_pi
    c7802ff51adc perf/imx_ddr: don't enable counter0 if none of 4 counters are used
    0a872a0521c8 x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
    3af6f77e8090 selftests/resctrl: Close perf value read fd on errors
    4505ad996b66 selftests/resctrl: Unmount resctrl FS if child fails to run benchmark
    c68a196e7ff6 selftests/resctrl: Don't leak buffer in fill_cache()
    fdcb63afd3f6 selftests/resctrl: Add resctrl.h into build deps
    b2ba11ed4d10 selftests/resctrl: Make resctrl_tests run using kselftest framework
    e0478944f4a5 OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
    ec9d118ad99d refscale: Fix uninitalized use of wait_queue_head_t
    e280033ef135 ARM: ptrace: Restore syscall skipping for tracers
    4c3f33904dea ARM: ptrace: Restore syscall restart tracing
    0481251b7cd6 selftests/harness: Actually report SKIP for signal tests
    060ca3f7899a tmpfs: verify {g,u}id mount options correctly
    d412e9b34b90 fs: Fix error checking for d_hash_and_lookup()
    a4229f93bc54 eventfd: prevent underflow for eventfd semaphores
    cedb8719333d reiserfs: Check the return value from __getblk()
    c1a4117f1544 Revert "net: macsec: preserve ingress frame ordering"
    40671f90d5b5 udf: Handle error when adding extent to a file
    099bf90d7fc4 udf: Check consistency of Space Bitmap Descriptor
    7039aa1be9cc of: kexec: Mark ima_{free,stable}_kexec_buffer() as __init
    759d51eda2d0 net: Avoid address overwrite in kernel_connect
    7c4cce5700b9 arm64: lib: Import latest version of Arm Optimized Routines' strncmp
    104df1c695c1 crypto: rsa-pkcs1pad - Use helper to set reqsize
    273f4615314f platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
    9ef5c25bcf1b tracing: Introduce pipe_cpumask to avoid race on trace_pipes
    8c1b60dad0f5 ALSA: seq: oss: Fix racy open/close of MIDI devices
    fa05aea28195 scsi: lpfc: Fix incorrect big endian type assignment in bsg loopback path
    f0bf8a071134 scsi: storvsc: Always set no_report_opcodes
    e9e62419e797 sctp: handle invalid error codes without calling BUG()
    3714bb4a1df8 bnx2x: fix page fault following EEH recovery
    53b8cc2f9685 netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
    867cdd7f9544 drm/amdgpu: Match against exact bootloader status
    0863204deb3c net: hns3: restore user pause configure when disable autoneg
    ac93def0dbb4 scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
    bef6c89a92d0 scsi: lpfc: Remove reftag check in DIF paths
    b439e33a8c93 idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
    156b803194ae wifi: brcmfmac: Fix field-spanning write in brcmf_scan_params_v2_to_v1()
    87ea5e89407e net: usb: qmi_wwan: add Quectel EM05GV2
    e1313fa9d2e3 vmbus_testing: fix wrong python syntax for integer value comparison
    5faad57ba6c7 clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
    e13f0dd5fbe2 kprobes: Prohibit probing on CFI preamble symbol
    ee49b97cb5ae security: keys: perform capable check only on privileged operations
    f44f50305de2 ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer()
    a85c523aeccd ovl: Always reevaluate the file signature for IMA
    3faa126258a9 drm/amd/display: Exit idle optimizations before attempt to access PHY
    c152ca4f219b platform/x86: huawei-wmi: Silence ambient light sensor
    a9988b9c7a31 platform/x86/intel/hid: Add HP Dragonfly G2 to VGBS DMI quirks
    7f3901b04c8f platform/x86: intel: hid: Always call BTNL ACPI method
    23151421ed01 ASoC: atmel: Fix the 8K sample parameter in I2SC master
    c934d2a6970c ASoC: rt711-sdca: fix for JD event handling in ClockStop Mode0
    20587011d271 ASoC: rt711: fix for JD event handling in ClockStop Mode0
    b41f79896456 ASoc: codecs: ES8316: Fix DMIC config
    cc2b0a2055dc ASoC: rt5682-sdw: fix for JD event handling in ClockStop Mode0
    5b64fc2471f9 fs/nls: make load_nls() take a const parameter
    f85908f6bfd2 s390/dasd: fix hanging device after request requeue
    a4845e694893 s390/dasd: use correct number of retries for ERP requests
    e062aa1acf9b m68k: Fix invalid .section syntax
    bbfa7d712b24 vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
    b10215ffdb01 ethernet: atheros: fix return value check in atl1c_tso_csum()
    6bb94f46d31a ASoC: da7219: Check for failure reading AAD IRQ events
    279a6dad0cd9 ASoC: da7219: Flush pending AAD IRQ when suspending
    d424c636b750 ksmbd: no response from compound read
    82373d1b763e ksmbd: fix out of bounds in smb3_decrypt_req()
    20d449a08749 9p: virtio: make sure 'offs' is initialized in zc_request
    c4269c7258d9 media: pci: cx23885: fix error handling for cx23885 ATSC boards
    17d75773b66e media: pulse8-cec: handle possible ping error
    f281a3739399 phy: qcom-snps-femto-v2: use qcom_snps_hsphy_suspend/resume error code
    dfff9c91cbb0 ARM: dts: imx: Set default tuning step for imx7d usdhc
    4e364cab1331 ARM: dts: imx: Adjust dma-apbh node name
    99319298fd9a ARM: dts: imx7s: Drop dma-apb interrupt-names
    1dc2c12854b6 ARM: dts: imx: update sdma node name format
    aff03380bda4 Linux 5.15.131
    cd8ab566cf17 usb: typec: tcpci: clear the fault status bit
    403b2e940910 usb: typec: tcpci: move tcpci.h to include/linux/usb/
    f29483873e24 pinctrl: amd: Don't show `Invalid config param` errors
    b911bef132a0 nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse
    1c6ddf739f15 nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()
    f6e61aef5c5d tcpm: Avoid soft reset when partner does not support get_status
    da0e7d435e31 fsi: master-ast-cf: Add MODULE_FIRMWARE macro
    72eca651d732 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
    907216337bea serial: sc16is7xx: fix bug when first setting GPIO direction
    45d9611ebff2 serial: sc16is7xx: fix broken port 0 uart init
    f90e267dd27e serial: qcom-geni: fix opp vote on shutdown
    46d13013b574 wifi: mt76: mt7921: do not support one stream on secondary antenna only
    a5c2a467e9e7 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition
    f49294ad6898 staging: rtl8712: fix race condition
    d17cec60e87c HID: wacom: remove the battery when the EKR is off
    842c7da3eee2 usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0
    276a906f81a7 usb: dwc3: meson-g12a: do post init to fix broken usb after resumption
    60f938e84fbb ALSA: usb-audio: Fix init call orders for UAC1
    e949dd2a9b6b USB: serial: option: add FOXCONN T99W368/T99W373 product
    c41411d8b333 USB: serial: option: add Quectel EM05G variant (0x030e)
    09baa839d415 modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
    997a194914c4 rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
    3d0f6408601b net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index
    da95090821c4 mmc: au1xmmc: force non-modular build and remove symbol_get usage
    e3e68100c036 ARM: pxa: remove use of symbol_get()
    bb5bf157b5be ksmbd: replace one-element array with flex-array member in struct smb2_ea_info
    2e3f57f74c0a ksmbd: fix wrong DataOffset validation of create context
    b3ad7f39fd85 erofs: ensure that the post-EOF tails are all zeroed
    8f790700c974 Linux 5.15.130
    69347c334071 rcu-tasks: Add trc_inspect_reader() checks for exiting critical section
    8046fb611f70 rcu-tasks: Wait for trc_read_check_handler() IPIs
    da22db901cc1 rcu-tasks: Fix IPI failure handling in trc_wait_for_one_reader
    a0249d365ac8 rcu: Prevent expedited GP from enabling tick on offline CPU
    7aec063d6029 ARM: module: Use module_init_layout_section() to spot init sections
    4a8976052acd arm64: module: Use module_init_layout_section() to spot init sections
    f8a74159d116 arm64: module-plts: inline linux/moduleloader.h
    363bbb5008e5 module: Expose module_init_layout_section()
    758e3d0cb753 ACPI: thermal: Drop nocrt parameter

(From OE-Core rev: c9dd6124cf15fe8c2f9670bd1da02d59b43a0421)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Bruce Ashfield
01a3aa8cec linux-yocto/5.15: update to v5.15.129
Updating  to the latest korg -stable release that comprises
the following commits:

    9e43368a3393 Linux 5.15.129
    d48016d74836 mm,ima,kexec,of: use memblock_free_late from ima_free_kexec_buffer
    1c41cd30d5cd mm: memory-failure: fix unexpected return value in soft_offline_page()
    0712721e4f4f mm: memory-failure: kill soft_offline_free_page()
    efd02b5cadd5 dma-buf/sw_sync: Avoid recursive lock during fence signal
    8dbf913520c4 pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function}
    f1c0402b8e22 clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
    10bc3eddc605 scsi: core: raid_class: Remove raid_component_add()
    d3d57cdbfda4 scsi: snic: Fix double free in snic_tgt_create()
    ef56cc8889be can: raw: add missing refcount for memory leak fix
    930f3f164964 drm/i915: Fix premature release of request's reusable memory
    3cb86cc565df cgroup/cpuset: Free DL BW in case can_attach() fails
    ffff4fc4bad7 sched/deadline: Create DL BW alloc, free & check overflow interface
    86aa90795979 cgroup/cpuset: Iterate only if DEADLINE tasks are present
    43d8cbfefa7c sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets
    d0eb4917f4d3 sched/cpuset: Bring back cpuset_mutex
    918879de0e23 cgroup/cpuset: Rename functions dealing with DEADLINE accounting
    78efab71a649 torture: Fix hang during kthread shutdown phase
    c8fb97dd7fe6 nfsd: use vfs setgid helper
    01966511868e nfs: use vfs setgid helper
    a7a1849899aa x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4
    ad79f943c869 x86/fpu: Invalidate FPU state correctly on exec()
    b190cf1f277a drm/display/dp: Fix the DP DSC Receiver cap size
    c8aab333d41a drm/vmwgfx: Fix shader stage validation
    b53ed415163e PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
    60ba1bfa036a media: vcodec: Fix potential array out-of-bounds in encoder queue_setup
    544cd10defa1 of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock
    f1d4a5881856 of: unittest: Fix EXPECT for parse_phandle_with_args_map() test
    ce66cd478636 radix tree: remove unused variable
    898c8c5b1114 lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels
    ff90a4c6edf8 batman-adv: Hold rtnl lock during MTU update via netlink
    ea38c0d9aaa2 batman-adv: Fix batadv_v_ogm_aggr_send memory leak
    7f3f72eb8f5b batman-adv: Fix TT global entry leak when client roamed back
    f7667b49880a batman-adv: Do not get eth header before batadv_check_management_packet
    3f9312dd7581 batman-adv: Don't increase MTU when set by user
    cde5a240d72d batman-adv: Trigger events for auto adjusted MTU
    22426e1ce679 selinux: set next pointer before attaching to list
    711595bfdccf nfsd: Fix race to FREE_STATEID and cl_revoked
    bd1697e12230 NFS: Fix a use after free in nfs_direct_join_group()
    5f642613746e mm: add a call to flush_cache_vmap() in vmap_pfn()
    440c10034b4d ALSA: ymfpci: Fix the missing snd_card_free() call at probe error
    5cc7d81cf576 clk: Fix slab-out-of-bounds error in devm_clk_release()
    0f72859acfa2 NFSv4: Fix dropped lock for racing OPEN and delegation return
    9c025420fef2 ibmveth: Use dcbf rather than dcbfl
    7e546bd08943 Revert "KVM: x86: enable TDP MMU by default"
    67af12f5582b net/ncsi: change from ndo_set_mac_address to dev_set_mac_address
    4451457d61e0 net/ncsi: make one oem_gma function for all mfr id
    f683f4be802b bonding: fix macvlan over alb bond support
    0fa8046e923a net: remove bond_slave_has_mac_rcu()
    f0ec97fca629 rtnetlink: Reject negative ifindexes in RTM_NEWLINK
    00247cfd2b69 rtnetlink: return ENODEV when ifname does not exist and group is given
    75cfb7de44e5 netfilter: nf_tables: fix out of memory error handling
    f22954f8c58f netfilter: nf_tables: flush pending destroy work before netlink notifier
    ff34403fef98 net/sched: fix a qdisc modification with ambiguous command request
    30624ea3f8b6 igc: Fix the typo in the PTM Control macro
    f697c3ead109 igb: Avoid starting unnecessary workqueues
    d7823d752ce1 ice: fix receive buffer size miscalculation
    ace1b0ae3097 net: validate veth and vxcan peer ifindexes
    335be585416d net: bcmgenet: Fix return value check for fixed_phy_register()
    60a5034584ea net: bgmac: Fix return value check for fixed_phy_register()
    5b52c9ba42c0 ipvlan: Fix a reference count leak warning in ipvlan_ns_exit()
    2bad37b6f675 dccp: annotate data-races in dccp_poll()
    9b015360e86f sock: annotate data-races around prot->memory_pressure
    c52c6c0223e1 octeontx2-af: SDP: fix receive link config
    ce6e2b14bc09 tracing: Fix memleak due to race between current_tracer and trace
    ef748360ba91 tracing: Fix cpu buffers unavailable due to 'record_disabled' missed
    fdf5804d7475 can: raw: fix lockdep issue in raw_release()
    278fccf587dd drm/amd/display: check TG is non-null before checking if enabled
    a955e6a0e39d drm/amd/display: do not wait for mpc idle if tg is disabled
    e0bd4f0c60b4 can: raw: fix receiver memory leak
    b832174b7f89 jbd2: fix a race when checking checkpoint buffer busy
    9c31bb2684f8 jbd2: remove journal_clean_one_cp_list()
    d91783e6864a jbd2: remove t_checkpoint_io_list
    a0ab49e7a758 ALSA: pcm: Fix potential data race at PCM memory allocation helpers
    2e56d380daa9 fbdev: fix potential OOB read in fast_imageblit()
    14163f4a4fa6 fbdev: Fix sys_imageblit() for arbitrary image widths
    5b60bd9081a9 fbdev: Improve performance of sys_imageblit()
    166f0bf4560b MIPS: cpu-features: Use boot_cpu_type for CPU type based features
    8f106e97409d MIPS: cpu-features: Enable octeon_cache by cpu_type
    d1d0b239f974 fs: dlm: fix mismatch of plock results from userspace
    77d334c44681 fs: dlm: use dlm_plock_info for do_unlock_close
    f9a33cc7d946 fs: dlm: change plock interrupted message to debug again
    7ac088841ffb fs: dlm: add pid to debug log
    df9c842ab0a4 dlm: replace usage of found with dedicated list iterator variable
    33e9c610e337 dlm: improve plock logging if interrupted
    d9ce077f8b1f PCI: acpiphp: Reassign resources on bridge if necessary
    8cc8645dd3e1 xprtrdma: Remap Receive buffers after a reconnect
    91a707507e83 NFSv4: fix out path in __nfs4_get_acl_uncached
    323b830eebd1 NFSv4.2: fix error handling in nfs42_proc_getxattr
    5de0a325c45e objtool/x86: Fix SRSO mess

(From OE-Core rev: aeddbeb2a3c82fe7ed639bfcca3bff3998e31f7a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Bruce Ashfield
a26883dd2e linux-yocto/5.15: update to v5.15.128
Updating  to the latest korg -stable release that comprises
the following commits:

    5ddfe5cc8716 Linux 5.15.128
    9080f4fcc202 x86/srso: Correct the mitigation status when SMT is disabled
    484eefc6ff9c objtool/x86: Fixup frame-pointer vs rethunk
    55f1cbeaa159 x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
    fa24cd0fbcb7 x86/srso: Disable the mitigation on unaffected configurations
    aa0777ce0d3d x86/CPU/AMD: Fix the DIV(0) initial fix attempt
    bbe585239d4f x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()
    19f23d16b0e0 x86/static_call: Fix __static_call_fixup()
    df6495f203a7 x86/srso: Explain the untraining sequences a bit more
    43548590ad7e x86/cpu: Cleanup the untrain mess
    035e906bfc93 x86/cpu: Rename srso_(.*)_alias to srso_alias_\1
    19c1c0499650 x86/cpu: Rename original retbleed methods
    f77dbb90962b x86/cpu: Clean up SRSO return thunk mess
    f624ce6c7fc2 x86/ibt: Add ANNOTATE_NOENDBR
    f1171d455d94 objtool: Add frame-pointer-specific function ignore
    08f7cfd44f77 x86/alternative: Make custom return thunk unconditional
    0d810eff090c x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()
    8089aae6020e x86/cpu: Fix __x86_return_thunk symbol type
    5b28fda5fdee mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
    e8c5081da2cc net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
    431db3f48c28 virtio-net: set queues after driver_ok
    d39fc9b94dc0 af_unix: Fix null-ptr-deref in unix_stream_sendpage().
    9a4d8dc706c2 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4
    6b64974e02ea exfat: check if filename entries exceeds max filename length
    6065b3017107 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
    a00c5d2c208b drm/amd: flush any delayed gfxoff on suspend entry
    d578c919deb7 drm/qxl: fix UAF on handle creation
    ff09f9e671ff mmc: block: Fix in_flight[issue_type] value error
    b803fedb6e50 mmc: wbsd: fix double mmc_free_host() in wbsd_init()
    961f7ce16223 cifs: Release folio lock on fscache read hit.
    cc3f194f46e7 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
    18e27df4f2b4 serial: 8250: Fix oops for port->pm on uart_change_pm()
    e9b8ee715dbc riscv: uaccess: Return the number of bytes effectively not copied
    b2a331abcb03 ALSA: hda/realtek - Remodified 3k pull low procedure
    dfb9676ed25b soc: aspeed: socinfo: Add kfree for kstrdup
    c5ac7522a8db ASoC: meson: axg-tdm-formatter: fix channel slot allocation
    fd346ef1cd2d ASoC: rt5665: add missed regulator_bulk_disable
    e878458d820c ARM: dts: imx: Set default tuning step for imx6sx usdhc
    430c29a54e4a arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict
    03522d73a498 bus: ti-sysc: Flush posted write on enable before reset
    578371ce0d7f net: do not allow gso_size to be set to GSO_BY_FRAGS
    5fc4fd3f3eb8 sock: Fix misuse of sk_under_memory_pressure()
    fc3d82d295d1 net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
    f11c2802e143 i40e: fix misleading debug logs
    5ba2b936f3e1 iavf: fix FDIR rule fields masks validation
    ae6834689fd6 team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    0ffbc341cfae net: phy: broadcom: stub c45 read/write for 54810
    bf221e5e4b19 netfilter: nft_dynset: disallow object maps
    9177869b85dd ipvs: fix racy memcpy in proc_do_sync_threshold
    1adaec4758d1 netfilter: nf_tables: deactivate catchall elements in next generation
    82109740d610 netfilter: nf_tables: fix false-positive lockdep splat
    b2f6d73395cb drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs
    7207ee323afa selftests: mirror_gre_changes: Tighten up the TTL test match
    c2a6ffe3f1a3 net: phy: fix IRQ-based wake-on-lan over hibernate / power off
    8e5e967348ca xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH
    075448a2eb75 xfrm: add NULL check in xfrm_update_ae_params
    e1e04cc2ef2c ip_vti: fix potential slab-use-after-free in decode_session6
    a1639a82ce14 ip6_vti: fix slab-use-after-free in decode_session6
    44b3d4096700 xfrm: fix slab-use-after-free in decode_session6
    a465ace883ac net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
    fed1cd2cd3aa net: af_key: fix sadb_x_filter validation
    1960f468078b net: xfrm: Fix xfrm_address_filter OOB read
    080dedb1cad8 i2c: designware: Handle invalid SMBus block data response length value
    416c538684bd i2c: designware: Correct length byte validation logic
    b966e9e1e250 btrfs: fix BUG_ON condition in btrfs_cancel_balance
    77698e6ff6f0 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
    2a5234464383 tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
    8ef25fb13494 powerpc/rtas_flash: allow user copy to flash block cache objects
    bb70e2b70f8d fbdev: mmp: fix value check in mmphw_probe()
    184f1b68bb99 i2c: hisi: Only handle the interrupt of the driver's transfer
    c4e671dae50e i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
    b99f490ea87e cifs: fix potential oops in cifs_oplock_break
    a5ae5a81bc19 vduse: Use proper spinlock for IRQ injection
    5b7d5c2dd664 virtio-mmio: don't break lifecycle of vm_dev
    edf3b5aadb25 btrfs: move out now unused BG from the reclaim list
    170773563ef6 ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
    4ffbfe1c980f ARM: dts: imx6sll: fixup of operating points
    e2ff5cf681a8 mmc: sunxi: fix deferred probing
    f93e8c5a7bd9 mmc: bcm2835: fix deferred probing
    4eeba5d476fe USB: dwc3: fix use-after-free on core driver unbind
    a78fe5c9d8d5 USB: dwc3: qcom: fix NULL-deref on suspend
    8a6b7534020d tty: serial: fsl_lpuart: reduce RX watermark to 0 on LS1028A
    701bb5fee7c3 tty: serial: fsl_lpuart: make rx_watermark configurable for different platforms
    fa254ab7d02d tty: serial: fsl_lpuart: Add i.MXRT1050 support
    20351ddb1f41 usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume()
    31a0e60fe16b USB: dwc3: gadget: drop dead hibernation code
    d9e004104e45 usb: dwc3: Fix typos in gadget.c
    2fa487a94667 usb: dwc3: Remove DWC3 locking during gadget suspend/resume
    7dfb384e76ee usb: dwc3: gadget: Synchronize IRQ between soft connect/disconnect
    d3c82f24ee69 drm/amd/display: fix access hdcp_workqueue assert
    0ba6c7ba081e drm/amd/display: phase3 mst hdcp for multiple displays
    99c444d3c3c4 drm/amd/display: save restore hdcp state when display is unplugged from mst hub
    4f1beb75f652 ARM: dts: aspeed: asrock: Correct firmware flash SPI clocks
    f84c2ca3490c igc: read before write to SRRCTL register
    9fa82f031af8 iio: addac: stx104: Fix race condition when converting analog-to-digital
    d31d04ec404c iio: addac: stx104: Fix race condition for stx104_write_raw()
    89a007f3a383 iio: stx104: Move to addac subdirectory
    cadf8f2d7c9d iio: adc: stx104: Implement and utilize register structures
    6089d354346f iio: adc: stx104: Utilize iomap interface
    565b96d9a7ab iio: add addac subdirectory
    49b830d75f03 ring-buffer: Do not swap cpu_buffer during resize process
    6657ecbcc39c powerpc/kasan: Disable KCOV in KASAN code
    8703b26387e1 ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
    5ed4dbc13726 ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
    c7d8b5f46f06 fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted
    3a00ec562f8c fs: ntfs3: Fix possible null-pointer dereferences in mi_read()
    e7799bb4dbe2 fs/ntfs3: Enhance sanity check while generating attr_list
    ef568da1fd84 drm/amdgpu: Fix potential fence use-after-free v2
    5720c7e185d4 Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally
    548a6b64b3c0 Bluetooth: L2CAP: Fix use-after-free
    302d04596364 watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)
    2ea70379e4f4 firewire: net: fix use after free in fwnet_finish_incoming_packet()
    97fd1c8e9c5a pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
    85e888150075 gfs2: Fix possible data races in gfs2_show_options()
    eafb79d2448a usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
    7bdb4c963049 usb: chipidea: imx: don't request QoS for imx8ulp
    25decbbb66e4 thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx()
    776b34615a29 media: platform: mediatek: vpu: fix NULL ptr dereference
    cb174344bf85 usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push
    1676748aa290 media: v4l2-mem2mem: add lock to protect parameter num_rdy
    985086704267 smb: client: fix warning in cifs_smb3_do_mount()
    a3f252436e57 ovl: check type and offset of struct vfsmount in ovl_entry
    1a650d3ccd79 RDMA/mlx5: Return the firmware result upon destroying QP/RQ
    9631d88503ab HID: add quirk for 03f0:464a HP Elite Presenter Mouse
    4921792e04f2 drm/amdgpu: install stub fence into potential unused fence pointers
    fd41646d4350 HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard
    ff10cd3e9b3a dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
    e9ce774052ee ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion
    7d53d1e4765c iopoll: Call cpu_relax() in busy loops
    ca66e9dd98ef ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
    cc1590830859 PCI: tegra194: Fix possible array out of bounds access
    e2d10f1de1fa net: tls: avoid discarding data on record close
    9a15ca893909 net/tls: Multi-threaded calls to TX tls_dev_del
    2d93157b7e2d net/tls: Perform immediate device ctx cleanup when possible
    51222e1c77a1 macsec: use DEV_STATS_INC()
    3d64a232e4d9 macsec: Fix traffic counters/statistics
    396a1921406a selftests: forwarding: tc_actions: Use ncat instead of nc
    d61a0886d336 selftests: forwarding: tc_actions: cleanup temporary files when test is aborted
    a798977df6d0 mmc: sdhci-f-sdh30: Replace with sdhci_pltfm

(From OE-Core rev: 3ad11a93139845060e970045a03f6476da5e5795)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Bruce Ashfield
59ca15aa58 linux-yocto/5.15: update to v5.15.127
Updating  to the latest korg -stable release that comprises
the following commits:

    f6f7927ac664 Linux 5.15.127
    c597d8cb0d33 timers/nohz: Last resort update jiffies on nohz_full IRQ entry
    b4d36e6c5dc4 timers/nohz: Switch to ONESHOT_STOPPED in the low-res handler when the tick is stopped
    c3b954a51b64 tick: Detect and fix jiffies update stall
    af99918f0e39 sch_netem: fix issues in netem_change() vs get_dist_table()
    5d094d4e7b99 alpha: remove __init annotation from exported page_is_ram()
    f8d6d25756ea scsi: qedf: Fix firmware halt over suspend and resume
    85db1cd1744e scsi: qedi: Fix firmware halt over suspend and resume
    e70469c28953 scsi: fnic: Replace return codes in fnic_clean_pending_aborts()
    6bc7f4c8c27d scsi: core: Fix possible memory leak if device_add() fails
    461f8ac666fa scsi: snic: Fix possible memory leak if device_add() fails
    171e117cdc0a scsi: 53c700: Check that command slot is not NULL
    7a792b3d888a scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
    0f52d7b78251 scsi: core: Fix legacy /proc parsing buffer overflow
    b757ef99df39 netfilter: nf_tables: report use refcount overflow
    9bdbbcf9d148 nvme-rdma: fix potential unbalanced freeze & unfreeze
    d68f8ef6ef70 nvme-tcp: fix potential unbalanced freeze & unfreeze
    ae6e21f8bb2a btrfs: set cache_block_group_error if we find an error
    314135b7bae9 btrfs: reject invalid reloc tree root keys with stack dump
    69dd147de419 btrfs: exit gracefully if reloc roots don't match
    c40d4b60c58d btrfs: don't stop integrity writeback too early
    555e126dd30b ibmvnic: Handle DMA unmapping of login buffs in release functions
    34fcc823823a ibmvnic: Unmap DMA login rsp buffer on send login fail
    cee62753cf2e ibmvnic: Enforce stronger sanity checks on login response
    27e8db8380eb net/mlx5: Skip clock update work when device is in error state
    f638fc2f7377 net/mlx5: Allow 0 for total host VFs
    086a80eb6213 dmaengine: mcf-edma: Fix a potential un-allocated memory access
    7e1dc94b2d50 nexthop: Fix infinite nexthop bucket dump when using maximum nexthop ID
    608a4327c257 nexthop: Make nexthop bucket dump more efficient
    4457300cfd84 nexthop: Fix infinite nexthop dump when using maximum nexthop ID
    91307347d632 net: hns3: add wait until mac link down
    094310eb2b93 net: hns3: refactor hclge_mac_link_status_wait for interface reuse
    1ae9703c2e32 net: phy: at803x: remove set/get wol callbacks for AR8032
    7d496cd83a9d RDMA/umem: Set iova in ODP flow
    f78a4238a873 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
    26a27dd76054 drm/rockchip: Don't spam logs in atomic check
    918c1e6843b7 IB/hfi1: Fix possible panic during hotplug remove
    df21468bfdc8 iavf: fix potential races for FDIR filters
    b1f985cf1c52 drivers: net: prevent tun_build_skb() to exceed the packet size limit
    f239c9e1d98b dccp: fix data-race around dp->dccps_mss_cache
    49a1fee22fae bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    789fcd94c9ca xsk: fix refcount underflow in error path
    e95808121953 tunnels: fix kasan splat when generating ipv4 pmtu error
    7903311b2cec net/packet: annotate data-races around tp->status
    f4614e379bf9 mISDN: Update parameter type of dsp_cmx_send()
    3961761af392 bpf, sockmap: Fix bug that strp_done cannot be called
    20d53895d5c0 bpf, sockmap: Fix map type error in sock_map_del_link
    a09c258cfa77 net: core: remove unnecessary frame_sz check in bpf_xdp_adjust_tail()
    85af0b226c0b selftests: forwarding: tc_flower: Relax success criterion
    7b3fa99526f9 selftests: forwarding: Switch off timeout
    e410f85ebca9 selftests: forwarding: Skip test when no interfaces are specified
    4a4499452620 selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
    b8d216e9c607 selftests: forwarding: ethtool: Skip when using veth pairs
    b9dfb80d9fb2 selftests: forwarding: Add a helper to skip test when using veth pairs
    b973eb76dff3 selftests/rseq: Fix build with undefined __weak
    b8b8db5857d4 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
    4c6767c8bf5e x86: Move gds_ucode_mitigated() declaration to header
    f919cbc90441 x86/speculation: Add cpu_show_gds() prototype
    9290ef14c96b x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
    829409510d00 x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
    c41a22b93d7c x86/srso: Fix build breakage with the LLVM linker
    c2372b1559d4 usb: typec: tcpm: Fix response to vsafe0V event
    f776b94ccdf0 usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
    00cc14b52d6f usb: dwc3: Properly handle processing of pending events
    7a11d1e2625b usb-storage: alauda: Fix uninit-value in alauda_check_media()
    945e1b3c361b misc: rtsx: judge ASPM Mode to set PETXCFG Reg
    03eebad96233 binder: fix memory leak in binder_init()
    a8e2ae6296d5 iio: adc: ina2xx: avoid NULL pointer dereference on OF device match
    2df8ae1e42b8 iio: cros_ec: Fix the allocation size for cros_ec_command
    a7cedc2b7612 io_uring: correct check for O_TMPFILE
    697bc234632c selftests/bpf: Fix sk_assign on s390x
    127277262110 selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code
    ee701208f4cc selftests/bpf: make test_align selftest more robust
    683d2969a082 bpf: aggressively forget precise markings during state checkpointing
    2516deeb872a bpf: stop setting precise in current state
    c47d0178ad86 bpf: allow precision tracking for programs with subprogs
    3645510cf926 nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
    36a3b560c78d radix tree test suite: fix incorrect allocation size for pthreads
    8d10284243b7 hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
    3ad4ba2b6112 drm/amd/display: check attr flag before set cursor degamma on DCN3+
    621204fca047 drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
    64e6253f6489 drm/nouveau/gr: enable memory loads on helper invocation on all channels
    bcd9eeb3a309 riscv,mmio: Fix readX()-to-delay() ordering
    57772ae9b339 dmaengine: pl330: Return DMA_PAUSED when transaction is paused
    3ca8f5c733c4 ipv6: adjust ndisc_is_useropt() to also return true for PIO
    6cde60777675 mmc: moxart: read scr register without changing byte order
    3f00757ab416 wireguard: allowedips: expand maximum node depth
    aeb974907642 ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()
    595679098bdc ksmbd: validate command request size

(From OE-Core rev: b0dc6cea72d2c61babef286effbc2019b39dc3ea)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:27 -10:00
Bruce Ashfield
032cb67e67 linux-yocto/5.15: update to v5.15.126
Updating  to the latest korg -stable release that comprises
the following commits:

    24c4de4069cb Linux 5.15.126
    aeb4db8ab7f1 PM: sleep: wakeirq: fix wake irq arming
    b5d3a4251bd2 PM / wakeirq: support enabling wake-up irq after runtime_suspend called
    a36b522767f3 soundwire: fix enumeration completion
    7996facaf0ee soundwire: bus: pm_runtime_request_resume on peripheral attachment
    c91c07ae0849 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
    1cdb50faf7f7 selftests/rseq: check if libc rseq support is registered
    0f1f471b91f4 drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning
    5058c1444040 powerpc/mm/altmap: Fix altmap boundary check
    eb7a5e4d14c8 mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
    70643e98cbc3 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts
    1796b492f8cc mtd: rawnand: rockchip: fix oobfree offset and description
    f6807b62fb0e mtd: rawnand: omap_elm: Fix incorrect type in assignment
    596be6716bc5 ext2: Drop fragment support
    0ccfe21949bc fs: Protect reconfiguration of sb read-write from racing writes
    27d0f755d649 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
    fbe5a2fed815 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
    afd9a31b5aa4 fs/sysv: Null check to prevent null-ptr-deref bug
    80ec112c1996 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
    0d6f639f1dcd file: reinstate f_pos locking optimization for regular files
    b44d28b98f18 bpf, cpumap: Make sure kthread is running before map update returns
    8089eb93d678 drm/ttm: check null pointer before accessing when swapping
    ef0d07c66843 open: make RESOLVE_CACHED correctly test for O_TMPFILE
    c81bdf8f9f2b bpf: Disable preemption in bpf_event_output
    ae07cfe2b099 rbd: prevent busy loop when requesting exclusive lock
    7978bcca4c1f wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
    32ca6a55e10e net: tap_open(): set sk_uid from current_fsuid()
    4ed3eed99ee6 net: tun_chr_open(): set sk_uid from current_fsuid()
    adacc3a954fa arm64: dts: stratix10: fix incorrect I2C property for SCL signal
    b92c88009da1 mtd: rawnand: meson: fix OOB available bytes for ECC
    b0875c583e41 mtd: spinand: toshiba: Fix ecc_get_status
    1c33ca1e1974 exfat: release s_lock before calling dir_emit()
    8a34a242cf03 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
    a74878207b02 x86/CPU/AMD: Do not leak quotient data after a division by 0
    b8f029fc4075 firmware: arm_scmi: Drop OF node reference in the transport channel setup
    287c2c8677ed ceph: defer stopping mdsc delayed_work
    98b521d10e73 USB: zaurus: Add ID for A-300/B-500/C-700
    cd6872f2cf56 libceph: fix potential hang in ceph_osdc_notify()
    e5f5b4a89809 scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices
    212a9a3c67be scsi: zfcp: Defer fc_rport blocking until after ADISC response
    dac382725394 tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
    4517782e1bc3 tcp_metrics: annotate data-races around tm->tcpm_net
    e842a68667d4 tcp_metrics: annotate data-races around tm->tcpm_vals[]
    d3184bea4ace tcp_metrics: annotate data-races around tm->tcpm_lock
    9a7367cbe33d tcp_metrics: annotate data-races around tm->tcpm_stamp
    6f6bd67f4894 tcp_metrics: fix addr_same() helper
    b0acbcf1e7a1 prestera: fix fallback to previous version on same major version
    d6d9d0f5a5e0 net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
    c999fb1039dd net/mlx5: fs_core: Make find_closest_ft more generic
    32ef2c0c6cf1 vxlan: Fix nexthop hash size
    1bb54a21f4d9 ip6mr: Fix skb_under_panic in ip6mr_cache_report()
    64e3affee288 s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
    a0da2684db18 net: dcb: choose correct policy to parse DCB_ATTR_BCN
    193333229aac net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
    766c9dd00c5f net: korina: handle clk prepare error in korina_probe()
    6cecfdf65053 net: ll_temac: fix error checking of irq_of_parse_and_map()
    3761ff4f8670 net: ll_temac: Switch to use dev_err_probe() helper
    5c534640a7da bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
    79c3d81c9ad1 net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
    9edf7955025a net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
    262430dfc618 net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
    b58d34068fd9 bpf, cpumap: Handle skb as well when clean up ptr_ring
    f04f6d9b3b06 net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
    2c55d4941518 net: add missing data-race annotation for sk_ll_usec
    e934c50c48e2 net: add missing data-race annotations around sk->sk_peek_off
    fdd8d8d54d6a net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
    98f0d1db3a27 net: add missing READ_ONCE(sk->sk_sndbuf) annotation
    0d1047b77b23 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
    6c058a1f67f0 net: annotate data-races around sk->sk_max_pacing_rate
    2950c5ac65b3 qed: Fix scheduling in a tasklet while getting stats
    a19952dbb5b6 qed: Fix kernel-doc warnings
    6d8c259f4827 mISDN: hfcpci: Fix potential deadlock on &hc->lock
    8dedcc6af341 net: sched: cls_u32: Fix match key mis-addressing
    675d29de69c7 perf test uprobe_from_different_cu: Skip if there is no gcc
    0f6e3d8d7f91 net: dsa: fix value check in bcm_sf2_sw_probe()
    047508edd602 rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
    cc9ebceaa6d0 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
    8f9a04c742e1 net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
    00cecb0a8f9e net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
    4c224ea31bed wifi: cfg80211: Fix return value in scan logic
    8e72db3ffa5d KVM: s390: fix sthyi error handling
    809edb4262f0 word-at-a-time: use the same return type for has_zero regardless of endianness
    b7880809d75d arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
    804e72062be4 iommu/arm-smmu-v3: Document nesting-related errata
    744e6b80b830 iommu/arm-smmu-v3: Add explicit feature for nesting
    fd86b5944215 iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
    2de9f3dcfe63 iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
    a850fa85d477 arm64: errata: Add detection for TRBE write to out-of-range
    073699df4a09 arm64: errata: Add workaround for TSB flush failures
    44b45e8161a5 net/mlx5: Free irqs only on shutdown callback
    40601542c43c perf: Fix function pointer case
    c12fa4ac8997 io_uring: gate iowait schedule on having pending requests

(From OE-Core rev: 0cb9289e67ad5da4c9612daf74aa8ff51c3c9c75)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:26 -10:00
Bruce Ashfield
20c319e388 linux-yocto/5.15: update to v5.15.125
Updating  to the latest korg -stable release that comprises
the following commits:

    c275eaaaa342 Linux 5.15.125
    754e0c7c4a30 x86: fix backwards merge of GDS/SRSO bit
    b14a3924c267 xen/netback: Fix buffer overrun triggered by unusual packet
    153f9a7b02d4 x86/srso: Tie SBPB bit setting to microcode patch detection
    df4c3823cba5 x86/srso: Fix return thunks in generated code
    0071b17eb66b x86/srso: Add IBPB on VMEXIT
    5398faac76a6 x86/srso: Add IBPB
    c24aaa7dde5f x86/srso: Add SRSO_NO support
    4e9115e194a8 x86/srso: Add IBPB_BRTYPE support
    b35087763a44 x86/srso: Add a Speculative RAS Overflow mitigation
    c3b4c644525e x86/cpu, kvm: Add support for CPUID_80000021_EAX
    236dd7133394 x86/bugs: Increase the x86 bugs vector size to two u32s
    0242a8bdef56 Documentation/x86: Fix backwards on/off logic about YMM support
    27a72e350869 x86/mm: Initialize text poking earlier
    d0317b9502ea mm: Move mm_cachep initialization to mm_init()
    8e4c2530879d x86/mm: Use mm_alloc() in poking_init()
    13ec5cb4c113 x86/mm: fix poking_init() for Xen PV guests
    3e90080d5665 x86/xen: Fix secondary processors' FPU initialization
    348741a9e4d3 KVM: Add GDS_NO support to KVM
    59d78655f808 x86/speculation: Add Kconfig option for GDS
    0cc5643b63ae x86/speculation: Add force option to GDS mitigation
    348a89e20184 x86/speculation: Add Gather Data Sampling mitigation
    a094d3b30967 x86/fpu: Move FPU initialization into arch_cpu_finalize_init()
    59f2739111ca x86/fpu: Mark init functions __init
    bb9c20d903f6 x86/fpu: Remove cpuinfo argument from init functions
    de8b7ce4c533 x86/init: Initialize signal frame size late
    041d929233bb init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
    8ae795ed6115 init: Invoke arch_cpu_finalize_init() earlier
    7e270cebaffd init: Remove check_bugs() leftovers
    285384ac24c3 um/cpu: Switch to arch_cpu_finalize_init()
    6ea421786426 sparc/cpu: Switch to arch_cpu_finalize_init()
    21a1fc8d13d8 sh/cpu: Switch to arch_cpu_finalize_init()
    dfeb371a2707 mips/cpu: Switch to arch_cpu_finalize_init()
    4baf46a3ba00 m68k/cpu: Switch to arch_cpu_finalize_init()
    8c8165cd25cf ia64/cpu: Switch to arch_cpu_finalize_init()
    de8c592cc5a1 ARM: cpu: Switch to arch_cpu_finalize_init()
    75da6209d3ba x86/cpu: Switch to arch_cpu_finalize_init()
    0774fc2177c3 init: Provide arch_cpu_finalize_init()

(From OE-Core rev: 50889a1a67a33d1d42f4095d323e4c73ca22c2c8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:26 -10:00
Joe Slater
2854a664cc file: fix call to localtime_r()
Depending on the version of glibc, localtime_r() must
be preceded by a call to tzset() or it will ignore any
value of TZ in the environment.  This problem will only
be seen when building file-native on outdated hosts.

(From OE-Core rev: c99d7fc46a1070b1c659ed16fbff6a3553aaf209)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 791145f3064d7807630d3591b9e7c7b2dc37152c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:26 -10:00
Colin McAllister
1f28cde891 libwebp: Fix CVE-2023-5129
Add patch for Libwebp 1.3.1 to fix CVE-2023-5129.

(From OE-Core rev: 852068debb268669699ad9a8dbe44907a19aa482)

Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:26 -10:00
Yash Shinde
bd19b162aa glibc: fix CVE-2023-4806
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=973fe93a5675c42798b2161c6f29c01b0e243994]

(From OE-Core rev: 7591adeb37f9156266ef98b639073e986e3a49f5)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-04 05:21:26 -10:00
Roland Hieber
a61e021c65 ref-manual: point outdated link to the new location
(From yocto-docs rev: 08e04026d57450ea9496cdf8bf50c2f1fb033af5)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:44 -10:00
Roland Hieber
452b89685d template: fix typo in section header
(From yocto-docs rev: 3afbb4b438f306c22ab15d8b64cdd1161c282703)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:44 -10:00
Michael Opdenacker
175ff0b5fa dev-manual: licenses: mention SPDX for license compliance
(From yocto-docs rev: 7082ce69f50094052df6e6134eb74c2721ecf147)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:44 -10:00
Michael Opdenacker
c50eae0a3e contributor-guide: recipe-style-guide: add Upstream-Status
(From yocto-docs rev: 52459e2ee09d5e79bacb69b64cb7755ddc8082ab)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:44 -10:00
Michael Opdenacker
452511f674 dev-manual: new-recipe.rst fix inconsistency with contributor guide
This document was suggesting a way to version pre-releases
which doesn't match the latest recommendations from the
contributor guide.

(From yocto-docs rev: bb74a9f83b84fa0d2836ed09175cac3c671b1042)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:44 -10:00
Michael Opdenacker
473d725a5f dev-manual: disk-space: improve wording for obsolete sstate cache files
Replace "duplicate" by "obsolete", more appropriate.
"duplicate" probably comes from the "--remove-duplicated"
option of the sstate-cache-management.sh script.

Improve other sentences too.

(From yocto-docs rev: e893d66999a97732780ff2b1ba6fb7e6e9d2eff7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:44 -10:00
Michael Opdenacker
20bbfa89c3 sdk-manual: extensible.rst: fix multiple formatting issues
Take advantage of this edit to also fix alignment
issues in the sources.

(From yocto-docs rev: 6d17f91c3078b5aeb6fa4acab8c9a0ff8e962fa5)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:44 -10:00
Jaeyoon Jung
cd0c6173a3 cml1: Fix KCONFIG_CONFIG_COMMAND not conveyed fully in do_menuconfig
Variable overrides in KCONFIG_CONFIG_COMMAND do not work as expected due
to double quote mismatches. The issue is reproducible in an environment
where gold is the default linker. Below is an example snippet of
run.do_terminal generated by do_menuconfig.

do_terminal() {
exec sh -c "make menuconfig   CC="aarch64-webos-linux-gcc ..."
LD="aarch64-webos-linux-ld.bfd ..."
...
}

Although LD override is set to bfd correctly, it is not passed to make
and make menuconfig ends up with messages like:
| gold linker is not supported as it is not capable of linking the kernel proper.
| scripts/Kconfig.include:56: Sorry, this linker is not supported.

(From OE-Core rev: 9c483765db762dbe8020423c8778518612b7e5f7)

(From OE-Core rev: 75f8485d7862b08e2f96f919e992d203df6c8d9c)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d4664d2b79)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:44 -10:00
Chen Qi
6e379bfb8e gcc-crosssdk: ignore MULTILIB_VARIANTS in signature computation
The gcc_multilib_setup function is a function that is run at the
do_configure step, so it's counted into the signature computation.
The MULTILIB_VARIANTS this function uses is also extracted to be
taken into consideration. After the change of setting MULTILIB_VARIANTS
explictly vardeps on MULTILIBS, the change of MULTILIBS changes the
signature, thus causing rebuilding. However, in case of gcc-crosssdk,
the setting of multilib should have no effect on it, as it's used
to build nativesdk packages, not the target packages. So ignore
MULTILIB_VARIANTS in signature computation. This fixes oe-selftest
case sstatetests.SStateHashSameSigs2.test_sstate_nativesdk_samesigs_multilib.

(From OE-Core rev: 537c71162a711dec32a63a657c4b101269a3e267)

(From OE-Core rev: 6b87f7c9e955abe5833820ee7eda9d525c77d2ea)

Signed-off-by: Chen Qi <Qi.Chen@windriver.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>
2023-09-29 04:33:44 -10:00
Chen Qi
8420a581fd multilib.conf: explicitly make MULTILIB_VARIANTS vardeps on MULTILIBS
This patch is to ensure recipes get rebuilt correctly and avoid
incorrect sstate cache reuse when toggling multilib.

The following steps show one example of such incorrect sstate cache reuse.
1. enable multilib && bitbake <some_image> -c populate_sdk
2. disable multilib && bitbake <some_image> -c populate_sdk

The error message is as below:
Error:
 Problem: conflicting requests
   - nothing provides binutils-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
   - nothing provides gcc-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
   - nothing provides gdb-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
 (try to add '--skip-broken' to skip uninstallable packages)

We get this error because packagegroup-cross-canadian recipe is
not rebuilt when it should be.

Current codes have tracked the dependency to MULTILIB_VARIANTS, as
shown in the following chain:
RDEPENDS:packagegroup-cross-canadian-intel-x86-64 ->
all_multilib_tune_values -> MULTILIB_VARIANTS.

However, MULTILIB_VARIANTS cannot automatically depend on MULTILIBS.
See some results from 'bitbake-dumpsigs' below:
List of dependencies for variable MULTILIB_VARIANTS is ['extend_variants']
Variable MULTILIB_VARIANTS value is ${@extend_variants(d,'MULTILIBS','multilib')}

It's obvious that the value of MULTILIB_VARIANTS depend on the
value of MULTILIBS, so let's set this dependency manually.

(From OE-Core rev: 9f47d8eb51816d16078a23c0cef4d697555f913f)

(From OE-Core rev: 8ed254dd5e44d0685e5b952f724af08d75ce3d9d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.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>
2023-09-29 04:33:44 -10:00
Lee Chee Yang
6b44e2fb62 ffmpeg: 5.1.2 -> 5.1.3
drop patch which is already part of 5.1.3.

0001-avcodec-rpzaenc-stop-accessing-out-of-bounds-frame.patch(CVE-2022-3964):
1eb002596e

0001-avcodec-smcenc-stop-accessing-out-of-bounds-frame.patch(CVE-2022-3965):
293dc39bca

ffmpeg-fix-vulkan.patch :  7268323193

(From OE-Core rev: aeee19cda946b67f33c7b7c02c86513676bc89bd)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:44 -10:00
Lee Chee Yang
9936e86de8 bind: update to 9.18.19
release notes:
https://downloads.isc.org/isc/bind9/9.18.19/doc/arm/html/notes.html#notes-for-bind-9-18-19

Security Fixes

Previously, sending a specially crafted message over the control channel
could cause the packet-parsing code to run out of available stack
memory, causing named to terminate unexpectedly. This has been fixed.
(CVE-2023-3341)

ISC would like to thank Eric Sesterhenn from X41 D-Sec GmbH for bringing
this vulnerability to our attention. [GL #4152]

A flaw in the networking code handling DNS-over-TLS queries could cause
named to terminate unexpectedly due to an assertion failure under
significant DNS-over-TLS query load. This has been fixed.
(CVE-2023-4236)

ISC would like to thank Robert Story from USC/ISI Root Server Operations
for bringing this vulnerability to our attention. [GL #4242]

Removed Features

The dnssec-must-be-secure option has been deprecated and will be removed
in a future release. [GL #4263]

Feature Changes

If the server command is specified, nsupdate now honors the nsupdate -v
option for SOA queries by sending both the UPDATE request and the
initial query over TCP. [GL #1181]

Bug Fixes

The value of the If-Modified-Since header in the statistics channel was
not being correctly validated for its length, potentially allowing an
authorized user to trigger a buffer overflow. Ensuring the statistics
channel is configured correctly to grant access exclusively to
authorized users is essential (see the statistics-channels block
definition and usage section). [GL #4124]

This issue was reported independently by Eric Sesterhenn of X41 D-Sec
GmbH and Cameron Whitehead.

The Content-Length header in the statistics channel was lacking proper
bounds checking. A negative or excessively large value could potentially
trigger an integer overflow and result in an assertion failure. [GL

This issue was reported by Eric Sesterhenn of X41 D-Sec GmbH.

Several memory leaks caused by not clearing the OpenSSL error stack were
fixed. [GL #4159]

This issue was reported by Eric Sesterhenn of X41 D-Sec GmbH.

The introduction of krb5-subdomain-self-rhs and ms-subdomain-self-rhs
UPDATE policies accidentally caused named to return SERVFAIL responses
to deletion requests for non-existent PTR and SRV records. This has been
fixed. [GL #4280]

The stale-refresh-time feature was mistakenly disabled when the server
cache was flushed by rndc flush. This has been fixed. [GL #4278]

BIND’s memory consumption has been improved by implementing dedicated
jemalloc memory arenas for sending buffers. This optimization ensures
that memory usage is more efficient and better manages the return of
memory pages to the operating system. [GL #4038]

Previously, partial writes in the TLS DNS code were not accounted for
correctly, which could have led to DNS message corruption. This has been
fixed. [GL #4255]

Known Issues

There are no new known issues with this release. See above for a list of
all known issues affecting this BIND 9 branch.

(From OE-Core rev: 663397edba278184a736e97aa602d3f96d2d937a)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:43 -10:00
Wang Mingyu
87a2a74faf bind: upgrade 9.18.17 -> 9.18.18
Changelog:
============
 Deprecate the 'dialup' and 'heartbeat-interval' options.
 Ignore 'max-zone-ttl' on 'dnssec-policy insecure'.
 Return REFUSED to GSS-API TKEY requests if GSS-API support is not configured.
 Mark a primary server as temporarily unreachable if the TCP connection attempt times out.
 Don't process detach and close netmgr events when the netmgr has been paused.

(cherry-pick from commit e78ec619beea6e541b2d83a5dc845ce57ff12564)

(From OE-Core rev: 3cb92c8746f589ef74e337e5866378e04a8133ef)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:43 -10:00
Narpat Mali
22af10c1b1 python3-git: upgrade 3.1.32 -> 3.1.37
The delta between 3.1.32 & 3.1.37 contains the CVE-2023-40590 and
CVE-2023-41040 fixes and other bugfixes.

Changelog:
==========
- WIP Quick doc by @LeoDaCoda in #1608
- Partial clean up wrt mypy and black by @bodograumann in #1617
- Disable merge_includes in config writers by @bodograumann in #1618
- feat: full typing for "progress" parameter in Repo class by @madebylydia in #1634
- Fix CVE-2023-40590 by @EliahKagan in #1636
- #1566 Creating a lock now uses python built-in "open()" method to work arou… by @HageMaster3108 in #1619
- util: close lockfile after opening successfully by @skshetry in #1639
- Bump actions/checkout from 3 to 4 by @dependabot in #1643
- Fix 'Tree' object has no attribute '_name' when submodule path is normal path by @CosmosAtlas in #1645
- Fix CVE-2023-41040 by @facutuesca in #1644
- Only make config more permissive in tests that need it by @EliahKagan in #1648
- Added test for PR #1645 submodule path by @CosmosAtlas in #1647
- Fix Windows environment variable upcasing bug by @EliahKagan in #1650
- Improve Python version and OS compatibility, fixing deprecations by @EliahKagan in #1654
- Better document env_case test/fixture and cwd by @EliahKagan in #1657
- Remove spurious executable permissions by @EliahKagan in #1658
- Fix up checks in Makefile and make them portable by @EliahKagan in #1661
- Fix URLs that were redirecting to another license by @EliahKagan in #1662
- Assorted small fixes/improvements to root dir docs by @EliahKagan in #1663
- Use venv instead of virtualenv in test_installation by @EliahKagan in #1664
- Omit py_modules in setup by @EliahKagan in #1665
- Don't track code coverage temporary files by @EliahKagan in #1666
- Configure tox by @EliahKagan in #1667
- Format tests with black and auto-exclude untracked paths by @EliahKagan in #1668
- Upgrade and broaden flake8, fixing style problems and bugs by @EliahKagan in #1673
- Fix rollback bug in SymbolicReference.set_reference by @EliahKagan in #1675
- Remove @NoEffect annotations by @EliahKagan in #1677
- Add more checks for the validity of refnames by @facutuesca in #1672

Note that the changes to the license file are just removal of excess whitespace
(the extra blank line at the end, and spaces appearing at the end of lines).

References:
https://github.com/gitpython-developers/GitPython/releases
https://github.com/gitpython-developers/GitPython/blob/main/doc/source/changes.rst
e1af18377f

(From OE-Core rev: 931af3758a2d79aea534ab6d23db392ede7cc1bb)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:43 -10:00
Yash Shinde
516a45c114 glibc: fix CVE-2023-4527
Upstream-Status: Backport[https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4ea972b7edd7e36610e8cde18bf7a8149d7bac4f]

(From OE-Core rev: 04926dc555a0a75cd2c59729b351a997b018cdbc)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:43 -10:00
Ross Burton
75a96da596 linux-yocto: update CVE exclusions
(From OE-Core rev: 51ce40e9f994bcce5cd484dff5346b4dd2bff1fc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:43 -10:00
Sanjay Chitroda
529fa41487 curl: Add CVE-2023-28320 follow-up fix
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-28320
https://security-tracker.debian.org/tracker/CVE-2023-28320

Upstream Patch:
Introduced by: https://github.com/curl/curl/commit/3c49b405de4f (curl-7_9_8)
Fixed by: https://github.com/curl/curl/commit/13718030ad4b (curl-8_1_0)
Follow-up: https://github.com/curl/curl/commit/f446258f0269 (curl-8_1_0)

(From OE-Core rev: 5d6d4768693f9baa9b801e87d4d2aed0d9792613)

Signed-off-by: Sanjay Chitroda <sanjay.chitroda@einfochips.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-29 04:33:43 -10:00
Chen Qi
0fb8a7bac1 cmake.bbclass: fix allarch override syntax
The override syntax should be ":allarch" instead of "_allarch".

(From OE-Core rev: 72d3ecb22fea59d2520997b3f0a0651557d69ae7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bea74c9942a3bb4f71aca0f722b4a7306ae52fb4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-20 05:23:02 -10:00
Richard Purdie
e031f2e336 vim: Upgrade 9.0.1664 -> 9.0.1894
This includes multiple CVE fixes.

The license change is due to changes in maintainership, the license
itself is unchanged.

(From OE-Core rev: a90e3d1bac7c965e357103c05bf31fd804b87c0b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91e66b93a0c0928f0c2cfe78e22898a6c9800f34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-20 05:23:02 -10:00
Archana Polampalli
fdeb73d660 vim: upgrade 9.0.1592 -> 9.0.1664
Fixes:
https://nvd.nist.gov/vuln/detail/CVE-2023-3896
8154e642a (tag: v9.0.1664) patch 9.0.1664: divide by zero when scrolling with 'smoothscroll' set

(From OE-Core rev: a63a84591bdfc7bb0a7ae125a47122f3693a1334)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a1ab744142c9229f03a359b45e5e89a1fbae0d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-20 05:23:02 -10:00
Yogita Urade
190a134f8e qemu: fix CVE-2023-3354
A flaw was found in the QEMU built-in VNC server. When a client connects
to the VNC server, QEMU checks whether the current number of connections
crosses a certain threshold and if so, cleans up the previous connection.
If the previous connection happens to be in the handshake phase and fails,
QEMU cleans up the connection again, resulting in a NULL pointer dereference
issue. This could allow a remote unauthenticated client to cause a denial
of service.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2023-3354

(From OE-Core rev: 8f0b34f7ad5ef842d60c9b93ce2c6142d3249890)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-20 05:23:02 -10:00
Martin Jansa
6ebb52f027 gcc: backport a fix for ICE caused by CVE-2023-4039.patch
* see:
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111418
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411

(From OE-Core rev: c49f6b9dc8436322359029fecb90b23d639a2100)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-20 05:23:02 -10:00
Ross Burton
992074032e gcc: Fix -fstack-protector issue on aarch64
This series of patches fixes deficiencies in GCC's -fstack-protector
implementation for AArch64 when using dynamically allocated stack space.
This is CVE-2023-4039.  See:

https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20Vulnerability%20AArch64
https://github.com/metaredteam/external-disclosures/security/advisories/GHSA-x7ch-h5rf-w2mf

for more details.

(From OE-Core rev: 0cb253565c863aa1f677084a440294fe2a03beb0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-20 05:23:02 -10:00
Siddharth Doshi
42d270eeed gdb: Fix CVE-2023-39128
Note: The Fix needs to be pushed in gdb rather than bintuils-gdb as we are
disabling gdb in binutils configure.

Upstream-Status: Backport from [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=033bc52bb6190393c8eed80925fa78cc35b40c6d]
CVE: CVE-2023-39128
(From OE-Core rev: 173d7ab67f14fc6d8b5d46e1c1de39d20965d6e9)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-20 05:23:02 -10:00
Sanjana
192ba3d46c binutils: Fix CVE-2023-39128
Avoid buffer overflow in ada_decode.

(From OE-Core rev: a6587352b4d204134443430b2ddc605f25a5ae3f)

Signed-off-by: Sanjana <sanjanasanju1608@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-20 05:23:02 -10:00
Yogita Urade
31176477ce dropbear: fix CVE-2023-36328
Integer Overflow vulnerability in mp_grow in libtom libtommath before
commit beba892bc0d4e4ded4d667ab1d2a94f4d75109a9, allows attackers to
execute arbitrary code and cause a denial of service (DoS).

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-36328
https://github.com/libtom/libtommath/pull/546

(From OE-Core rev: e2fe2c2066b066b1561eaba7bd7f27d4079c3cd6)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-20 05:23:02 -10:00
Michael Opdenacker
2bd4e2392b dev-manual: disk-space: mention faster "find" command to trim sstate cache
[YOCTO #15182]

(From yocto-docs rev: 0bcd2ca98870f4d5bb8c2677fda260da548787d6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Yoann CONGAL <yoann.congal@smile.fr>
Reported-by: Randy MacLeod <randy.macleod@windriver.com>
Reported-by: Josef Holzmayr <jester@theyoctojester.info>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:26 -10:00
Michael Opdenacker
1c54f85cf9 manuals: add new contributor guide
(From yocto-docs rev: 77f20d1594db42818aac9a7a92865def8fb7ec36)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:26 -10:00
Yoann Congal
ca4a09f897 dev-manual: remove unsupported :term: markup inside markup
":term:`Initramfs`" in bold text appears verbatim (no link is created).

The term link is present elsewhere in the text so remove the extra
markup.

(From yocto-docs rev: fc8e220290414dab45299d0ac829c8c461b1903c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:26 -10:00
Michael Opdenacker
da107c5031 ref-manual: system-requirements: update supported distros
- Update according to changes in SANITY_TESTED_DISTROS
  (meta-poky/conf/distro/poky.conf)

- No longer declare as "Supported" the distributions versions
  which are End of Life for their vendors, as some of them
  (Ubuntu for example) ship updates to subscribers only,
  which the Yocto Project has no access to.

- List distribution versions which were previously tested
  for the branch of the Yocto Project being considered.

(From yocto-docs rev: fd5113b7e20844a44a2c9da37e1bc10034d46cfe)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:26 -10:00
Lee Chee Yang
654df67339 migration-guides: add release notes for 4.0.12
(From yocto-docs rev: b84954c7d53fe86d6228a2450de5c0d9ea9f0960)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:26 -10:00
Lee Chee Yang
89afc321b5 migration-guides: add release notes for 4.2.3
(From yocto-docs rev: d81b671a7868903b60035ba56a05c714b0d731f1)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:26 -10:00
Michael Halstead
40b0b3989c yocto-uninative: Update to 4.3
Add in stable updates to glibc 2.38 to fix malloc bugs

(From OE-Core rev: 055b7acd73a591cb529629a780558cc0f5b19456)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39f987fcb20ad7c0e45425b9f508d463c50ce0c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:26 -10:00
Sakib Sajal
1b98e3f744 go: upgrade 1.20.6 -> 1.20.7
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.6..go1.20.7 origin/release-branch.go1.20
adb775e309 (tag: go1.20.7, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.7
659f2a2207 [release-branch.go1.20] crypto/tls: restrict RSA keys in certificates to <= 8192 bits
10d85fa0f6 [release-branch.go1.20] cmd/asm, cmd/internal/obj: generate proper atomic ops for riscv64
bd3a1f24e7 [release-branch.go1.20] net: tolerate permission errors in interface tests
6211a024b4 [release-branch.go1.20] cmd/compile: on PPC64, fix sign/zero extension when masking

[1] https://github.com/golang/go/compare/go1.20.6...go1.20.7

Upgrade include fix for CVE-2023-29409 CVE-2023-39533

(cherry picked from commit 039324d917ed124228a14ac1effdd66b27d9e82b)

(From OE-Core rev: 8397964d5a8d995a06c5c2a34883047546edc077)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:26 -10:00
Chee Yang Lee
6ae9654ab5 python3: update to 3.11.5
upgrade include fix for CVE-2023-40217

Release notes:
https://docs.python.org/3/whatsnew/changelog.html#python-3-11-5-final

(From OE-Core rev: 4a3e3042a0cef3a215d286b0f32be293c3948d1e)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:25 -10:00
Alexander Kanavin
8b372c7d4e python3: update 3.11.3 -> 3.11.4
upgrade include fix for CVE-2023-24329

(cherry picked from commit f7f163ebe8c53de4314d04595c1fbcc7af2deccc )

(From OE-Core rev: 8687de9f20bde7aba118a50342848031adfb7641)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:25 -10:00
Alexander Kanavin
b2e008f2d4 python3: upgrade 3.11.2 -> 3.11.3
(cherry picked from commit 7d5bb3a4690ef61a1fee21773b4717e829789e32)

(From OE-Core rev: a991fe85dca51ddf36994666e14e69839dd694b2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:25 -10:00
Kai Kang
1b290ab11c webkitgtk: fix CVE-2023-32435
Backport and rebase patch to fix CVE-2023-32435 for webkitgtk 2.38.6:

* drop the patches for the files WasmAirIRGenerator64.cpp and
  WasmAirIRGeneratorBase.h which are involved in 2.40.0
* drop test cases as well

CVE: CVE-2023-32435

(From OE-Core rev: c54f98d35f2cb276dc49a5ccd4813ccc34c6f668)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:25 -10:00
Kai Kang
97e50bbe64 webkitgtk: fix CVE-2023-32439
Backport patch to fix CVE-2023-32439 for webkitgtk.

CVE: CVE-2023-32439

(From OE-Core rev: 71edb4ec115208950ae5da5305b5fd75823121ec)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:25 -10:00
Yogita Urade
1dc70a8da5 nghttp2: fix CVE-2023-35945
Envoy is a cloud-native high-performance edge/middle/service
proxy. Envoy’s HTTP/2 codec may leak a header map and
bookkeeping structures upon receiving `RST_STREAM` immediately
followed by the `GOAWAY` frames from an upstream server. In
nghttp2, cleanup of pending requests due to receipt of the
`GOAWAY` frame skips de-allocation of the bookkeeping structure
and pending compressed header. The error return [code path] is
taken if connection is already marked for not sending more
requests due to `GOAWAY` frame. The clean-up code is right after
the return statement, causing memory leak. Denial of service
through memory exhaustion. This vulnerability was patched in
versions(s) 1.26.3, 1.25.8, 1.24.9, 1.23.11.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-35945
https://github.com/envoyproxy/envoy/security/advisories/GHSA-jfxv-29pc-x22r

(From OE-Core rev: 18277a43f7fd6522a67f194f40595bc378468733)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:25 -10:00
Chee Yang Lee
643cbec1d9 libssh2: fix CVE-2020-22218
(From OE-Core rev: ff2288cd466c46c4e2cac24498b260037dba5071)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-13 06:21:25 -10:00
Etienne Cordonnier
eaadbc79bb vim: update obsolete comment
vim 8.3 has been out for a long time, so this comment is obsolete.
However we still need UPSTREAM_VERSION_UNKNOWN, since we ignore
the last digit of the upstream version number.

Test result:
$ devtool check-upgrade-status vim
  ...
  INFO: vim                       9.0.1592        UNKNOWN         Tom Rini <trini@konsulko.com> c0370529c027abc5b1698d53fcfb8c02a0c515da

(From OE-Core rev: 65f5de85c3f488136d1ec2b1f7fe8d8426d6c5b3)

(From OE-Core rev: 981fa51afe040550c7c351fff028553d4bbbd1ca)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 868a19357841470eb55fb7f1c4ab1af09dea99ed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
Richard Purdie
ef9e041052 build-sysroots: Ensure dependency chains are minimal
We need to ensure this recipe doesn't have dependencies on others. The SPDX
classes/tasks introduce dependenies quilt-native and patch-native which can
introduce races on files in the sysroots. Avoid the races by removing the
tasks we don't need.

[YOCTO #15186]

(From OE-Core rev: a3e2e156c602e7fabf0024a6c9dc4603d327f08b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5dc278b077edba8f4099f0f6dfb97e97f680320)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
Ovidiu Panait
f62d8a7103 mdadm: skip running 04update-uuid and 07revert-inplace testcases
04update-uuid and 07revert-inplace tests are unreliable and fail intermittently
on the autobuilder (BZ#15181 and BZ#15159). Unfortunately, the failures cannot
be reproduced locally and the logs cannot be retrieved from the AB.

Mark the testcases as BROKEN to skip them when running ptest.

(From OE-Core rev: f39988353743e35418a730bfd6b9a9b68d946641)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb219aff7cfe1cff1da93107ac7b22c678c0000f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
Markus Niebel
d7755c7e12 wic: fix wrong attempt to create file system in upartitioned regions
The kickstart parser defaults fstype to "vfat". This leads to an attempt
to create an empty file system even for regions configured with "--no-table"
if used without fstype when no --sourceparams given.

The fix tests for fstype "none" or no_table in Partition prepare method.
This will omit the file system creation an the potential error for small
region with --no-table option.

(From OE-Core rev: 47b395fe2dc393e82d0a42cfab96d134c1397a43)

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db771a4cd36bf291a8b68edfd905e03243f2c8b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
Martin Jansa
e2c3c0315c tcl: prevent installing another copy of tzdata
It checks build host filesystem and if it doesn't find UTC or GMT
files it installs another copy of tzdata files in:
/usr/lib/tcl8.6/tzdata

Buildhistory shows the difference:
-PKGSIZE = 2227075
+PKGSIZE = 3433088

See the autodetection in configure.in:
  #------------------------------------------------------------------------
  #       Check whether the timezone data is supplied by the OS or has
  #       to be installed by Tcl. The default is autodetection, but can
  #       be overridden on the configure command line either way.
  #------------------------------------------------------------------------

  AC_MSG_CHECKING([for timezone data])
  AC_ARG_WITH(tzdata,
      AC_HELP_STRING([--with-tzdata],
          [install timezone data (default: autodetect)]),
      [tcl_ok=$withval], [tcl_ok=auto])

  #
  # Any directories that get added here must also be added to the
  # search path in ::tcl::clock::Initialize (library/clock.tcl).
  #
  case $tcl_ok in
      no)
          AC_MSG_RESULT([supplied by OS vendor])
      ;;
      yes)
          # nothing to do here
      ;;
      auto*)
          AC_CACHE_VAL([tcl_cv_dir_zoneinfo], [
          for dir in /usr/share/zoneinfo \
                  /usr/share/lib/zoneinfo \
                  /usr/lib/zoneinfo
          do
                  if test -f $dir/UTC -o -f $dir/GMT
                  then
                          tcl_cv_dir_zoneinfo="$dir"
                          break
                  fi
          done])
          if test -n "$tcl_cv_dir_zoneinfo"; then
              tcl_ok=no
              AC_MSG_RESULT([$dir])
          else
              tcl_ok=yes
          fi
      ;;
      *)
          AC_MSG_ERROR([invalid argument: $tcl_ok])
      ;;
  esac
  if test $tcl_ok = yes
  then
      AC_MSG_RESULT([supplied by Tcl])
      INSTALL_TZDATA=install-tzdata
  fi

(From OE-Core rev: d5a038b764720bd3267f258994371909f3f34ad6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ace9fbfeb42ebf920812e3dd6d665b8b20a1ca0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
Poonam Jadhav
b872e1c4ad pixman: Remove duplication of license MIT
Remove duplication of license MIT from pixman bbfile.

(From OE-Core rev: 0a14def83fe2bb4f4cc7cf988c7d31d3108e0ed0)

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e6c87b267252376ca85b534e3c9ee9b77ff665ca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
Khem Raj
ba648f3b0b build-sysroots: Add SUMMARY field
Fixes build QA warning about [missing-metadata]

(From OE-Core rev: ff7bb864d89ec8c2da707cc7d3cce8336357955e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4f4c7130f11c069ab18c374dcbfb1276ef37be60)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
Ross Burton
c139c0aeda graphene: fix runtime detection of IEEE754 behaviour
Graphene gates a runtime check on whether it is cross-compiling, when it
should be whether it can run target binaries.

(From OE-Core rev: 49f8ba521e66c489f58b808af7abe61c44af5470)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61bb4086bea61a0446f469ed3cb0d525860a1a31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
Bruce Ashfield
f14bac06cf linux-yocto/6.1: fix IRQ-80 warnings
Integrating the following commit(s) to linux-yocto/6.1:

    44fd0c7a5a79 tick/rcu: fix false positive "softirq work is pending" messages on RT

Paul Gortmaker has found and fixed the root cause of why we are
getting "softirq work is pending" messages on boot with -rt ..
although the issue is not rt-specific.

The fix has been submitted to lkml, but we are integrating it
to avoid the delay of -stable picking it up and then linux-yocto
doing the same.

(From OE-Core rev: 69fffaa7ed863f8811254843e169cfbf3a0400b0)

(From OE-Core rev: bbacef1339cc9aeee77ec4192ade19c5c7d73d14)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2099b728c48d920aa3914f4297563105a672e174)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
Bruce Ashfield
5232da3251 linux-yocto/6.1: update to v6.1.46
Updating  to the latest korg -stable release that comprises
the following commits:

    6c44e13dc284 Linux 6.1.46
    5525c289dbcf drm/amd/pm/smu7: move variables to where they are used
    4346a66ad198 sch_netem: fix issues in netem_change() vs get_dist_table()
    3ae919c317dd alpha: remove __init annotation from exported page_is_ram()
    cbce265f959f ACPI: scan: Create platform device for CS35L56
    afc4ddd9507f platform/x86: serial-multi-instantiate: Auto detect IRQ resource for CSC3551
    38b0020f68b7 scsi: qedf: Fix firmware halt over suspend and resume
    a9518f4a4978 scsi: qedi: Fix firmware halt over suspend and resume
    fb004497b3ea scsi: fnic: Replace return codes in fnic_clean_pending_aborts()
    b191ff1f075c scsi: core: Fix possible memory leak if device_add() fails
    7723a5d5d187 scsi: snic: Fix possible memory leak if device_add() fails
    9fdb273ede6f scsi: 53c700: Check that command slot is not NULL
    8282d0b35880 scsi: ufs: renesas: Fix private allocation
    ed70fa5629a8 scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
    0e1605ec5bea scsi: core: Fix legacy /proc parsing buffer overflow
    f3f0f95a0233 netfilter: nf_tables: report use refcount overflow
    c21fddce7e45 nvme-rdma: fix potential unbalanced freeze & unfreeze
    cddbaa8dee7e nvme-tcp: fix potential unbalanced freeze & unfreeze
    bf67802453d3 btrfs: set cache_block_group_error if we find an error
    3ae93b316ca4 btrfs: reject invalid reloc tree root keys with stack dump
    9d04716e3665 btrfs: exit gracefully if reloc roots don't match
    7112abc9e8f2 btrfs: properly clear end of the unreserved range in cow_file_range
    504d81c512f6 btrfs: don't stop integrity writeback too early
    4e18c827d61b btrfs: wait for actual caching progress during allocation
    b8cd871d0a18 gpio: sim: mark the GPIO chip as a one that can sleep
    227bd2c1eab1 gpio: ws16c48: Fix off-by-one error in WS16C48 resource region extent
    5e17b8ee64c1 ibmvnic: Ensure login failure recovery is safe from other resets
    206ccf4f0977 ibmvnic: Do partial reset on login failure
    31ccd1ba20d8 ibmvnic: Handle DMA unmapping of login buffs in release functions
    24556c1cc9db ibmvnic: Unmap DMA login rsp buffer on send login fail
    2c5dd8805e6c ibmvnic: Enforce stronger sanity checks on login response
    ad0f73cbace4 net/mlx5: Reload auxiliary devices in pci error handlers
    88ec484ef8e2 net/mlx5: Skip clock update work when device is in error state
    4276f3e7ae4a net/mlx5: LAG, Check correct bucket when modifying LAG
    a824d012ad8f net/mlx5: Allow 0 for total host VFs
    ab06983c5bbd dmaengine: owl-dma: Modify mismatched function name
    dff220037148 dmaengine: mcf-edma: Fix a potential un-allocated memory access
    c4f7de3e8ce1 net: hns3: fix strscpy causing content truncation issue
    87d7e140081f nexthop: Fix infinite nexthop bucket dump when using maximum nexthop ID
    8d6df2c523e2 nexthop: Make nexthop bucket dump more efficient
    0b10d8d1cf85 nexthop: Fix infinite nexthop dump when using maximum nexthop ID
    743f7c1762e0 net: hns3: fix deadlock issue when externel_lb and reset are executed together
    59bad9190ac7 net: hns3: add wait until mac link down
    667ce6a0ff80 net: hns3: refactor hclge_mac_link_status_wait for interface reuse
    758dbcfb257e net: dsa: ocelot: call dsa_tag_8021q_unregister() under rtnl_lock() on driver remove
    001b7d6706e2 net: phy: at803x: remove set/get wol callbacks for AR8032
    a3e5f3b7f25d net: marvell: prestera: fix handling IPv4 routes with nhid
    059ec8287fd3 net: tls: avoid discarding data on record close
    05e6b93da45d RDMA/umem: Set iova in ODP flow
    521860ddf314 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
    94916b314861 drm/rockchip: Don't spam logs in atomic check
    ac6640f4193d IB/hfi1: Fix possible panic during hotplug remove
    c2efcaf304fb iavf: fix potential races for FDIR filters
    bcbc48b12092 drivers: vxlan: vnifilter: free percpu vni stats on error path
    eeb0e4c1dbdf drivers: net: prevent tun_build_skb() to exceed the packet size limit
    a6ddc1c77487 dccp: fix data-race around dp->dccps_mss_cache
    00f033d451c4 bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    15b453cf7348 xsk: fix refcount underflow in error path
    da5f42a6e748 tunnels: fix kasan splat when generating ipv4 pmtu error
    f20a941bc2c5 tcp: add missing family to tcp_set_ca_state() tracepoint
    ddebdaec1af2 net/smc: Use correct buffer sizes when switching between TCP and SMC
    584a783270c1 net/packet: annotate data-races around tp->status
    b249c510b43e mptcp: fix the incorrect judgment for msk->cb_flags
    fc0b41ac1106 macsec: use DEV_STATS_INC()
    ebceef298c56 mISDN: Update parameter type of dsp_cmx_send()
    6b2824b198a6 bpf, sockmap: Fix bug that strp_done cannot be called
    ed90fe7435c5 bpf, sockmap: Fix map type error in sock_map_del_link
    20acffcdc2b7 net: core: remove unnecessary frame_sz check in bpf_xdp_adjust_tail()
    e59a2e5a3123 selftests: forwarding: tc_flower: Relax success criterion
    352dc3ee33c6 selftests: forwarding: Switch off timeout
    2df0e4373507 selftests: forwarding: Skip test when no interfaces are specified
    9ff7465b9160 selftests: forwarding: hw_stats_l3_gre: Skip when using veth pairs
    693c0a5a02e1 selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
    10519d0b260d selftests: forwarding: ethtool: Skip when using veth pairs
    1455765e28ce selftests: forwarding: Add a helper to skip test when using veth pairs
    e146162dcf2e selftests/rseq: Fix build with undefined __weak
    e12b1ebc758a interconnect: qcom: sm8450: add enable_mask for bcm nodes
    8d0e2802b111 interconnect: qcom: Add support for mask-based BCMs
    312f04ede209 iio: core: Prevent invalid memory access when there is no parent
    98e470dc73a9 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
    19e7feda8966 x86: Move gds_ucode_mitigated() declaration to header
    f276899f8dbc x86/speculation: Add cpu_show_gds() prototype
    179430c2aa46 x86/sev: Do not try to parse for the CC blob on non-AMD hardware
    9ad49178c00a x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
    25085250a150 x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
    d93eeac34e75 x86/srso: Fix build breakage with the LLVM linker
    6f75e0934354 usb: typec: altmodes/displayport: Signal hpd when configuring pin assignment
    57b8f5fb8f17 usb: typec: tcpm: Fix response to vsafe0V event
    e3b37754988a usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
    bed19d95fcb9 USB: Gadget: core: Help prevent panic during UVC unconfigure
    d2a4ded0ee99 usb: dwc3: Properly handle processing of pending events
    0d2d5282d39a usb-storage: alauda: Fix uninit-value in alauda_check_media()
    8ee39ec47914 misc: rtsx: judge ASPM Mode to set PETXCFG Reg
    f11a26633eb6 binder: fix memory leak in binder_init()
    77b689cc27d4 iio: adc: ina2xx: avoid NULL pointer dereference on OF device match
    2f8ebbd0f03e iio: adc: ad7192: Fix ac excitation feature
    5e1ed816a0e1 iio: frequency: admv1013: propagate errors from regulator_get_voltage()
    366563c14f1f iio: cros_ec: Fix the allocation size for cros_ec_command
    5aac2726b693 io_uring: correct check for O_TMPFILE
    b61a06eca15c drm/amd/display: trigger timing sync only if TG is running
    07152d9e87ef drm/amd/display: fix the build when DRM_AMD_DC_DCN is not set
    647e12741e6d drm/amd/display: Retain phantom plane/stream if validation fails
    e61f0ad73668 drm/amd/display: Disable phantom OTG after enable for plane disable
    9caac2a9f69f drm/amd/display: Use update plane and stream routine for DCN32x
    e93ae6e6b660 drm/amd/display: Avoid ABM when ODM combine is enabled for eDP
    4fe91c51aa93 drm/amd/display: Update OTG instance in the commit stream
    b2415df0afba drm/amd/display: Handle seamless boot stream
    9b1a1f168c03 drm/amd/display: Add function for validate and update new stream
    60334c0cba2f drm/amd/display: Handle virtual hardware detect
    0f19195d6397 drm/amd/pm: avoid unintentional shutdown due to temperature momentary fluctuation
    b064f9ccf11c drm/amd/pm: fulfill powerplay peak profiling mode shader/memory clock settings
    b844033ea813 drm/amd/pm: expose swctf threshold setting for legacy powerplay
    2368afd60f64 drm/amd/pm: fulfill swsmu peak profiling mode shader/memory clock settings
    7532ff6edbf5 nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
    79a96970293b radix tree test suite: fix incorrect allocation size for pthreads
    0176533f5a39 hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
    088773aaafef cpuidle: dt_idle_genpd: Add helper function to remove genpd topology
    3d3fd58bfca1 drm/amd/display: limit DPIA link rate to HBR3
    10347b115da1 drm/amd: Disable S/G for APUs when 64GB or more host memory
    f6166ca452b8 drm/amdgpu: add S/G display parameter
    c3d2d4b02e5e drm/amd/display: check attr flag before set cursor degamma on DCN3+
    9a2393af1f35 drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
    2322dd8c9d3d drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
    a372c3f0db81 drm/nouveau/nvkm/dp: Add workaround to fix DP 1.3+ DPCD issues
    e179b058d720 drm/nouveau/gr: enable memory loads on helper invocation on all channels
    56c79fcae6f3 nvme-pci: add NVME_QUIRK_BOGUS_NID for Samsung PM9B1 256G and 512G
    3fdaa7fbc81b riscv/kexec: handle R_RISCV_CALL_PLT relocation type
    b374684018e4 riscv,mmio: Fix readX()-to-delay() ordering
    98a34f50c15f riscv/kexec: load initrd high in available memory
    593615bf14c9 net: mana: Fix MANA VF unload when hardware is unresponsive
    aec1ce9a30d4 dmaengine: pl330: Return DMA_PAUSED when transaction is paused
    ded9f5551ce5 mptcp: fix disconnect vs accept race
    84aa65a52561 mptcp: avoid bogus reset on fallback close
    d143c736020f selftests: mptcp: join: fix 'implicit EP' test
    aae988c09650 selftests: mptcp: join: fix 'delete and re-add' test
    a537fd9096a1 ipv6: adjust ndisc_is_useropt() to also return true for PIO
    ecab78febff0 mmc: moxart: read scr register without changing byte order
    260ec73757c1 wireguard: allowedips: expand maximum node depth
    839aae189e1f selftests: forwarding: Set default IPv6 traceroute utility
    aa4b5895a80f wifi: rtw89: fix 8852AE disconnection caused by RX full flags
    e642eb67b8c1 wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()
    5bdf1c1f346c KVM: SEV: only access GHCB fields once
    ec18273e41d9 KVM: SEV: snapshot the GHCB before accessing it
    f339d76a3a97 ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()
    c6bef3bc30fd ksmbd: validate command request size
    ccb1700ed606 tpm: Add a helper for checking hwrng enabled
    d8a7d6136cbf tpm: Disable RNG for all AMD fTPMs
    ed2f8701fb9b Revert "loongarch/cpu: Switch to arch_cpu_finalize_init()"
    65383fe06065 gcc-plugins: Reorganize gimple includes for GCC 13

(From OE-Core rev: 91711cc075d0b44a1a1adab5b3c27da95264dc6f)

(From OE-Core rev: 1520c698d0323002b9aa93d1b4e3e8cf13528261)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6c758bece326cf43eb46c95a420f0c9eb42e36ad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
Bruce Ashfield
81d471ccba linux-yocto/6.1: fix uninitialized read in nohz_full/isolcpus setup
Integrating the following commit(s) to linux-yocto/6.1:

    4675ec8d0b9a kernel/sched: Fix uninitialized read in nohz_full/isolcpus setup

The carry forward of commit from the v5.15 linux-yocto kernel:

https://git.yoctoproject.org/linux-yocto/commit/?id=97c96388922

...in which case the sanity checks are properly *after* the allocation
and processing of the bootargs into the cpumask.

However, it seems patch (or wiggle?) apparently decided to put the
sanity checks *before* the population of the cpumask during the
carry-forward and generation of the new v6.1 kernel.  Meaning they are
validating uninitialized memory and hence nohz_full= and isolcpus= are
subject to random failures even for valid input ranges.

(From OE-Core rev: 4b349ee66eab8ebe3150ac4c1b449ea5c264a5be)

(From OE-Core rev: 5caea18a41d184c15e0685191364eb659a84ee59)

Signed-off-by: Adrian Cinal <adriancinal1@gmail.com>
Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 92642acd1166b7990fb520337b78a4d37ce7cbe4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:24 -10:00
Bruce Ashfield
a76e75e0f1 linux-yocto/6.1: update to v6.1.45
Updating  to the latest korg -stable release that comprises
the following commits:

    1321ab403b38 Linux 6.1.45
    f2615bb47be4 x86/CPU/AMD: Do not leak quotient data after a division by 0
    673cdde74fd1 Revert "drm/i915: Disable DC states for all commits"
    af7215182417 drm/amdgpu: Use apt name for FW reserved region
    3d0a34c42f0d drm/amdgpu: Remove unnecessary domain argument
    526defeec474 drm/amdgpu: add vram reservation based on vram_usagebyfirmware_v2_2
    99255a2b6849 arm64/ptrace: Don't enable SVE when setting streaming SVE
    c2fdf827f8fc exfat: check if filename entries exceeds max filename length
    e2fb24ce37ca f2fs: don't reset unchangable mount option in f2fs_remount()
    6ba0594a81f9 f2fs: fix to set flush_merge opt and show noflush_merge
    e355972affb6 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
    56562676102e drm/amd/display: skip CLEAR_PAYLOAD_ID_TABLE if device mst_en is 0
    63eeb50fa110 drm/amd/display: Ensure that planes are in the same order
    740d4cae248a drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning
    a492b8281c36 powerpc/mm/altmap: Fix altmap boundary check
    f4b700c71802 mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
    b71c00256da4 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts
    5a8a35b71bd3 mtd: rawnand: rockchip: fix oobfree offset and description
    6c591fce484e mtd: rawnand: omap_elm: Fix incorrect type in assignment
    88b1958fb57d io_uring: annotate offset timeout races
    a78a8bcdc26d f2fs: fix to do sanity check on direct node in truncate_dnode()
    23e72231f828 btrfs: remove BUG_ON()'s in add_new_free_space()
    56c0d76a9722 ext2: Drop fragment support
    295ef44a2aba fs: Protect reconfiguration of sb read-write from racing writes
    1bebbd9b8037 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
    203d58930d4a debugobjects: Recheck debug_objects_enabled before reporting
    29fac1849933 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
    1416eebaad80 fs/sysv: Null check to prevent null-ptr-deref bug
    ccc6de4d4f34 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
    33d9490b27e5 mm: kmem: fix a NULL pointer dereference in obj_stock_flush_required()
    4968484ac8ef file: reinstate f_pos locking optimization for regular files
    7a1178a3671b bpf, cpumap: Make sure kthread is running before map update returns
    8a211e9118d5 clk: imx93: Propagate correct error in imx93_clocks_probe()
    37f6073f7db3 drm/i915/gt: Cleanup aux invalidation registers
    4db8b39418a6 drm/i915: Fix premature release of request's reusable memory
    1fdd16d89c01 drm/ttm: check null pointer before accessing when swapping
    4f03b0471ee0 open: make RESOLVE_CACHED correctly test for O_TMPFILE
    61f96da37dd4 arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems
    654c1dd350c7 arm64/fpsimd: Clear SME state in the target task when setting the VL
    bae353469a28 arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE
    b8ea2a46913b powerpc/ftrace: Create a dummy stackframe to fix stack unwind
    36dd8ca330b7 bpf: Disable preemption in bpf_event_output
    ec062367fa0c rbd: prevent busy loop when requesting exclusive lock
    98cccbd0a19a x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction
    0526119bf59e wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
    767800fc402d net: tap_open(): set sk_uid from current_fsuid()
    b6846d7c408b net: tun_chr_open(): set sk_uid from current_fsuid()
    367fdf369dc7 arm64: dts: stratix10: fix incorrect I2C property for SCL signal
    3654ed5daf49 bpf: Disable preemption in bpf_perf_event_output
    680f4d8aec1b mtd: rawnand: meson: fix OOB available bytes for ECC
    67327cadba59 mtd: spinand: toshiba: Fix ecc_get_status
    724ce05212d0 exfat: release s_lock before calling dir_emit()
    1427a7e96fb9 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
    bc41119995e4 firmware: arm_scmi: Drop OF node reference in the transport channel setup
    a062da58ed97 ceph: defer stopping mdsc delayed_work
    ad82aac732c2 USB: zaurus: Add ID for A-300/B-500/C-700
    be52667ba243 libceph: fix potential hang in ceph_osdc_notify()
    f62faadc791e scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices
    645603ab5fa8 scsi: zfcp: Defer fc_rport blocking until after ADISC response
    f0618c305b41 rust: allocator: Prevent mis-aligned allocation
    cd4bdf8f98ef tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
    e53917e7efea tcp_metrics: annotate data-races around tm->tcpm_net
    6dea95d8caff tcp_metrics: annotate data-races around tm->tcpm_vals[]
    fee608e80271 tcp_metrics: annotate data-races around tm->tcpm_lock
    4a77a0f7526c tcp_metrics: annotate data-races around tm->tcpm_stamp
    71f891a25405 tcp_metrics: fix addr_same() helper
    afac854f8221 prestera: fix fallback to previous version on same major version
    72b3aea3450e net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
    1ca50e5de43a net/mlx5: fs_core: Make find_closest_ft more generic
    7b8717658dff vxlan: Fix nexthop hash size
    691a09eecad9 ip6mr: Fix skb_under_panic in ip6mr_cache_report()
    86818409f989 s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
    ecff20e19320 net: dcb: choose correct policy to parse DCB_ATTR_BCN
    421e02bda057 bnxt_en: Fix max_mtu setting for multi-buf XDP
    e9f11bfc03fb bnxt_en: Fix page pool logic for page size >= 64K
    64763dd851fa net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
    8afe27770dea net: korina: handle clk prepare error in korina_probe()
    58660666b464 net: ll_temac: fix error checking of irq_of_parse_and_map()
    834422b06c8b bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
    d4d3b53a4c66 net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
    7f691439b29b net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
    aab2d095ce4d net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
    cbd000451885 bpf, cpumap: Handle skb as well when clean up ptr_ring
    4461b2cae326 ice: Fix RDMA VSI removal during queue rebuild
    0b45af982a4d net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
    12d4ba181424 net: annotate data-races around sk->sk_priority
    6326c83ee27e net: add missing data-race annotation for sk_ll_usec
    dd7a1ff07c6c net: add missing data-race annotations around sk->sk_peek_off
    b53468041d20 net: annotate data-races around sk->sk_mark
    c7bb6860645f net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
    10c832159622 net: add missing READ_ONCE(sk->sk_sndbuf) annotation
    0a40103c9191 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
    be43c8f1c916 net: annotate data-races around sk->sk_max_pacing_rate
    0317c8322d9a net: annotate data-race around sk->sk_txrehash
    60d92bc9c094 net: annotate data-races around sk->sk_reserved_mem
    9da9ea9b132c qed: Fix scheduling in a tasklet while getting stats
    3c42307abe97 mISDN: hfcpci: Fix potential deadlock on &hc->lock
    d652c080b67c net: sched: cls_u32: Fix match key mis-addressing
    22709d85373f perf test uprobe_from_different_cu: Skip if there is no gcc
    5ef5b6e9c17b net: dsa: fix value check in bcm_sf2_sw_probe()
    8dfac8071d58 rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
    24772cc31f00 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
    d628ba98eb16 net/mlx5e: Move representor neigh cleanup to profile cleanup_tx
    94a0eb9c12be net/mlx5e: Fix crash moving to switchdev mode when ntuple offload is set
    a7b5f001004c net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
    0582a3caaa3e net/mlx5: fix potential memory leak in mlx5e_init_rep_rx
    3169c3854397 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
    c818fff3b6cb net/mlx5e: fix double free in macsec_fs_tx_create_crypto_table_groups
    7a6fad03f54c wifi: cfg80211: Fix return value in scan logic
    05e0952ddb75 erofs: fix wrong primary bvec selection on deduplicated extents
    a759972d2549 KVM: s390: fix sthyi error handling
    f168188174b3 word-at-a-time: use the same return type for has_zero regardless of endianness
    5b53b2b44f0c firmware: arm_scmi: Fix chan_free cleanup on SMC
    6289d5486d36 lib/bitmap: workaround const_eval test build failure
    0ca5de8309f9 firmware: smccc: Fix use of uninitialised results structure
    7b0582dddd7e arm64: dts: freescale: Fix VPU G2 clock
    5841d3d0c352 arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
    a24f67b71ad2 arm64: dts: phycore-imx8mm: Correction in gpio-line-names
    753a927c5841 arm64: dts: phycore-imx8mm: Label typo-fix of VPU
    608ac7ea5f05 arm64: dts: imx8mm-venice-gw7904: disable disp_blk_ctrl
    d060bbb2fed8 arm64: dts: imx8mm-venice-gw7903: disable disp_blk_ctrl
    8ddb3183c439 iommu/arm-smmu-v3: Document nesting-related errata
    42d04acf1d9b iommu/arm-smmu-v3: Add explicit feature for nesting
    57ae3671ece5 iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
    e3399bd014e9 iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
    50c24f0c9407 net: ipa: only reset hashed tables when supported
    93f5b881125e net/mlx5: Free irqs only on shutdown callback
    15c22cd1de50 perf: Fix function pointer case
    c7920f992840 io_uring: gate iowait schedule on having pending requests

(From OE-Core rev: 9cdf022205d4bfe30ed71a4b1ac2edfb88eff560)

(From OE-Core rev: 4a7b992e07e9b0d35647df09c0faba7f691e984c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e8b3099f472201410cba6c3f30745d3b83e15a21)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:24 -10:00
Bruce Ashfield
da879d5675 linux-yocto/6.1: update to v6.1.44
Updating  to the latest korg -stable release that comprises
the following commits:

    0a4a7855302d Linux 6.1.44
    dd5f2ef16e3c x86: fix backwards merge of GDS/SRSO bit
    fa5b932b77c8 xen/netback: Fix buffer overrun triggered by unusual packet
    4f25355540ad x86/srso: Tie SBPB bit setting to microcode patch detection
    77cf32d0dbfb x86/srso: Add a forgotten NOENDBR annotation
    c7f2cd045542 x86/srso: Fix return thunks in generated code
    c9ae63d773ca x86/srso: Add IBPB on VMEXIT
    79c8091888ef x86/srso: Add IBPB
    98f62883e751 x86/srso: Add SRSO_NO support
    9139f4b6dd4f x86/srso: Add IBPB_BRTYPE support
    ac41e90d8daa x86/srso: Add a Speculative RAS Overflow mitigation
    dec3b91f2c4b x86/cpu, kvm: Add support for CPUID_80000021_EAX
    dfede4cb8ef7 x86/bugs: Increase the x86 bugs vector size to two u32s
    dacb0bac2edb Documentation/x86: Fix backwards on/off logic about YMM support
    051f5dcf144a x86/mm: Initialize text poking earlier
    e0fd83a193c5 mm: Move mm_cachep initialization to mm_init()
    9ae15aaff39c x86/mm: Use mm_alloc() in poking_init()
    d972c8c08f96 x86/mm: fix poking_init() for Xen PV guests
    7f3982de36c6 x86/xen: Fix secondary processors' FPU initialization
    baa7b7501e41 x86/mem_encrypt: Unbreak the AMD_MEM_ENCRYPT=n build
    b6fd07c41b4c KVM: Add GDS_NO support to KVM
    c04579e95492 x86/speculation: Add Kconfig option for GDS
    92fc27c79bc7 x86/speculation: Add force option to GDS mitigation
    c66ebe070d96 x86/speculation: Add Gather Data Sampling mitigation
    f25ad76d9217 x86/fpu: Move FPU initialization into arch_cpu_finalize_init()
    e26932942b2c x86/fpu: Mark init functions __init
    9e8d9d399094 x86/fpu: Remove cpuinfo argument from init functions
    c956807d8462 x86/init: Initialize signal frame size late
    b0837880fa65 init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
    8183a89caf67 init: Invoke arch_cpu_finalize_init() earlier
    a3342c60dcc5 init: Remove check_bugs() leftovers
    8beabde0ed8d um/cpu: Switch to arch_cpu_finalize_init()
    ce97072e10cc sparc/cpu: Switch to arch_cpu_finalize_init()
    84f585542ec6 sh/cpu: Switch to arch_cpu_finalize_init()
    6a90583dbd9b mips/cpu: Switch to arch_cpu_finalize_init()
    489ae02c8993 m68k/cpu: Switch to arch_cpu_finalize_init()
    08e86d42e2c9 loongarch/cpu: Switch to arch_cpu_finalize_init()
    403e4cc67e4c ia64/cpu: Switch to arch_cpu_finalize_init()
    e2e06240ae47 ARM: cpu: Switch to arch_cpu_finalize_init()
    7918a3555a25 x86/cpu: Switch to arch_cpu_finalize_init()
    d5501f2ff80d init: Provide arch_cpu_finalize_init()

(From OE-Core rev: c8b669d53b3444191c83f171768b03f96913f4eb)

(From OE-Core rev: ab360d4cbaed4c8d4c625a9ed363d143fce16969)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee0f9bb134ed2167bd014aaa0fafa551215a6f28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:24 -10:00
Bruce Ashfield
f1a2dadfed linux-yocto/6.1: update to v6.1.43
Updating  to the latest korg -stable release that comprises
the following commits:

    52a953d0934b Linux 6.1.43
    c3d576baa6c8 dma-buf: fix an error pointer vs NULL bug
    23acc2b850ba dma-buf: keep the signaling time of merged fences v3
    665e6fd71468 test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation
    0ab95d5ce8be selftests: mptcp: sockopt: use 'iptables-legacy' if available
    bd2decac7345 mptcp: ensure subflow is unhashed before cleaning the backlog
    ab79c7541d84 cpufreq: intel_pstate: Drop ACPI _PSS states table patching
    602a1cbc24a2 ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
    f7fcc0f1b26b ACPI: processor: perflib: Use the "no limit" frequency QoS
    d701687c898e drm/amd/display: Write to correct dirty_rect
    d58fb94f24f8 drm/amd/display: perform a bounds check before filling dirty rectangles
    0441c4415442 tracing: Fix trace_event_raw_event_synth() if else statement
    f5e8f7a02c15 drm/amd/display: set per pipe dppclk to 0 when dpp is off
    73679f8c455e rbd: retrieve and check lock owner twice before blocklisting
    0c0b6412c966 rbd: harden get_lock_owner_info() a bit
    c0d067c79b23 rbd: make get_lock_owner_info() return a single locker or NULL
    3d215ad49c6a dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
    507f70c06aa9 drm/i915/dpt: Use shmem for dpt objects
    e046aecb73e0 ceph: never send metrics if disable_send_metrics is set
    8ab9ad163804 PM: sleep: wakeirq: fix wake irq arming
    356e711640ae arm64/sme: Set new vector length before reallocating
    ff54cb993b31 ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
    6deb8727f2a5 s390/dasd: print copy pair message only for the correct error
    c4ae208cc335 s390/dasd: fix hanging device after quiesce/resume
    2b58bd384730 LoongArch: BPF: Enable bpf_probe_read{, str}() on LoongArch
    8a5e0c1f71dc LoongArch: BPF: Fix check condition to call lu32id in move_imm()
    024ed3b9b8e3 Revert "um: Use swap() to make code cleaner"
    e1d54962a63b soundwire: fix enumeration completion
    dda7cfcaa46b selftests: mptcp: join: only check for ip6tables if needed
    aedec6019d7c net: dsa: qca8k: fix mdb add/del case with 0 VID
    828f9526f061 net: dsa: qca8k: fix broken search_and_del
    d42c326288ac net: dsa: qca8k: fix search_and_insert wrong handling of new rule
    e1fda7c1250f virtio-net: fix race between set queues and probe
    cd1a8952ff52 xen: speed up grant-table reclaim
    af7aa4fe94b3 proc/vmcore: fix signedness bug in read_from_oldmem()
    7f1715d827dc locking/rtmutex: Fix task->pi_waiters integrity
    d392d2d72af3 irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
    a80d2cb27d39 irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
    2edb87931afd tpm_tis: Explicitly check for error code
    c9af433b1138 ACPI/IORT: Remove erroneous id_count check in iort_node_get_rmr_info()
    d79f730bb807 nfsd: Remove incorrect check in nfsd4_validate_stateid
    e5a87723e8c7 file: always lock position for FMODE_ATOMIC_POS
    2663e2cb91a7 x86/MCE/AMD: Decrement threshold_bank refcount when removing threshold blocks
    360c98f5830d btrfs: check for commit error at btrfs_attach_transaction_barrier()
    a7b85dc31644 btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
    cbec34d3021d btrfs: account block group tree when calculating global reserve size
    5fec6f7903f9 hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
    85f8077893ec hwmon: (k10temp) Enable AMD3255 Proc to show negative temperature
    bf7b30dc16da ALSA: hda/relatek: Enable Mute LED on HP 250 G8
    db3c5ca31400 ALSA: hda/realtek: Support ASUS G713PV laptop
    96a0b80eb1b0 Revert "xhci: add quirk for host controllers that don't update endpoint DCS"
    9615ca54bc13 tty: n_gsm: fix UAF in gsm_cleanup_mux
    7ae9f55a4950 staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
    41e05572e871 staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
    ef301c41a10e Documentation: security-bugs.rst: clarify CVE handling
    ddb9503d1c2e Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
    9ae3d7941f8d Revert "usb: xhci: tegra: Fix error check"
    cf8203ea19ef usb: xhci-mtk: set the dma max_seg_size
    c0ebcc7e7fb1 usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config
    9590eeef4d65 USB: quirks: add quirk for Focusrite Scarlett
    98a6054d51cc usb: ohci-at91: Fix the unhandle interrupt when resume
    a28062554190 usb: misc: ehset: fix wrong if condition
    c1fad1695bef usb: dwc3: don't reset device side if dwc3 was configured as host-only
    84ff2e988b0b usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
    bf4986fbeb21 Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
    60816ac26f2f usb: typec: Use sysfs_emit_at when concatenating the string
    9e4c1e68bf6a usb: typec: Iterate pds array when showing the pd list
    59feda7f3889 usb: typec: Set port->pd before adding device for typec_port
    efd354eb7955 can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
    60dea45ea317 USB: serial: simple: sort driver entries
    889122fe36f4 USB: serial: simple: add Kaufmann RKS+CAN VCP
    6341ef50ca26 USB: serial: option: add Quectel EC200A module support
    f13b7a9f16db USB: serial: option: support Quectel EM060K_128
    71bef922ff9a serial: sifive: Fix sifive_serial_console_setup() section
    ace0efeb56f4 serial: 8250_dw: Preserve original value of DLF register
    016a4a2a7587 serial: qcom-geni: drop bogus runtime pm state update
    eb1a542824ee KVM: x86: Disallow KVM_SET_SREGS{2} if incoming CR0 is invalid
    d8eb0c480f1e KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
    ed8bbe6627cf KVM: Grab a reference to KVM for VM and vCPU stats file descriptors
    c80b7c8f9d52 usb: gadget: core: remove unbalanced mutex_unlock in usb_gadget_activate
    de77000c1923 USB: gadget: Fix the memory leak in raw_gadget driver
    0f23a9eb8abf usb: gadget: call usb_gadget_check_config() to verify UDC capability
    0cf9741aa323 Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()"
    a3a3c7bddab9 tracing: Fix warning in trace_buffered_event_disable()
    77996fa5c64f ring-buffer: Fix wrong stat of cpu_buffer->read
    9d0a4a7777cc ata: pata_ns87415: mark ns87560_tf_read static
    84415f934ad4 ublk: fail to recover device if queue setup is interrupted
    0d5916c43957 ublk: fail to start device if queue setup is interrupted
    c741076a3c76 ublk_drv: move ublk_get_device_from_id into ublk_ctrl_uring_cmd
    a39bf13f8640 drm/msm: Disallow submit with fence id 0
    3398e8b2833f drm/msm: Switch idr_lock to spinlock
    d722661362ca RDMA/irdma: Report correct WC error
    fe3409cd013c RDMA/irdma: Fix op_type reporting in CQEs
    e139cc2974b8 drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event()
    5c58d120bf81 drm/amd: Fix an error handling mistake in psp_sw_init()
    ce114218f74e dm raid: protect md_stop() with 'reconfig_mutex'
    e08db3f85df2 dm raid: clean up four equivalent goto tags in raid_ctr()
    d43c7edfeb94 dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
    37b5a0bdb896 xenbus: check xen_domain in xenbus_probe_initcall
    a71cd15a8592 drm/i915: Fix an error handling path in igt_write_huge()
    ddac66e802ce smb3: do not set NTLMSSP_VERSION flag for negotiate not auth request
    55704f087f78 block: Fix a source code comment in include/uapi/linux/blkzoned.h
    f656ba177f69 ASoC: fsl_spdif: Silence output on stop
    6806494ed4a0 cxl/acpi: Return 'rc' instead of '0' in cxl_parse_cfmws()
    748fadc08bcb cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()
    1b8b83537338 drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
    b8500538b8f5 RDMA/bnxt_re: Prevent handling any completions after qp destroy
    d335b5fb332e RDMA/mthca: Fix crash when polling CQ for shared QPs
    5986e96be7d0 RDMA/irdma: Fix data race on CQP request done
    4e1a5842a359 RDMA/irdma: Fix data race on CQP completion stats
    b83e4c1e4c72 RDMA/irdma: Add missing read barriers
    14627d02b103 drm/msm/adreno: Fix snapshot BINDLESS_DATA size
    b6432b68700f drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
    10b5920c33c1 RDMA/mlx4: Make check for invalid flags stricter
    539cf23cb488 tipc: stop tipc crypto on failure in tipc_node_create
    5f6a842db178 tipc: check return value of pskb_trim()
    0069a11a6f00 benet: fix return value check in be_lancer_xmit_workarounds()
    0f7432b7c3b5 net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
    eefc0b32159a net/sched: mqprio: add extack to mqprio_parse_nlattr()
    5523d2e31935 net/sched: mqprio: refactor nlattr parsing to a separate function
    7218974aba07 mm: suppress mm fault logging if fatal signal already pending
    268cb07ef3ee netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
    4237462a073e netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
    89a4d1a89751 netfilter: nft_set_rbtree: fix overlap expiration walk
    c09df09241fd igc: Fix Kernel Panic during ndo_tx_timeout callback
    1ecdbf2467ae x86/traps: Fix load_unaligned_zeropad() handling for shared TDX memory
    cb160f4f90d1 platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
    847265678ec5 net: stmmac: Apply redundant write work around on 4.xx too
    17e67a071b60 octeontx2-af: Fix hash extraction enable configuration
    9b0c968a13fa octeontx2-af: Removed unnecessary debug messages.
    517a4f3b093c team: reset team's flags when down link is P2P device
    4c50927853f6 bonding: reset bond's flags when down link is P2P device
    46bf2459d6de ice: Fix memory management in ice_ethtool_fdir.c
    51aea7e9d521 tcp: Reduce chance of collisions in inet6_hashfn().
    776da4eca034 ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
    6ed1e466ef69 ethernet: atheros: fix return value check in atl1e_tso_csum()
    85c38ac62c13 atheros: fix return value check in atl1_tso()
    01cb355bb92e phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
    69534f5ab784 vxlan: fix GRO with VXLAN-GPE
    9e22b434ff4a vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
    ddc6ab3834bc vxlan: calculate correct header length for GPE
    4de5cd8d8939 net: hns3: fix wrong bw weight of disabled tc issue
    487b685c815b net: hns3: fix wrong tc bandwidth weight data issue
    b93161779b45 net: hns3: fix the imp capability bit cannot exceed 32 bits issue
    e3339d44e016 net: phy: marvell10g: fix 88x3310 power up
    c76d3742b688 iavf: check for removal state before IAVF_FLAG_PF_COMMS_FAILED
    469879eda36d iavf: fix potential deadlock on allocation failure
    c0fa9a5a7a3f i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
    940a2c75f5e9 media: amphion: Fix firmware path to match linux-firmware
    70f9f05abaad media: staging: atomisp: select V4L2_FWNODE
    accc838fd66a soundwire: qcom: update status correctly with mask
    cf52320a391a phy: qcom-snps-femto-v2: properly enable ref clock
    01d8e499999c phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
    b6132813be93 phy: qcom-snps: correct struct qcom_snps_hsphy kerneldoc
    3a5dbdc53a5f phy: phy-mtk-dp: Fix an error code in probe()
    15c94c3151d9 drm/amd/display: Prevent vtotal from being set to 0
    d5741133e6e2 drm/amd/display: Fix possible underflow for displays with large vblank
    342ec1696d2d drm/amd/display: update extended blank for dcn314 onwards
    27931ea53ce5 drm/amd/display: Add FAMS validation before trying to use it
    6415d5de13f5 drm/amd/display: fix dc/core/dc.c kernel-doc
    549f20581996 drm/amd/display: Rework comments on dc file
    4eed29e8a8fd maple_tree: fix 32 bit mas_next testing
    1b6e8744ed7c maple_tree: add __init and __exit to test module
    cba7ddf552bb test_maple_tree: test modifications while iterating
    a6e2a0e4144c tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if fails
    bee994668855 Revert "tracing: Add "(fault)" name injection to kernel probes"
    f3baa42afeea tracing: Allow synthetic events to pass around stacktraces
    d92ee6bce196 tracing/probes: Fix to avoid double count of the string length on the array
    16cc22202611 tracing/probes: Add symstr type for dynamic events
    f5ded0c11d4b mptcp: do not rely on implicit state check in mptcp_listen()
    fbe9fa195ef2 mptcp: introduce 'sk' to replace 'sock->sk' in mptcp_listen()
    cde7f2fd6323 arm64: errata: Mitigate Ampere1 erratum AC03_CPU_38 at stage-2
    eb1de0a2347c KVM: arm64: Condition HW AF updates on config option
    17e188e0feb0 drm/ttm: never consider pinned BOs for eviction&swap
    a7451c38e15b tty: fix hang on tty device with no_room set
    72deb1755011 n_tty: Rename tail to old_tail in n_tty_read()
    e9c44738cb1f drm/ttm: Don't leak a resource on eviction error
    3a8f9b8ccf2b drm/ttm: Don't print error message if eviction was interrupted
    76fcfc6ae3a6 drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix
    f8b61a2c29fc drm/amd/display: Set minimum requirement for using PSR-SU on Rembrandt
    41c666e2b751 drm/amd/display: Update correct DCN314 register header
    8f0582fb6d0e drm/amd/display: fix dcn315 single stream crb allocation
    38fa05cad9df drm/amd/display: add pixel rate based CRB allocation support
    ad8c20954406 drm/amd/display: fix unbounded requesting for high pixel rate modes on dcn315
    acba20a5b2c8 drm/amd/display: use low clocks for no plane configs
    8d515d39d800 drm/amd/display: add ODM case when looking for first split pipe
    3a88351318bb drm/amd/display: Use min transition for all SubVP plane add/remove
    a5397c85f0b8 drm/amd/display: Include surface of unaffected streams
    d5b3e4cf9942 drm/amd/display: Copy DC context in the commit streams
    4efb2d22003f drm/amd/display: Enable new commit sequence only for DCN32x
    bc2c7003888b drm/amd/display: Rework context change check
    810329d3d418 drm/amd/display: Check if link state is valid
    f1edb2f58adb drm/amd/display: add FB_DAMAGE_CLIPS support
    ed92b595af43 PCI: rockchip: Don't advertise MSI-X in PCIe capabilities
    7b65231b65cc PCI: rockchip: Fix window mapping and address translation for endpoint
    3b117fd8cf43 PCI: rockchip: Remove writes to unused registers
    13b9c5f6059f PCI/ASPM: Avoid link retraining race
    4d1cd90cea2e PCI/ASPM: Factor out pcie_wait_for_retrain()
    8dfeae80825f PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
    ecd9da1d0599 MIPS: Loongson: Fix build error when make modules_install
    3fac9a39f8bb MIPS: Loongson: Move arch cflags to MIPS top level Makefile
    70957ae16093 i2c: nomadik: Remove a useless call in the remove function
    a9be061237aa i2c: nomadik: Use devm_clk_get_enabled()
    82dee5b2586c i2c: nomadik: Remove unnecessary goto label
    1dc23fb83b71 i2c: Improve size determinations
    38a8983ae1d0 i2c: Delete error messages for failed memory allocations
    7b7291ab2912 btrfs: fix race between quota disable and relocation
    44e2afbf650f gpio: mvebu: fix irq domain leak
    8ee94aab9970 gpio: mvebu: Make use of devm_pwmchip_add
    19156bcb881c pwm: Add a stub for devm_pwmchip_add()
    b2d8ac988f3c gpio: tps68470: Make tps68470_gpio_output() always set the initial value
    04f7d4917471 io_uring: don't audit the capability check in io_uring_create()
    017f686bcb53 KVM: s390: pv: fix index value of replaced ASCE
    e8df12986066 powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close
    557ea2ff0519 blk-mq: Fix stall due to recursive flush plug
    0935bbbf6e5a jbd2: Fix wrongly judgement for buffer head removing while doing checkpoint
    6e385845eea1 drm/amd: Align SMU11 SMU_MSG_OverridePcieParameters implementation with SMU13
    32631ac27c91 drm/amd: Move helper for dynamic speed switch check out of smu13
    53dd2ca2c02f ovl: fix null pointer dereference in ovl_permission()
    a9174f0d7add drm/amd/display: Keep PHY active for dp config
    2bb912161697 platform/x86/amd/pmf: reduce verbosity of apmf_get_system_params
    fd14866ebedd platform/x86/amd/pmf: Notify OS power slider update
    b068314fd8ce netfilter: nf_tables: fix underflow in chain reference counter
    35651fde1a7b netfilter: nf_tables: fix underflow in object reference counter
    d2a6dc4eaf6d Linux 6.1.42
    1d4607f2a50c Revert "drm/amd/display: edp do not add non-edid timings"
    2f2ba3c16230 drm/amd/display: Add polling method to handle MST reply packet
    78ea2ed76ce9 drm/amd/display: fix linux dp link lost handled only one time
    b31143b0fbbd drm/amd/display: Clean up errors & warnings in amdgpu_dm.c
    c14702daf1f5 drm/amd/display: force connector state when bpc changes during compliance
    00f68f5c1be1 drm/dp_mst: Clear MSG_RDY flag before sending new message
    c085ffaf67db drm/amd/display: fix some coding style issues
    374735cbe2f1 drm/amd/display: use max_dsc_bpp in amdgpu_dm
    268bfb378256 selftests/bpf: Fix sk_assign on s390x
    fd1e31d1bcb7 selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code
    a7c1eb9cb86f selftests/bpf: make test_align selftest more robust
    4c8f30a2ad94 bpf: aggressively forget precise markings during state checkpointing
    8b57a37d0ee7 bpf: stop setting precise in current state
    56675ddcb011 bpf: allow precision tracking for programs with subprogs
    dd33fbe4af2c scripts/kallsyms: update the usage in the comment block
    5fab8c91e59c scripts/kallsyms.c Make the comment up-to-date with current implementation
    320f980bc0bb kallsyms: add kallsyms_seqs_of_names to list of special symbols
    7531eb07b254 spi: dw: Remove misleading comment for Mount Evans SoC
    70a3015683b0 drm/ttm: fix bulk_move corruption when adding a entry
    61622fa37914 tracing/histograms: Return an error if we fail to add histogram to hist_vars list
    bae17da3ae4c jbd2: recheck chechpointing non-dirty buffer
    b9f0f20ab014 net: phy: prevent stale pointer dereference in phy_init()
    f311c7680014 tcp: annotate data-races around fastopenq.max_qlen
    01a1563a09c0 tcp: annotate data-races around icsk->icsk_user_timeout
    918a1beb0abf tcp: annotate data-races around tp->notsent_lowat
    b02f8fce7cc5 tcp: annotate data-races around rskq_defer_accept
    17c3d7583399 tcp: annotate data-races around tp->linger2
    e63939720243 tcp: annotate data-races around icsk->icsk_syn_retries
    d27a1aa37e32 tcp: annotate data-races around tp->keepalive_probes
    161b069389dd tcp: annotate data-races around tp->keepalive_intvl
    87b8466eb0cd tcp: annotate data-races around tp->keepalive_time
    2c84a3d78ad8 tcp: annotate data-races around tp->tsoffset
    949eb838803a tcp: annotate data-races around tp->tcp_tx_delay
    0d4d6b083da9 Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()
    e969bfed84c1 Bluetooth: ISO: fix iso_conn related locking and validity issues
    59bd1e476bbc Bluetooth: hci_event: call disconnect callback before deleting conn
    13ad45ad14df Bluetooth: use RCU for hci_conn_params and iterate safely in hci_sync
    e18922ce3e31 netfilter: nf_tables: skip bound chain on rule flush
    ec3e856075c5 netfilter: nf_tables: skip bound chain in netns release path
    90c3955beb85 netfilter: nft_set_pipapo: fix improper element removal
    f372992820be netfilter: nf_tables: can't schedule in nft_chain_validate
    6026fa4f4702 netfilter: nf_tables: fix spurious set element insertion failure
    c1dc350a371a ALSA: hda/realtek: Fix generic fixup definition for cs35l41 amp
    050c24656a94 llc: Don't drop packet from non-root netns.
    50e4b32d2e58 fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
    a44ff125731f Revert "tcp: avoid the lookup process failing to get sk in ehash table"
    d1a4d697a9ec net:ipv6: check return value of pskb_trim()
    205bad1b3042 net: ipv4: Use kfree_sensitive instead of kfree
    fac47182d3c2 tcp: annotate data-races around tcp_rsk(req)->ts_recent
    aa32235da43c tcp: annotate data-races around tcp_rsk(req)->txhash
    f62a00b7d135 net: ipv4: use consistent txhash in TIME_WAIT and SYN_RECV
    1d8e3ec4f0a6 igc: Prevent garbled TX queue with XDP ZEROCOPY
    c0268bc0d7ad igc: Avoid transmit queue timeout for XDP
    bb6ae775ff7f bpf, arm64: Fix BTI type used for freplace attached functions
    8620c53ced63 bpf: Repeat check_max_stack_depth for async callbacks
    d55ff358b049 bpf: Fix subprog idx logic in check_max_stack_depth
    c355f3a27b11 octeontx2-pf: Dont allocate BPIDs for LBK interfaces
    0f56bfe19aa6 security: keys: Modify mismatched function name
    3fc081edddf3 iavf: fix reset task race with iavf_remove()
    2647ff59c52e iavf: fix a deadlock caused by rtnl and driver's lock circular dependencies
    9743519240c6 iavf: Wait for reset in callbacks which trigger it
    f43ab442a8eb iavf: make functions static where possible
    9e36533d666d iavf: send VLAN offloading caps once after VFR
    5d1c0ac33d81 iavf: Move netdev_update_features() into watchdog task
    6d9d01689b82 iavf: use internal state to free traffic IRQs
    6e1d8f133207 iavf: Fix out-of-bounds when setting channels on remove
    ca12b98e04b5 iavf: Fix use-after-free in free_netdev
    ce3ec3fc64e0 net: dsa: microchip: correct KSZ8795 static MAC table access
    54830adfd9a5 net: dsa: microchip: ksz8_r_sta_mac_table(): Avoid using error code for empty entries
    8a60427c8abd net: dsa: microchip: ksz8: Make ksz8_r_sta_mac_table() static
    e4820a764e95 net: dsa: microchip: ksz8: Separate static MAC table operations for code reuse
    155f59453414 net: sched: cls_bpf: Undo tcf_bind_filter in case of an error
    2256b27f542b net: sched: cls_u32: Undo refcount decrement in case update failed
    a9345793469b net: sched: cls_u32: Undo tcf_bind_filter if u32_replace_hw_knode
    fa753f865677 net: sched: cls_matchall: Undo tcf_bind_filter in case of failure after mall_set_parms
    813572a08d49 ASoC: SOF: ipc3-dtrace: uninitialized data in dfsentry_trace_filter_write()
    c55901d381a2 cifs: fix mid leak during reconnection after timeout threshold
    855643c8d289 net: ethernet: mtk_eth_soc: handle probe deferral
    6924f3c89846 bridge: Add extack warning when enabling STP in netns.
    3325b8ddfe29 net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field()
    4148d6c766c4 dsa: mv88e6xxx: Do a final check before timing out
    f4c0a6b8ce17 kallsyms: strip LTO-only suffixes from promoted global functions
    5004d383fe8c kallsyms: Correctly sequence symbols when CONFIG_LTO_CLANG=y
    28fdfda791d4 kallsyms: Improve the performance of kallsyms_lookup_name()
    c401b72836ca spi: s3c64xx: clear loopback bit after loopback test
    9c85f71d3fc8 btrfs: be a bit more careful when setting mirror_num_ret in btrfs_map_block
    08bdd70974a8 perf build: Fix library not found error when using CSLIBS
    6aa851f6276f fbdev: imxfb: Removed unneeded release_mem_region
    e7bb9436ea97 fbdev: imxfb: warn about invalid left/right margin
    7a2d80a8c24a spi: bcm63xx: fix max prepend length
    6af800f91747 pinctrl: renesas: rzg2l: Handle non-unique subnode names
    be087281dc79 pinctrl: renesas: rzv2m: Handle non-unique subnode names
    92cc0153324b sched/psi: use kernfs polling functions for PSI trigger polling
    d5dca1977685 sched/psi: Allow unprivileged polling of N*2s period
    fb4bc32fc1be sched/psi: Extract update_triggers side effect
    c1623d4d0bef sched/psi: Rename existing poll members in preparation
    c176dda0a6a6 sched/psi: Rearrange polling code in preparation
    7d8bba4da1a8 sched/psi: Fix avgs_work re-arm in psi_avgs_work()
    45f739e8fb34 sched/fair: Use recent_used_cpu to test p->cpus_ptr
    6ede0d0f8865 ASoC: qcom: q6apm: do not close GPR port before closing graph
    5da98d0438bd ASoC: codecs: wcd938x: fix dB range for HPHL and HPHR
    e3495bc99464 ASoC: codecs: wcd938x: fix mbhc impedance loglevel
    3122e90b5cb0 ASoC: amd: acp: fix for invalid dai id handling in acp_get_byte_count()
    da64c8889fcd net: hns3: fix strncpy() not using dest-buf length as length issue
    39695e87d86f igb: Fix igb_down hung on surprise removal
    6887f3588171 wifi: iwlwifi: pcie: add device id 51F1 for killer 1675
    6862557e9afe wifi: iwlwifi: mvm: avoid baid size integer overflow
    a46a62491460 wifi: iwlwifi: Add support for new PCI Id
    8e0a94e31ade wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()
    408d40c729cb devlink: report devlink_port_type_warn source device
    0d1426415522 net: ethernet: litex: add support for 64 bit stats
    86f9330a49d1 wifi: ath11k: fix memory leak in WMI firmware stats
    766e606536b9 spi: dw: Add compatible for Intel Mount Evans SoC
    d0124848c794 wifi: mac80211_hwsim: Fix possible NULL dereference
    8656b31d2efd wifi: ath11k: add support default regdb while searching board-2.bin for WCN6855
    4e291a07af77 bpf: tcp: Avoid taking fast sock lock in iterator
    c006fe361cfd bpf: Address KCSAN report on bpf_lru_list
    10fa03a9c1bc bpf: Print a warning only if writing to unprivileged_bpf_disabled.
    8d1342108c2b wifi: ath11k: fix registration of 6Ghz-only phy without the full channel range
    78a5f711efce sched/fair: Don't balance task to its current running CPU
    896f4d6046b3 rcu: Mark additional concurrent load from ->cpu_no_qs.b.exp
    9027d69221ff rcu-tasks: Avoid pr_info() with spin lock in cblist_init_generic()
    e055d0ec8809 ACPI: video: Add backlight=native DMI quirk for Dell Studio 1569
    aa7cdf487ab3 FS: JFS: Check for read-only mounted filesystem in txBegin
    3e5eb6c5ecd8 FS: JFS: Fix null-ptr-deref Read in txBegin
    da0a7c697595 MIPS: dec: prom: Address -Warray-bounds warning
    bdf07ab1595b fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
    a68241498093 udf: Fix uninitialized array access for some pathnames
    cce9107c315f ovl: check type and offset of struct vfsmount in ovl_entry
    5228d4d50528 HID: add quirk for 03f0:464a HP Elite Presenter Mouse
    6432843debe1 quota: fix warning in dqgrab()
    1f2ec87f4ab8 quota: Properly disable quotas when add_dquot_ref() fails
    2a97ec78092f ALSA: emu10k1: roll up loops in DSP setup code for Audigy
    2e1be420b869 drm/radeon: Fix integer overflow in radeon_cs_parser_init
    0ca376853412 ext4: correct inline offset when handling xattrs in inode body
    aba8f85eca81 ASoC: codecs: wcd938x: fix soundwire initialisation race
    1a261a4193b5 ASoC: codecs: wcd938x: fix codec initialisation race
    8b11d2f0e525 ASoC: codecs: wcd934x: fix resource leaks on component remove
    bb241ae928c6 ASoC: codecs: wcd938x: fix missing mbhc init error handling
    4eac89ffc510 ASoC: codecs: wcd938x: fix resource leaks on component remove
    c584b5eca3fb ASoC: tegra: Fix AMX byte map
    d55fc2bdaaa8 ASoC: qdsp6: audioreach: fix topology probe deferral
    17feff71d06c ASoC: codecs: wcd-mbhc-v2: fix resource leaks on component remove
    b0fbf3c353af ASoC: codecs: wcd938x: fix missing clsh ctrl error handling
    1dd61a5b5cca ASoC: cs42l51: fix driver to properly autoload with automatic module loading
    0e3cf6432466 ASoC: rt5640: Fix sleep in atomic context
    e5b2389e04d9 ASoC: tegra: Fix ADX byte map
    24bed70aa617 ASoC: fsl_sai: Revert "ASoC: fsl_sai: Enable MCTL_MCLK_EN bit for master mode"
    651881287770 ASoC: fsl_sai: Disable bit clock with transmitter
    b9741ba942f3 drm/amd/display: Keep PHY active for DP displays on DCN31
    889bac5fd796 drm/amd/display: check TG is non-null before checking if enabled
    9f28e8c2be1e drm/amd/display: Disable MPC split by default on special asic
    438542074174 drm/amd/display: only accept async flips for fast updates
    917bef37cfac drm/client: Fix memory leak in drm_client_modeset_probe
    b5359d7a5087 drm/client: Fix memory leak in drm_client_target_cloned
    91bd7acf89cb drm/amdgpu/pm: make mclk consistent for smu 13.0.7
    0b4f3d9a5c8a drm/amdgpu/pm: make gfxclock consistent for sienna cichlid
    13cb7bfbccb5 drm/amdgpu/vkms: relax timer deactivation by hrtimer_try_to_cancel
    19e7b9f1f7e1 dma-buf/dma-resv: Stop leaking on krealloc() failure
    25ad24969941 selftests: tc: add ConnTrack procfs kconfig
    54950747d5e7 can: gs_usb: gs_can_open(): improve error handling
    995f47d76647 can: bcm: Fix UAF in bcm_proc_show()
    a2d31762d73b can: mcp251xfd: __mcp251xfd_chip_set_mode(): increase poll timeout
    aa5cf8bd1318 arm64/fpsimd: Ensure SME storage is allocated after SVE VL changes
    3e463a4f3801 regmap: Account for register length in SMBus I/O limits
    ef7ad397fb8c of: Preserve "of-display" device name for compatibility
    f16c2eb6945b regmap: Drop initial version of maximum transfer length fixes
    efeac348cdc2 selftests: tc: add 'ct' action kconfig dep
    4986dd1b5132 selftests: tc: set timeout to 15 minutes
    ddf7e8984c83 btrfs: fix race between balance and cancel/pause
    c828e913c8dc fuse: ioctl: translate ENOSYS in outarg
    c35ea6061962 btrfs: zoned: fix memory leak after finding block group with super blocks
    0a5e0bc8e861 btrfs: set_page_extent_mapped after read_folio in btrfs_cont_expand
    549f5093e9d6 fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT
    af6d1fc5b8a6 fuse: revalidate: don't invalidate if interrupted
    89e994688e96 btrfs: fix warning when putting transaction with qgroups enabled after abort
    c1b3d1a9c6be perf probe: Add test for regression introduced by switch to die_get_decl_file()
    00edfa6d4fe0 keys: Fix linking a duplicate key to a keyring's assoc_array
    4984a10a21c6 maple_tree: fix node allocation testing on 32 bit
    85718972b004 maple_tree: set the node limit when creating a new root node
    e0c3e25cfc57 ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx
    0f493b5bfe37 ALSA: hda/realtek: Add quirk for Clevo NS70AU
    7ed4e5297390 ALSA: hda/realtek - remove 3k pull low procedure
    1b87f546a035 io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq

(From OE-Core rev: c08a80f3aeb37a7320227957ae3e06a912e2bb43)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0bf3be6fe59d8c14d7b783a80020806c7453a2a6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:24 -10:00
Bruce Ashfield
a7bee1c932 linux-yocto/6.1: update to v6.1.41
Updating  to the latest korg -stable release that comprises
the following commits:

    5302e81aa209 Linux 6.1.41
    ed9b87010aa8 x86/cpu/amd: Add a Zenbleed fix
    5fc203d8d3ed x86/cpu/amd: Move the errata checking functionality up
    75389113731b Linux 6.1.40
    9879d6e1ca87 net/ncsi: change from ndo_set_mac_address to dev_set_mac_address
    e2c3356907a5 net/ncsi: make one oem_gma function for all mfr id
    e4a0e09b79bd drm/atomic: Fix potential use-after-free in nonblocking commits
    d34a3470ed40 net/sched: sch_qfq: reintroduce lmax bound check for MTU
    ff06cd411aa0 swiotlb: mark swiotlb_memblock_alloc() as __init
    d64b70df23e8 Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON"
    fbfb6b7cb2f7 MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled
    fec55ec03545 scsi: qla2xxx: Fix end of loop test
    f459d586fdf1 scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
    b06d1b525364 scsi: qla2xxx: Pointer may be dereferenced
    b88b1241fb1c scsi: qla2xxx: Correct the index of array
    e466930717ef scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
    ce2cdbe530b0 scsi: qla2xxx: Fix potential NULL pointer dereference
    2dddbf8de128 scsi: qla2xxx: Fix buffer overrun
    477bc74ad1ad scsi: qla2xxx: Avoid fcport pointer dereference
    2b3bdef089b9 scsi: qla2xxx: Array index may go out of bound
    d994ac7c7842 scsi: qla2xxx: Fix mem access after free
    90770dad1eb3 scsi: qla2xxx: Wait for io return on terminate rport
    1802e5d0988a scsi: qla2xxx: Fix hang in task management
    35985b0741c1 scsi: qla2xxx: Fix task management cmd fail due to unavailable resource
    843665c4266d scsi: qla2xxx: Fix task management cmd failure
    ff92567d906e scsi: qla2xxx: Multi-que support for TMF
    95e34129f37e tracing/user_events: Fix struct arg size match check
    a95c1fede27d tracing/probes: Fix to update dynamic data counter if fetcharg uses it
    837f92d27f55 tracing/probes: Fix not to count error code to total length
    2f41d35b58c8 selftests: mptcp: pm_nl_ctl: fix 32-bit support
    ee352299a678 selftests: mptcp: depend on SYN_COOKIES
    08daab11f344 selftests: mptcp: userspace_pm: report errors with 'remove' tests
    4098a4318298 selftests: mptcp: userspace_pm: use correct server port
    c118baa05fb9 selftests: mptcp: sockopt: return error if wrong mark
    671486793f72 selftests: mptcp: connect: fail if nft supposed to work
    938d5b7a75e1 tracing: Fix null pointer dereference in tracing_err_log_open()
    fbcd0c2b569f fprobe: Ensure running fprobe_exit_handler() finished before calling rethook_free()
    ce3ec57faff5 fprobe: Release rethook after the ftrace_ops is unregistered
    2e9a46e46786 pwm: meson: fix handling of period/duty if greater than UINT_MAX
    ba1ede19e601 pwm: meson: modify and simplify calculation in meson_pwm_get_state
    9a2c57fd3284 PM: QoS: Restore support for default value on frequency QoS
    15ec83da4311 perf/x86: Fix lockdep warning in for_each_sibling_event() on SPR
    22fc9fd72307 xtensa: ISS: fix call to split_if_spec
    6a05de6da58a cifs: if deferred close is disabled then close files immediately
    bd8cd38d3ac6 drm/amd/pm: conditionally disable pcie lane/speed switching for SMU13
    11dc77a645b7 drm/amd/pm: share the code around SMU13 pcie parameters update
    99fe81d219df ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()
    8b0b63fdac6b ring-buffer: Fix deadloop issue on reading trace_pipe
    90947ebf8794 net: ena: fix shift-out-of-bounds in exponential backoff
    b1a726ad33e5 regmap-irq: Fix out-of-bounds access when allocating config buffers
    aeb62beaf9cb perf: RISC-V: Remove PERF_HES_STOPPED flag checking in riscv_pmu_start()
    e2c7a05a48e5 samples: ftrace: Save required argument registers in sample trampolines
    9d6a260bbfbc nvme: don't reject probe due to duplicate IDs for single-ported PCIe devices
    be970e22c53d tracing: Fix memory leak of iter->temp when reading trace_pipe
    5fd32eb6fa0a tracing/histograms: Add histograms to hist_vars if they have referenced variables
    0a1dc6377afc dm: verity-loadpin: Add NULL pointer check for 'bdev' parameter
    08aaeda414f7 s390/decompressor: fix misaligned symbol build error
    2ebf4ddcc657 bus: ixp4xx: fix IXP4XX_EXP_T1_MASK
    599c0ebdb5cc Revert "8250: add support for ASIX devices with a FIFO bug"
    801daff00780 soundwire: qcom: fix storing port config out-of-bounds
    76ab057de777 opp: Fix use-after-free in lazy_opp_tables after probe deferral
    be06ffa8f4ac meson saradc: fix clock divider mask length
    610ddd79fc6a xhci: Show ZHAOXIN xHCI root hub speed correctly
    892ef7593000 xhci: Fix TRB prefetch issue of ZHAOXIN hosts
    8e273a2190b5 xhci: Fix resume issue of some ZHAOXIN hosts
    829361479860 ceph: don't let check_caps skip sending responses for revoke msgs
    0471d907d8c1 ceph: fix blindly expanding the readahead windows
    d545ff97cf43 ceph: add a dedicated private data for netfs rreq
    183c0ae4fafc libceph: harden msgr2.1 frame segment length checks
    cb8a31a56df8 firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool()
    5553d587a371 tty: serial: imx: fix rs485 rx after tx
    f0bf102ef9b0 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
    34f5b826dd50 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
    9fd9e1d09878 serial: atmel: don't enable IRQs prematurely
    f037f6038736 drm/ttm: Don't leak a resource on swapout move error
    fe26d0fa9408 drm/amdgpu: avoid restore process run into dead loop.
    8404d0e274ac drm/amd/display: Add monitor specific edid quirk
    7ad40467fdfb drm/amd/display: Correct `DMUB_FW_VERSION` macro
    ad85fc99d638 drm/amd/display: add a NULL pointer check
    3092beeb25dc drm/amd: Disable PSR-SU on Parade 0803 TCON
    91e69e67d401 drm/amdgpu: fix clearing mappings for BOs that are always valid in VM
    3546f76c7ad8 drm/amd/display: disable seamless boot if force_odm_combine is enabled
    a2ef3163c360 drm/amd/display: Remove Phantom Pipe Check When Calculating K1 and K2
    c4629c757528 drm/amd/display: edp do not add non-edid timings
    31fb25ecbba6 drm/amd/display: fix seamless odm transitions
    c41963e50a55 drm/rockchip: vop: Leave vblank enabled in self-refresh
    db0a9a29912c drm/atomic: Allow vblank-enabled + self-refresh "disable"
    6436ca035bcc scsi: lpfc: Fix double free in lpfc_cmpl_els_logo_acc() caused by lpfc_nlp_not_used()
    7adcc32eb523 fs: dlm: fix mismatch of plock results from userspace
    adeaef5a00dc fs: dlm: make F_SETLK use unkillable wait_event
    2a37d73395a5 fs: dlm: interrupt posix locks only when process is killed
    a1b6adf4b180 fs: dlm: fix cleanup pending ops when interrupted
    3346ffdee42b fs: dlm: return positive pid value for F_GETLK
    be19cb671651 dm init: add dm-mod.waitfor to wait for asynchronously probed block devices
    e30128926a0f md/raid0: add discard support for the 'original' layout
    31df8b9609f3 mfd: pm8008: Fix module autoloading
    7ef181f84ef3 misc: pci_endpoint_test: Re-init completion for every test
    c2dba13bc0c6 misc: pci_endpoint_test: Free IRQs before removing the device
    0813bb2f2cb8 PCI: rockchip: Set address alignment for endpoint mode
    5b15ebec5697 PCI: rockchip: Use u32 variable to access 32-bit registers
    1a48294ade5c PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core
    dfd20ebcae84 PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked
    05f55f7530e2 PCI: rockchip: Write PCI Device ID to correct register
    b2e2ffbfd341 PCI: rockchip: Assert PCI Configuration Enable bit after probe
    07d997ef1052 PCI: epf-test: Fix DMA transfer completion detection
    bcd276f1431e PCI: epf-test: Fix DMA transfer completion initialization
    cf0d7b72707d PCI: qcom: Disable write access to read only registers for IP v2.3.3
    c459365ec7ba PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
    465c195e86f3 PCI: Release resource invalidated by coalescing
    3367d4be9b19 PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold
    25cb64ecc384 s390/zcrypt: do not retry administrative requests
    026e46d26aaf scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
    b933df9dda01 dm integrity: reduce vmalloc space footprint on 32-bit architectures
    ef709350ef0b hwrng: imx-rngc - fix the timeout for init and self check
    c7feb54b1138 jfs: jfs_dmap: Validate db_l2nbperpage while mounting
    9e54fd14bd14 ext2/dax: Fix ext2_setsize when len is page aligned
    33f8dff6e1cb soc: qcom: mdt_loader: Fix unconditional call to scm_pas_mem_setup
    5dc507de0c8d fs: dlm: revert check required context while close
    95d49f79e94d ext4: only update i_reserved_data_blocks on successful block allocation
    deef86fa3005 ext4: turn quotas off if mount failed after enabling quotas
    029c6b106f49 ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
    e861961f3a50 ext4: fix wrong unit use in ext4_mb_new_blocks
    2038d35749c7 ext4: get block from bh in ext4_free_blocks for fast commit replay
    782166ac858a ext4: fix wrong unit use in ext4_mb_clear_bb
    0a90e70efa6a ext4: Fix reusing stale buffer heads from last failed mounting
    bd9cf2a5f9e1 MIPS: KVM: Fix NULL pointer dereference
    d56b7a43a2e0 MIPS: Loongson: Fix cpu_probe_loongson() again
    58d1c81307d2 powerpc/64s: Fix native_hpte_remove() to be irq-safe
    484b8fb1ffb5 powerpc/security: Fix Speculation_Store_Bypass reporting on Power10
    23ab732b961f misc: fastrpc: Create fastrpc scalar with correct buffer count
    16eceb395994 powerpc: Fail build if using recordmcount with binutils v2.37
    5aea2ac37456 tracing/user_events: Fix incorrect return value for writing operation when events are disabled
    a4336343ea36 kasan: add kasan_tag_mismatch prototype
    6d806841f111 net: phy: dp83td510: fix kernel stall during netboot in DP83TD510E PHY driver
    eac0aac07f6a net: bcmgenet: Ensure MDIO unregistration has clocks enabled
    de67dadd5cb3 mtd: rawnand: meson: fix unaligned DMA buffers handling
    bb4e824d6b11 tpm: return false from tpm_amd_is_rng_defective on non-x86 platforms
    ad249709d274 tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    f5a734a689e8 tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    99b998fb9d7d tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation
    00283137001f tpm: Do not remap from ACPI resources again for Pluton TPM
    6d8488509eba pinctrl: amd: Unify debounce handling into amd_pinconf_set()
    dce19c966d4d pinctrl: amd: Drop pull up select configuration
    326b3f17bee8 pinctrl: amd: Use amd_pinconf_set() for all config options
    3cadcab402e1 pinctrl: amd: Only use special debounce behavior for GPIO 0
    57f6d48af46f pinctrl: amd: Revert "pinctrl: amd: disable and mask interrupts on probe"
    1cd1a0151fde pinctrl: amd: Detect and mask spurious interrupts
    15165187947c pinctrl: amd: Fix mistake in handling clearing pins at startup
    8a2d8e17c731 pinctrl: amd: Detect internal GPIO0 debounce handling
    4484ce0e4928 pinctrl: amd: Add fields for interrupt status and wake status
    a56afed6d5a4 pinctrl: amd: Adjust debugfs output
    03590f9be9b9 pinctrl: amd: Add Z-state wake control bits
    a996fec74c38 f2fs: fix deadlock in i_xattr_sem and inode page lock
    2cb10f4e6cca f2fs: fix the wrong condition to determine atomic context
    13e8af958cfa drm/amd/pm: add abnormal fan detection for smu 13.0.0
    e8b6b7b81325 drm/amdgpu: Fix minmax warning
    d7d53c669da9 drm/amdgpu: add the fan abnormal detection feature
    c8c703befd2f drm/amd/pm: revise the ASPM settings for thunderbolt attached scenario
    4596c812916a drm/amdgpu/sdma4: set align mask to 255
    7c880188c710 drm/client: Send hotplug event after registering a client
    40e2ed0e562a cifs: fix session state check in smb2_find_smb_ses
    c4a5fb1ae5d3 ovl: fix null pointer dereference in ovl_get_acl_rcu()
    06b3f0bf418a ovl: let helper ovl_i_path_real() return the realinode
    000a9a72efa4 fs/ntfs3: Check fields while reading
    bf2f2c059f17 nvme-pci: fix DMA direction of unmapping integrity data
    70feebdbfad8 net/sched: sch_qfq: account for stab overhead in qfq_enqueue
    4b3383682405 net/sched: sch_qfq: refactor parsing of netlink parameters
    0aec8dab2be6 wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set()
    3d1dc71b8f76 net/sched: make psched_mtu() RTNL-less safe
    1c806e406627 netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write()
    1b125be4e001 riscv: mm: fix truncation warning on RV32
    174cfa0317df net/sched: flower: Ensure both minimum and maximum ports are specified
    b11a9b4f28cb bpf: cpumap: Fix memory leak in cpu_map_update_elem
    4719576d6ed6 wifi: airo: avoid uninitialized warning in airo_get_rate()
    9e6474e5d70c erofs: fix fsdax unavailability for chunk-based regular files
    dc8158a95fd7 erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
    83879f72e055 erofs: avoid useless loops in z_erofs_pcluster_readmore() when reading beyond EOF
    27272795a72c octeontx2-pf: Add additional check for MCAM rules
    5a9aecb6651c drm/i915: Fix one wrong caching mode enum usage
    f1e746aedd7d drm/i915: Don't preserve dpll_hw_state for slave crtc in Bigjoiner
    ba05762e4a5c riscv, bpf: Fix inconsistent JIT image generation
    13a30e22eac3 nvme: fix the NVME_ID_NS_NVM_STS_MASK definition
    66afb6a54e44 igc: Fix inserting of empty frame for launchtime
    1b87509ef6ad igc: Fix launchtime before start of cycle
    f92a82dc486a kernel/trace: Fix cleanup logic of enable_trace_eprobe
    7772d5c44011 platform/x86: wmi: Break possible infinite loop when parsing GUID
    89726b030373 net: dsa: qca8k: Add check for skb_copy
    436b7cc7eae7 ipv6/addrconf: fix a potential refcount underflow for idev
    5554414227db NTB: ntb_tool: Add check for devm_kcalloc
    8d7b8758665b NTB: ntb_transport: fix possible memory leak while device_register() fails
    bece67815ab4 ntb: intel: Fix error handling in intel_ntb_pci_driver_init()
    d4317d41f000 NTB: amd: Fix error handling in amd_ntb_pci_driver_init()
    4e5daadf8cd0 ntb: idt: Fix error handling in idt_pci_driver_init()
    360db93beb8f udp6: fix udp6_ehashfn() typo
    1462e9d9aa52 icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().
    1731234e8b60 net: prevent skb corruption on frag list segmentation
    685b57a1221c net: bgmac: postpone turning IRQs off to avoid SoC hangs
    dc470466753a ionic: remove WARN_ON to prevent panic_on_warn
    6cc293d29c8f octeontx2-af: Move validation of ptp pointer before its usage
    bb56b7905b7d octeontx2-af: Promisc enable/disable through mbox
    2b4086a66abd gve: Set default duplex configuration to full
    c91fb29bb07e net/sched: cls_fw: Fix improper refcount update leads to use-after-free
    831fbc206529 net: mvneta: fix txq_map in case of txq_number==1
    b2e74dedb057 bpf: Fix max stack depth check for async callbacks
    714d81a5c49f scsi: ufs: ufs-mediatek: Add dependency for RESET_CONTROLLER
    574d5236a82b scsi: qla2xxx: Fix error code in qla2x00_start_sp()
    49f6ac6f1cde blk-crypto: use dynamic lock class for blk_crypto_profile::lock
    d752be635bc4 igc: Handle PPS start time programming for past time values
    246fc961c875 igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings
    e962fd5933eb net/mlx5e: Check for NOT_READY flag state after locking
    83a8f7337a14 net/mlx5e: fix memory leak in mlx5e_ptp_open
    75df2fe6d160 net/mlx5e: fix memory leak in mlx5e_fs_tt_redirect_any_create
    7ca1914cbd3b net/mlx5e: fix double free in mlx5e_destroy_flow_table
    68b654e9eb5b igc: Remove delay during TX ring configuration
    dfaed769b935 ice: Fix max_rate check while configuring TX rate limits
    1294311ce9ad drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags
    fd5b64c1cf41 swiotlb: reduce the number of areas to match actual memory pool size
    fc3db7fbdf58 swiotlb: reduce the swiotlb buffer size on allocation failure
    24b24863a012 swiotlb: always set the number of areas before allocating the pool
    02d43b8a4f0a drm/bridge: ti-sn65dsi86: Fix auxiliary bus lifetime
    d48029c655e4 drm/panel: simple: Add connector_type for innolux_at043tn24
    ef572ffa8eb4 ksmbd: fix out of bounds read in smb2_sess_setup
    869ef4f2965b ksmbd: add missing compound request handing in some commands
    2d57a1590f4d workqueue: clean up WORK_* constant types, clarify masking
    4b5ab640aafc net: lan743x: Don't sleep in atomic context
    5a45ed1ae34b HID: amd_sfh: Fix for shift-out-of-bounds
    d0b30d8e4d25 HID: amd_sfh: Rename the float32 variable
    a456e1743881 Linux 6.1.39
    f32dfc802e87 io_uring: Use io_schedule* in cqring wait
    c55b552e0b60 sh: hd64461: Handle virq offset for offchip IRQ base and HD64461 IRQ
    0ff5d219eb8a sh: mach-dreamcast: Handle virq offset in cascaded IRQ demux
    5628b9aa3179 sh: mach-highlander: Handle virq offset in cascaded IRL demux
    fe7daa313d13 sh: mach-r2d: Handle virq offset in cascaded IRL demux
    899cc8f7989d block/partition: fix signedness issue for Amiga partitions
    da012a025f70 tty: serial: fsl_lpuart: add earlycon for imx8ulp platform
    3173bfdf89ac wireguard: netlink: send staged packets when setting initial private key
    561aaadf0d07 wireguard: queueing: use saner cpu selection wrapping
    40f83dd66a82 netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
    fc95c8b02c61 netfilter: nf_tables: do not ignore genmask when looking up chain by id
    05561f822f27 netfilter: conntrack: Avoid nf_ct_helper_hash uses after free
    f14537333405 netfilter: nf_tables: unbind non-anonymous set if rule construction fails
    ad2928e7f3f6 mtd: parsers: refer to ARCH_BCMBCA instead of ARCH_BCM4908
    1bdcffaa0d2c drm/i915/tc: Fix system resume MST mode restore for DP-alt sinks
    99025116f5c6 drm/i915/tc: Fix TC port link ref init for DP MST during HW readout
    eaa0043a8579 drm/i915: Fix TypeC mode initialization during system resume
    a02c6dc0eff2 mm/mmap: Fix extra maple tree write
    9222068bc85b xfs: fix xfs_inodegc_stop racing with mod_delayed_work
    1b206852957c xfs: disable reaping in fscounters scrub
    25c1991f9f77 xfs: check that per-cpu inodegc workers actually run on that cpu
    f6e37e24007d xfs: explicitly specify cpu when forcing inodegc delayed work to run immediately
    6b7c52f373fb fs: no need to check source
    d53879f54b54 blktrace: use inline function for blk_trace_remove() while blktrace is disabled
    ab0bd172d628 leds: trigger: netdev: Recheck NETDEV_LED_MODE_LINKUP on dev rename
    9077ec19adc2 ARM: orion5x: fix d2net gpio initialization
    600b51aa44de ARM: dts: qcom: ipq4019: fix broken NAND controller properties override
    9030a7e83632 regulator: tps65219: Fix matching interrupts for their regulators
    d9eaa90d7dbb ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path
    1c9b356bbe99 ASoC: mediatek: mt8173: Fix irq error path
    3929b5dd8fdd btrfs: do not BUG_ON() on tree mod log failure at __btrfs_cow_block()
    bc662a1e1f9f btrfs: fix extent buffer leak after tree mod log failure at split_node()
    a53d78d9a855 btrfs: fix race when deleting quota root from the dirty cow roots list
    9634e5360bd3 btrfs: reinsert BGs failed to reclaim
    d9f1e518ab05 btrfs: add block-group tree to lockdep classes
    3702c5342cf1 btrfs: bail out reclaim process if filesystem is read-only
    856086109515 btrfs: delete unused BGs while reclaiming BGs
    4fadf53fa951 btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile
    8fcb478b5508 ipvs: increase ip_vs_conn_tab_bits range for 64BIT
    759e582b1cea usb: typec: ucsi: Mark dGPUs as DEVICE scope
    f2a6ce3eec14 i2c: nvidia-gpu: Remove ccgx,firmware-build property
    7b67af8dea95 i2c: nvidia-gpu: Add ACPI property to align with device-tree
    f40d621387d4 fs: Lock moved directories
    10c159f994b9 fs: Establish locking order for unrelated directories
    6654d2a165e4 Revert "f2fs: fix potential corruption when moving a directory"
    6aaa22ec7310 ext4: Remove ext4 locking of moved directory
    606e463eefed fs: avoid empty option when generating legacy mount string
    6df680709d90 jffs2: reduce stack usage in jffs2_build_xattr_subsystem()
    1f34bf8b442c shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs
    23fbff67b06d mm/damon/ops-common: atomically test and clear young on ptes and pmds
    33893c6c1f18 autofs: use flexible array in ioctl structure
    cd52323ac4c1 integrity: Fix possible multiple allocation in integrity_inode_get()
    0cbbb029ffe9 um: Use HOST_DIR for mrproper
    219a9ec09dd1 watch_queue: prevent dangling pipe pointer
    7ecea5ce3dc1 bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
    68118c339c6e bcache: Remove unnecessary NULL point check in node allocations
    25ec4779d0fb bcache: fixup btree_cache_wait list damage
    97ccc14d114b wifi: mt76: mt7921e: fix init command fail with enabled device
    d8985a0e44bc wifi: ath10k: Serialize wake_tx_queue ops
    1a312d5a8c84 wifi: cfg80211: fix regulatory disconnect for non-MLO
    5b2b6586c5db mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used.
    30c5f362b6f5 mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS
    69bc3203513c mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M
    182bf07a24c4 mmc: core: disable TRIM on Kingston EMMC04G-M627
    b50d6e06cca7 io_uring: wait interruptibly for request completions on exit
    9440b24fbcb9 irqchip/loongson-pch-pic: Fix initialization of HT vector register
    2b4e43b5ad99 NFSD: add encoding of op_recall flag for write delegation
    f672f2ca9d6f irqchip/loongson-pch-pic: Fix potential incorrect hwirq assignment
    8753eeb2d35a i2c: qup: Add missing unwind goto in qup_i2c_probe()
    b990e3760395 btrfs: do not BUG_ON() on tree mod log failure at balance_level()
    2445a35d05cd extcon: usbc-tusb320: Unregister typec port on driver removal
    ee08e1fc9480 extcon: usbc-tusb320: Convert to i2c's .probe_new()
    d5eb0375d78a dm ioctl: Avoid double-fetch of version
    27987794197e dm ioctl: have constant on the right side of the test
    fd4497aca33b dm: avoid split of quoted strings where possible
    0783867a30b5 dm: fix undue/missing spaces
    15970b0828c1 i2c: xiic: Don't try to handle more interrupt events after error
    e9fbb7c2f65e apparmor: fix missing error check for rhashtable_insert_fast
    8fb11fa48056 sh: dma: Fix DMA channel offset calculation
    b837c6923600 s390/qeth: Fix vipa deletion
    f5ea303502b9 afs: Fix accidental truncation when storing data
    4a141c3c0306 octeontx-af: fix hardware timestamp configuration
    947d741adf66 net: dsa: sja1105: always enable the send_meta options
    079dc659e31f net: dsa: tag_sja1105: fix MAC DA patching from meta frames
    97a6d99c5434 pptp: Fix fib lookup calls.
    0a1b80ff4f72 riscv: move memblock_allow_resize() after linear mapping is ready
    78c6cf1dc7de fanotify: disallow mount/sb marks on kernel internal pseudo fs
    18d78c5552d8 net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX
    67eb4aee2c01 xsk: Honor SO_BINDTODEVICE on bind
    6baa6e4836d7 bpf, btf: Warn but return no error for NULL btf from __register_btf_kfunc_id_set()
    cd398daabeb8 tcp: annotate data races in __tcp_oow_rate_limited()
    ced61418f469 net: fix net_dev_start_xmit trace event vs skb_transport_offset()
    6469dc1c1388 net: dsa: tag_sja1105: fix source port decoding in vlan_filtering=0 bridge mode
    fd03500476c8 net: bridge: keep ports without IFF_UNICAST_FLT in BR_PROMISC mode
    d50baa75c689 powerpc: dts: turris1x.dts: Fix PCIe MEM size for pci2 node
    d33b0ddf7afa powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
    c86a2517df6c ntfs: Fix panic about slab-out-of-bounds caused by ntfs_listxattr()
    a5485a943193 octeontx2-af: Add validation before accessing cgx and lmac
    bd246c92d2d5 octeontx2-af: Fix mapping for NIX block from CGX connection
    c2c5c6d2c474 f2fs: fix error path handling in truncate_dnode()
    cfdb9c1a74d8 mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0
    4033b47642c7 drm/amd: Don't try to enable secure display TA multiple times
    0d4e60e23c7d drm/amdgpu: fix number of fence calculations
    d3dcdb43c872 spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
    d4f5b1dd816d mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init
    0b24d3e4b989 net: dsa: vsc73xx: fix MTU configuration
    f67ef8f9f677 ibmvnic: Do not reset dql stats on NON_FATAL err
    c07efe4dbc12 Bluetooth: MGMT: Fix marking SCAN_RSP as not connectable
    40ca66eef3d7 Bluetooth: MGMT: Use BIT macro when defining bitfields
    1a7f268ccc3c Bluetooth: MGMT: add CIS feature bits to controller information
    4aa515393f02 Bluetooth: ISO: use hci_sync for setting CIG parameters
    018b12ff1661 Bluetooth: fix invalid-bdaddr quirk for non-persistent setup
    102f3555cebe Add MODULE_FIRMWARE() for FIRMWARE_TG357766.
    f72104244714 net: dsa: tag_sja1105: always prefer source port information from INCL_SRCPT
    060d36670d50 net: dsa: sja1105: always enable the INCL_SRCPT option
    2f99d19dc620 net: dsa: felix: don't drop PTP frames with tag_8021q when RX timestamping is disabled
    e9dda2b68cb9 net: mscc: ocelot: don't keep PTP configuration of all ports in single structure
    7826202689af net: mscc: ocelot: don't report that RX timestamping is enabled by default
    a252547c8920 spi: spi-geni-qcom: enable SPI_CONTROLLER_MUST_TX for GPI DMA mode
    946edfb7d436 net/sched: act_ipt: add sanity checks on skb before calling target
    a6c9b0f7ba95 net: add a couple of helpers for iph tot_len
    201948effabf net/sched: act_ipt: add sanity checks on table name and hook locations
    1aa5a6a6d28c sctp: fix potential deadlock on &net->sctp.addr_wq_lock
    9dbcfc01d686 media: cec: i2c: ch7322: also select REGMAP
    0623f13959fd f2fs: check return value of freeze_super()
    dcb526d76835 drm/i915/guc/slpc: Apply min softlimit correctly
    61070305d520 drm/i915/psr: Use hw.adjusted mode when calculating io/fast wake times
    df53f7a3dbf4 rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
    3781d0e6c11b md/raid10: fix the condition to call bio_end_io_acct()
    07e81c9208d9 pwm: mtk_disp: Fix the disable flow of disp_pwm
    75439e6cd2a3 pwm: ab8500: Fix error code in probe()
    61aad933e53d pwm: sysfs: Do not apply state to already disabled PWMs
    c8fa254b77a3 pwm: imx-tpm: force 'real_period' to be zero in suspend
    29ddfd546063 lib/bitmap: drop optimization of bitmap_{from,to}_arr64
    d986fb02a1ea phy: tegra: xusb: check return value of devm_kzalloc()
    055ea8efdfbb mfd: stmpe: Only disable the regulators if they are enabled
    f7d56de13caa hwtracing: hisi_ptt: Fix potential sleep in atomic context
    34eef9e8c8e3 clk: qcom: mmcc-msm8974: fix MDSS_GDSC power flags
    94f3bcfcd17c misc: fastrpc: check return value of devm_kasprintf()
    7e3ee25e8c7c cpufreq: mediatek: correct voltages for MT7622 and MT7623
    86bfb18bad60 KVM: s390/diag: fix racy access of physical cpu number in diag 9c handler
    c78ad1060ce9 KVM: s390: vsie: fix the length of APCB bitmap
    e716693f0236 mfd: stmfx: Nullify stmfx->vdd in case of error
    18abe5f4c3c6 mfd: stmfx: Fix error path in stmfx_chip_init
    5bd9dc3e767e bus: fsl-mc: don't assume child devices are all fsl-mc devices
    e27948f329f7 nvmem: rmem: Use NVMEM_DEVID_AUTO
    27918479409d nvmem: sunplus-ocotp: release otp->clk before return
    e3a71d821e24 drivers: fwnode: fix fwnode_irq_get[_byname]()
    51ae92e329f5 device property: Clarify description of returned value in some functions
    73209e3f8ad7 device property: Fix documentation for fwnode_get_next_parent()
    852659fe834a serial: 8250_omap: Use force_suspend and resume for system suspend
    e34817340025 Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection"
    22b1e2af69ec mfd: intel-lpss: Add missing check for platform_get_resource
    2e8ab6846063 mfd: wcd934x: Fix an error handling path in wcd934x_slim_probe()
    7a37abf096c2 usb: dwc3-meson-g12a: Fix an error handling path in dwc3_meson_g12a_probe()
    04b1c0798deb usb: common: usb-conn-gpio: Set last role to unknown before initial detection
    155bb9b4e32e usb: dwc3: qcom: Fix an error handling path in dwc3_qcom_probe()
    63b3360d43e4 usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove()
    90159b329f5c KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes
    ebe83e9bb8a6 f2fs: fix to avoid NULL pointer dereference f2fs_write_end_io()
    15c073e752d2 f2fs: fix potential deadlock due to unpaired node_write lock use
    2e980eb9550d gfs2: Fix duplicate should_fault_in_pages() call
    f5d7f9e15517 sh: Avoid using IRQ0 on SH3 and SH4
    d199218881d7 media: atomisp: gmin_platform: fix out_len in gmin_get_config_dsm_var()
    c8470b7de8b4 media: venus: helpers: Fix ALIGN() of non power of two
    8339bd9181b1 mfd: rt5033: Drop rt5033-battery sub-device
    6d702c7a2203 coresight: Fix loss of connection info when a module is unloaded
    76efcb6cdaf9 i3c: master: svc: fix cpu schedule in spin lock
    c0ed8b804934 lkdtm: replace ll_rw_block with submit_bh
    f5d80ad7b678 kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR
    9c4f52b61804 serial: 8250: lock port for UART_IER access in omap8250_irq()
    3a1ab191e00f serial: core: lock port for start_rx() in uart_resume_port()
    65a7cfc009b3 serial: 8250: lock port for stop_rx() in omap8250_irq()
    44470207dbc5 serial: core: lock port for stop_rx() in uart_suspend_port()
    c494fe1b6663 usb: misc: eud: Fix eud sysfs path (use 'qcom_eud')
    b5ab04a19ef1 usb: hide unused usbfs_notify_suspend/resume functions
    dd9b7c89a804 usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
    ac961d0571b4 extcon: Fix kernel doc of property capability fields to avoid warnings
    e4c94de6ca2f extcon: Fix kernel doc of property fields to avoid warnings
    e60a827ac074 usb: gadget: u_serial: Add null pointer check in gserial_suspend
    c3b322b84ab5 usb: dwc3: qcom: Fix potential memory leak
    6aecf5e19b8a staging: vchiq_arm: mark vchiq_platform_init() static
    2ed441a76374 clk: qcom: mmcc-msm8974: use clk_rcg2_shared_ops for mdp_clk_src clock
    3c4f7d49909d clk: qcom: dispcc-qcm2290: Fix GPLL0_OUT_DIV handling
    203ab7670432 clk: qcom: dispcc-qcm2290: Fix BI_TCXO_AO handling
    b80c4629e966 clk: qcom: ipq6018: fix networking resets
    b20854ef6c49 clk: qcom: reset: support resetting multiple bits
    0e481ef854a5 media: mediatek: vcodec: using decoder status instead of core work count
    42ec6269f98e media: hi846: fix usage of pm_runtime_get_if_in_use()
    1ac45cab77d6 media: i2c: Correct format propagation for st-mipid02
    8abb53c5167c media: usb: siano: Fix warning due to null work_func_t function pointer
    e230146b86b2 media: videodev2.h: Fix struct v4l2_input tuner index comment
    cb8e8950d70e media: amphion: initiate a drain of the capture queue in dynamic resolution change
    c0d500726ce2 media: amphion: drop repeated codec data for vc1g format
    bc43061b42c0 media: amphion: drop repeated codec data for vc1l format
    a8af55f7f487 media: usb: Check az6007_read() return value
    0b3d2aa627ad clk: qcom: gcc-qcm2290: Mark RCGs shared where applicable
    792998a8cf6b clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
    f0cafc443c53 clk: qcom: camcc-sc7180: Add parent dependency to all camera GDSCs
    51e5f4e7206d clk: qcom: mmcc-msm8974: remove oxili_ocmemgx_clk
    9812b33d175c serial: 8250: omap: Fix freeing of resources on failed register
    b6e30a54a592 usb: dwc2: Fix some error handling paths
    98b6582b37da usb: dwc2: platform: Improve error reporting for problems during .remove()
    e91366b72c36 sh: j2: Use ioremap() to translate device tree address into kernel memory
    d6dd47743695 f2fs: do not allow to defragment files have FI_COMPRESS_RELEASED
    190bdec8a77f dt-bindings: power: reset: qcom-pon: Only allow reboot-mode pre-pmk8350
    c3f5604abab7 w1: fix loop in w1_fini()
    eab648537764 w1: w1_therm: fix locking behavior in convert_t
    ef047411887f SUNRPC: Fix UAF in svc_tcp_listen_data_ready()
    6f1c81886b0b btrfs: fix race when deleting free space root from the dirty cow roots list
    defc91422764 block: increment diskseq on all media change events
    28b58a8d10b3 block: change all __u32 annotations to __be32 in affs_hardblocks.h
    40d6a1261a9c block: add overflow checks for Amiga partition support
    a4c79ea1e9ed block: fix signed int overflow in Amiga partition support
    3eb4e47a94e3 ALSA: pcm: Fix potential data race at PCM memory allocation helpers
    14eb1a2b6f91 ALSA: jack: Fix mutex call in snd_jack_report()
    83c6725556d4 ALSA: hda/realtek: Add quirk for Clevo NPx0SNx
    21ce551a8592 ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on EliteBook
    e0d7a96b278a mm/mmap: Fix VM_LOCKED check in do_vmi_align_munmap()
    b91748bdbfb1 Revert "drm/amd/display: edp do not add non-edid timings"
    96b1bc9a6f65 iio: accel: fxls8962af: fixup buffer scan element type
    04a579517b88 iio: accel: fxls8962af: errata bug only applicable for FXLS8962AF
    fcdae54e3d2d iio: adc: ad7192: Fix internal/external clock selection
    b61f26a8a048 iio: adc: ad7192: Fix null ad7192_state pointer access
    238edc04ddb9 phy: tegra: xusb: Clear the driver reference in usb-phy dev
    c2a088413438 usb: dwc3: gadget: Propagate core init errors to UDC during pullup
    a0b369620326 USB: serial: option: add LARA-R6 01B PIDs
    f57e2c083040 md/raid1-10: fix casting from randomized structure in raid1_submit_write()
    b6872b4a7d8b x86/efi: Make efi_set_virtual_address_map IBT safe
    97669214944e arm64: sme: Use STR P to clear FFR context field in streaming SVE mode
    be54803be8b9 ksmbd: avoid field overflow warning
    babaab6ef641 smb: client: fix broken file attrs with nodfs mounts
    9fb981a86ae5 cifs: do all necessary checks for credits within or before locking
    4fe07d55a546 cifs: prevent use-after-free by freeing the cfile later
    e28d7a3f4bc5 efi/libstub: Disable PCI DMA before grabbing the EFI memory map
    1e596c181c53 kbuild: Disable GCOV for *.mod.o
    c5696a8a5484 hwrng: st - keep clock enabled while hwrng is registered
    d88158d81617 dax/kmem: Pass valid argument to memory_group_register_static
    7b8106d90572 dax: Introduce alloc_dev_dax_id()
    03859868ab82 dax: Fix dax_mapping_release() use after free
    1bf709b96250 SMB3: Do not send lease break acknowledgment if all file handles have been closed
    c2bf8d7b8f02 NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
    705317843644 NFSv4.2: fix wrong shrinker_id
    08749a9005de crypto: qat - unmap buffers before free for RSA
    32b09834c3c7 crypto: qat - unmap buffer before free for DH
    da1729e6619c crypto: qat - Use helper to set reqsize
    2db49992fcec crypto: kpp - Add helper to set reqsize
    c14964fe8e95 ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard
    dd872d5576cc modpost: fix off by one in is_executable_section()
    64c358c9abae crypto: jitter - correct health test during initialization
    7ab0e37f8064 crypto: marvell/cesa - Fix type mismatch warning
    6852d82e6c59 modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}
    1df287bd89c7 modpost: fix section mismatch message for R_ARM_ABS32
    5a4adb1eceba crypto: nx - fix build warnings when DEBUG_FS is not enabled
    2be41ef57c5a modpost: remove broken calculation of exception_table_entry size
    22c30022cde6 hwrng: virtio - Fix race on data_avail and actual data
    8f98749d536d vfio/mdev: Move the compat_class initialization to module init
    e2e52c8dfbfd PCI: vmd: Fix uninitialized variable usage in vmd_enable_domain()
    222f64e56b35 PCI: endpoint: functions/pci-epf-test: Fix dma_chan direction
    e14379d026d5 PCI: endpoint: Fix a Kconfig prompt of vNTB driver
    38b64bdb72e0 PCI: endpoint: Fix Kconfig indent style
    4e6c406ccb6f powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary
    ea356080c1cf powerpc/book3s64/mm: Fix DirectMap stats in /proc/meminfo
    526129937c47 riscv: uprobes: Restore thread.bad_cause
    d25166e1e9d4 PCI: qcom: Disable write access to read only registers for IP v2.9.0
    1cf0ecb0c74c PCI: qcom: Use DWC helpers for modifying the read-only DBI registers
    8640e941fd39 PCI: qcom: Use lower case for hex
    a350f1077711 PCI: qcom: Sort and group registers and bitfield definitions
    db962c7a711c PCI: qcom: Remove PCIE20_ prefix from register definitions
    865d128cab0d powerpc: update ppc_save_regs to save current r1 in pt_regs
    4cff1be1cbf6 powerpc: simplify ppc_save_regs
    d9a1aaea8560 powerpc/powernv/sriov: perform null check on iov before dereferencing iov
    0af388fce352 pinctrl: at91-pio4: check return value of devm_kasprintf()
    35404a47ba77 pinctrl: microchip-sgpio: check return value of devm_kasprintf()
    4e82f92c349e powerpc/64s: Fix VAS mm use after free
    75d65c1cc439 perf tool x86: Fix perf_env memory leak
    0dafc849b943 perf tool x86: Consolidate is_amd check into single function
    c94376dbd6cb platform/x86/dell/dell-rbtn: Fix resources leaking on error path
    9999a9f004e1 perf dwarf-aux: Fix off-by-one in die_get_varname()
    4e06e8b1f913 platform/x86: thinkpad_acpi: Fix lkp-tests warnings for platform profiles
    4309bd9e984a perf script: Fix allocation of evsel->priv related to per-event dump files
    7cfd31011135 powerpc/signal32: Force inlining of __unsafe_save_user_regs() and save_tm_user_regs_unsafe()
    af0c61c5bba0 powerpc/interrupt: Don't read MSR from interrupt_exit_kernel_prepare()
    081f642b316f kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures
    c32afc7e864c pinctrl: npcm7xx: Add missing check for ioremap
    fc45a8be5e52 pinctrl:sunplus: Add check for kmalloc
    8362ea615803 platform/x86: think-lmi: Correct NVME password handling
    699b59310126 platform/x86: think-lmi: Correct System password interface
    61545eb787fe platform/x86: think-lmi: mutex protection around multiple WMI calls
    d1390b057d59 pinctrl: cherryview: Return correct value if pin in push-pull mode
    1ebe7d40ed7f perf bench: Add missing setlocale() call to allow usage of %'d style formatting
    251c6615a7e9 scsi: lpfc: Revise NPIV ELS unsol rcv cmpl logic to drop ndlp based on nlp_state
    7d3664d24f32 PCI: Add pci_clear_master() stub for non-CONFIG_PCI
    019d4fd93a5a pinctrl: sunplus: Add check for kmalloc
    bc796f65cdc8 PCI: ftpci100: Release the clock resources
    a982c13e11fb PCI: pciehp: Cancel bringup sequence if card is not present
    6c1b079e266b scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe()
    7aecdd47910c PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free
    3a080e1b1145 platform/x86: lenovo-yogabook: Set default keyboard backligh brightness on probe()
    fa177f7011c8 platform/x86: lenovo-yogabook: Reprobe devices on remove()
    3e6c92a34660 platform/x86: lenovo-yogabook: Fix work race on remove()
    727fb7083e65 pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors
    c316bde418af scsi: qedf: Fix NULL dereference in error handling
    c52502b67424 PCI: vmd: Reset VMD config register between soft reboots
    ebafa12c8f23 PCI: cadence: Fix Gen2 Link Retraining process
    79e1d940fde5 ASoC: amd: acp: clear pdm dma interrupt mask
    c6764757e843 ARM: dts: lan966x: kontron-d10: fix SPI CS
    712a7f3a06c9 ARM: dts: lan966x: kontron-d10: fix board reset
    49451db71b74 clk: Fix memory leak in devm_clk_notifier_register()
    03a705c1d7cb ASoC: imx-audmix: check return value of devm_kasprintf()
    e4f2a1feebb3 ovl: update of dentry revalidate flags after copy up
    83356d6f0ad2 drivers: meson: secure-pwrc: always enable DMA domain
    511b47f8cb8b clk: ti: clkctrl: check return value of kasprintf()
    67684f0688de clk: keystone: sci-clk: check return value of kasprintf()
    a20450f4735b clk: si5341: free unused memory on probe failure
    11581850a714 clk: si5341: check return value of {devm_}kasprintf()
    0a89a906ba9f clk: si5341: return error if one synth clock registration fails
    5470a0e81f6f clk: cdce925: check return value of kasprintf()
    0b5c9e9695f8 clk: vc5: check memory returned by kasprintf()
    af8affd12375 drm/msm/dpu: correct MERGE_3D length
    0e2c51a16fcb drm/amdgpu: Fix usage of UMC fill record in RAS
    8d68ba92554b drm/amdgpu: Fix memcpy() in sienna_cichlid_append_powerplay_table function.
    643a85190a98 arm64: dts: mediatek: mt8192: Fix CPUs capacity-dmips-mhz
    846c79d2a5f6 arm64: dts: mediatek: Add cpufreq nodes for MT8192
    4e9f1a2367ae drm/msm/dp: Free resources after unregistering them
    ecf02762d476 drm/msm/dsi: Remove incorrect references to slice_count
    ef25872788e5 drm/msm/dsi: Flip greater-than check for slice_count and slice_per_intf
    937da3db61bf drm/msm/dsi: Use DSC slice(s) packet size to compute word count
    bc6d856b1c80 drm/msm/dpu: Fix slice_last_group_size calculation
    7dca0dde50af drm/msm/dpu: do not enable color-management if DSPPs are not available
    d28b83252e15 ALSA: ac97: Fix possible NULL dereference in snd_ac97_mixer
    96bafece6ff3 clk: tegra: tegra124-emc: Fix potential memory leak
    b35cb0c05b8d clk: clocking-wizard: Fix Oops in clk_wzrd_register_divider()
    9ff9f928c638 clk: bcm: rpi: Fix off by one in raspberrypi_discover_clocks()
    4842a846398a arm64: dts: qcom: sm8250-edo: Panel framebuffer is 2.5k instead of 4k
    7089f1aa0b55 arm64: dts: qcom: sdm845: Flush RSC sleep & wake votes
    6317d0302655 clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
    280a5ff665e1 clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe
    9ba3693b0350 clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
    1839032251a6 clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe
    bf7ab557d64a RDMA/bnxt_re: Avoid calling wake_up threads from spin_lock context
    c9be352be9bb RDMA/bnxt_re: wraparound mbox producer index
    154bed0fd609 drm/msm/a5xx: really check for A510 in a5xx_gpu_init
    b10db1d21374 amdgpu: validate offset_in_bo of drm_amdgpu_gem_va
    1afca9e0fe94 RDMA/rxe: Fix access checks in rxe_check_bind_mw
    0cd210c594a6 RDMA/rxe: Replace pr_xxx by rxe_dbg_xxx in rxe_mw.c
    34bbf074f729 RDMA/rxe: Add ibdev_dbg macros for rxe
    78cb71dd609b HID: uclogic: Modular KUnit tests should not depend on KUNIT=y
    1420545b8a15 drm/radeon: fix possible division-by-zero errors
    c1164aeb9691 drm/amd/display: Fix artifacting on eDP panels when engaging freesync video mode
    82934a338b4f soc: mediatek: SVS: Fix MT8192 GPU node name
    fabadad9e28d drm/amdkfd: Fix potential deallocation of previously deallocated memory.
    384717042de8 drm/amd/display: Fix a test dml32_rq_dlg_get_rq_reg()
    36786e2a7331 drm/amd/display: Fix a test CalculatePrefetchSchedule()
    4812faba0a76 clk: Export clk_hw_forward_rate_request()
    90d4c487cd65 ARM: dts: BCM5301X: fix duplex-full => full-duplex
    1ae94553dcfb hwmon: (pmbus/adm1275) Fix problems with temperature monitoring on ADM1272
    421d35912766 hwmon: (gsc-hwmon) fix fan pwm temperature scaling
    9e633411d143 ARM: dts: stm32: fix i2s endpoint format property for stm32mp15xx-dkx
    dc2707deeb8d ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2
    03b2c470a136 Input: pm8941-powerkey - fix debounce on gen2+ PMICs
    421ce97657a8 arm64: dts: ti: k3-j7200: Fix physical address of pin
    3b4c21804076 fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe()
    52b04ac85f5f drm/msm/dpu: set DSC flush bit correctly at MDP CTL flush register
    6878bdd75718 arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1
    5d14292dba95 ARM: dts: iwg20d-q7-common: Fix backlight pwm specifier
    766e0b6f4c96 RDMA/hns: Fix hns_roce_table_get return value
    b99395ab605f IB/hfi1: Fix wrong mmu_node used for user SDMA packet after invalidate
    ebec507398e1 RDMA/irdma: avoid fortify-string warning in irdma_clr_wqes
    750f0a302a10 soc/fsl/qe: fix usb.c build errors
    b2194d7dfc95 ARM: dts: meson8: correct uart_B and uart_C clock references
    863054be8d4d ASoC: es8316: Do not set rate constraints for unsupported MCLKs
    3b575d93020f ASoC: es8316: Increment max value for ALC Capture Target Volume control
    c02f27c2950a ARM: dts: qcom: apq8074-dragonboard: Set DMA as remotely controlled
    9f79e638d451 memory: brcmstb_dpfe: fix testing array offset after use
    09722ac9f1e5 ARM: dts: stm32: Shorten the AV96 HDMI sound card name
    666be7fef4d3 arm64: dts: mediatek: mt8183: Add mediatek,broken-save-restore-fw to kukui
    1bdb9751b4c6 arm64: dts: qcom: apq8096: fix fixed regulator name property
    75c019119ebc arm64: dts: qcom: pm7250b: add missing spmi-vadc include
    c63997426da6 ARM: omap2: fix missing tick_broadcast() prototype
    e91ffbd65533 ARM: ep93xx: fix missing-prototype warnings
    deda0761dc61 drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H
    25a724c2fa3d drm/bridge: ti-sn65dsi83: Fix enable/disable flow to meet spec
    5044e5f2511c drm/bridge: Introduce pre_enable_prev_first to alter bridge init order
    1d9473b88e01 arm64: dts: qcom: apq8016-sbc: Fix 1.8V power rail on LS expansion
    638d54f5c566 arm64: dts: qcom: apq8016-sbc: Fix regulator constraints
    2ad75715fc48 arm64: dts: qcom: sdm845-polaris: add missing touchscreen child node reg
    266cf247dd88 arm64: dts: qcom: sm8350: correct DMA controller unit address
    42d0fbbbf4ca arm64: dts: qcom: sm8350: Add GPI DMA compatible fallback
    aa14fefca239 arm64: dts: qcom: sdm845: correct camss unit address
    e3789d63a33b arm64: dts: qcom: sdm630: correct camss unit address
    173b6412a5c2 arm64: dts: qcom: msm8996: correct camss unit address
    4d810c12d6e1 arm64: dts: qcom: msm8994: correct SPMI unit address
    98cd40521773 arm64: dts: qcom: msm8916: correct MMC unit address
    aa2d2407f5d2 arm64: dts: qcom: msm8916: correct camss unit address
    0cff84682006 ARM: dts: qcom: msm8974: do not use underscore in node name (again)
    376daf3aa897 drm/bridge: anx7625: Prevent endless probe loop
    4536679f7911 drm/bridge: anx7625: Convert to i2c's .probe_new()
    93a03780357e ARM: dts: gta04: Move model property out of pinctrl node
    af5bcfb4f8b5 clk: renesas: rzg2l: Fix CPG_SIPLL5_CLK1 register write
    2128318c9130 iommu/virtio: Return size mapped for a detached domain
    0f2c11ccfdcc iommu/virtio: Detach domain on endpoint release
    ed41f708b35a drm/msm/dpu: Set DPU_DATA_HCTL_EN for in INTF_SC7180_MASK
    f4c6e5d7349e drm/msm/disp/dpu: get timing engine status from intf status register
    74abb8d3cd97 drm/msm/dsi: don't allow enabling 14nm VCO with unprogrammed rate
    dd129da1fd74 RDMA/bnxt_re: Fix to remove an unnecessary log
    c37eca42ac6b RDMA/bnxt_re: Remove a redundant check inside bnxt_re_update_gid
    66eb6c47b570 RDMA/bnxt_re: Use unique names while registering interrupts
    f2279e3e3876 RDMA/bnxt_re: Fix to remove unnecessary return labels
    b43b06449870 RDMA/bnxt_re: Disable/kill tasklet only if it is enabled
    280e58d8b0e9 hwmon: (f71882fg) prevent possible division by zero
    08cc7cd2c2a2 clk: imx: scu: use _safe list iterator to avoid a use after free
    3fc9637f37a7 drm/bridge: tc358767: Switch to devm MIPI-DSI helpers
    929b6c6e6a56 arm64: dts: microchip: sparx5: do not use PSCI on reference boards
    13602e613246 bus: ti-sysc: Fix dispc quirk masking bool variables
    46a8dff2103b ARM: dts: stm32: Move ethernet MAC EEPROM from SoM to carrier boards
    7a3c39e34cab drm/vkms: Fix RGB565 pixel conversion
    048b7168acf8 drm: Add fixed-point helper to get rounded integer values
    fa4ee16e814a drm/vkms: isolate pixel conversion functionality
    9d59f5f52cb4 ASoC: Intel: sof_sdw: remove SOF_SDW_TGL_HDMI for MeteorLake devices
    49fca83f6f3f driver: soc: xilinx: use _safe loop iterator to avoid a use after free
    39bdb97f8720 drm/panel: sharp-ls043t1le01: adjust mode settings
    aeca0e1c3374 drm: sun4i_tcon: use devm_clk_get_enabled in `sun4i_tcon_init_clocks`
    ac96a15163f5 Input: adxl34x - do not hardcode interrupt trigger type
    3134cc51e996 clk: rs9: Fix .driver_data content in i2c_device_id
    6014e7422c8d clk: vc7: Fix .driver_data content in i2c_device_id
    53b5b4d1a80e clk: vc5: Fix .driver_data content in i2c_device_id
    4db655d1b25d bootmem: remove the vmemmap pages from kmemleak in free_bootmem_page
    548b67c0aad4 clk: vc5: Use `clamp()` to restrict PLL range
    50fb32197f60 mm: call arch_swap_restore() from do_swap_page()
    5cf97c2df27f ARM: dts: meson8b: correct uart_B and uart_C clock references
    2b55a9857278 ARM: dts: BCM5301X: Drop "clock-names" from the SPI node
    2dc8b685d99c drm/vram-helper: fix function names in vram helper doc
    8e739c8c6efb drm/bridge: tc358768: fix THS_TRAILCNT computation
    010f68aecde4 drm/bridge: tc358768: fix TXTAGOCNT computation
    7b1931573702 drm/bridge: tc358768: fix THS_ZEROCNT computation
    2545a8d06ad8 drm/bridge: tc358768: fix TCLK_TRAILCNT computation
    587ba0805e4f drm/bridge: tc358768: Add atomic_get_input_bus_fmts() implementation
    06dc491cf4e3 drm/bridge: tc358768: fix TCLK_ZEROCNT computation
    9d56ec0b24bf drm/bridge: tc358768: fix PLL target frequency
    d2aad3c1e400 drm/bridge: tc358768: fix PLL parameters computation
    c4cf126320bc drm/bridge: tc358768: always enable HS video mode
    63f3bc83b1df drm/bridge: ti-sn65dsi83: Fix enable error path
    df3b7e337d71 Input: drv260x - sleep between polling GO bit
    9d27705e3ce1 drm/bridge: it6505: Move a variable assignment behind a null pointer check in receive_timing_debugfs_show()
    9fbe61e3c245 drm/amd/display: Explicitly specify update type per plane info change
    cb86b0e3d9d3 radeon: avoid double free in ci_dpm_init()
    064e33b3591e drm/amd/display: Add logging for display MALL refresh setting
    3b3186c77020 netlink: Add __sock_i_ino() for __netlink_diag_dump().
    f6d2e25c647f ipvlan: Fix return value of ipvlan_queue_xmit()
    d6cf5026af73 netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value.
    5c618daa5038 netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
    cfcb9f0a499d lib/ts_bm: reset initial match offset for every block of text
    425d9d3a92df net: nfc: Fix use-after-free caused by nfc_llcp_find_local
    446f55679343 sfc: fix crash when reading stats while NIC is resetting
    94817712b500 ocfs2: Fix use of slab data with sendpage
    8c438ff5d9e3 net: axienet: Move reset before 64-bit DMA detection
    17d6b6354f00 gtp: Fix use-after-free in __gtp_encap_destroy().
    b48c24392d86 selftests: rtnetlink: remove netdevsim device after ipsec offload test
    37b6143376a5 bonding: do not assume skb mac_header is set
    e9331c8fa4c6 netlink: do not hard code device address lenth in fdb dumps
    61ffe8b1ee08 netlink: fix potential deadlock in netlink_set_err()
    509d5d40c249 net: stmmac: fix double serdes powerdown
    12bcb533280b can: kvaser_pciefd: Set hardware timestamp on transmitted packets
    70ace9ba2052 can: kvaser_pciefd: Add function to set skb hwtstamps
    787b4042098f can: length: fix bitstuffing count
    cfb310623413 bpf: Fix bpf socket lookup from tc/xdp to respect socket VRF bindings
    c7415c521abd bpf: Call __bpf_sk_lookup()/__bpf_skc_lookup() directly via TC hookpoint
    5e9b38de6633 bpf: Factor out socket lookup functions for the TC hookpoint.
    e3754e97414e wifi: ath9k: convert msecs to jiffies where needed
    52bc4b89cdee wifi: iwlwifi: mvm: indicate HW decrypt for beacon protection
    ed98f5c07491 mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston Canvas Go Plus from 11/2019
    f114b159b2c1 wifi: ieee80211: Fix the common size calculation for reconfiguration ML
    ffb0733664cc wifi: cfg80211/mac80211: Fix ML element common size calculation
    132b7129c5fe wifi: cfg80211: fix regulatory disconnect with OCB/NAN
    27268ba34774 wifi: cfg80211: drop incorrect nontransmitted BSS update code
    0862669693cf wifi: cfg80211: rewrite merging of inherited elements
    d875120c3520 wifi: mac80211: Remove "Missing iftype sband data/EHT cap" spam
    2d690495eb27 wifi: iwlwifi: pcie: fix NULL pointer dereference in iwl_pcie_irq_rx_msix_handler()
    657a83f079ba wifi: iwlwifi: pull from TXQs with softirqs disabled
    41b1704fad64 wifi: ath11k: Add missing check for ioremap
    228dd5d5fda0 rtnetlink: extend RTEXT_FILTER_SKIP_STATS to IFLA_VF_INFO
    c682018f5c92 wifi: mac80211: Fix permissions for valid_links debugfs entry
    41fc1c56787f wifi: ath9k: Fix possible stall on ath9k_txq_list_has_key()
    16b5292beeee memstick r592: make memstick_debug_get_tpc_name() static
    93126e39662b mmc: mediatek: Avoid ugly error message when SDIO wakeup IRQ isn't used
    fd4f89302fe0 kexec: fix a memory leak in crash_shrink_memory()
    6525435d147b watchdog/perf: more properly prevent false positives with turbo modes
    a3cf423b582a watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config
    b27af27fc9d5 selftests: cgroup: fix unexpected failure on test_memcg_low
    75704a10eac2 ice: handle extts in the miscellaneous interrupt thread
    77f09d836bc9 wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown
    eb205a069081 wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled
    54257a763443 selftests/bpf: Fix check_mtu using wrong variable type
    da79a0bc36c5 wifi: mac80211: recalc min chandef for new STA links
    272240f20df3 wifi: ath10k: Trigger STA disconnect after reconfig complete on hardware restart
    cf5beb8ce97a samples/bpf: xdp1 and xdp2 reduce XDPBUFSIZE to 60
    09740fa9827c wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes
    0d89e50952b5 wifi: ray_cs: Fix an error handling path in ray_probe()
    3d218755c4b6 wifi: wl3501_cs: Fix an error handling path in wl3501_probe()
    d5569b970b81 wifi: atmel: Fix an error handling path in atmel_probe()
    e48b7c2416d9 wifi: orinoco: Fix an error handling path in orinoco_cs_probe()
    9a201822ade5 wifi: orinoco: Fix an error handling path in spectrum_cs_probe()
    4fc6481323df regulator: core: Streamline debugfs operations
    6a241e6b9ed2 regulator: core: Fix more error checking for debugfs_create_dir()
    be84e69082b2 selftests/bpf: Do not use sign-file as testcase
    20109ddd5bea bpf: Fix memleak due to fentry attach failure
    8ea165e1f89d bpf: Remove bpf trampoline selector
    1949721c741b bpftool: JIT limited misreported as negative value on aarch64
    bac93b35f973 nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()
    34d04d70194d spi: dw: Round of n_bytes to power of 2
    c6a9fc82fe18 bpf: Don't EFAULT for {g,s}setsockopt with wrong optlen
    34fe7aa8ef1d libbpf: fix offsetof() and container_of() to work with CO-RE
    8404f8de1e23 sctp: add bpf_bypass_getsockopt proto callback
    f21f2ae56210 wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan()
    51cb8329f210 wifi: wilc1000: fix for absent RSN capabilities WFA testcase
    ded1a7a570b0 spi: spi-geni-qcom: Correct CS_TOGGLE bit in SPI_TRANS_CFG
    56c25f2763a1 samples/bpf: Fix buffer overflow in tcp_basertt
    a7434a4dcc71 libbpf: btf_dump_type_data_check_overflow needs to consider BTF_MEMBER_BITFIELD_SIZE
    d1c2ff2bd84c wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx
    6928d6e9b094 wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation
    bb3a9ed2b11a igc: Enable and fix RX hash usage by netstack
    f57ba91a46d3 pstore/ram: Add check for kstrdup
    2672144b86a1 ima: Fix build warnings
    9085f2ca941f evm: Fix build warnings
    b050ade6e05b evm: Complete description of evm_inode_setattr()
    ea1432a402ab locking/atomic: arm: fix sync ops
    6b54f5c68474 x86/mm: Fix __swp_entry_to_pte() for Xen PV guests
    3745f628c328 perf/ibs: Fix interface via core pmu events
    64d09c0e832d kselftest: vDSO: Fix accumulation of uninitialized ret when CLOCK_REALTIME is undefined
    b8a6ba524d41 rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale
    3506e64ec161 rcu/rcuscale: Move rcu_scale_*() after kfree_scale_cleanup()
    7a3492219408 rcuscale: Move shutdown from wait_event() to wait_event_idle()
    a0a1f1c92488 rcutorture: Correct name of use_softirq module parameter
    b1cdc56bc177 rcu-tasks: Stop rcu_tasks_invoke_cbs() from using never-onlined CPUs
    d58f0f0ce633 rcu: Make rcu_cpu_starting() rely on interrupts being disabled
    5d56a8d670a5 thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe()
    2b7e2251c434 cpufreq: intel_pstate: Fix energy_performance_preference for passive
    50d64210eeb1 ARM: 9303/1: kprobes: avoid missing-declaration warnings
    3f9e54eb38ea PM: domains: Move the verification of in-params from genpd_add_device()
    f1f5248cedde powercap: RAPL: Fix CONFIG_IOSF_MBI dependency
    be9c8c9c84b6 drivers/perf: hisi: Don't migrate perf to the CPU going to teardown
    6b025ec148e8 x86/tdx: Fix race between set_memory_encrypted() and load_unaligned_zeropad()
    c598fefef321 x86/mm: Allow guest.enc_status_change_prepare() to fail
    3e03681f0720 perf/arm-cmn: Fix DTC reset
    6368a71dca09 PM: domains: fix integer overflow issues in genpd_parse_state()
    919dd531ebb7 clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
    2d3f42d22f32 tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
    77cc52f1b8d7 tick/rcu: Fix bogus ratelimit condition
    e7aff15ba29b posix-timers: Prevent RT livelock in itimer_delete()
    9a534100382a erofs: fix compact 4B support for 16k block size
    ec94df6bcfb0 erofs: simplify iloc()
    423453bb506e svcrdma: Prevent page release when nothing was received
    faf004e98d02 irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
    0cf83d3698fb irqchip/stm32-exti: Fix warning on initialized field overwritten
    aa07e56c6a9c block: fix blktrace debugfs entries leakage
    067c08f78dd1 md/raid1-10: submit write io directly if bitmap is not enabled
    f98b89fbf8fa md/raid1-10: factor out a helper to submit normal write
    fa0f13a8338f md/raid1-10: factor out a helper to add bio to plug
    a5a1ec06ef2f md/raid10: fix io loss while replacement replace rdev
    222cc459d598 md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
    05d10428e8df md/raid10: fix wrong setting of max_corr_read_errors
    b5cb16d31b8a md/raid10: fix overflow of md/safe_mode_delay
    be1a3ec63a84 md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
    e1379e067b94 nvme-core: fix dev_pm_qos memleak
    bf3c2caab9d1 nvme-core: add missing fault-injection cleanup
    a584cf03ff8b nvme-auth: don't ignore key generation failures when initializing ctrl keys
    43d0724d756a nvme-core: fix memory leak in dhchap_ctrl_secret
    2e9b14130755 nvme-core: fix memory leak in dhchap_secret_store
    0a220ef9dda6 nvme-auth: no need to reset chap contexts on re-authentication
    3999c850e78a nvme-auth: remove symbol export from nvme_auth_reset
    9de0a1dfe3e6 nvme-auth: rename authentication work elements
    3f6c98889780 nvme-auth: rename __nvme_auth_[reset|free] to nvme_auth[reset|free]_dhchap
    ce16368280c9 lockd: drop inappropriate svc_get() from locked_get()
    931bd6758bcc blk-mq: fix potential io hang by wrong 'wake_batch'
    c2a0eb3b2017 virt: sevguest: Add CONFIG_CRYPTO dependency
    7ca5e95f2a3e x86/sev: Fix calculation of end address based on number of pages
    8ceeb3fc86a8 blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_cost
    c0df91653586 x86/resctrl: Only show tasks' pid in current pid namespace
    d3b39ea24835 erofs: kill hooked chains to avoid loops on deduplicated compressed images
    daed10290bc7 erofs: move zdata.h into zdata.c
    041ff2c21b00 erofs: remove tagged pointer helpers
    3379f13ebc1e erofs: avoid tagged pointers to mark sync decompression
    3564500b0d1e erofs: clean up cached I/O strategies
    73b9d7ea08e2 block: Fix the type of the second bdev_op_is_zoned_write() argument
    0fd958feaee1 fs: pipe: reveal missing function protoypes
    9f12effd40d7 drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2

(From OE-Core rev: b4aa19866091e52290c445f8bc9cb0051f9438da)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5804204cb92dae78c78f8c0054959e4b2a255a32)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:24 -10:00
Anuj Mittal
1dc7aaa935 gstreamer1.0: upgrade 1.22.4 -> 1.22.5
(From OE-Core rev: 2b41b6054936ee8d5237a981f8cbdcbea54d244c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a894c9499863f127380c38f0b17d51b356391821)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:24 -10:00
Wang Mingyu
a93099cb19 tar: upgrade 1.34 -> 1.35
CVE-2022-48303.patch
removed since it's included in 1.35

License-Update: http changed to https

Changelog:
===========
* Fail when building GNU tar, if the platform supports 64-bit time_t
  but the build uses only 32-bit time_t.
* Leave the devmajor and devminor fields empty (rather than zero) for
  non-special files, as this is more compatible with traditional tar.
* Bug fixes
** Fix interaction of --update with --wildcards.
** When extracting archives into an empty directory, do not create
   hard links to files outside that directory.
** Handle partial reads from regular files.
** Warn "file changed as we read it" less often.
** Fix --ignore-failed-read to ignore file-changed read errors
** Fix --remove-files to not remove a file that changed while we read it.
** Fix --atime-preserve=replace to not fail if there was no need to replace,
   either because we did not read the file, or the atime did not change.
** Fix race when creating a parent directory while another process is
   also doing so.
** Fix handling of prefix keywords not followed by "." in pax headers.
** Fix handling of out-of-range sparse entries in pax headers.
** Fix handling of --transform='s/s/@/2'.
** Fix treatment of options ending in / in files-from list.
** Fix crash on 'tar --checkpoint-action exec=\"'.
** Fix low-memory crash when reading incremental dumps.
** Fix --exclude-vcs-ignores memory allocation misuse.

(From OE-Core rev: d85a7394a1efa8b644950b8d6edbc5e9917ce8b0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c63769de05ce08c0627d302d14316ced31816b4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:24 -10:00
Ross Burton
78aa337560 procps: backport fix for CVE-2023-4016
(From OE-Core rev: 255515e1b52fea6d72d37fae61667db08eb5b086)

(From OE-Core rev: 7841349843f0adbb1312729d81ab05b5c459db79)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eae2a94f5de78b95590ec45e11e930655dbd5caf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:24 -10:00
Narpat Mali
7b65658ede python3-pygments: fix for CVE-2022-40896
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments
through 2.15.0 via SmithyLexer.

The CVE issue is fixed by these 3 different commits in different version:
1. Improve the Smithy metadata matcher (These changes are already available as part
   of current python3-pygments_2.14.0 version):
dd52102c38 (2.14.0)
2. SQL+Jinja: use a simpler regex in analyse_text:
97eb3d5ec7 (2.15.0)
3. Improve Java properties lexer (#2404):
fdf182a7af (2.15.1)

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-40896
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/

(From OE-Core rev: 5a02307af5e593be864423a9f3ab309703d61dbf)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:24 -10:00
Yogita Urade
cccf6723f3 inetutils: fix CVE-2023-40303
GNU inetutils through 2.4 may allow privilege escalation because
of unchecked return values of set*id() family functions in ftpd,
rcp, rlogin, rsh, rshd, and uucpd. This is, for example, relevant
if the setuid system call fails when a process is trying to drop
privileges before letting an ordinary user control the activities
of the process.

Refernces:
https://nvd.nist.gov/vuln/detail/CVE-2023-40303

(From OE-Core rev: b8e2dad0650b8a80e3d85e6d87fda1a0e2fb195f)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:24 -10:00
Richard Purdie
2f5d4fa349 resulttool/report: Avoid divide by zero
Avoid a divide by zero traceback if unfortunate test counts are encountered.

(From OE-Core rev: a46782c9f54bcb0389ea1016e37b6939aae79bfb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5aeea53dfacb53dedb8445cb3523dc3a8cb6dca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:36 -10:00
Alexis Lothoré
c739d9c97d oeqa/utils/gitarchive: fix tag computation when creating archive
Sporadic errors have been observed in autobuilder when trying to store new
tests results:

error: failed to push some refs to 'push.yoctoproject.org:yocto-testresults'
hint: Updates were rejected because the tag already exists in the remote.

The new tag name is generated by gitarchive based on known tags from the
repository (learnt with git tag). In autobuilder case, this repository is a
shallow clone, so git tag only returns most recent tags, which mean we
could miss some older tags which exist in remote but not locally. In this
case, gitarchive will likely create a tag which already exists in remote,
and so will fail to push

Fix this tag duplication by using git ls-remote to learn about existing
tags instead of git tag. Two places which wrongly read only local tags has
been identified in gitarchive:  expand_tag_strings and get_test_runs

Fixes [YOCTO #15140]

(From OE-Core rev: 5e3962a53657044431f687aaa08a993563f779e7)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a0a7da85a3acfd4a20a07478eabefdab60f313a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:36 -10:00
Michael Opdenacker
5bf0671ebb scripts/create-pull-request: update URLs to git repositories
Also remove the git.pokylinux.org URL, no longer used.

(From OE-Core rev: ec2bed2e82eb65b3278a6740b54973b78fe236c8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47b88d143c2fc61ce0e03b7eb3a9dbcffadbf5b1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:36 -10:00
Peter Suti
018d214f9d externalsrc: fix dependency chain issues
Instead of deleting setscene tasks, now SSTATE_SKIP_CREATION is set instead.

This seems to fix the compile issues where the populate_sysroot task was
not run when an externalsrc recipe was built as a dependency.

[YOCTO #15164]

[RP addition: The deltask was added by me in 2012 when the class was created.
The trouble is bitbake assumes 'sstate' tasks have a setscene task and by deleting
the setscene task, bitbake stops thinking the task can be accelerated. There is other
code in the sysroot code which assumes some tasks are always sstate tasks.

We cannot delete the task without changes to the way bitbake learns about 'setscene'
tasks so the patch is correct, avoiding creating files is the better approach given
the way the world works now.

There would be concerns about exisitng sstate reuse however this shouldn't occur
since SRC_URI changes and that will change the underlying hashes. Hash equivalency
could potentially cause issues by joining hashes together again however if the output
matches, that shouldn't in theory cause any issue.]

(From OE-Core rev: 18d0ace2d7becf2a1588d2d2b7ca0f6f2108b64f)

Signed-off-by: Peter Suti <peter.suti@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee4667a24ccdd8c9d547e73aecf661e6a1283890)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:36 -10:00
Richard Purdie
f55b2e2b44 gnupg: Fix reproducibility failure
yat2m can be found within the build or from the recipe-sysroot-native if
runtime dependencies are present. The sysroot version has version differences
to the in tree copy. Specify the one we want to make the build determinstic.

(From OE-Core rev: 8224e8cf402966a1108fe7035da9ed463f3d976a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1feb5274db6e985e10f58359b148dabb4076917a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:36 -10:00
Richard Purdie
bde906a5f1 lib/package_manager: Improve repo artefact filtering
If you run an arm build followed by an x86 one and then ask for a
full repo to be created, it will include all of the arm and x86 packages.
testexport will then find the arm socat package rather than the x86 one
and try and run arm binaries within an x86 qemu image with no success.

The reproducer for this was:

oe-selftest -r fitimage.FitImageTests.test_initramfs_bundle runtime_test.TestImage.test_testimage_install

This patch only symlinks in the compatible package archictures rather
than all of them which fixes the failure and the resulting autobuilder
intermittent failure too.

[YOCTO #15190]

(From OE-Core rev: 96954ff5ea258e8456c66bfa13a11fb4fe7a3808)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30b45bcf49bf8207fd96bb45a55d7708661f3359)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:36 -10:00
Michael Halstead
c444ff4def yocto-uninative: Update to 4.2 for glibc 2.38
Uninative 4.2 adds glibc 2.38.

(From OE-Core rev: f6c43c32394f1d603679061819f7720e5158ba3a)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6654fab00a1b4e4bb05eec8b77c8c60e1f8a709)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:36 -10:00
Michael Halstead
8a7077d6b5 yocto-uninative: Update hashes for uninative 4.1
This version includes fixes to patchelf.

(From OE-Core rev: c6d5a51ff933c9f8570326cebeea43fc14bcb3ec)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c5c8ff97ba0a7f9adc592d702b865b3d166a24b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:36 -10:00
Richard Purdie
89394ac832 pseudo: Fix to work with glibc 2.38
This adds a horrible hack to get pseudo working with glibc 2.38. We can't
drop _GNU_SOURCE to something like _DEFAULT_SOURCE since we need the defines
the gnu options bring in. That leaves using internal glibc defines to disable
the c23 versions of strtol/fscanf and friends. Which would break pseudo
build with 2.38 from running on hosts with older glibc.

We'll probably need to come up with something better but this gets glibc 2.38
and working and avoids autobuilder failures.

(From OE-Core rev: 387b276c2d56d58c2a25d59984fcaaf9c88ac788)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 596fb699d470d7779bfa694e04908929ffeabcf7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
Peter Marko
8c1aae83a5 openssl: Upgrade 3.1.1 -> 3.1.2
https://github.com/openssl/openssl/blob/openssl-3.1/NEWS.md#major-changes-between-openssl-311-and-openssl-312-1-aug-2023
Major changes between OpenSSL 3.1.1 and OpenSSL 3.1.2 [1 Aug 2023]
* Fix excessive time spent checking DH q parameter value (CVE-2023-3817)
* Fix DH_check() excessive time with over sized modulus (CVE-2023-3446)
* Do not ignore empty associated data entries with AES-SIV (CVE-2023-2975)
* When building with the enable-fips option and using the resulting FIPS provider, TLS 1.2 will, by default, mandate the use of an extended master secret and the Hash and HMAC DRBGs will not operate with truncated digests.

(From OE-Core rev: e8b876d6514f6257eaaddb7b44489367666504ba)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e65802383b02df6f502af859a927309d881bbb27)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
Markus Volk
5568bc0585 gtk4: upgrade 4.10.4 -> 4.10.5
Overview of Changes in 4.10.5, 05-08-2023
=========================================

* Fix ordering problems with filter model signals

* Avoid lingering resize cursors

* Fix alignment issues on sparc

* Fix a problem with CSS corner values

* Translation updates
 Brazilian Portuguese
 Czech
 Greek
 Spanish
 Vietnamese

(From OE-Core rev: 168bab3ea6a4581f320e2eb7360f6a98f256d3d6)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 99deaf528acdd8ef7031e251a821721191968644)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
Wang Mingyu
2b1745c74b file: upgrade 5.44 -> 5.45
Changelog:
==========
-PR/465: psrok1: Avoid muslc asctime_r crash
-add SIMH tape format support
-bump the max size of the elf section notes to be read to 128K
 and make it configurable
-PR/415: Fix decompression with program returning empty
-PR/408: fix -p with seccomp
-PR/412: fix MinGW compilation

(From OE-Core rev: 6f1caa944982e265c394a554bfcfa8a105b1d698)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit facef006da35e22394a4cbb13243769586d10f31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
Narpat Mali
4c9e8b0390 python3-git: upgrade 3.1.31 -> 3.1.32
The delta between 3.1.31 & 3.1.32 contains the CVE-2023-40267 fix and other bugfixes.

Changelog:
https://github.com/gitpython-developers/GitPython/releases/tag/3.1.32

- Bump cygwin/cygwin-install-action from 3 to 4 by @dependabot in #1572
- Fix up the commit trailers functionality by @itsluketwist in #1576
- Name top-level exceptions as private variables by @Hawk777 in #1590
- fix pypi long description by @eUgEntOptIc44 in #1603
- Don't rely on del by @r-darwish in #1606
- Block insecure non-multi options in clone/clone_from by @Beuc in #1609

(From OE-Core rev: fd38c8d91f95b44ea7b833772b9a07e1f1d74479)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
sanjana
b8426203d5 glibc: stable 2.37 branch updates
Below commits on glibc-2.37 stable branch are updated.

58f7431fd7 sparc: Fix la_symbind for bind-now
260d4b742b nptl: Fix tst-cancel30 on sparc64
3f4b4e2cdd elf: _dl_find_object may return 1 during early startup
0930ff8eb3 realloc: Limit chunk reuse to only growing requests
8dcb1a5181 hppa: xfail debug/tst-ssp-1 when have-ssp is yes

(From OE-Core rev: eef4f4502390d1e18770c604477dd63a1adcee6d)

Signed-off-by: sanjana <sanjanasanju1608@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
Chee Yang Lee
cbb879c325 librsvg: upgrade to 2.54.6
update include fix for CVE-2023-38633.

(From OE-Core rev: 295eedb61d8224cc4bbb0ced1864db0a6a74ab1f)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
Ross Burton
0189d59821 linux/cve-exclusion: add generated CVE_CHECK_IGNOREs
Run generate-cve-exclusions.py to generate the ignore lists.  The
ignores already in this file are included in the generated lines, so
nothing is lost.

(From OE-Core rev: 1328cd3a720735c848ab401b61f98fae4fd75dd3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
Ross Burton
4a930182bf linux-yocto: add script to generate kernel CVE_CHECK_IGNORE entries
Instead of manually looking up new CVEs and determining what point
releases the fixes are incorporated into, add a script to generate the
CVE_CHECK_IGNORE data automatically.

First, note that this is very much an interim solution until the
cve-check class fetches data from www.linuxkernelcves.com directly.

The script should be passed the path to a local clone of the
linuxkernelcves repository[1] and the kernel version number. It will
then write to standard output the CVE_STATUS entries for every known
kernel CVE.

The script should be periodically reran as CVEs are backported and
kernels upgraded frequently.

[1] https://github.com/nluedtke/linux_kernel_cves

Note: for the backport this is not a cherry-pick of the commit in master
as the variable names are different. This incorporates the following
commits:

linux/generate-cve-exclusions: add version check warning
linux/generate-cve-exclusions.py: fix comparison
linux-yocto: add script to generate kernel CVE_STATUS entries

(From OE-Core rev: f9bfaee1c05a61457ada7850d707a847f327e605)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
Narpat Mali
ebab982e97 ffmpeg: add CVE_CHECK_IGNORE for CVE-2023-39018
CVE-2023-39018 belongs to ffmpeg-cli-wrapper (Java wrapper around the FFmpeg CLI)
and not ffmpeg itself. As per CVE description, it is mentioned as FFmpeg 0.7.0 which
is the version for ffmpeg-cli-wrapper and ffmpeg don't have 0.7.0 version at all.

Debian & Bugzilla trackers have already marked as NOT-FOR-US/RESOLVED-INVALID.
As it won't be affecting the ffmpeg package so, we can ignore the CVE-2023-39018
in ffmpeg recipe.

References:
https://github.com/bramp/ffmpeg-cli-wrapper
https://github.com/FFmpeg/FFmpeg
https://security-tracker.debian.org/tracker/CVE-2023-39018
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-39018

Upstream master patch:
https://git.openembedded.org/openembedded-core/commit/?id=c21ed498b423c13463a4ae0bb475883cc7901847

(From OE-Core rev: d1c087713add2d780b4978b9d7ec33d514d68cd4)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
Chee Yang Lee
915fd3ca17 ghostscript: fix CVE-2023-38559
(From OE-Core rev: 9552f934ae5305b9154f1560d4823b168457b784)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
Chee Yang Lee
b2e02ea2be curl: fix CVE-2023-32001
(From OE-Core rev: f6ab54c91d18d5ebb0c7e27e41f49fc17c9d8c1c)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:52:35 -10:00
256 changed files with 18504 additions and 1794 deletions

View File

@@ -16,9 +16,13 @@ which can be found at:
Contributing
------------
Please refer to
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
for guidelines on how to submit patches.
Please refer to our contributor guide here: https://docs.yoctoproject.org/dev/contributor-guide/
for full details on how to submit changes.
As a quick guide, patches should be sent to openembedded-core@lists.openembedded.org
The git command to do that would be:
git send-email -M -1 --to openembedded-core@lists.openembedded.org
Mailing list:

24
SECURITY.md Normal file
View File

@@ -0,0 +1,24 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security Security Bugzilla].
If you have a patch ready, submit it following the same procedure as any other
patch as described in README.md.
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.

24
bitbake/SECURITY.md Normal file
View File

@@ -0,0 +1,24 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security Security Bugzilla].
If you have a patch ready, submit it following the same procedure as any other
patch as described in README.md.
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.

View File

@@ -234,9 +234,10 @@ class diskMonitor:
freeInode = st.f_favail
if minInode and freeInode < minInode:
# Some filesystems use dynamic inodes so can't run out
# (e.g. btrfs). This is reported by the inode count being 0.
if st.f_files == 0:
# Some filesystems use dynamic inodes so can't run out.
# This is reported by the inode count being 0 (btrfs) or the free
# inode count being -1 (cephfs).
if st.f_files == 0 or st.f_favail == -1:
self.devDict[k][2] = None
continue
# Always show warning, the self.checked would always be False if the action is WARN

View File

@@ -254,7 +254,7 @@ an entire Linux distribution, including the toolchain, from source.
BB_SIGNATURE_HANDLER = "OEEquivHash"
BB_HASHSERVE = "auto"
BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH"
SSTATE_MIRRORS ?= "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH"
#. **Start the Build:** Continue with the following command to build an OS
image for the target, which is ``core-image-sato`` in this example:

View File

@@ -774,20 +774,6 @@ workflow.
- Two general IA platforms (``genericx86`` and ``genericx86-64``)
- There are three core Intel BSPs in the Yocto Project
release, in the ``meta-intel`` layer:
- ``intel-core2-32``, which is a BSP optimized for the Core2
family of CPUs as well as all CPUs prior to the Silvermont
core.
- ``intel-corei7-64``, which is a BSP optimized for Nehalem
and later Core and Xeon CPUs as well as Silvermont and later
Atom CPUs, such as the Baytrail SoCs.
- ``intel-quark``, which is a BSP optimized for the Intel
Galileo gen1 & gen2 development boards.
When you set up a layer for a new BSP, you should follow a standard
layout. This layout is described in the ":ref:`bsp-guide/bsp:example filesystem layout`"
section. In the standard layout, notice
@@ -893,8 +879,8 @@ Yocto Project:
``recipes-*`` subdirectories specific to the recipe's function, or
within a subdirectory containing a set of closely-related recipes.
The recipes themselves should follow the general guidelines for
recipes used in the Yocto Project found in the ":oe_wiki:`OpenEmbedded
Style Guide </Styleguide>`".
recipes found in the ":doc:`../contributor-guide/recipe-style-guide`"
in the Yocto Project and OpenEmbedded Contributor Guide.
- *License File:* You must include a license file in the
``meta-bsp_root_name`` directory. This license covers the BSP
@@ -927,8 +913,8 @@ Yocto Project:
- The name and contact information for the BSP layer maintainer.
This is the person to whom patches and questions should be sent.
For information on how to find the right person, see the
":ref:`dev-manual/changes:submitting a change to the yocto project`"
section in the Yocto Project Development Tasks Manual.
:doc:`../contributor-guide/submit-changes` section in the Yocto Project and
OpenEmbedded Contributor Guide.
- Instructions on how to build the BSP using the BSP layer.
@@ -1194,7 +1180,7 @@ Use these steps to create a BSP layer:
- *Create a Kernel Recipe:* Create a kernel recipe in
``recipes-kernel/linux`` by either using a kernel append file or a
new custom kernel recipe file (e.g. ``yocto-linux_4.12.bb``). The BSP
new custom kernel recipe file (e.g. ``linux-yocto_4.12.bb``). The BSP
layers mentioned in the previous step also contain different kernel
examples. See the ":ref:`kernel-dev/common:modifying an existing recipe`"
section in the Yocto Project Linux Kernel Development Manual for

View File

@@ -0,0 +1,31 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Identify the component
**********************
The Yocto Project and OpenEmbedded ecosystem is built of :term:`layers <Layer>`
so the first step is to identify the component where the issue likely lies.
For example, if you have a hardware issue, it is likely related to the BSP
you are using and the best place to seek advice would be from the BSP provider
or :term:`layer`. If the issue is a build/configuration one and a distro is in
use, they would likely be the first place to ask questions. If the issue is a
generic one and/or in the core classes or metadata, the core layer or BitBake
might be the appropriate component.
Each metadata layer being used should contain a ``README`` file and that should
explain where to report issues, where to send changes and how to contact the
maintainers.
If the issue is in the core metadata layer (OpenEmbedded-Core) or in BitBake,
issues can be reported in the :yocto_bugs:`Yocto Project Bugzilla <>`. The
:yocto_lists:`yocto </g/yocto>` mailing list is a general “catch-all” location
where questions can be sent if you cant work out where something should go.
:term:`Poky` is a commonly used “combination” repository where multiple
components have been combined (:oe_git:`bitbake </bitbake>`,
:oe_git:`openembedded-core </openembedded-core>`,
:yocto_git:`meta-yocto </meta-yocto>` and
:yocto_git:`yocto-docs </yocto-docs>`). Patches should be submitted against the
appropriate individual component rather than :term:`Poky` itself as detailed in
the appropriate ``README`` file.

View File

@@ -0,0 +1,26 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
================================================
Yocto Project and OpenEmbedded Contributor Guide
================================================
The Yocto Project and OpenEmbedded are open-source, community-based projects so
contributions are very welcome, it is how the code evolves and everyone can
effect change. Contributions take different forms, if you have a fix for an
issue youve run into, a patch is the most appropriate way to contribute it.
If you run into an issue but dont have a solution, opening a defect in
:yocto_bugs:`Bugzilla <>` or asking questions on the mailing lists might be
more appropriate. This guide intends to point you in the right direction to
this.
.. toctree::
:caption: Table of Contents
:numbered:
identify-component
report-defect
recipe-style-guide
submit-changes
.. include:: /boilerplate.rst

View File

@@ -0,0 +1,399 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Recipe Style Guide
******************
Recipe Naming Conventions
=========================
In general, most recipes should follow the naming convention
``recipes-category/recipename/recipename_version.bb``. Recipes for related
projects may share the same recipe directory. ``recipename`` and ``category``
may contain hyphens, but hyphens are not allowed in ``version``.
If the recipe is tracking a Git revision that does not correspond to a released
version of the software, ``version`` may be ``git`` (e.g. ``recipename_git.bb``)
and the recipe would set :term:`PV`.
Version Policy
==============
Our versions follow the form ``<epoch>:<version>-<revision>``
or in BitBake variable terms ${:term:`PE`}:${:term:`PV`}-${:term:`PR`}. We
generally follow the `Debian <https://www.debian.org/doc/debian-policy/ch-controlfields.html#version>`__
version policy which defines these terms.
In most cases the version :term:`PV` will be set automatically from the recipe
file name. It is recommended to use released versions of software as these are
revisions that upstream are expecting people to use.
Recipe versions should always compare and sort correctly so that upgrades work
as expected. With conventional versions such as ``1.4`` upgrading ``to 1.5``
this happens naturally, but some versions don't sort. For example,
``1.5 Release Candidate 2`` could be written as ``1.5rc2`` but this sorts after
``1.5``, so upgrades from feeds won't happen correctly.
Instead the tilde (``~``) operator can be used, which sorts before the empty
string so ``1.5~rc2`` comes before ``1.5``. There is a historical syntax which
may be found where :term:`PV` is set as a combination of the prior version
``+`` the pre-release version, for example ``PV=1.4+1.5rc2``. This is a valid
syntax but the tilde form is preferred.
For version comparisons, the ``opkg-compare-versions`` program from
``opkg-utils`` can be useful when attempting to determine how two version
numbers compare to each other. Our definitive version comparison algorithm is
the one within bitbake which aims to match those of the package managers and
Debian policy closely.
When a recipe references a git revision that does not correspond to a released
version of software (e.g. is not a tagged version), the :term:`PV` variable
should include the Git revision using the following to make the
version clear::
PV = "<version>+git${SRCPV}"
In this case, ``<version>`` should be the most recently released version of the
software from the current source revision (``git describe`` can be useful for
determining this). Whilst not recommended for published layers, this format is
also useful when using :term:`AUTOREV` to set the recipe to increment source
control revisions automatically, which can be useful during local development.
Version Number Changes
======================
The :term:`PR` variable is used to indicate different revisions of a recipe
that reference the same upstream source version. It can be used to force a
new version of a recipe to be installed onto a device from a package feed.
These once had to be set manually but in most cases these can now be set and
incremented automatically by a PR Server connected with a package feed.
When :term:`PV` increases, any existing :term:`PR` value can and should be
removed.
If :term:`PV` changes in such a way that it does not increase with respect to
the previous value, you need to increase :term:`PE` to ensure package managers
will upgrade it correctly. If unset you should set :term:`PE` to "1" since
the default of empty is easily confused with "0" depending on the package
manager. :term:`PE` can only have an integer value.
Recipe formatting
=================
Variable Formatting
-------------------
- Variable assignment should a space around each side of the operator, e.g.
``FOO = "bar"``, not ``FOO="bar"``.
- Double quotes should be used on the right-hand side of the assignment,
e.g. ``FOO = "bar"`` not ``FOO = 'bar'``
- Spaces should be used for indenting variables, with 4 spaces per tab
- Long variables should be split over multiple lines when possible by using
the continuation character (``\``)
- When splitting a long variable over multiple lines, all continuation lines
should be indented (with spaces) to align with the start of the quote on the
first line::
FOO = "this line is \
long \
"
Instead of::
FOO = "this line is \
long \
"
Python Function formatting
--------------------------
- Spaces must be used for indenting Python code, with 4 spaces per tab
Shell Function formatting
-------------------------
- The formatting of shell functions should be consistent within layers.
Some use tabs, some use spaces.
Recipe metadata
===============
Required Variables
------------------
The following variables should be included in all recipes:
- :term:`SUMMARY`: a one line description of the upstream project
- :term:`DESCRIPTION`: an extended description of the upstream project,
possibly with multiple lines. If no reasonable description can be written,
this may be omitted as it defaults to :term:`SUMMARY`.
- :term:`HOMEPAGE`: the URL to the upstream projects homepage.
- :term:`BUGTRACKER`: the URL upstream projects bug tracking website,
if applicable.
Recipe Ordering
---------------
When a variable is defined in recipes and classes, variables should follow the
general order when possible:
- :term:`SUMMARY`
- :term:`DESCRIPTION`
- :term:`HOMEPAGE`
- :term:`BUGTRACKER`
- :term:`SECTION`
- :term:`LICENSE`
- :term:`LIC_FILES_CHKSUM`
- :term:`DEPENDS`
- :term:`PROVIDES`
- :term:`PV`
- :term:`SRC_URI`
- :term:`SRCREV`
- :term:`S`
- ``inherit ...``
- :term:`PACKAGECONFIG`
- Build class specific variables such as ``EXTRA_QMAKEVARS_POST`` and :term:`EXTRA_OECONF`
- Tasks such as :ref:`ref-tasks-configure`
- :term:`PACKAGE_ARCH`
- :term:`PACKAGES`
- :term:`FILES`
- :term:`RDEPENDS`
- :term:`RRECOMMENDS`
- :term:`RSUGGESTS`
- :term:`RPROVIDES`
- :term:`RCONFLICTS`
- :term:`BBCLASSEXTEND`
There are some cases where ordering is important and these cases would override
this default order. Examples include:
- :term:`PACKAGE_ARCH` needing to be set before ``inherit packagegroup``
Tasks should be ordered based on the order they generally execute. For commonly
used tasks this would be:
- :ref:`ref-tasks-fetch`
- :ref:`ref-tasks-unpack`
- :ref:`ref-tasks-patch`
- :ref:`ref-tasks-prepare_recipe_sysroot`
- :ref:`ref-tasks-configure`
- :ref:`ref-tasks-compile`
- :ref:`ref-tasks-install`
- :ref:`ref-tasks-populate_sysroot`
- :ref:`ref-tasks-package`
Custom tasks should be sorted similarly.
Package specific variables are typically grouped together, e.g.::
RDEPENDS:${PN} = “foo”
RDEPENDS:${PN}-libs = “bar”
RRECOMMENDS:${PN} = “one”
RRECOMMENDS:${PN}-libs = “two”
Recipe License Fields
---------------------
Recipes need to define both the :term:`LICENSE` and
:term:`LIC_FILES_CHKSUM` variables:
- :term:`LICENSE`: This variable specifies the license for the software.
If you do not know the license under which the software you are
building is distributed, you should go to the source code and look
for that information. Typical files containing this information
include ``COPYING``, :term:`LICENSE`, and ``README`` files. You could
also find the information near the top of a source file. For example,
given a piece of software licensed under the GNU General Public
License version 2, you would set :term:`LICENSE` as follows::
LICENSE = "GPL-2.0-only"
The licenses you specify within :term:`LICENSE` can have any name as long
as you do not use spaces, since spaces are used as separators between
license names. For standard licenses, use the names of the files in
``meta/files/common-licenses/`` or the :term:`SPDXLICENSEMAP` flag names
defined in ``meta/conf/licenses.conf``.
- :term:`LIC_FILES_CHKSUM`: The OpenEmbedded build system uses this
variable to make sure the license text has not changed. If it has,
the build produces an error and it affords you the chance to figure
it out and correct the problem.
You need to specify all applicable licensing files for the software.
At the end of the configuration step, the build process will compare
the checksums of the files to be sure the text has not changed. Any
differences result in an error with the message containing the
current checksum. For more explanation and examples of how to set the
:term:`LIC_FILES_CHKSUM` variable, see the
":ref:`dev-manual/licenses:tracking license changes`" section.
To determine the correct checksum string, you can list the
appropriate files in the :term:`LIC_FILES_CHKSUM` variable with incorrect
md5 strings, attempt to build the software, and then note the
resulting error messages that will report the correct md5 strings.
See the ":ref:`dev-manual/new-recipe:fetching code`" section for
additional information.
Here is an example that assumes the software has a ``COPYING`` file::
LIC_FILES_CHKSUM = "file://COPYING;md5=xxx"
When you try to build the
software, the build system will produce an error and give you the
correct string that you can substitute into the recipe file for a
subsequent build.
Tips and Guidelines for Writing Recipes
---------------------------------------
- Use :term:`BBCLASSEXTEND` instead of creating separate recipes such as ``-native``
and ``-nativesdk`` ones, whenever possible. This avoids having to maintain multiple
recipe files at the same time.
- Recipes should have tasks which are idempotent, i.e. that executing a given task
multiple times shouldn't change the end result. The build environment is built upon
this assumption and breaking it can cause obscure build failures.
- For idempotence when modifying files in tasks, it is usually best to:
- copy a file ``X`` to ``X.orig`` (only if it doesn't exist already)
- then, copy ``X.orig`` back to ``X``,
- and, finally, modify ``X``.
This ensures if rerun the task always has the same end result and the
original file can be preserved to reuse. It also guards against an
interrupted build corrupting the file.
Patch Upstream Status
=====================
In order to keep track of patches applied by recipes and ultimately reduce the
number of patches that need maintaining, the OpenEmbedded build system
requires information about the upstream status of each patch.
In its description, each patch should provide detailed information about the
bug that it addresses, such as the URL in a bug tracking system and links
to relevant mailing list archives.
Then, you should also add an ``Upstream-Status:`` tag containing one of the
following status strings:
``Pending``
No determination has been made yet, or patch has not yet been submitted to
upstream.
Keep in mind that every patch submitted upstream reduces the maintainance
burden in OpenEmbedded and Yocto Project in the long run, so this patch
status should only be used in exceptional cases if there are genuine
obstacles to submitting a patch upstream; the reason for that should be
included in the patch.
``Submitted [where]``
Submitted to upstream, waiting for approval. Optionally include where
it was submitted, such as the author, mailing list, etc.
``Backport [version]``
Accepted upstream and included in the next release, or backported from newer
upstream version, because we are at a fixed version.
Include upstream version info (e.g. commit ID or next expected version).
``Denied``
Not accepted by upstream, include reason in patch.
``Inactive-Upstream [lastcommit: when (and/or) lastrelease: when]``
The upstream is no longer available. This typically means a defunct project
where no activity has happened for a long time --- measured in years. To make
that judgement, it is recommended to look at not only when the last release
happened, but also when the last commit happened, and whether newly made bug
reports and merge requests since that time receive no reaction. It is also
recommended to add to the patch description any relevant links where the
inactivity can be clearly seen.
``Inappropriate [reason]``
The patch is not appropriate for upstream, include a brief reason on the
same line enclosed with ``[]``. In the past, there were several different
reasons not to submit patches upstream, but we have to consider that every
non-upstreamed patch means a maintainance burden for recipe maintainers.
Currently, the only reasons to mark patches as inappropriate for upstream
submission are:
- ``oe specific``: the issue is specific to how OpenEmbedded performs builds
or sets things up at runtime, and can be resolved only with a patch that
is not however relevant or appropriate for general upstream submission.
- ``upstream ticket <link>``: the issue is not specific to Open-Embedded
and should be fixed upstream, but the patch in its current form is not
suitable for merging upstream, and the author lacks sufficient expertise
to develop a proper patch. Instead the issue is handled via a bug report
(include link).
Of course, if another person later takes care of submitting this patch upstream,
the status should be changed to ``Submitted [where]``, and an additional
``Signed-off-by:`` line should be added to the patch by the person claiming
responsibility for upstreaming.
Examples
--------
Here's an example of a patch that has been submitted upstream::
rpm: Adjusted the foo setting in bar
[RPM Ticket #65] -- http://rpm5.org/cvs/tktview?tn=65,5
The foo setting in bar was decreased from X to X-50% in order to
ensure we don't exhaust all system memory with foobar threads.
Upstream-Status: Submitted [rpm5-devel@rpm5.org]
Signed-off-by: Joe Developer <joe.developer@example.com>
A future update can change the value to ``Backport`` or ``Denied`` as
appropriate.
Another example of a patch that is specific to OpenEmbedded::
Do not treat warnings as errors
There are additional warnings found with musl which are
treated as errors and fails the build, we have more combinations
than upstream supports to handle.
Upstream-Status: Inappropriate [oe specific]
Here's a patch that has been backported from an upstream commit::
include missing sys/file.h for LOCK_EX
Upstream-Status: Backport [https://github.com/systemd/systemd/commit/ac8db36cbc26694ee94beecc8dca208ec4b5fd45]
CVE patches
===========
In order to have a better control of vulnerabilities, patches that fix CVEs must
contain a ``CVE:`` tag. This tag list all CVEs fixed by the patch. If more than
one CVE is fixed, separate them using spaces.
CVE Examples
------------
This should be the header of patch that fixes :cve:`2015-8370` in GRUB2::
grub2: Fix CVE-2015-8370
[No upstream tracking] -- https://bugzilla.redhat.com/show_bug.cgi?id=1286966
Back to 28; Grub2 Authentication
Two functions suffer from integer underflow fault; the grub_username_get() and grub_password_get()located in
grub-core/normal/auth.c and lib/crypto.c respectively. This can be exploited to obtain a Grub rescue shell.
Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/grub.git/commit/?id=451d80e52d851432e109771bb8febafca7a5f1f2]
CVE: CVE-2015-8370
Signed-off-by: Joe Developer <joe.developer@example.com>

View File

@@ -0,0 +1,67 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Reporting a Defect Against the Yocto Project and OpenEmbedded
**************************************************************
You can use the Yocto Project instance of
`Bugzilla <https://www.bugzilla.org/about/>`__ to submit a defect (bug)
against BitBake, OpenEmbedded-Core, against any other Yocto Project component
or for tool issues. For additional information on this implementation of
Bugzilla see the ":ref:`Yocto Project Bugzilla <resources-bugtracker>`" section
in the Yocto Project Reference Manual. For more detail on any of the following
steps, see the Yocto Project
:yocto_wiki:`Bugzilla wiki page </Bugzilla_Configuration_and_Bug_Tracking>`.
Use the following general steps to submit a bug:
#. Open the Yocto Project implementation of :yocto_bugs:`Bugzilla <>`.
#. Click "File a Bug" to enter a new bug.
#. Choose the appropriate "Classification", "Product", and "Component"
for which the bug was found. Bugs for the Yocto Project fall into
one of several classifications, which in turn break down into
several products and components. For example, for a bug against the
``meta-intel`` layer, you would choose "Build System, Metadata &
Runtime", "BSPs", and "bsps-meta-intel", respectively.
#. Choose the "Version" of the Yocto Project for which you found the
bug (e.g. &DISTRO;).
#. Determine and select the "Severity" of the bug. The severity
indicates how the bug impacted your work.
#. Choose the "Hardware" that the bug impacts.
#. Choose the "Architecture" that the bug impacts.
#. Choose a "Documentation change" item for the bug. Fixing a bug might
or might not affect the Yocto Project documentation. If you are
unsure of the impact to the documentation, select "Don't Know".
#. Provide a brief "Summary" of the bug. Try to limit your summary to
just a line or two and be sure to capture the essence of the bug.
#. Provide a detailed "Description" of the bug. You should provide as
much detail as you can about the context, behavior, output, and so
forth that surrounds the bug. You can even attach supporting files
for output from logs by using the "Add an attachment" button.
#. Click the "Submit Bug" button submit the bug. A new Bugzilla number
is assigned to the bug and the defect is logged in the bug tracking
system.
Once you file a bug, the bug is processed by the Yocto Project Bug
Triage Team and further details concerning the bug are assigned (e.g.
priority and owner). You are the "Submitter" of the bug and any further
categorization, progress, or comments on the bug result in Bugzilla
sending you an automated email concerning the particular change or
progress to the bug.
There are no guarantees about if or when a bug might be worked on since an
open-source project has no dedicated engineering resources. However, the
project does have a good track record of resolving common issues over the
medium and long term. We do encourage people to file bugs so issues are
at least known about. It helps other users when they find somebody having
the same issue as they do, and an issue that is unknown is much less likely
to ever be fixed!

View File

@@ -0,0 +1,754 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Contributing Changes to a Component
************************************
Contributions to the Yocto Project and OpenEmbedded are very welcome.
Because the system is extremely configurable and flexible, we recognize
that developers will want to extend, configure or optimize it for their
specific uses.
.. _ref-why-mailing-lists:
Contributing through mailing lists --- Why not using web-based workflows?
=========================================================================
Both Yocto Project and OpenEmbedded have many key components that are
maintained by patches being submitted on mailing lists. We appreciate this
approach does look a little old fashioned when other workflows are available
through web technology such as GitHub, GitLab and others. Since we are often
asked this question, weve decided to document the reasons for using mailing
lists.
One significant factor is that we value peer review. When a change is proposed
to many of the core pieces of the project, it helps to have many eyes of review
go over them. Whilst there is ultimately one maintainer who needs to make the
final call on accepting or rejecting a patch, the review is made by many eyes
and the exact people reviewing it are likely unknown to the maintainer. It is
often the surprise reviewer that catches the most interesting issues!
This is in contrast to the "GitHub" style workflow where either just a
maintainer makes that review, or review is specifically requested from
nominated people. We believe there is significant value added to the codebase
by this peer review and that moving away from mailing lists would be to the
detriment of our code.
We also need to acknowledge that many of our developers are used to this
mailing list workflow and have worked with it for years, with tools and
processes built around it. Changing away from this would result in a loss
of key people from the project, which would again be to its detriment.
The projects are acutely aware that potential new contributors find the
mailing list approach off-putting and would prefer a web-based GUI.
Since we dont believe that can work for us, the project is aiming to ensure
`patchwork <https://patchwork.yoctoproject.org/>`__ is available to help track
patch status and also looking at how tooling can provide more feedback to users
about patch status. We are looking at improving tools such as ``patchtest`` to
test user contributions before they hit the mailing lists and also at better
documenting how to use such workflows since we recognise that whilst this was
common knowledge a decade ago, it might not be as familiar now.
Preparing Changes for Submission
================================
Set up Git
----------
The first thing to do is to install Git packages. Here is an example
on Debian and Ubuntu::
sudo aptitude install git-core git-email
Then, you need to set a name and e-mail address that Git will
use to identify your commits::
git config --global user.name "Ada Lovelace"
git config --global user.email "ada.lovelace@gmail.com"
Clone the Git repository for the component to modify
----------------------------------------------------
After identifying the component to modify as described in the
":doc:`../contributor-guide/identify-component`" section, clone the
corresponding Git repository. Here is an example for OpenEmbedded-Core::
git clone https://git.openembedded.org/openembedded-core
cd openembedded-core
Create a new branch
-------------------
Then, create a new branch in your local Git repository
for your changes, starting from the reference branch in the upstream
repository (often called ``master``)::
$ git checkout <ref-branch>
$ git checkout -b my-changes
If you have completely unrelated sets of changes to submit, you should even
create one branch for each set.
Implement and commit changes
----------------------------
In each branch, you should group your changes into small, controlled and
isolated ones. Keeping changes small and isolated aids review, makes
merging/rebasing easier and keeps the change history clean should anyone need
to refer to it in future.
To this purpose, you should create *one Git commit per change*,
corresponding to each of the patches you will eventually submit.
See `further guidance <https://www.kernel.org/doc/html/latest/process/submitting-patches.html#separate-your-changes>`__
in the Linux kernel documentation if needed.
For example, when you intend to add multiple new recipes, each recipe
should be added in a separate commit. For upgrades to existing recipes,
the previous version should usually be deleted as part of the same commit
to add the upgraded version.
#. *Stage Your Changes:* Stage your changes by using the ``git add``
command on each file you modified. If you want to stage all the
files you modified, you can even use the ``git add -A`` command.
#. *Commit Your Changes:* This is when you can create separate commits. For
each commit to create, use the ``git commit -s`` command with the files
or directories you want to include in the commit::
$ git commit -s file1 file2 dir1 dir2 ...
To include **a**\ ll staged files::
$ git commit -sa
- The ``-s`` option of ``git commit`` adds a "Signed-off-by:" line
to your commit message. There is the same requirement for contributing
to the Linux kernel. Adding such a line signifies that you, the
submitter, have agreed to the `Developer's Certificate of Origin 1.1
<https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin>`__
as follows:
.. code-block:: none
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
- Provide a single-line summary of the change and, if more
explanation is needed, provide more detail in the body of the
commit. This summary is typically viewable in the "shortlist" of
changes. Thus, providing something short and descriptive that
gives the reader a summary of the change is useful when viewing a
list of many commits. You should prefix this short description
with the recipe name (if changing a recipe), or else with the
short form path to the file being changed.
.. note::
To find a suitable prefix for the commit summary, a good idea
is to look for prefixes used in previous commits touching the
same files or directories::
git log --oneline <paths>
- For the body of the commit message, provide detailed information
that describes what you changed, why you made the change, and the
approach you used. It might also be helpful if you mention how you
tested the change. Provide as much detail as you can in the body
of the commit message.
.. note::
If the single line summary is enough to describe a simple
change, the body of the commit message can be left empty.
- If the change addresses a specific bug or issue that is associated
with a bug-tracking ID, include a reference to that ID in your
detailed description. For example, the Yocto Project uses a
specific convention for bug references --- any commit that addresses
a specific bug should use the following form for the detailed
description. Be sure to use the actual bug-tracking ID from
Bugzilla for bug-id::
Fixes [YOCTO #bug-id]
detailed description of change
#. *Crediting contributors:* By using the ``git commit --amend`` command,
you can add some tags to the commit description to credit other contributors
to the change:
- ``Reported-by``: name and email of a person reporting a bug
that your commit is trying to fix. This is a good practice
to encourage people to go on reporting bugs and let them
know that their reports are taken into account.
- ``Suggested-by``: name and email of a person to credit for the
idea of making the change.
- ``Tested-by``, ``Reviewed-by``: name and email for people having
tested your changes or reviewed their code. These fields are
usually added by the maintainer accepting a patch, or by
yourself if you submitted your patches to early reviewers,
or are submitting an unmodified patch again as part of a
new iteration of your patch series.
- ``CC:`` Name and email of people you want to send a copy
of your changes to. This field will be used by ``git send-email``.
See `more guidance about using such tags
<https://www.kernel.org/doc/html/latest/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes>`__
in the Linux kernel documentation.
Creating Patches
================
Here is the general procedure on how to create patches to be sent through email:
#. *Describe the Changes in your Branch:* If you have more than one commit
in your branch, it's recommended to provide a cover letter describing
the series of patches you are about to send.
For this purpose, a good solution is to store the cover letter contents
in the branch itself::
git branch --edit-description
This will open a text editor to fill in the description for your
changes. This description can be updated when necessary and will
be used by Git to create the cover letter together with the patches.
It is recommended to start this description with a title line which
will serve a the subject line for the cover letter.
#. *Generate Patches for your Branch:* The ``git format-patch`` command will
generate patch files for each of the commits in your branch. You need
to pass the reference branch your branch starts from.
If you branch didn't need a description in the previous step::
$ git format-patch <ref-branch>
If you filled a description for your branch, you will want to generate
a cover letter too::
$ git format-patch --cover-letter --cover-from-description=auto <ref-branch>
After the command is run, the current directory contains numbered
``.patch`` files for the commits in your branch. If you have a cover
letter, it will be in the ``0000-cover-letter.patch``.
.. note::
The ``--cover-from-description=auto`` option makes ``git format-patch``
use the first paragraph of the branch description as the cover
letter title. Another possibility, which is easier to remember, is to pass
only the ``--cover-letter`` option, but you will have to edit the
subject line manually every time you generate the patches.
See the `git format-patch manual page <https://git-scm.com/docs/git-format-patch>`__
for details.
#. *Review each of the Patch Files:* This final review of the patches
before sending them often allows to view your changes from a different
perspective and discover defects such as typos, spacing issues or lines
or even files that you didn't intend to modify. This review should
include the cover letter patch too.
If necessary, rework your commits as described in
":ref:`contributor-guide/submit-changes:taking patch review into account`".
Sending the Patches via Email
=============================
Using Git to Send Patches
-------------------------
To submit patches through email, it is very important that you send them
without any whitespace or HTML formatting that either you or your mailer
introduces. The maintainer that receives your patches needs to be able
to save and apply them directly from your emails, using the ``git am``
command.
Using the ``git send-email`` command is the only error-proof way of sending
your patches using email since there is no risk of compromising whitespace
in the body of the message, which can occur when you use your own mail
client. It will also properly include your patches as *inline attachments*,
which is not easy to do with standard e-mail clients without breaking lines.
If you used your regular e-mail client and shared your patches as regular
attachments, reviewers wouldn't be able to quote specific sections of your
changes and make comments about them.
Setting up Git to Send Email
----------------------------
The ``git send-email`` command can send email by using a local or remote
Mail Transport Agent (MTA) such as ``msmtp``, ``sendmail``, or
through a direct SMTP configuration in your Git ``~/.gitconfig`` file.
Here are the settings for letting ``git send-email`` send e-mail through your
regular STMP server, using a Google Mail account as an example::
git config --global sendemail.smtpserver smtp.gmail.com
git config --global sendemail.smtpserverport 587
git config --global sendemail.smtpencryption tls
git config --global sendemail.smtpuser ada.lovelace@gmail.com
git config --global sendemail.smtppass = XXXXXXXX
These settings will appear in the ``.gitconfig`` file in your home directory.
If you neither can use a local MTA nor SMTP, make sure you use an email client
that does not touch the message (turning spaces in tabs, wrapping lines, etc.).
A good mail client to do so is Pine (or Alpine) or Mutt. For more
information about suitable clients, see `Email clients info for Linux
<https://www.kernel.org/doc/html/latest/process/email-clients.html>`__
in the Linux kernel sources.
If you use such clients, just include the patch in the body of your email.
Finding a Suitable Mailing List
-------------------------------
You should send patches to the appropriate mailing list so that they can be
reviewed by the right contributors and merged by the appropriate maintainer.
The specific mailing list you need to use depends on the location of the code
you are changing.
If people have concerns with any of the patches, they will usually voice
their concern over the mailing list. If patches do not receive any negative
reviews, the maintainer of the affected layer typically takes them, tests them,
and then based on successful testing, merges them.
In general, each component (e.g. layer) should have a ``README`` file
that indicates where to send the changes and which process to follow.
The "poky" repository, which is the Yocto Project's reference build
environment, is a hybrid repository that contains several individual
pieces (e.g. BitBake, Metadata, documentation, and so forth) built using
the combo-layer tool. The upstream location used for submitting changes
varies by component:
- *Core Metadata:* Send your patches to the
:oe_lists:`openembedded-core </g/openembedded-core>`
mailing list. For example, a change to anything under the ``meta`` or
``scripts`` directories should be sent to this mailing list.
- *BitBake:* For changes to BitBake (i.e. anything under the
``bitbake`` directory), send your patches to the
:oe_lists:`bitbake-devel </g/bitbake-devel>`
mailing list.
- *"meta-\*" trees:* These trees contain Metadata. Use the
:yocto_lists:`poky </g/poky>` mailing list.
- *Documentation*: For changes to the Yocto Project documentation, use the
:yocto_lists:`docs </g/docs>` mailing list.
For changes to other layers and tools hosted in the Yocto Project source
repositories (i.e. :yocto_git:`git.yoctoproject.org <>`), use the
:yocto_lists:`yocto </g/yocto/>` general mailing list.
For changes to other layers hosted in the OpenEmbedded source
repositories (i.e. :oe_git:`git.openembedded.org <>`), use
the :oe_lists:`openembedded-devel </g/openembedded-devel>`
mailing list, unless specified otherwise in the layer's ``README`` file.
If you intend to submit a new recipe that neither fits into the core Metadata,
nor into :oe_git:`meta-openembedded </meta-openembedded/>`, you should
look for a suitable layer in https://layers.openembedded.org. If similar
recipes can be expected, you may consider :ref:`dev-manual/layers:creating your own layer`.
If in doubt, please ask on the :yocto_lists:`yocto </g/yocto/>` general mailing list
or on the :oe_lists:`openembedded-devel </g/openembedded-devel>` mailing list.
Subscribing to the Mailing List
-------------------------------
After identifying the right mailing list to use, you will have to subscribe to
it if you haven't done it yet.
If you attempt to send patches to a list you haven't subscribed to, your email
will be returned as undelivered.
However, if you don't want to be receive all the messages sent to a mailing list,
you can set your subscription to "no email". You will still be a subscriber able
to send messages, but you won't receive any e-mail. If people reply to your message,
their e-mail clients will default to including your email address in the
conversation anyway.
Anyway, you'll also be able to access the new messages on mailing list archives,
either through a web browser, or for the lists archived on https://lore.kernelorg,
through an individual newsgroup feed or a git repository.
Sending Patches via Email
-------------------------
At this stage, you are ready to send your patches via email. Here's the
typical usage of ``git send-email``::
git send-email --to <mailing-list-address> *.patch
Then, review each subject line and list of recipients carefully, and then
and then allow the command to send each message.
You will see that ``git send-email`` will automatically copy the people listed
in any commit tags such as ``Signed-off-by`` or ``Reported-by``.
In case you are sending patches for :oe_git:`meta-openembedded </meta-openembedded/>`
or any layer other than :oe_git:`openembedded-core </openembedded-core/>`,
please add the appropriate prefix so that it is clear which layer the patch is intended
to be applied to::
git send-email --subject-prefix="meta-oe][PATCH" ...
.. note::
It is actually possible to send patches without generating them
first. However, make sure you have reviewed your changes carefully
because ``git send-email`` will just show you the title lines of
each patch.
Here's a command you can use if you just have one patch in your
branch::
git send-email --to <mailing-list-address> -1
If you have multiple patches and a cover letter, you can send
patches for all the commits between the reference branch
and the tip of your branch::
git send-email --cover-letter --cover-from-description=auto --to <mailing-list-address> -M <ref-branch>
See the `git send-email manual page <https://git-scm.com/docs/git-send-email>`__
for details.
Troubleshooting Email Issues
----------------------------
Fixing your From identity
~~~~~~~~~~~~~~~~~~~~~~~~~
We have a frequent issue with contributors whose patches are received through
a ``From`` field which doesn't match the ``Signed-off-by`` information. Here is
a typical example for people sending from a domain name with :wikipedia:`DMARC`::
From: "Linus Torvalds via lists.openembedded.org <linus.torvalds=kernel.org@lists.openembedded.org>"
This ``From`` field is used by ``git am`` to recreate commits with the right
author name. The following will ensure that your e-mails have an additional
``From`` field at the beginning of the Email body, and therefore that
maintainers accepting your patches don't have to fix commit author information
manually::
git config --global sendemail.from "linus.torvalds@kernel.org"
The ``sendemail.from`` should match your ``user.email`` setting,
which appears in the ``Signed-off-by`` line of your commits.
Streamlining git send-email usage
---------------------------------
If you want to save time and not be forced to remember the right options to use
with ``git send-email``, you can use Git configuration settings.
- To set the right mailing list address for a given repository::
git config --local sendemail.to openembedded-devel@lists.openembedded.org
- If the mailing list requires a subject prefix for the layer
(this only works when the repository only contains one layer)::
git config --local format.subjectprefix "meta-something][PATCH"
Using Scripts to Push a Change Upstream and Request a Pull
==========================================================
For larger patch series it is preferable to send a pull request which not
only includes the patch but also a pointer to a branch that can be pulled
from. This involves making a local branch for your changes, pushing this
branch to an accessible repository and then using the ``create-pull-request``
and ``send-pull-request`` scripts from openembedded-core to create and send a
patch series with a link to the branch for review.
Follow this procedure to push a change to an upstream "contrib" Git
repository once the steps in
":ref:`contributor-guide/submit-changes:preparing changes for submission`"
have been followed:
.. note::
You can find general Git information on how to push a change upstream
in the
`Git Community Book <https://git-scm.com/book/en/v2/Distributed-Git-Distributed-Workflows>`__.
#. *Request Push Access to an "Upstream" Contrib Repository:* Send an email to
``helpdesk@yoctoproject.org``:
- Attach your SSH public key which usually named ``id_rsa.pub.``.
If you don't have one generate it by running ``ssh-keygen -t rsa -b 4096 -C "your_email@example.com"``.
- List the repositories you're planning to contribute to.
- Include your preferred branch prefix for ``-contrib`` repositories.
#. *Push Your Commits to the "Contrib" Upstream:* Push your
changes to that repository::
$ git push upstream_remote_repo local_branch_name
For example, suppose you have permissions to push
into the upstream ``meta-intel-contrib`` repository and you are
working in a local branch named `your_name`\ ``/README``. The following
command pushes your local commits to the ``meta-intel-contrib``
upstream repository and puts the commit in a branch named
`your_name`\ ``/README``::
$ git push meta-intel-contrib your_name/README
#. *Determine Who to Notify:* Determine the maintainer or the mailing
list that you need to notify for the change.
Before submitting any change, you need to be sure who the maintainer
is or what mailing list that you need to notify. Use either these
methods to find out:
- *Maintenance File:* Examine the ``maintainers.inc`` file, which is
located in the :term:`Source Directory` at
``meta/conf/distro/include``, to see who is responsible for code.
- *Search by File:* Using :ref:`overview-manual/development-environment:git`, you can
enter the following command to bring up a short list of all
commits against a specific file::
git shortlog -- filename
Just provide the name of the file for which you are interested. The
information returned is not ordered by history but does include a
list of everyone who has committed grouped by name. From the list,
you can see who is responsible for the bulk of the changes against
the file.
- *Find the Mailing List to Use:* See the
":ref:`contributor-guide/submit-changes:finding a suitable mailing list`"
section above.
#. *Make a Pull Request:* Notify the maintainer or the mailing list that
you have pushed a change by making a pull request.
The Yocto Project provides two scripts that conveniently let you
generate and send pull requests to the Yocto Project. These scripts
are ``create-pull-request`` and ``send-pull-request``. You can find
these scripts in the ``scripts`` directory within the
:term:`Source Directory` (e.g.
``poky/scripts``).
Using these scripts correctly formats the requests without
introducing any whitespace or HTML formatting. The maintainer that
receives your patches either directly or through the mailing list
needs to be able to save and apply them directly from your emails.
Using these scripts is the preferred method for sending patches.
First, create the pull request. For example, the following command
runs the script, specifies the upstream repository in the contrib
directory into which you pushed the change, and provides a subject
line in the created patch files::
$ poky/scripts/create-pull-request -u meta-intel-contrib -s "Updated Manual Section Reference in README"
Running this script forms ``*.patch`` files in a folder named
``pull-``\ `PID` in the current directory. One of the patch files is a
cover letter.
Before running the ``send-pull-request`` script, you must edit the
cover letter patch to insert information about your change. After
editing the cover letter, send the pull request. For example, the
following command runs the script and specifies the patch directory
and email address. In this example, the email address is a mailing
list::
$ poky/scripts/send-pull-request -p ~/meta-intel/pull-10565 -t meta-intel@lists.yoctoproject.org
You need to follow the prompts as the script is interactive.
.. note::
For help on using these scripts, simply provide the ``-h``
argument as follows::
$ poky/scripts/create-pull-request -h
$ poky/scripts/send-pull-request -h
Submitting Changes to Stable Release Branches
=============================================
The process for proposing changes to a Yocto Project stable branch differs
from the steps described above. Changes to a stable branch must address
identified bugs or CVEs and should be made carefully in order to avoid the
risk of introducing new bugs or breaking backwards compatibility. Typically
bug fixes must already be accepted into the master branch before they can be
backported to a stable branch unless the bug in question does not affect the
master branch or the fix on the master branch is unsuitable for backporting.
The list of stable branches along with the status and maintainer for each
branch can be obtained from the
:yocto_wiki:`Releases wiki page </Releases>`.
.. note::
Changes will not typically be accepted for branches which are marked as
End-Of-Life (EOL).
With this in mind, the steps to submit a change for a stable branch are as
follows:
#. *Identify the bug or CVE to be fixed:* This information should be
collected so that it can be included in your submission.
See :ref:`dev-manual/vulnerabilities:checking for vulnerabilities`
for details about CVE tracking.
#. *Check if the fix is already present in the master branch:* This will
result in the most straightforward path into the stable branch for the
fix.
#. *If the fix is present in the master branch --- submit a backport request
by email:* You should send an email to the relevant stable branch
maintainer and the mailing list with details of the bug or CVE to be
fixed, the commit hash on the master branch that fixes the issue and
the stable branches which you would like this fix to be backported to.
#. *If the fix is not present in the master branch --- submit the fix to the
master branch first:* This will ensure that the fix passes through the
project's usual patch review and test processes before being accepted.
It will also ensure that bugs are not left unresolved in the master
branch itself. Once the fix is accepted in the master branch a backport
request can be submitted as above.
#. *If the fix is unsuitable for the master branch --- submit a patch
directly for the stable branch:* This method should be considered as a
last resort. It is typically necessary when the master branch is using
a newer version of the software which includes an upstream fix for the
issue or when the issue has been fixed on the master branch in a way
that introduces backwards incompatible changes. In this case follow the
steps in ":ref:`contributor-guide/submit-changes:preparing changes for submission`"
and in the following sections but modify the subject header of your patch
email to include the name of the stable branch which you are
targetting. This can be done using the ``--subject-prefix`` argument to
``git format-patch``, for example to submit a patch to the
"&DISTRO_NAME_NO_CAP_MINUS_ONE;" branch use::
git format-patch --subject-prefix='&DISTRO_NAME_NO_CAP_MINUS_ONE;][PATCH' ...
Taking Patch Review into Account
================================
You may get feedback on your submitted patches from other community members
or from the automated patchtest service. If issues are identified in your
patches then it is usually necessary to address these before the patches are
accepted into the project. In this case you should your commits according
to the feedback and submit an updated version to the relevant mailing list.
In any case, never fix reported issues by fixing them in new commits
on the tip of your branch. Always come up with a new series of commits
without the reported issues.
.. note::
It is a good idea to send a copy to the reviewers who provided feedback
to the previous version of the patch. You can make sure this happens
by adding a ``CC`` tag to the commit description::
CC: William Shakespeare <bill@yoctoproject.org>
A single patch can be amended using ``git commit --amend``, and multiple
patches can be easily reworked and reordered through an interactive Git rebase::
git rebase -i <ref-branch>
See `this tutorial <https://hackernoon.com/beginners-guide-to-interactive-rebasing-346a3f9c3a6d>`__
for practical guidance about using Git interactive rebasing.
You should also modify the ``[PATCH]`` tag in the email subject line when
sending the revised patch to mark the new iteration as ``[PATCH v2]``,
``[PATCH v3]``, etc as appropriate. This can be done by passing the ``-v``
argument to ``git format-patch`` with a version number::
git format-patch -v2 <ref-branch>
Lastly please ensure that you also test your revised changes. In particular
please don't just edit the patch file written out by ``git format-patch`` and
resend it.
Tracking the Status of Patches
==============================
The Yocto Project uses a `Patchwork instance <https://patchwork.yoctoproject.org/>`__
to track the status of patches submitted to the various mailing lists and to
support automated patch testing. Each submitted patch is checked for common
mistakes and deviations from the expected patch format and submitters are
notified by ``patchtest`` if such mistakes are found. This process helps to
reduce the burden of patch review on maintainers.
.. note::
This system is imperfect and changes can sometimes get lost in the flow.
Asking about the status of a patch or change is reasonable if the change
has been idle for a while with no feedback.
If your patches have not had any feedback in a few days, they may have already
been merged. You can run ``git pull`` branch to check this. Note that many if
not most layer maintainers do not send out acknowledgement emails when they
accept patches. Alternatively, if there is no response or merge after a few days
the patch may have been missed or the appropriate reviewers may not currently be
around. It is then perfectly fine to reply to it yourself with a reminder asking
for feedback.
.. note::
Patch reviews for feature and recipe upgrade patches are likely be delayed
during a feature freeze because these types of patches aren't merged during
at that time --- you may have to wait until after the freeze is lifted.
Maintainers also commonly use ``-next`` branches to test submissions prior to
merging patches. Thus, you can get an idea of the status of a patch based on
whether the patch has been merged into one of these branches. The commonly
used testing branches for OpenEmbedded-Core are as follows:
- *openembedded-core "master-next" branch:* This branch is part of the
:oe_git:`openembedded-core </openembedded-core/>` repository and contains
proposed changes to the core metadata.
- *poky "master-next" branch:* This branch is part of the
:yocto_git:`poky </poky/>` repository and combines proposed
changes to BitBake, the core metadata and the poky distro.
Similarly, stable branches maintained by the project may have corresponding
``-next`` branches which collect proposed changes. For example,
``&DISTRO_NAME_NO_CAP;-next`` and ``&DISTRO_NAME_NO_CAP_MINUS_ONE;-next``
branches in both the "openembdedded-core" and "poky" repositories.
Other layers may have similar testing branches but there is no formal
requirement or standard for these so please check the documentation for the
layers you are contributing to.

View File

@@ -273,12 +273,12 @@ loading modules needed to locate and mount the final root filesystem.
Follow these steps to create an :term:`Initramfs` image:
#. *Create the :term:`Initramfs` Image Recipe:* You can reference the
#. *Create the Initramfs Image Recipe:* You can reference the
``core-image-minimal-initramfs.bb`` recipe found in the
``meta/recipes-core`` directory of the :term:`Source Directory`
as an example from which to work.
#. *Decide if You Need to Bundle the :term:`Initramfs` Image Into the Kernel
#. *Decide if You Need to Bundle the Initramfs Image Into the Kernel
Image:* If you want the :term:`Initramfs` image that is built to be bundled
in with the kernel image, set the :term:`INITRAMFS_IMAGE_BUNDLE`
variable to ``"1"`` in your ``local.conf`` configuration file and set the

View File

@@ -1,525 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Making Changes to the Yocto Project
***********************************
Because the Yocto Project is an open-source, community-based project,
you can effect changes to the project. This section presents procedures
that show you how to submit a defect against the project and how to
submit a change.
Submitting a Defect Against the Yocto Project
=============================================
Use the Yocto Project implementation of
`Bugzilla <https://www.bugzilla.org/about/>`__ to submit a defect (bug)
against the Yocto Project. For additional information on this
implementation of Bugzilla see the ":ref:`Yocto Project
Bugzilla <resources-bugtracker>`" section in the
Yocto Project Reference Manual. For more detail on any of the following
steps, see the Yocto Project
:yocto_wiki:`Bugzilla wiki page </Bugzilla_Configuration_and_Bug_Tracking>`.
Use the following general steps to submit a bug:
#. Open the Yocto Project implementation of :yocto_bugs:`Bugzilla <>`.
#. Click "File a Bug" to enter a new bug.
#. Choose the appropriate "Classification", "Product", and "Component"
for which the bug was found. Bugs for the Yocto Project fall into
one of several classifications, which in turn break down into
several products and components. For example, for a bug against the
``meta-intel`` layer, you would choose "Build System, Metadata &
Runtime", "BSPs", and "bsps-meta-intel", respectively.
#. Choose the "Version" of the Yocto Project for which you found the
bug (e.g. &DISTRO;).
#. Determine and select the "Severity" of the bug. The severity
indicates how the bug impacted your work.
#. Choose the "Hardware" that the bug impacts.
#. Choose the "Architecture" that the bug impacts.
#. Choose a "Documentation change" item for the bug. Fixing a bug might
or might not affect the Yocto Project documentation. If you are
unsure of the impact to the documentation, select "Don't Know".
#. Provide a brief "Summary" of the bug. Try to limit your summary to
just a line or two and be sure to capture the essence of the bug.
#. Provide a detailed "Description" of the bug. You should provide as
much detail as you can about the context, behavior, output, and so
forth that surrounds the bug. You can even attach supporting files
for output from logs by using the "Add an attachment" button.
#. Click the "Submit Bug" button submit the bug. A new Bugzilla number
is assigned to the bug and the defect is logged in the bug tracking
system.
Once you file a bug, the bug is processed by the Yocto Project Bug
Triage Team and further details concerning the bug are assigned (e.g.
priority and owner). You are the "Submitter" of the bug and any further
categorization, progress, or comments on the bug result in Bugzilla
sending you an automated email concerning the particular change or
progress to the bug.
Submitting a Change to the Yocto Project
========================================
Contributions to the Yocto Project and OpenEmbedded are very welcome.
Because the system is extremely configurable and flexible, we recognize
that developers will want to extend, configure or optimize it for their
specific uses.
The Yocto Project uses a mailing list and a patch-based workflow that is
similar to the Linux kernel but contains important differences. In
general, there is a mailing list through which you can submit patches. You
should send patches to the appropriate mailing list so that they can be
reviewed and merged by the appropriate maintainer. The specific mailing
list you need to use depends on the location of the code you are
changing. Each component (e.g. layer) should have a ``README`` file that
indicates where to send the changes and which process to follow.
You can send the patch to the mailing list using whichever approach you
feel comfortable with to generate the patch. Once sent, the patch is
usually reviewed by the community at large. If somebody has concerns
with the patch, they will usually voice their concern over the mailing
list. If a patch does not receive any negative reviews, the maintainer
of the affected layer typically takes the patch, tests it, and then
based on successful testing, merges the patch.
The "poky" repository, which is the Yocto Project's reference build
environment, is a hybrid repository that contains several individual
pieces (e.g. BitBake, Metadata, documentation, and so forth) built using
the combo-layer tool. The upstream location used for submitting changes
varies by component:
- *Core Metadata:* Send your patch to the
:oe_lists:`openembedded-core </g/openembedded-core>`
mailing list. For example, a change to anything under the ``meta`` or
``scripts`` directories should be sent to this mailing list.
- *BitBake:* For changes to BitBake (i.e. anything under the
``bitbake`` directory), send your patch to the
:oe_lists:`bitbake-devel </g/bitbake-devel>`
mailing list.
- *"meta-\*" trees:* These trees contain Metadata. Use the
:yocto_lists:`poky </g/poky>` mailing list.
- *Documentation*: For changes to the Yocto Project documentation, use the
:yocto_lists:`docs </g/docs>` mailing list.
For changes to other layers hosted in the Yocto Project source
repositories (i.e. ``yoctoproject.org``) and tools use the
:yocto_lists:`Yocto Project </g/yocto/>` general mailing list.
.. note::
Sometimes a layer's documentation specifies to use a particular
mailing list. If so, use that list.
For additional recipes that do not fit into the core Metadata, you
should determine which layer the recipe should go into and submit the
change in the manner recommended by the documentation (e.g. the
``README`` file) supplied with the layer. If in doubt, please ask on the
Yocto general mailing list or on the openembedded-devel mailing list.
You can also push a change upstream and request a maintainer to pull the
change into the component's upstream repository. You do this by pushing
to a contribution repository that is upstream. See the
":ref:`overview-manual/development-environment:git workflows and the yocto project`"
section in the Yocto Project Overview and Concepts Manual for additional
concepts on working in the Yocto Project development environment.
Maintainers commonly use ``-next`` branches to test submissions prior to
merging patches. Thus, you can get an idea of the status of a patch based on
whether the patch has been merged into one of these branches. The commonly
used testing branches for OpenEmbedded-Core are as follows:
- *openembedded-core "master-next" branch:* This branch is part of the
:oe_git:`openembedded-core </openembedded-core/>` repository and contains
proposed changes to the core metadata.
- *poky "master-next" branch:* This branch is part of the
:yocto_git:`poky </poky/>` repository and combines proposed
changes to BitBake, the core metadata and the poky distro.
Similarly, stable branches maintained by the project may have corresponding
``-next`` branches which collect proposed changes. For example,
``&DISTRO_NAME_NO_CAP;-next`` and ``&DISTRO_NAME_NO_CAP_MINUS_ONE;-next``
branches in both the "openembdedded-core" and "poky" repositories.
Other layers may have similar testing branches but there is no formal
requirement or standard for these so please check the documentation for the
layers you are contributing to.
The following sections provide procedures for submitting a change.
Preparing Changes for Submission
--------------------------------
#. *Make Your Changes Locally:* Make your changes in your local Git
repository. You should make small, controlled, isolated changes.
Keeping changes small and isolated aids review, makes
merging/rebasing easier and keeps the change history clean should
anyone need to refer to it in future.
#. *Stage Your Changes:* Stage your changes by using the ``git add``
command on each file you changed.
#. *Commit Your Changes:* Commit the change by using the ``git commit``
command. Make sure your commit information follows standards by
following these accepted conventions:
- Be sure to include a "Signed-off-by:" line in the same style as
required by the Linux kernel. This can be done by using the
``git commit -s`` command. Adding this line signifies that you,
the submitter, have agreed to the Developer's Certificate of
Origin 1.1 as follows:
.. code-block:: none
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
- Provide a single-line summary of the change and, if more
explanation is needed, provide more detail in the body of the
commit. This summary is typically viewable in the "shortlist" of
changes. Thus, providing something short and descriptive that
gives the reader a summary of the change is useful when viewing a
list of many commits. You should prefix this short description
with the recipe name (if changing a recipe), or else with the
short form path to the file being changed.
- For the body of the commit message, provide detailed information
that describes what you changed, why you made the change, and the
approach you used. It might also be helpful if you mention how you
tested the change. Provide as much detail as you can in the body
of the commit message.
.. note::
You do not need to provide a more detailed explanation of a
change if the change is minor to the point of the single line
summary providing all the information.
- If the change addresses a specific bug or issue that is associated
with a bug-tracking ID, include a reference to that ID in your
detailed description. For example, the Yocto Project uses a
specific convention for bug references --- any commit that addresses
a specific bug should use the following form for the detailed
description. Be sure to use the actual bug-tracking ID from
Bugzilla for bug-id::
Fixes [YOCTO #bug-id]
detailed description of change
Using Email to Submit a Patch
-----------------------------
Depending on the components changed, you need to submit the email to a
specific mailing list. For some guidance on which mailing list to use,
see the
:ref:`list <dev-manual/changes:submitting a change to the yocto project>`
at the beginning of this section. For a description of all the available
mailing lists, see the ":ref:`Mailing Lists <resources-mailinglist>`" section in the
Yocto Project Reference Manual.
Here is the general procedure on how to submit a patch through email
without using the scripts once the steps in
:ref:`dev-manual/changes:preparing changes for submission` have been followed:
#. *Format the Commit:* Format the commit into an email message. To
format commits, use the ``git format-patch`` command. When you
provide the command, you must include a revision list or a number of
patches as part of the command. For example, either of these two
commands takes your most recent single commit and formats it as an
email message in the current directory::
$ git format-patch -1
or ::
$ git format-patch HEAD~
After the command is run, the current directory contains a numbered
``.patch`` file for the commit.
If you provide several commits as part of the command, the
``git format-patch`` command produces a series of numbered files in
the current directory one for each commit. If you have more than
one patch, you should also use the ``--cover`` option with the
command, which generates a cover letter as the first "patch" in the
series. You can then edit the cover letter to provide a description
for the series of patches. For information on the
``git format-patch`` command, see ``GIT_FORMAT_PATCH(1)`` displayed
using the ``man git-format-patch`` command.
.. note::
If you are or will be a frequent contributor to the Yocto Project
or to OpenEmbedded, you might consider requesting a contrib area
and the necessary associated rights.
#. *Send the patches via email:* Send the patches to the recipients and
relevant mailing lists by using the ``git send-email`` command.
.. note::
In order to use ``git send-email``, you must have the proper Git packages
installed on your host.
For Ubuntu, Debian, and Fedora the package is ``git-email``.
The ``git send-email`` command sends email by using a local or remote
Mail Transport Agent (MTA) such as ``msmtp``, ``sendmail``, or
through a direct ``smtp`` configuration in your Git ``~/.gitconfig``
file. If you are submitting patches through email only, it is very
important that you submit them without any whitespace or HTML
formatting that either you or your mailer introduces. The maintainer
that receives your patches needs to be able to save and apply them
directly from your emails. A good way to verify that what you are
sending will be applicable by the maintainer is to do a dry run and
send them to yourself and then save and apply them as the maintainer
would.
The ``git send-email`` command is the preferred method for sending
your patches using email since there is no risk of compromising
whitespace in the body of the message, which can occur when you use
your own mail client. The command also has several options that let
you specify recipients and perform further editing of the email
message. For information on how to use the ``git send-email``
command, see ``GIT-SEND-EMAIL(1)`` displayed using the
``man git-send-email`` command.
The Yocto Project uses a `Patchwork instance <https://patchwork.yoctoproject.org/>`__
to track the status of patches submitted to the various mailing lists and to
support automated patch testing. Each submitted patch is checked for common
mistakes and deviations from the expected patch format and submitters are
notified by patchtest if such mistakes are found. This process helps to
reduce the burden of patch review on maintainers.
.. note::
This system is imperfect and changes can sometimes get lost in the flow.
Asking about the status of a patch or change is reasonable if the change
has been idle for a while with no feedback.
Using Scripts to Push a Change Upstream and Request a Pull
----------------------------------------------------------
For larger patch series it is preferable to send a pull request which not
only includes the patch but also a pointer to a branch that can be pulled
from. This involves making a local branch for your changes, pushing this
branch to an accessible repository and then using the ``create-pull-request``
and ``send-pull-request`` scripts from openembedded-core to create and send a
patch series with a link to the branch for review.
Follow this procedure to push a change to an upstream "contrib" Git
repository once the steps in :ref:`dev-manual/changes:preparing changes for submission` have
been followed:
.. note::
You can find general Git information on how to push a change upstream
in the
`Git Community Book <https://git-scm.com/book/en/v2/Distributed-Git-Distributed-Workflows>`__.
#. *Push Your Commits to a "Contrib" Upstream:* If you have arranged for
permissions to push to an upstream contrib repository, push the
change to that repository::
$ git push upstream_remote_repo local_branch_name
For example, suppose you have permissions to push
into the upstream ``meta-intel-contrib`` repository and you are
working in a local branch named `your_name`\ ``/README``. The following
command pushes your local commits to the ``meta-intel-contrib``
upstream repository and puts the commit in a branch named
`your_name`\ ``/README``::
$ git push meta-intel-contrib your_name/README
#. *Determine Who to Notify:* Determine the maintainer or the mailing
list that you need to notify for the change.
Before submitting any change, you need to be sure who the maintainer
is or what mailing list that you need to notify. Use either these
methods to find out:
- *Maintenance File:* Examine the ``maintainers.inc`` file, which is
located in the :term:`Source Directory` at
``meta/conf/distro/include``, to see who is responsible for code.
- *Search by File:* Using :ref:`overview-manual/development-environment:git`, you can
enter the following command to bring up a short list of all
commits against a specific file::
git shortlog -- filename
Just provide the name of the file for which you are interested. The
information returned is not ordered by history but does include a
list of everyone who has committed grouped by name. From the list,
you can see who is responsible for the bulk of the changes against
the file.
- *Examine the List of Mailing Lists:* For a list of the Yocto
Project and related mailing lists, see the ":ref:`Mailing
lists <resources-mailinglist>`" section in
the Yocto Project Reference Manual.
#. *Make a Pull Request:* Notify the maintainer or the mailing list that
you have pushed a change by making a pull request.
The Yocto Project provides two scripts that conveniently let you
generate and send pull requests to the Yocto Project. These scripts
are ``create-pull-request`` and ``send-pull-request``. You can find
these scripts in the ``scripts`` directory within the
:term:`Source Directory` (e.g.
``poky/scripts``).
Using these scripts correctly formats the requests without
introducing any whitespace or HTML formatting. The maintainer that
receives your patches either directly or through the mailing list
needs to be able to save and apply them directly from your emails.
Using these scripts is the preferred method for sending patches.
First, create the pull request. For example, the following command
runs the script, specifies the upstream repository in the contrib
directory into which you pushed the change, and provides a subject
line in the created patch files::
$ poky/scripts/create-pull-request -u meta-intel-contrib -s "Updated Manual Section Reference in README"
Running this script forms ``*.patch`` files in a folder named
``pull-``\ `PID` in the current directory. One of the patch files is a
cover letter.
Before running the ``send-pull-request`` script, you must edit the
cover letter patch to insert information about your change. After
editing the cover letter, send the pull request. For example, the
following command runs the script and specifies the patch directory
and email address. In this example, the email address is a mailing
list::
$ poky/scripts/send-pull-request -p ~/meta-intel/pull-10565 -t meta-intel@lists.yoctoproject.org
You need to follow the prompts as the script is interactive.
.. note::
For help on using these scripts, simply provide the ``-h``
argument as follows::
$ poky/scripts/create-pull-request -h
$ poky/scripts/send-pull-request -h
Responding to Patch Review
--------------------------
You may get feedback on your submitted patches from other community members
or from the automated patchtest service. If issues are identified in your
patch then it is usually necessary to address these before the patch will be
accepted into the project. In this case you should amend the patch according
to the feedback and submit an updated version to the relevant mailing list,
copying in the reviewers who provided feedback to the previous version of the
patch.
The patch should be amended using ``git commit --amend`` or perhaps ``git
rebase`` for more expert git users. You should also modify the ``[PATCH]``
tag in the email subject line when sending the revised patch to mark the new
iteration as ``[PATCH v2]``, ``[PATCH v3]``, etc as appropriate. This can be
done by passing the ``-v`` argument to ``git format-patch`` with a version
number.
Lastly please ensure that you also test your revised changes. In particular
please don't just edit the patch file written out by ``git format-patch`` and
resend it.
Submitting Changes to Stable Release Branches
---------------------------------------------
The process for proposing changes to a Yocto Project stable branch differs
from the steps described above. Changes to a stable branch must address
identified bugs or CVEs and should be made carefully in order to avoid the
risk of introducing new bugs or breaking backwards compatibility. Typically
bug fixes must already be accepted into the master branch before they can be
backported to a stable branch unless the bug in question does not affect the
master branch or the fix on the master branch is unsuitable for backporting.
The list of stable branches along with the status and maintainer for each
branch can be obtained from the
:yocto_wiki:`Releases wiki page </Releases>`.
.. note::
Changes will not typically be accepted for branches which are marked as
End-Of-Life (EOL).
With this in mind, the steps to submit a change for a stable branch are as
follows:
#. *Identify the bug or CVE to be fixed:* This information should be
collected so that it can be included in your submission.
See :ref:`dev-manual/vulnerabilities:checking for vulnerabilities`
for details about CVE tracking.
#. *Check if the fix is already present in the master branch:* This will
result in the most straightforward path into the stable branch for the
fix.
#. *If the fix is present in the master branch --- submit a backport request
by email:* You should send an email to the relevant stable branch
maintainer and the mailing list with details of the bug or CVE to be
fixed, the commit hash on the master branch that fixes the issue and
the stable branches which you would like this fix to be backported to.
#. *If the fix is not present in the master branch --- submit the fix to the
master branch first:* This will ensure that the fix passes through the
project's usual patch review and test processes before being accepted.
It will also ensure that bugs are not left unresolved in the master
branch itself. Once the fix is accepted in the master branch a backport
request can be submitted as above.
#. *If the fix is unsuitable for the master branch --- submit a patch
directly for the stable branch:* This method should be considered as a
last resort. It is typically necessary when the master branch is using
a newer version of the software which includes an upstream fix for the
issue or when the issue has been fixed on the master branch in a way
that introduces backwards incompatible changes. In this case follow the
steps in :ref:`dev-manual/changes:preparing changes for submission` and
:ref:`dev-manual/changes:using email to submit a patch` but modify the subject header of your patch
email to include the name of the stable branch which you are
targetting. This can be done using the ``--subject-prefix`` argument to
``git format-patch``, for example to submit a patch to the dunfell
branch use
``git format-patch --subject-prefix='&DISTRO_NAME_NO_CAP_MINUS_ONE;][PATCH' ...``.

View File

@@ -879,8 +879,7 @@ The build should work without issue.
As with all solved problems, if they originated upstream, you need to
submit the fix for the recipe in OE-Core and upstream so that the
problem is taken care of at its source. See the
":ref:`dev-manual/changes:submitting a change to the yocto project`"
section for more information.
":doc:`../contributor-guide/submit-changes`" section for more information.
Debugging With the GNU Project Debugger (GDB) Remotely
======================================================
@@ -1236,9 +1235,7 @@ Here are some other tips that you might find useful:
:yocto_bugs:`Bugzilla <>`. For information on
how to submit a bug against the Yocto Project, see the Yocto Project
Bugzilla :yocto_wiki:`wiki page </Bugzilla_Configuration_and_Bug_Tracking>`
and the
":ref:`dev-manual/changes:submitting a defect against the yocto project`"
section.
and the ":doc:`../contributor-guide/report-defect`" section.
.. note::

View File

@@ -23,23 +23,39 @@ final disk usage of 22 Gbytes instead of &MIN_DISK_SPACE; Gbytes. However,
&MIN_DISK_SPACE_RM_WORK; Gbytes of initial free disk space are still needed to
create temporary files before they can be deleted.
Purging Duplicate Shared State Cache Files
==========================================
Purging Obsolete Shared State Cache Files
=========================================
After multiple build iterations, the Shared State (sstate) cache can contain
duplicate cache files for a given package, while only the most recent one
is likely to be reusable. The following command purges all but the
newest sstate cache file for each package::
multiple cache files for a given package, consuming a substantial amount of
disk space. However, only the most recent ones are likely to be reused.
The following command is a quick way to purge all the cache files which
haven't been used for a least a specified number of days::
find build/sstate-cache -type f -mtime +$DAYS -delete
The above command relies on the fact that BitBake touches the sstate cache
files as it accesses them, when it has write access to the cache.
You could use ``-atime`` instead of ``-mtime`` if the partition isn't mounted
with the ``noatime`` option for a read only cache.
For more advanced needs, OpenEmbedded-Core also offers a more elaborate
command. It has the ability to purge all but the newest cache files on each
architecture, and also to remove files that it considers unreachable by
exploring a set of build configurations. However, this command
requires a full build environment to be available and doesn't work well
covering multiple releases. It won't work either on limited environments
such as BSD based NAS::
sstate-cache-management.sh --remove-duplicated --cache-dir=build/sstate-cache
This command will ask you to confirm the deletions it identifies.
Run ``sstate-cache-management.sh`` for more details about this script.
.. note::
The duplicated sstate cache files of one package must have the same
architecture, which means that sstate cache files with multiple
architectures are not considered as duplicate.
Run ``sstate-cache-management.sh`` for more details about this script.
As this command is much more cautious and selective, removing only cache files,
it will execute much slower than the simple ``find`` command described above.
Therefore, it may not be your best option to trim huge cache directories.

View File

@@ -43,8 +43,8 @@ Yocto Project Development Tasks Manual
build-quality
runtime-testing
debugging
changes
licenses
security-subjects
vulnerabilities
sbom
error-reporting-tool

View File

@@ -128,6 +128,20 @@ Follow these general steps to create your layer without using tools:
variable is a good way to indicate if your particular layer is
current.
.. note::
A layer does not have to contain only recipes ``.bb`` or append files
``.bbappend``. Generally, developers create layers using
``bitbake-layers create-layer``.
See ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`",
explaining how the ``layer.conf`` file is created from a template located in
``meta/lib/bblayers/templates/layer.conf``.
In fact, none of the variables set in ``layer.conf`` are mandatory,
except when :term:`BBFILE_COLLECTIONS` is present. In this case
:term:`LAYERSERIES_COMPAT` and :term:`BBFILE_PATTERN` have to be
defined too.
#. *Add Content:* Depending on the type of layer, add the content. If
the layer adds support for a machine, add the machine configuration
in a ``conf/machine/`` file within the layer. If the layer adds

View File

@@ -298,14 +298,28 @@ There are other requirements beyond the scope of these three and the
methods described in this section (e.g. the mechanism through which
source code is distributed).
As different organizations have different methods of complying with open
source licensing, this section is not meant to imply that there is only
one single way to meet your compliance obligations, but rather to
describe one method of achieving compliance. The remainder of this
section describes methods supported to meet the previously mentioned
three requirements. Once you take steps to meet these requirements, and
prior to releasing images, sources, and the build system, you should
audit all artifacts to ensure completeness.
As different organizations have different ways of releasing software,
there can be multiple ways of meeting license obligations. At
least, we describe here two methods for achieving compliance:
- The first method is to use OpenEmbedded's ability to provide
the source code, provide a list of licenses, as well as
compilation scripts and source code modifications.
The remainder of this section describes supported methods to meet
the previously mentioned three requirements.
- The second method is to generate a *Software Bill of Materials*
(:term:`SBoM`), as described in the ":doc:`/dev-manual/sbom`" section.
Not only do you generate :term:`SPDX` output which can be used meet
license compliance requirements (except for sharing the build system
and layers sources for the time being), but this output also includes
component version and patch information which can be used
for vulnerability assessment.
Whatever method you choose, prior to releasing images, sources,
and the build system, you should audit all artifacts to ensure
completeness.
.. note::

View File

@@ -409,8 +409,8 @@ Patching Code
Sometimes it is necessary to patch code after it has been fetched. Any
files mentioned in :term:`SRC_URI` whose names end in ``.patch`` or
``.diff`` or compressed versions of these suffixes (e.g. ``diff.gz`` are
treated as patches. The
``.diff`` or compressed versions of these suffixes (e.g. ``diff.gz``,
``patch.bz2``, etc.) are treated as patches. The
:ref:`ref-tasks-patch` task
automatically applies these patches.
@@ -1082,13 +1082,14 @@ build system and package managers, so the resulting packages will not
correctly trigger an upgrade.
In order to ensure the versions compare properly, the recommended
convention is to set :term:`PV` within the
recipe to "previous_version+current_version". You can use an additional
variable so that you can use the current version elsewhere. Here is an
example::
convention is to use a tilde (``~``) character as follows::
REALPV = "0.8.16-rc1"
PV = "0.8.15+${REALPV}"
PV = 0.8.16~rc1
This way ``0.8.16~rc1`` sorts before ``0.8.16``. See the
":ref:`contributor-guide/recipe-style-guide:version policy`" section in the
Yocto Project and OpenEmbedded Contributor Guide for more details about
versioning code corresponding to a pre-release or to a specific Git commit.
Post-Installation Scripts
=========================
@@ -1441,9 +1442,9 @@ doing the following:
Following Recipe Style Guidelines
=================================
When writing recipes, it is good to conform to existing style
guidelines. The :oe_wiki:`OpenEmbedded Styleguide </Styleguide>` wiki page
provides rough guidelines for preferred recipe style.
When writing recipes, it is good to conform to existing style guidelines.
See the ":doc:`../contributor-guide/recipe-style-guide`" in the Yocto Project
and OpenEmbedded Contributor Guide for reference.
It is common for existing recipes to deviate a bit from this style.
However, aiming for at least a consistent style is a good idea. Some

View File

@@ -229,7 +229,7 @@ The final thing you need to do when setting :term:`TEST_TARGET` to
statements in your ``local.conf`` file::
IMAGE_FSTYPES += "tar.gz"
INHERIT += "testimage"
IMAGE_CLASSES += "testimage"
TEST_TARGET = "SystemdbootTarget"
TEST_TARGET_IP = "192.168.2.3"
@@ -335,7 +335,7 @@ You can start the tests automatically or manually:
inherit the :ref:`ref-classes-testimage` class by editing your
``local.conf`` file::
INHERIT += "testimage"
IMAGE_CLASSES += "testimage"
Next, use BitBake to run the tests::

View File

@@ -0,0 +1,189 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Dealing with Vulnerability Reports
**********************************
The Yocto Project and OpenEmbedded are open-source, community-based projects
used in numerous products. They assemble multiple other open-source projects,
and need to handle security issues and practices both internal (in the code
maintained by both projects), and external (maintained by other projects and
organizations).
This manual assembles security-related information concerning the whole
ecosystem. It includes information on reporting a potential security issue,
the operation of the YP Security team and how to contribute in the
related code. It is written to be useful for both security researchers and
YP developers.
How to report a potential security vulnerability?
=================================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
:yocto_bugs:`Security Bugzilla </enter_bug.cgi?product=Security>`.
If you are dealing with a not-yet-released issue, or an urgent one, please send
a message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available. This mailing list is monitored by the
Yocto Project Security team.
For each layer, you might also look for specific instructions (if any) for
reporting potential security issues in the specific ``SECURITY.md`` file at the
root of the repository. Instructions on how and where submit a patch are
usually available in ``README.md``. If this is your first patch to the
Yocto Project/OpenEmbedded, you might want to have a look into the
Contributor's Manual section
":ref:`contributor-guide/submit-changes:preparing changes for submission`".
Branches maintained with security fixes
---------------------------------------
See the
:ref:`Release process <ref-manual/release-process:Stable Release Process>`
documentation for details regarding the policies and maintenance of stable
branches.
The :yocto_wiki:`Releases page </Releases>` contains a list
of all releases of the Yocto Project. Versions in gray are no longer actively
maintained with security patches, but well-tested patches may still be accepted
for them for significant issues.
Security-related discussions at the Yocto Project
-------------------------------------------------
We have set up two security-related mailing lists:
- Public List: yocto [dash] security [at] yoctoproject[dot] org
This is a public mailing list for anyone to subscribe to. This list is an
open list to discuss public security issues/patches and security-related
initiatives. For more information, including subscription information,
please see the :yocto_lists:`yocto-security mailing list info page </g/yocto-security>`.
- Private List: security [at] yoctoproject [dot] org
This is a private mailing list for reporting non-published potential
vulnerabilities. The list is monitored by the Yocto Project Security team.
What you should do if you find a security vulnerability
-------------------------------------------------------
If you find a security flaw: a crash, an information leakage, or anything that
can have a security impact if exploited in any Open Source software built or
used by the Yocto Project, please report this to the Yocto Project Security
Team. If you prefer to contact the upstream project directly, please send a
copy to the security team at the Yocto Project as well. If you believe this is
highly sensitive information, please report the vulnerability in a secure way,
i.e. encrypt the email and send it to the private list. This ensures that
the exploit is not leaked and exploited before a response/fix has been generated.
Security team
=============
The Yocto Project/OpenEmbedded security team coordinates the work on security
subjects in the project. All general discussion takes place publicly. The
Security Team only uses confidential communication tools to deal with private
vulnerability reports before they are released.
Security team appointment
-------------------------
The Yocto Project Security Team consists of at least three members. When new
members are needed, the Yocto Project Technical Steering Committee (YP TSC)
asks for nominations by public channels including a nomination deadline.
Self-nominations are possible. When the limit time is
reached, the YP TSC posts the list of candidates for the comments of project
participants and developers. Comments may be sent publicly or privately to the
YP and OE TSCs. The candidates are approved by both YP TSC and OpenEmbedded
Technical Steering Committee (OE TSC) and the final list of the team members
is announced publicly. The aim is to have people representing technical
leadership, security knowledge and infrastructure present with enough people
to provide backup/coverage but keep the notification list small enough to
minimize information risk and maintain trust.
YP Security Team members may resign at any time.
Security Team Operations
------------------------
The work of the Security Team might require high confidentiality. Team members
are individuals selected by merit and do not represent the companies they work
for. They do not share information about confidential issues outside of the team
and do not hint about ongoing embargoes.
Team members can bring in domain experts as needed. Those people should be
added to individual issues only and adhere to the same standards as the YP
Security Team.
The YP security team organizes its meetings and communication as needed.
When the YP Security team receives a report about a potential security
vulnerability, they quickly analyze and notify the reporter of the result.
They might also request more information.
If the issue is confirmed and affects the code maintained by the YP, they
confidentially notify maintainers of that code and work with them to prepare
a fix.
If the issue is confirmed and affects an upstream project, the YP security team
notifies the project. Usually, the upstream project analyzes the problem again.
If they deem it a real security problem in their software, they develop and
release a fix following their security policy. They may want to include the
original reporter in the loop. There is also sometimes some coordination for
handling patches, backporting patches etc, or just understanding the problem
or what caused it.
When the fix is publicly available, the YP security team member or the
package maintainer sends patches against the YP code base, following usual
procedures, including public code review.
What Yocto Security Team does when it receives a security vulnerability
-----------------------------------------------------------------------
The YP Security Team team performs a quick analysis and would usually report
the flaw to the upstream project. Normally the upstream project analyzes the
problem. If they deem it a real security problem in their software, they
develop and release a fix following their own security policy. They may want
to include the original reporter in the loop. There is also sometimes some
coordination for handling patches, backporting patches etc, or just
understanding the problem or what caused it.
The security policy of the upstream project might include a notification to
Linux distributions or other important downstream projects in advance to
discuss coordinated disclosure. These mailing lists are normally non-public.
When the upstream project releases a version with the fix, they are responsible
for contacting `Mitre <https://www.cve.org/>`__ to get a CVE number assigned and
the CVE record published.
If an upstream project does not respond quickly
-----------------------------------------------
If an upstream project does not fix the problem in a reasonable time,
the Yocto's Security Team will contact other interested parties (usually
other distributions) in the community and together try to solve the
vulnerability as quickly as possible.
The Yocto Project Security team adheres to the 90 days disclosure policy
by default. An increase of the embargo time is possible when necessary.
Current Security Team members
-----------------------------
For secure communications, please send your messages encrypted using the GPG
keys. Remember, message headers are not encrypted so do not include sensitive
information in the subject line.
- Ross Burton: <ross@burtonini.com> `Public key <https://keys.openpgp.org/search?q=ross%40burtonini.com>`__
- Michael Halstead: <mhalstead [at] linuxfoundation [dot] org>
`Public key <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x3373170601861969>`__
or `Public key <https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xd1f2407285e571ed12a407a73373170601861969>`__
- Richard Purdie: <richard.purdie@linuxfoundation.org> `Public key <https://keys.openpgp.org/search?q=richard.purdie%40linuxfoundation.org>`__
- Marta Rybczynska: <marta DOT rybczynska [at] syslinbit [dot] com> `Public key <https://keys.openpgp.org/search?q=marta.rybczynska@syslinbit.com>`__
- Steve Sakoman: <steve [at] sakoman [dot] com> `Public key <https://keys.openpgp.org/search?q=steve%40sakoman.com>`__

View File

@@ -88,27 +88,15 @@ particular working environment and set of practices.
For information about BitBake, see the
:doc:`bitbake:index`.
It is relatively easy to set up Git services and create
infrastructure like :yocto_git:`/`, which is based on
server software called ``gitolite`` with ``cgit`` being used to
generate the web interface that lets you view the repositories. The
``gitolite`` software identifies users using SSH keys and allows
It is relatively easy to set up Git services and create infrastructure like
:yocto_git:`/`, which is based on server software called
`Gitolite <https://gitolite.com>`__
with `cgit <https://git.zx2c4.com/cgit/about/>`__ being used to
generate the web interface that lets you view the repositories.
``gitolite`` identifies users using SSH keys and allows
branch-based access controls to repositories that you can control as
little or as much as necessary.
.. note::
The setup of these services is beyond the scope of this manual.
However, here are sites describing how to perform setup:
- `Gitolite <https://gitolite.com>`__: Information for
``gitolite``.
- `Interfaces, frontends, and
tools <https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools>`__:
Documentation on how to create interfaces and frontends for
Git.
#. *Set up the Application Development Machines:* As mentioned earlier,
application developers are creating applications on top of existing
software stacks. Following are some best practices for setting up
@@ -246,14 +234,13 @@ particular working environment and set of practices.
- The Yocto Project community encourages you to send patches to the
project to fix bugs or add features. If you do submit patches,
follow the project commit guidelines for writing good commit
messages. See the
":ref:`dev-manual/changes:submitting a change to the yocto project`"
section.
messages. See the ":doc:`../contributor-guide/submit-changes`"
section in the Yocto Project and OpenEmbedded Contributor Guide.
- Send changes to the core sooner than later as others are likely
to run into the same issues. For some guidance on mailing lists
to use, see the list in the
":ref:`dev-manual/changes:submitting a change to the yocto project`"
to use, see the lists in the
":ref:`contributor-guide/submit-changes:finding a suitable mailing list`"
section. For a description
of the available mailing lists, see the ":ref:`resources-mailinglist`" section in
the Yocto Project Reference Manual.

View File

@@ -117,7 +117,7 @@ The following steps describe how to set up the AUH utility:
class, which is optional, you need to have the following set in
your ``conf/local.conf`` file::
INHERIT += "testimage"
IMAGE_CLASSES += "testimage"
.. note::

View File

@@ -22,7 +22,7 @@ issues may be impacting Poky and OE-Core. It is up to the maintainers, users,
contributors and anyone interested in the issues to investigate and possibly fix them by
updating software components to newer versions or by applying patches to address them.
It is recommended to work with Poky and OE-Core upstream maintainers and submit
patches to fix them, see ":ref:`dev-manual/changes:submitting a change to the yocto project`" for details.
patches to fix them, see ":doc:`../contributor-guide/submit-changes`" for details.
Vulnerability check at build time
=================================

View File

@@ -26,6 +26,7 @@ Welcome to the Yocto Project Documentation
:caption: Manuals
Overview and Concepts Manual <overview-manual/index>
Contributor Guide <contributor-guide/index>
Reference Manual <ref-manual/index>
Board Support Package (BSP) Developer's guide <bsp-guide/index>
Development Tasks Manual <dev-manual/index>

View File

@@ -1005,7 +1005,7 @@ Section.
the following sequence of commands::
$ cd poky/build
$ bitbake -c cleanall yocto-linux
$ bitbake -c cleanall linux-yocto
$ bitbake core-image-minimal -c cleanall
$ bitbake core-image-minimal
$ runqemu qemux86

View File

@@ -18,3 +18,5 @@ Release 4.0 (kirkstone)
release-notes-4.0.9
release-notes-4.0.10
release-notes-4.0.11
release-notes-4.0.12
release-notes-4.0.13

View File

@@ -9,3 +9,4 @@ Release 4.2 (mickledore)
release-notes-4.2
release-notes-4.2.1
release-notes-4.2.2
release-notes-4.2.3

View File

@@ -0,0 +1,277 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.0.12 (Kirkstone)
------------------------------------------
Security Fixes in Yocto-4.0.12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- bind: Fix :cve:`2023-2828` and :cve:`2023-2911`
- cups: Fix :cve:`2023-34241`
- curl: Added :cve:`2023-28320` Follow-up patch
- dbus: Fix :cve:`2023-34969`
- dmidecode: fix :cve:`2023-30630`
- ghostscript: fix :cve:`2023-36664`
- go: fix :cve_mitre:`2023-24531`, :cve:`2023-24536`, :cve:`2023-29400`, :cve:`2023-29402`, :cve:`2023-29404`, :cve:`2023-29405` and :cve:`2023-29406`
- libarchive: Ignore :cve:`2023-30571`
- libcap: Fix :cve:`2023-2602` and :cve:`2023-2603`
- libjpeg-turbo: Fix :cve:`2023-2804`
- libpcre2: Fix :cve:`2022-41409`
- libtiff: fix :cve:`2023-26965`
- libwebp: Fix :cve:`2023-1999`
- libx11: Fix :cve:`2023-3138`
- libxpm: Fix :cve:`2022-44617`
- ninja: Ignore :cve:`2021-4336`
- openssh: Fix :cve:`2023-38408`
- openssl: Fix :cve:`2023-2975`, :cve:`2023-3446` and :cve:`2023-3817`
- perl: Fix :cve:`2023-31486`
- python3: Ignore :cve:`2023-36632`
- qemu: Fix :cve:`2023-0330`, :cve_mitre:`2023-2861`, :cve_mitre:`2023-3255` and :cve_mitre:`2023-3301`
- sqlite3: Fix :cve:`2023-36191`
- tiff: Fix :cve:`2023-0795`, :cve:`2023-0796`, :cve:`2023-0797`, :cve:`2023-0798`, :cve:`2023-0799`, :cve:`2023-25433`, :cve:`2023-25434` and :cve:`2023-25435`
- vim: :cve:`2023-2609` and :cve:`2023-2610`
Fixes in Yocto-4.0.12
~~~~~~~~~~~~~~~~~~~~~
- babeltrace2: Always use BFD linker when building tests with ld-is-lld distro feature
- babeltrace2: upgrade to 2.0.5
- bitbake.conf: add unzstd in :term:`HOSTTOOLS`
- bitbake: bitbake-layers: initialize tinfoil before registering command line arguments
- bitbake: runqueue: Fix deferred task/multiconfig race issue
- blktrace: ask for python3 specifically
- build-appliance-image: Update to kirkstone head revision
- cmake: Fix CMAKE_SYSTEM_PROCESSOR setting for SDK
- connman: fix warning by specifying runstatedir at configure time
- cpio: Replace fix wrong CRC with ASCII CRC for large files with upstream backport
- cve-update-nvd2-native: actually use API keys
- cve-update-nvd2-native: always pass str for json.loads()
- cve-update-nvd2-native: fix cvssV3 metrics
- cve-update-nvd2-native: handle all configuration nodes, not just first
- cve-update-nvd2-native: increase retry count
- cve-update-nvd2-native: log a little more
- cve-update-nvd2-native: retry all errors and sleep between retries
- cve-update-nvd2-native: use exact times, don't truncate
- dbus: upgrade to 1.14.8
- devtool: Fix the wrong variable in srcuri_entry
- diffutils: upgrade to 3.10
- docs: ref-manual: terms: fix typos in :term:`SPDX` term
- fribidi: upgrade to 1.0.13
- gcc: upgrade to v11.4
- gcc-testsuite: Fix ppc cpu specification
- gcc: don't pass --enable-standard-branch-protection
- gcc: fix runpath errors in cc1 binary
- grub: submit determinism.patch upstream
- image_types: Fix reproducible builds for initramfs and UKI img
- kernel: add missing path to search for debug files
- kmod: remove unused ptest.patch
- layer.conf: Add missing dependency exclusion
- libassuan: upgrade to 2.5.6
- libksba: upgrade to 1.6.4
- libpng: Add ptest for libpng
- libxcrypt: fix build with perl-5.38 and use master branch
- libxcrypt: fix hard-coded ".so" extension
- libxpm: upgrade to 3.5.16
- linux-firmware: upgrade to 20230515
- linux-yocto/5.10: cfg: fix DECNET configuration warning
- linux-yocto/5.10: update to v5.10.185
- linux-yocto/5.15: cfg: fix DECNET configuration warning
- linux-yocto/5.15: update to v5.15.120
- logrotate: Do not create logrotate.status file
- lttng-ust: upgrade to 2.13.6
- machine/arch-arm64: add -mbranch-protection=standard
- maintainers.inc: correct Carlos Rafael Giani's email address
- maintainers.inc: correct unassigned entries
- maintainers.inc: unassign Adrian Bunk from wireless-regdb
- maintainers.inc: unassign Alistair Francis from opensbi
- maintainers.inc: unassign Andreas Müller from itstool entry
- maintainers.inc: unassign Pascal Bach from cmake entry
- maintainers.inc: unassign Ricardo Neri from ovmf
- maintainers.inc: unassign Richard Weinberger from erofs-utils entry
- mdadm: fix 07revert-inplace ptest
- mdadm: fix segfaults when running ptests
- mdadm: fix util-linux ptest dependency
- mdadm: skip running known broken ptests
- meson.bbclass: Point to llvm-config from native sysroot
- meta: lib: oe: npm_registry: Add more safe caracters
- migration-guides: add release notes for 4.0.11
- minicom: remove unused patch files
- mobile-broadband-provider-info: upgrade to 20230416
- oe-depends-dot: Handle new format for task-depends.dot
- oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure case
- oeqa/selftest/bbtests: add non-existent prefile/postfile tests
- oeqa/selftest/devtool: add unit test for "devtool add -b"
- openssl: Upgrade to 3.0.10
- openssl: add PERLEXTERNAL path to test its existence
- openssl: use a glob on the PERLEXTERNAL to track updates on the path
- package.bbclass: moving field data process before variable process in process_pkgconfig
- pm-utils: fix multilib conflictions
- poky.conf: bump version for 4.0.12
- psmisc: Set :term:`ALTERNATIVE` for pstree to resolve conflict with busybox
- pybootchartgui: show elapsed time for each task
- python3: fix missing comma in get_module_deps3.py
- python3: upgrade to 3.10.12
- recipetool: Fix inherit in created -native* recipes
- ref-manual: add LTS and Mixin terms
- ref-manual: document image-specific variant of :term:`INCOMPATIBLE_LICENSE`
- ref-manual: release-process: update for LTS releases
- rust-llvm: backport a fix for build with gcc-13
- scripts/runqemu: allocate unfsd ports in a way that doesn't race or clash with unrelated processes
- scripts/runqemu: split lock dir creation into a reusable function
- sdk.py: error out when moving file fails
- sdk.py: fix moving dnf contents
- selftest reproducible.py: support different build targets
- selftest/license: Exclude from world
- selftest/reproducible: Allow chose the package manager
- serf: upgrade to 1.3.10
- strace: Disable failing test
- strace: Merge two similar patches
- strace: Update patches/tests with upstream fixes
- sysfsutils: fetch a supported fork from github
- systemd-systemctl: fix errors in instance name expansion
- systemd: Backport nspawn: make sure host root can write to the uidmapped mounts we prepare for the container payload
- tzdata: upgrade to 2023c
- uboot-extlinux-config.bbclass: fix old override syntax in comment
- unzip: fix configure check for cross compilation
- useradd-staticids.bbclass: improve error message
- util-linux: add alternative links for ipcs,ipcrm
- v86d: Improve kernel dependency
- vim: upgrade to 9.0.1592
- wget: upgrade to 1.21.4
- wic: Add dependencies for erofs-utils
- wireless-regdb: upgrade to 2023.05.03
- xdpyinfo: upgrade to 1.3.4
- zip: fix configure check by using _Static_assert
Known Issues in Yocto-4.0.12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.0.12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Alberto Planas
- Alexander Kanavin
- Alexander Sverdlin
- Andrej Valek
- Archana Polampalli
- BELOUARGA Mohamed
- Benjamin Bouvier
- Bruce Ashfield
- Charlie Wu
- Chen Qi
- Etienne Cordonnier
- Fabien Mahot
- Frieder Paape
- Frieder Schrempf
- Heiko Thole
- Hitendra Prajapati
- Jermain Horsman
- Jose Quaresma
- Kai Kang
- Khem Raj
- Lee Chee Yang
- Marc Ferland
- Marek Vasut
- Martin Jansa
- Mauro Queiros
- Michael Opdenacker
- Mikko Rapeli
- Nikhil R
- Ovidiu Panait
- Peter Marko
- Poonam Jadhav
- Quentin Schulz
- Richard Purdie
- Ross Burton
- Rusty Howell
- Sakib Sajal
- Soumya Sambu
- Steve Sakoman
- Sundeep KOKKONDA
- Tim Orling
- Tom Hochstein
- Trevor Gamblin
- Vijay Anusuri
- Vivek Kumbhar
- Wang Mingyu
- Xiangyu Chen
- Yoann Congal
- Yogita Urade
- Yuta Hayama
Repositories / Downloads for Yocto-4.0.12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.12 </poky/log/?h=yocto-4.0.12>`
- Git Revision: :yocto_git:`d6b8790370500b99ca11f0d8a05c39b661ab2ba6 </poky/commit/?id=d6b8790370500b99ca11f0d8a05c39b661ab2ba6>`
- Release Artefact: poky-d6b8790370500b99ca11f0d8a05c39b661ab2ba6
- sha: 35f0390e0c5a12f403ed471c0b1254c13cbb9d7c7b46e5a3538e63e36c1ac280
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.12/poky-d6b8790370500b99ca11f0d8a05c39b661ab2ba6.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.12/poky-d6b8790370500b99ca11f0d8a05c39b661ab2ba6.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`kirkstone </openembedded-core/log/?h=kirkstone>`
- Tag: :oe_git:`yocto-4.0.12 </openembedded-core/log/?h=yocto-4.0.12>`
- Git Revision: :oe_git:`e1a604db8d2cf8782038b4016cc2e2052467333b </openembedded-core/commit/?id=e1a604db8d2cf8782038b4016cc2e2052467333b>`
- Release Artefact: oecore-e1a604db8d2cf8782038b4016cc2e2052467333b
- sha: 8b302eb3f3ffe5643f88bc6e4ae8f9a5cda63544d67e04637ecc4197e9750a1d
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.12/oecore-e1a604db8d2cf8782038b4016cc2e2052467333b.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.12/oecore-e1a604db8d2cf8782038b4016cc2e2052467333b.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`kirkstone </meta-mingw/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.12 </meta-mingw/log/?h=yocto-4.0.12>`
- Git Revision: :yocto_git:`a90614a6498c3345704e9611f2842eb933dc51c1 </meta-mingw/commit/?id=a90614a6498c3345704e9611f2842eb933dc51c1>`
- Release Artefact: meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1
- sha: 49f9900bfbbc1c68136f8115b314e95d0b7f6be75edf36a75d9bcd1cca7c6302
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.12/meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.12/meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1.tar.bz2
meta-gplv2
- Repository Location: :yocto_git:`/meta-gplv2`
- Branch: :yocto_git:`kirkstone </meta-gplv2/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.12 </meta-gplv2/log/?h=yocto-4.0.12>`
- Git Revision: :yocto_git:`d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a </meta-gplv2/commit/?id=d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a>`
- Release Artefact: meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
- sha: c386f59f8a672747dc3d0be1d4234b6039273d0e57933eb87caa20f56b9cca6d
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.12/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.12/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
- Tag: :oe_git:`yocto-4.0.12 </bitbake/log/?h=yocto-4.0.12>`
- Git Revision: :oe_git:`41b6684489d0261753344956042be2cc4adb0159 </bitbake/commit/?id=41b6684489d0261753344956042be2cc4adb0159>`
- Release Artefact: bitbake-41b6684489d0261753344956042be2cc4adb0159
- sha: efa2b1c4d0be115ed3960750d1e4ed958771b2db6d7baee2d13ad386589376e8
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.12/bitbake-41b6684489d0261753344956042be2cc4adb0159.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.12/bitbake-41b6684489d0261753344956042be2cc4adb0159.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.12 </yocto-docs/log/?h=yocto-4.0.12>`
- Git Revision: :yocto_git:`4dfef81ac6164764c6541e39a9fef81d49227096 </yocto-docs/commit/?id=4dfef81ac6164764c6541e39a9fef81d49227096>`

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,263 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.2.3 (Mickledore)
------------------------------------------
Security Fixes in Yocto-4.2.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- bind: Fix :cve:`2023-2828` and :cve:`2023-2911`
- cups: Fix :cve:`2023-34241`
- dmidecode: Fix :cve:`2023-30630`
- erofs-utils: Fix :cve:`2023-33551` and :cve:`2023-33552`
- ghostscript: Fix :cve:`2023-36664`
- go: Fix :cve_mitre:`2023-24531`
- libarchive: ignore :cve:`2023-30571`
- libjpeg-turbo: Fix :cve:`2023-2804`
- libx11: Fix :cve:`2023-3138`
- ncurses: Fix :cve:`2023-29491`
- openssh: Fix :cve:`2023-38408`
- python3-certifi: Fix :cve:`2023-37920`
- python3-requests: Fix :cve:`2023-32681`
- python3: Ignore :cve:`2023-36632`
- qemu: fix :cve:`2023-0330`, :cve_mitre:`2023-2861`, :cve_mitre:`2023-3255` and :cve_mitre:`2023-3301`
- ruby: Fix :cve:`2023-36617`
- vim: Fix :cve:`2023-2609` and :cve:`2023-2610`
- webkitgtk: Fix :cve:`2023-27932` and :cve:`2023-27954`
Fixes in Yocto-4.2.3
~~~~~~~~~~~~~~~~~~~~
- acpica: Update :term:`SRC_URI`
- automake: fix buildtest patch
- baremetal-helloworld: Fix race condition
- bind: upgrade to v9.18.17
- binutils: stable 2.40 branch updates
- build-appliance-image: Update to mickledore head revision
- cargo.bbclass: set up cargo environment in common do_compile
- conf.py: add macro for Mitre CVE links
- curl: ensure all ptest failures are caught
- cve-update-nvd2-native: actually use API keys
- cve-update-nvd2-native: fix cvssV3 metrics
- cve-update-nvd2-native: handle all configuration nodes, not just first
- cve-update-nvd2-native: increase retry count
- cve-update-nvd2-native: log a little more
- cve-update-nvd2-native: retry all errors and sleep between retries
- cve-update-nvd2-native: use exact times, don't truncate
- dev-manual: wic.rst: Update native tools build command
- devtool/upgrade: raise an error if extracting source produces more than one directory
- diffutils: upgrade to 3.10
- docs: ref-manual: terms: fix typos in :term:`SPDX` term
- file: fix the way path is written to environment-setup.d
- file: return wrapper to fix builds when file is in buildtools-tarball
- freetype: upgrade to 2.13.1
- gcc-testsuite: Fix ppc cpu specification
- gcc: don't pass --enable-standard-branch-protection
- glibc-locale: use stricter matching for metapackages' runtime dependencies
- glibc-testsuite: Fix network restrictions causing test failures
- glibc/check-test-wrapper: don't emit warnings from ssh
- go: upgrade to 1.20.6
- gstreamer1.0: upgrade to 1.22.4
- ifupdown: install missing directories
- kernel-module-split add systemd modulesloaddir and modprobedir config
- kernel-module-split: install config modules directories only when they are needed
- kernel-module-split: make autoload and probeconf distribution specific
- kernel-module-split: use context manager to open files
- kernel: Fix path comparison in kernel staging dir symlinking
- kernel: config modules directories are handled by kernel-module-split
- kernel: don't fail if Modules.symvers doesn't exist
- libassuan: upgrade to 2.5.6
- libksba: upgrade to 1.6.4
- libnss-nis: upgrade to 3.2
- libproxy: fetch from git
- libwebp: upgrade to 1.3.1
- libx11: upgrade to 1.8.6
- libxcrypt: fix hard-coded ".so" extension
- linux-firmware : Add firmware of RTL8822 serie
- linux-firmware: Fix mediatek mt7601u firmware path
- linux-firmware: package firmare for Dragonboard 410c
- linux-firmware: split platform-specific Adreno shaders to separate packages
- linux-firmware: upgrade to 20230625
- linux-yocto/5.15: update to v5.15.124
- linux-yocto/6.1: cfg: update ima.cfg to match current meta-integrity
- linux-yocto/6.1: upgrade to v6.1.38
- ltp: Add kernel loopback module dependency
- ltp: add :term:`RDEPENDS` on findutils
- lttng-ust: upgrade to 2.13.6
- machine/arch-arm64: add -mbranch-protection=standard
- maintainers.inc: Modify email address
- mdadm: add util-linux-blockdev ptest dependency
- mdadm: fix 07revert-inplace ptest
- mdadm: fix segfaults when running ptests
- mdadm: fix util-linux ptest dependency
- mdadm: re-add mdadm-ptest to PTESTS_SLOW
- mdadm: skip running known broken ptests
- meson.bbclass: Point to llvm-config from native sysroot
- migration-guides: add release notes for 4.0.10
- migration-guides: add release notes for 4.0.11
- migration-guides: add release notes for 4.2.2
- oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure case
- oeqa/runtime/ltp: Increase ltp test output timeout
- oeqa/selftest/devtool: add unit test for "devtool add -b"
- oeqa/ssh: Further improve process exit handling
- oeqa/target/ssh: Ensure EAGAIN doesn't truncate output
- oeqa/utils/nfs: allow requesting non-udp ports
- openssh: upgrade to 9.3p2
- openssl: add PERLEXTERNAL path to test its existence
- openssl: use a glob on the PERLEXTERNAL to track updates on the path
- opkg-utils: upgrade to 0.6.2
- opkg: upgrade to 0.6.2
- pkgconf: update :term:`SRC_URI`
- poky.conf: bump version for 4.2.3 release
- poky.conf: update :term:`SANITY_TESTED_DISTROS` to match autobuilder
- ptest-runner: Pull in parallel test fixes and output handling
- python3-certifi: upgrade to 2023.7.22
- python3: fix missing comma in get_module_deps3.py
- recipetool: Fix inherit in created -native* recipes
- ref-manual: LTS releases now supported for 4 years
- ref-manual: document image-specific variant of :term:`INCOMPATIBLE_LICENSE`
- ref-manual: releases.svg: updates
- resulttool/resultutils: allow index generation despite corrupt json
- rootfs-postcommands.bbclass: Revert "add post func remove_unused_dnf_log_lock"
- rootfs: Add debugfs package db file copy and cleanup
- rootfs_rpm: don't depend on opkg-native for update-alternatives
- rpm: Pick debugfs package db files/dirs explicitly
- rust-common.bbclass: move musl-specific linking fix from rust-source.inc
- scripts/oe-setup-builddir: copy conf-notes.txt to build dir
- scripts/resulttool: add mention about new detected tests
- selftest/cases/glibc.py: fix the override syntax
- selftest/cases/glibc.py: increase the memory for testing
- selftest/cases/glibc.py: switch to using NFS over TCP
- shadow-sysroot: add license information
- systemd-systemctl: fix errors in instance name expansion
- taglib: upgrade to 1.13.1
- target/ssh: Ensure exit code set for commands
- tcf-agent: upgrade to 1.8.0
- testimage/oeqa: Drop testimage_dump_host functionality
- tiff: upgrade to 4.5.1
- uboot-extlinux-config.bbclass: fix old override syntax in comment
- util-linux: add alternative links for ipcs,ipcrm
- vim: upgrade to 9.0.1592
- webkitgtk: upgrade to 2.38.6
- weston: Cleanup and fix x11 and xwayland dependencies
Known Issues in Yocto-4.2.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.2.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Alejandro Hernandez Samaniego
- Alex Kiernan
- Alexander Kanavin
- Alexis Lothoré
- Andrej Valek
- Anuj Mittal
- Archana Polampalli
- BELOUARGA Mohamed
- Benjamin Bouvier
- Bruce Ashfield
- Changqing Li
- Chen Qi
- Daniel Semkowicz
- Dmitry Baryshkov
- Enrico Scholz
- Etienne Cordonnier
- Joe Slater
- Joel Stanley
- Jose Quaresma
- Julien Stephan
- Kai Kang
- Khem Raj
- Lee Chee Yang
- Marek Vasut
- Mark Hatle
- Michael Halstead
- Michael Opdenacker
- Mingli Yu
- Narpat Mali
- Oleksandr Hnatiuk
- Ovidiu Panait
- Peter Marko
- Quentin Schulz
- Richard Purdie
- Ross Burton
- Sanjana
- Sakib Sajal
- Staffan Rydén
- Steve Sakoman
- Stéphane Veyret
- Sudip Mukherjee
- Thomas Roos
- Tom Hochstein
- Trevor Gamblin
- Wang Mingyu
- Yi Zhao
- Yoann Congal
- Yogita Urade
- Yuta Hayama
Repositories / Downloads for Yocto-4.2.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`mickledore </poky/log/?h=mickledore>`
- Tag: :yocto_git:`yocto-4.2.3 </poky/log/?h=yocto-4.2.3>`
- Git Revision: :yocto_git:`aa63b25cbe25d89ab07ca11ee72c17cab68df8de </poky/commit/?id=aa63b25cbe25d89ab07ca11ee72c17cab68df8de>`
- Release Artefact: poky-aa63b25cbe25d89ab07ca11ee72c17cab68df8de
- sha: 9e2b40fc25f7984b3227126ec9b8aa68d3747c8821fb7bf8cb635fc143f894c3
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2.3/poky-aa63b25cbe25d89ab07ca11ee72c17cab68df8de.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2.3/poky-aa63b25cbe25d89ab07ca11ee72c17cab68df8de.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`mickledore </openembedded-core/log/?h=mickledore>`
- Tag: :oe_git:`yocto-4.2.3 </openembedded-core/log/?h=yocto-4.2.3>`
- Git Revision: :oe_git:`7e3489c0c5970389c8a239dc7b367bcadf554eb5 </openembedded-core/commit/?id=7e3489c0c5970389c8a239dc7b367bcadf554eb5>`
- Release Artefact: oecore-7e3489c0c5970389c8a239dc7b367bcadf554eb5
- sha: 68620aca7c9db6b9a65d9853cacff4e60578f0df39e3e37114e062e1667ba724
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2.3/oecore-7e3489c0c5970389c8a239dc7b367bcadf554eb5.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2.3/oecore-7e3489c0c5970389c8a239dc7b367bcadf554eb5.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`mickledore </meta-mingw/log/?h=mickledore>`
- Tag: :yocto_git:`yocto-4.2.3 </meta-mingw/log/?h=yocto-4.2.3>`
- Git Revision: :yocto_git:`92258028e1b5664a9f832541d5c4f6de0bd05e07 </meta-mingw/commit/?id=92258028e1b5664a9f832541d5c4f6de0bd05e07>`
- Release Artefact: meta-mingw-92258028e1b5664a9f832541d5c4f6de0bd05e07
- sha: ee081460b5dff4fb8dd4869ce5631718dbaaffbede9532b879b854c18f1b3f5d
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2.3/meta-mingw-92258028e1b5664a9f832541d5c4f6de0bd05e07.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2.3/meta-mingw-92258028e1b5664a9f832541d5c4f6de0bd05e07.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.4 </bitbake/log/?h=2.4>`
- Tag: :oe_git:`yocto-4.2.3 </bitbake/log/?h=yocto-4.2.3>`
- Git Revision: :oe_git:`08033b63ae442c774bd3fce62844eac23e6882d7 </bitbake/commit/?id=08033b63ae442c774bd3fce62844eac23e6882d7>`
- Release Artefact: bitbake-08033b63ae442c774bd3fce62844eac23e6882d7
- sha: 1d070c133bfb6502ac04befbf082cbfda7582c8b1c48296a788384352e5061fd
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2.3/bitbake-08033b63ae442c774bd3fce62844eac23e6882d7.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2.3/bitbake-08033b63ae442c774bd3fce62844eac23e6882d7.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`mickledore </yocto-docs/log/?h=mickledore>`
- Tag: :yocto_git:`yocto-4.2.3 </yocto-docs/log/?h=yocto-4.2.3>`
- Git Revision: :yocto_git:`8e6752a9e55d16f3713e248b37f9d4d2745a2375 </yocto-docs/commit/?id=8e6752a9e55d16f3713e248b37f9d4d2745a2375>`

View File

@@ -1963,6 +1963,15 @@ task output from the Shared State cache.
the stability of the task's output hash. Therefore, the effectiveness
of Hash Equivalence strongly depends on it.
Recipes that are not reproducible may have undesired behavior if hash
equivalence is enabled, since the non-reproducible diverging output maybe be
remapped to an older sstate object in the cache by the server. If a recipe
is non-reproducible in trivial ways, such as different timestamps, this is
likely not a problem. However recipes that have more dramatic changes (such
as completely different file names) will likely outright fail since the
downstream sstate objects are not actually equivalent to what was just
built.
This applies to multiple scenarios:
- A "trivial" change to a recipe that doesn't impact its generated output,

View File

@@ -232,8 +232,8 @@ and so forth.
For information on finding out who is responsible for (maintains) a
particular area of code in the Yocto Project, see the
":ref:`dev-manual/changes:submitting a change to the yocto project`"
section of the Yocto Project Development Tasks Manual.
":doc:`../contributor-guide/identify-component`"
section of the Yocto Project and OpenEmbedded Contributor Guide.
The Yocto Project ``poky`` Git repository also has an upstream
contribution Git repository named ``poky-contrib``. You can see all the
@@ -264,8 +264,8 @@ push them into the "contrib" area and subsequently request that the
maintainer include them into an upstream branch. This process is called
"submitting a patch" or "submitting a change." For information on
submitting patches and changes, see the
":ref:`dev-manual/changes:submitting a change to the yocto project`"
section in the Yocto Project Development Tasks Manual.
":doc:`../contributor-guide/submit-changes`" section in the Yocto Project
and OpenEmbedded Contributor Guide.
In summary, there is a single point of entry for changes into the
development branch of the Git repository, which is controlled by the
@@ -328,11 +328,10 @@ Book <https://book.git-scm.com>`__.
software on which to develop. The Yocto Project has two scripts named
``create-pull-request`` and ``send-pull-request`` that ship with the
release to facilitate this workflow. You can find these scripts in
the ``scripts`` folder of the
:term:`Source Directory`. For information
the ``scripts`` folder of the :term:`Source Directory`. For information
on how to use these scripts, see the
":ref:`dev-manual/changes:using scripts to push a change upstream and request a pull`"
section in the Yocto Project Development Tasks Manual.
":ref:`contributor-guide/submit-changes:using scripts to push a change upstream and request a pull`"
section in the Yocto Project and OpenEmbedded Contributor Guide.
- *Patch Workflow:* This workflow allows you to notify the maintainer
through an email that you have a change (or patch) you would like
@@ -340,8 +339,8 @@ Book <https://book.git-scm.com>`__.
this type of change, you format the patch and then send the email
using the Git commands ``git format-patch`` and ``git send-email``.
For information on how to use these scripts, see the
":ref:`dev-manual/changes:submitting a change to the yocto project`"
section in the Yocto Project Development Tasks Manual.
":doc:`../contributor-guide/submit-changes`" section in the Yocto Project
and OpenEmbedded Contributor Guide.
Git
===

View File

@@ -7,43 +7,45 @@ Yocto Project Profiling and Tracing Manual
Introduction
============
Yocto bundles a number of tracing and profiling tools --- this 'HOWTO'
Yocto Project bundles a number of tracing and profiling tools --- this manual
describes their basic usage and shows by example how to make use of them
to examine application and system behavior.
to analyze application and system behavior.
The tools presented are for the most part completely open-ended and have
The tools presented are, for the most part, completely open-ended and have
quite good and/or extensive documentation of their own which can be used
to solve just about any problem you might come across in Linux. Each
section that describes a particular tool has links to that tool's
documentation and website.
The purpose of this 'HOWTO' is to present a set of common and generally
The purpose of this manual is to present a set of common and generally
useful tracing and profiling idioms along with their application (as
appropriate) to each tool, in the context of a general-purpose
'drill-down' methodology that can be applied to solving a large number
(90%?) of problems. For help with more advanced usages and problems,
please see the documentation and/or websites listed for each tool.
of problems. For help with more advanced usages and problems,
refer to the documentation and/or websites provided for each tool.
The final section of this 'HOWTO' is a collection of real-world examples
which we'll be continually adding to as we solve more problems using the
tools --- feel free to add your own examples to the list!
The final section of this manual is a collection of real-world examples
which we'll be continually updating as we solve more problems using the
tools --- feel free to suggest additions to what you read here.
General Setup
=============
Most of the tools are available only in 'sdk' images or in images built
after adding 'tools-profile' to your local.conf. So, in order to be able
to access all of the tools described here, please first build and boot
an 'sdk' image e.g. ::
Most of the tools are available only in ``sdk`` images or in images built
after adding ``tools-profile`` to your ``local.conf`` file. So, in order to be able
to access all of the tools described here, you can build and boot
an ``sdk`` image, perhaps one of::
$ bitbake core-image-sato-sdk
$ bitbake core-image-weston-sdk
$ bitbake core-image-rt-sdk
or alternatively by adding 'tools-profile' to the :term:`EXTRA_IMAGE_FEATURES` line in
your local.conf::
Alternatively, you can add ``tools-profile`` to the :term:`EXTRA_IMAGE_FEATURES` line in
your ``local.conf`` file::
EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile"
If you use the 'tools-profile' method, you don't need to build an sdk image -
If you use the ``tools-profile`` method, you don't need to build an sdk image ---
the tracing and profiling tools will be included in non-sdk images as well e.g.::
$ bitbake core-image-sato
@@ -64,12 +66,12 @@ the tracing and profiling tools will be included in non-sdk images as well e.g.:
If you've already built a stripped image, you can generate debug
packages (xxx-dbg) which you can manually install as needed.
To generate debug info for packages, you can add dbg-pkgs to
:term:`EXTRA_IMAGE_FEATURES` in local.conf. For example::
To generate debug info for packages, you can add ``dbg-pkgs`` to
:term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example::
EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs"
Additionally, in order to generate the right type of debuginfo, we also need to
Additionally, in order to generate the right type of debug info, we also need to
set :term:`PACKAGE_DEBUG_SPLIT_STYLE` in the ``local.conf`` file::
PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'

View File

@@ -754,7 +754,7 @@ Errors and Warnings
- ``Missing Upstream-Status in patch <patchfile> Please add according to <url> [patch-status-core/patch-status-noncore]``
The Upstream-Status value is missing in the specified patch file's header.
The ``Upstream-Status`` value is missing in the specified patch file's header.
This value is intended to track whether or not the patch has been sent
upstream, whether or not it has been merged, etc.
@@ -762,13 +762,13 @@ Errors and Warnings
recipes in OE-Core) and ``patch-status-noncore`` (for recipes in any other
layer).
For more information on setting Upstream-Status see:
https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status
For more information, see the
":ref:`contributor-guide/recipe-style-guide:patch upstream status`"
section in the Yocto Project and OpenEmbedded Contributor Guide.
- ``Malformed Upstream-Status in patch <patchfile> Please correct according to <url> [patch-status-core/patch-status-noncore]``
The Upstream-Status value in the specified patch file's header is invalid -
The ``Upstream-Status`` value in the specified patch file's header is invalid -
it must be a specific format. See the "Missing Upstream-Status" entry above
for more information.

View File

@@ -23,8 +23,7 @@ The Yocto Project gladly accepts contributions. You can submit changes
to the project either by creating and sending pull requests, or by
submitting patches through email. For information on how to do both as
well as information on how to identify the maintainer for each area of
code, see the ":ref:`dev-manual/changes:submitting a change to the yocto project`" section in the
Yocto Project Development Tasks Manual.
code, see the :doc:`../contributor-guide/index`.
.. _resources-bugtracker:
@@ -46,8 +45,8 @@ your expectations).
For a general procedure and guidelines on how to use Bugzilla to submit a bug
against the Yocto Project, see the following:
- The ":ref:`dev-manual/changes:submitting a defect against the yocto project`"
section in the Yocto Project Development Tasks Manual.
- The ":doc:`../contributor-guide/report-defect`"
section in the Yocto Project and OpenEmbedded Contributor Guide.
- The Yocto Project :yocto_wiki:`Bugzilla wiki page </Bugzilla_Configuration_and_Bug_Tracking>`

View File

@@ -718,7 +718,7 @@
x="1373.233"
y="-247.33261"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan10317-2-9-1-4-6-5">4.4</tspan></text>
id="tspan10317-2-9-1-4-6-5">5.0</tspan></text>
<rect
style="fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-opacity:1"
id="rect917-0-0-4-4-9-9"

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

@@ -55,27 +55,47 @@ as much RAM and as many CPU cores as possible.
Supported Linux Distributions
=============================
Currently, the Yocto Project is supported on the following distributions:
- Ubuntu 18.04 (LTS)
Currently, the &DISTRO; release ("&DISTRO_NAME;") of the Yocto Project is
supported on the following distributions:
- Ubuntu 20.04 (LTS)
- Ubuntu 22.04 (LTS)
- Fedora 36
- Fedora 37
- AlmaLinux 8.7
- Fedora 38
- AlmaLinux 9.1
- CentOS Stream 8
- Debian GNU/Linux 11.x (Bullseye)
- Debian GNU/Linux 11 (Bullseye)
- Debian GNU/Linux 12 (Bookworm)
- OpenSUSE Leap 15.4
- AlmaLinux 8.8
- AlmaLinux 9.2
The following distribution versions are still tested (being listed
in :term:`SANITY_TESTED_DISTROS`), even though the organizations
publishing them no longer make updates publicly available:
- Ubuntu 18.04 (LTS)
- Ubuntu 22.10
- OpenSUSE Leap 15.3
- OpenSUSE Leap 15.4
Note that the Yocto Project doesn't have access to private updates
that some of these versions may have. Therefore, our testing has
limited value if you have access to such updates.
Finally, here are the distribution versions which were previously
tested on former revisions of "&DISTRO_NAME;", but no longer are:
*This list is currently empty*
.. note::
@@ -114,9 +134,8 @@ Currently, the Yocto Project is supported on the following distributions:
interested in hearing about your experience. For information on
how to submit a bug, see the Yocto Project
:yocto_wiki:`Bugzilla wiki page </Bugzilla_Configuration_and_Bug_Tracking>`
and the ":ref:`dev-manual/changes:submitting a defect against the yocto project`"
section in the Yocto Project Development Tasks Manual.
and the ":doc:`../contributor-guide/report-defect`"
section in the Yocto Project and OpenEmbedded Contributor Guide.
Required Packages for the Build Host
====================================

View File

@@ -1362,6 +1362,32 @@ system and gives an overview of their function and contents.
speed since the build system skips parsing recipes not compatible
with the current machine.
If one wants to have a recipe only available for some architectures
(here ``aarch64`` and ``mips64``), the following can be used::
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE:arch64 = "^(aarch64)$"
COMPATIBLE_MACHINE:mips64 = "^(mips64)$"
The first line means "match all machines whose :term:`MACHINEOVERRIDES`
contains the empty string", which will always be none.
The second is for matching all machines whose :term:`MACHINEOVERRIDES`
contains one override which is exactly ``aarch64``.
The third is for matching all machines whose :term:`MACHINEOVERRIDES`
contains one override which is exactly ``mips64``.
The same could be achieved with::
COMPATIBLE_MACHINE = "^(aarch64|mips64)$"
.. note::
When :term:`COMPATIBLE_MACHINE` is set in a recipe inherits from
native, the recipe is always skipped. All native recipes must be
entirely target independent and should not rely on :term:`MACHINE`.
:term:`COMPLEMENTARY_GLOB`
Defines wildcards to match when installing a list of complementary
packages for all the packages explicitly (or implicitly) installed in
@@ -5918,13 +5944,11 @@ system and gives an overview of their function and contents.
omit any argument you like but must retain the separating commas. The
order is important and specifies the following:
#. Extra arguments that should be added to the configure script
argument list (:term:`EXTRA_OECONF` or
:term:`PACKAGECONFIG_CONFARGS`) if
the feature is enabled.
#. Extra arguments that should be added to :term:`PACKAGECONFIG_CONFARGS`
if the feature is enabled.
#. Extra arguments that should be added to :term:`EXTRA_OECONF` or
:term:`PACKAGECONFIG_CONFARGS` if the feature is disabled.
#. Extra arguments that should be added to :term:`PACKAGECONFIG_CONFARGS`
if the feature is disabled.
#. Additional build dependencies (:term:`DEPENDS`)
that should be added if the feature is enabled.
@@ -5982,6 +6006,38 @@ system and gives an overview of their function and contents.
PACKAGECONFIG:append:pn-recipename = " f4"
Consider the following example of a :ref:`ref-classes-cmake` recipe with a systemd service
in which :term:`PACKAGECONFIG` is used to transform the systemd service
into a feature that can be easily enabled or disabled via :term:`PACKAGECONFIG`::
example.c
example.service
CMakeLists.txt
The ``CMakeLists.txt`` file contains::
if(WITH_SYSTEMD)
install(FILES ${PROJECT_SOURCE_DIR}/example.service DESTINATION /etc/systemd/systemd)
endif(WITH_SYSTEMD)
In order to enable the installation of ``example.service`` we need to
ensure that ``-DWITH_SYSTEMD=ON`` is passed to the ``cmake`` command
execution. Recipes that have ``CMakeLists.txt`` generally inherit the
:ref:`ref-classes-cmake` class, that runs ``cmake`` with
:term:`EXTRA_OECMAKE`, which :term:`PACKAGECONFIG_CONFARGS` will be
appended to. Now, knowing that :term:`PACKAGECONFIG_CONFARGS` is
automatically filled with either the first or second element of
:term:`PACKAGECONFIG` flag value, the recipe would be like::
inherit cmake
PACKAGECONFIG = "systemd"
PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF"
A side note to this recipe is to check if ``systemd`` is in fact the used :term:`INIT_MANAGER`
or not::
PACKAGECONFIG = "${@'systemd' if d.getVar('INIT_MANAGER') == 'systemd' else ''}"
:term:`PACKAGECONFIG_CONFARGS`
A space-separated list of configuration options generated from the
:term:`PACKAGECONFIG` setting.
@@ -6776,6 +6832,36 @@ system and gives an overview of their function and contents.
in the ":ref:`ref-manual/devtool-reference:checking on the upgrade status of a recipe`"
section.
:term:`RECIPE_SYSROOT`
This variable points to the directory that holds all files populated from
recipes specified in :term:`DEPENDS`. As the name indicates,
think of this variable as a custom root (``/``) for the recipe that will be
used by the compiler in order to find headers and other files needed to complete
its job.
This variable is related to :term:`STAGING_DIR_HOST` or :term:`STAGING_DIR_TARGET`
according to the type of the recipe and the build target.
To better understand this variable, consider the following examples:
- For ``#include <header.h>``, ``header.h`` should be in ``"${RECIPE_SYSROOT}/usr/include"``
- For ``-lexample``, ``libexample.so`` should be in ``"${RECIPE_SYSROOT}/lib"``
or other library sysroot directories.
The default value is ``"${WORKDIR}/recipe-sysroot"``.
Do not modify it.
:term:`RECIPE_SYSROOT_NATIVE`
This is similar to :term:`RECIPE_SYSROOT` but the populated files are from
``-native`` recipes. This allows a recipe built for the target machine to
use ``native`` tools.
This variable is related to :term:`STAGING_DIR_NATIVE`.
The default value is ``"${WORKDIR}/recipe-sysroot-native"``.
Do not modify it.
:term:`REPODIR`
See :term:`bitbake:REPODIR` in the BitBake manual.
@@ -8015,10 +8101,15 @@ system and gives an overview of their function and contents.
for ``-native`` recipes, as they make use of host headers and
libraries.
Check :term:`RECIPE_SYSROOT` and :term:`RECIPE_SYSROOT_NATIVE`.
:term:`STAGING_DIR_NATIVE`
Specifies the path to the sysroot directory used when building
components that run on the build host itself.
The default value is ``"${RECIPE_SYSROOT_NATIVE}"``,
check :term:`RECIPE_SYSROOT_NATIVE`.
:term:`STAGING_DIR_TARGET`
Specifies the path to the sysroot used for the system for which the
component generates code. For components that do not generate code,
@@ -8203,6 +8294,35 @@ system and gives an overview of their function and contents.
${libdir}/${BPN}/ptest \
"
Consider the following example in which you need to manipulate this variable.
Assume you have a recipe ``A`` that provides a shared library ``.so.*`` that is
installed into a custom folder other than "``${libdir}``"
or "``${base_libdir}``", let's say "``/opt/lib``".
.. note::
This is not a recommended way to deal with shared libraries, but this
is just to show the usefulness of setting :term:`SYSROOT_DIRS`.
When a recipe ``B`` :term:`DEPENDS` on ``A``, it means what is in
:term:`SYSROOT_DIRS` will be copied from :term:`D` of the recipe ``B``
into ``B``'s :term:`SYSROOT_DESTDIR` that is "``${WORKDIR}/sysroot-destdir``".
Now, since ``/opt/lib`` is not in :term:`SYSROOT_DIRS`, it will never be copied to
``A``'s :term:`RECIPE_SYSROOT`, which is "``${WORKDIR}/recipe-sysroot``". So,
the linking process will fail.
To fix this, you need to add ``/opt/lib`` to :term:`SYSROOT_DIRS`::
SYSROOT_DIRS:append = " /opt/lib"
.. note::
Even after setting ``/opt/lib`` to :term:`SYSROOT_DIRS`, the linking process will still fail
because the linker does not know that location, since :term:`TARGET_LDFLAGS`
doesn't contain it (if your recipe is for the target). Therefore, so you should add::
TARGET_LDFLAGS:append = " -L${RECIPE_SYSROOT}/opt/lib"
:term:`SYSROOT_DIRS_NATIVE`
Extra directories staged into the sysroot by the
:ref:`ref-tasks-populate_sysroot` task for
@@ -8840,6 +8960,16 @@ system and gives an overview of their function and contents.
portion of an eSDK. This is similar to :term:`TOOLCHAIN_HOST_TASK`
applying to SDKs.
:term:`TOOLCHAIN_OPTIONS`
This variable holds extra options passed to the compiler and the linker
for non ``-native`` recipes as they have to point to their custom
``sysroot`` folder pointed to by :term:`RECIPE_SYSROOT`::
TOOLCHAIN_OPTIONS = " --sysroot=${RECIPE_SYSROOT}"
Native recipes don't need this variable to be set, as they are
built for the host machine with the native compiler.
:term:`TOOLCHAIN_OUTPUTNAME`
This variable defines the name used for the toolchain output. The
:ref:`populate_sdk_base <ref-classes-populate-sdk-*>` class sets

View File

@@ -39,27 +39,20 @@ Follow these steps to locate and hand-install the toolchain:
download the installer appropriate for your build host, target
hardware, and image type.
The installer files (``*.sh``) follow this naming convention::
The installer files (``*.sh``) follow this naming convention:
``poky-glibc-host_system-core-image-type-arch-toolchain[-ext]-release.sh``:
poky-glibc-host_system-core-image-type-arch-toolchain[-ext]-release.sh
- ``host_system``: string representing your development system: ``i686`` or ``x86_64``
Where:
host_system is a string representing your development system:
"i686" or "x86_64"
- ``type``: string representing the image: ``sato`` or ``minimal``
type is a string representing the image:
"sato" or "minimal"
- ``arch``: string representing the target architecture such as ``cortexa57-qemuarm64``
arch is a string representing the target architecture:
"aarch64", "armv5e", "core2-64", "cortexa8hf-neon", "i586", "mips32r2",
"mips64", or "ppc7400"
release is the version of Yocto Project.
NOTE:
The standard SDK installer does not have the "-ext" string as
part of the filename.
- ``release``: version of the Yocto Project.
.. note::
The standard SDK installer does not have the ``-ext`` string as
part of the filename.
The toolchains provided by the Yocto
Project are based off of the ``core-image-sato`` and
@@ -67,16 +60,16 @@ Follow these steps to locate and hand-install the toolchain:
developing against those images.
For example, if your build host is a 64-bit x86 system and you need
an extended SDK for a 64-bit core2 target, go into the ``x86_64``
an extended SDK for a 64-bit core2 QEMU target, go into the ``x86_64``
folder and download the following installer::
poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-&DISTRO;.sh
poky-glibc-x86_64-core-image-sato-core2-64-qemux86-64-toolchain-&DISTRO;.sh
#. *Run the Installer:* Be sure you have execution privileges and run
the installer. Following is an example from the ``Downloads``
directory::
$ ~/Downloads/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-&DISTRO;.sh
$ ~/Downloads/poky-glibc-x86_64-core-image-sato-core2-64-qemux86-64-toolchain-&DISTRO;.sh
During execution of the script, you choose the root location for the
toolchain. See the
@@ -215,21 +208,14 @@ Follow these steps to extract the root filesystem:
also contain flattened root filesystem image files (``*.ext4``),
which you can use with QEMU directly.
The pre-built root filesystem image files follow these naming
conventions::
The pre-built root filesystem image files follow the
``core-image-profile-machine.tar.bz2`` naming convention:
core-image-profile-arch.tar.bz2
- ``profile``: filesystem image's profile, such as ``minimal``,
``minimal-dev`` or ``sato``. For information on these types of image
profiles, see the "Images" chapter in the Yocto Project Reference Manual.
Where:
profile is the filesystem image's profile:
lsb, lsb-dev, lsb-sdk, minimal, minimal-dev, minimal-initramfs,
sato, sato-dev, sato-sdk, sato-sdk-ptest. For information on
these types of image profiles, see the "Images" chapter in
the Yocto Project Reference Manual.
arch is a string representing the target architecture:
beaglebone-yocto, beaglebone-yocto-lsb, edgerouter, edgerouter-lsb,
genericx86, genericx86-64, genericx86-64-lsb, genericx86-lsb and qemu*.
- ``machine``: same string as the name of the parent download directory.
The root filesystems
provided by the Yocto Project are based off of the

View File

@@ -48,18 +48,20 @@ Extensible SDK can be installed in two different ways, and both have
their own pros and cons:
#. *Setting up the Extensible SDK environment directly in a Yocto build*. This
avoids having to produce, test, distribute and maintain separate SDK installer
archives, which can get very large. There is only one environment for the regular
Yocto build and the SDK and less code paths where things can go not according to plan.
It's easier to update the SDK: it simply means updating the Yocto layers with
git fetch or layer management tooling. The SDK extensibility is better than in the
second option: just run ``bitbake`` again to add more things to the sysroot, or add layers
if even more things are required.
avoids having to produce, test, distribute and maintain separate SDK
installer archives, which can get very large. There is only one environment
for the regular Yocto build and the SDK and less code paths where things can
go not according to plan. It's easier to update the SDK: it simply means
updating the Yocto layers with git fetch or layer management tooling. The
SDK extensibility is better than in the second option: just run ``bitbake``
again to add more things to the sysroot, or add layers if even more things
are required.
#. *Setting up the Extensible SDK from a standalone installer*. This has the benefit of
having a single, self-contained archive that includes all the needed binary artifacts.
So nothing needs to be rebuilt, and there is no need to provide a well-functioning
binary artefact cache over the network for developers with underpowered laptops.
#. *Setting up the Extensible SDK from a standalone installer*. This has the
benefit of having a single, self-contained archive that includes all the
needed binary artifacts. So nothing needs to be rebuilt, and there is no
need to provide a well-functioning binary artefact cache over the network
for developers with underpowered laptops.
Setting up the Extensible SDK environment directly in a Yocto build
-------------------------------------------------------------------
@@ -67,12 +69,12 @@ Setting up the Extensible SDK environment directly in a Yocto build
#. Set up all the needed layers and a Yocto :term:`Build Directory`, e.g. a regular Yocto
build where ``bitbake`` can be executed.
#. Run:
$ bitbake meta-ide-support
$ bitbake -c populate_sysroot gtk+3
(or any other target or native item that the application developer would need)
$ bitbake build-sysroots
#. Run::
$ bitbake meta-ide-support
$ bitbake -c populate_sysroot gtk+3
# or any other target or native item that the application developer would need
$ bitbake build-sysroots
Setting up the Extensible SDK from a standalone installer
---------------------------------------------------------
@@ -194,15 +196,13 @@ script is for an IA-based target machine using i586 tuning::
Run devtool --help for further details.
When using the environment script directly in a Yocto build, it can
be run similarly:
be run similarly::
$ source tmp/deploy/images/qemux86-64/environment-setup-core2-64-poky-linux
Running the setup script defines many environment variables needed in
order to use the SDK (e.g. ``PATH``,
:term:`CC`,
:term:`LD`, and so forth). If you want to
see all the environment variables the script exports, examine the
Running the setup script defines many environment variables needed in order to
use the SDK (e.g. ``PATH``, :term:`CC`, :term:`LD`, and so forth). If you want
to see all the environment variables the script exports, examine the
installation file itself.
Using ``devtool`` in Your SDK Workflow
@@ -216,11 +216,8 @@ system.
.. note::
The use of
devtool
is not limited to the extensible SDK. You can use
devtool
to help you easily develop any project whose build output must be
The use of ``devtool`` is not limited to the extensible SDK. You can use
``devtool`` to help you easily develop any project whose build output must be
part of an image built using the build system.
The ``devtool`` command line is organized similarly to
@@ -230,15 +227,10 @@ all the commands.
.. note::
See the "
devtool
 Quick Reference
" in the Yocto Project Reference Manual for a
devtool
quick reference.
See the ":doc:`/ref-manual/devtool-reference`"
section in the Yocto Project Reference Manual.
Three ``devtool`` subcommands provide entry-points into
development:
Three ``devtool`` subcommands provide entry-points into development:
- *devtool add*: Assists in adding new software to be built.
@@ -315,9 +307,8 @@ command:
.. note::
If required,
devtool
always creates a Git repository locally during the extraction.
If required, ``devtool`` always creates a Git repository locally
during the extraction.
Furthermore, the first positional argument ``srctree`` in this case
identifies where the ``devtool add`` command will locate the
@@ -326,8 +317,7 @@ command:
$ devtool add recipe srctree fetchuri
In summary,
the source code is pulled from fetchuri and extracted into the
In summary, the source code is pulled from fetchuri and extracted into the
location defined by ``srctree`` as a local Git repository.
Within workspace, ``devtool`` creates a recipe named recipe along
@@ -358,16 +348,14 @@ command:
$ devtool edit-recipe recipe
From within the editor, you
can make modifications to the recipe that take effect when you build
it later.
From within the editor, you can make modifications to the recipe that
take effect when you build it later.
#. *Build the Recipe or Rebuild the Image*: The next step you take
depends on what you are going to do with the new code.
If you need to eventually move the build output to the target
hardware, use the following ``devtool`` command:
:;
hardware, use the following ``devtool`` command::
$ devtool build recipe
@@ -392,8 +380,11 @@ command:
development machine.
You can deploy your build output to that target hardware by using the
``devtool deploy-target`` command: $ devtool deploy-target recipe
target The target is a live target machine running as an SSH server.
``devtool deploy-target`` command::
$ devtool deploy-target recipe target
The target is a live target machine running as an SSH server.
You can, of course, also deploy the image you build to actual
hardware by using the ``devtool build-image`` command. However,
@@ -422,11 +413,9 @@ command:
.. note::
You can use the
devtool reset
command to put things back should you decide you do not want to
proceed with your work. If you do use this command, realize that
the source tree is preserved.
You can use the ``devtool reset`` command to put things back should you
decide you do not want to proceed with your work. If you do use this
command, realize that the source tree is preserved.
Use ``devtool modify`` to Modify the Source of an Existing Component
--------------------------------------------------------------------
@@ -473,11 +462,9 @@ command:
$ devtool modify recipe
Once
``devtool``\ locates the recipe, ``devtool`` uses the recipe's
:term:`SRC_URI` statements to
locate the source code and any local patch files from other
developers.
Once ``devtool`` locates the recipe, ``devtool`` uses the recipe's
:term:`SRC_URI` statements to locate the source code and any local
patch files from other developers.
With this scenario, there is no ``srctree`` argument. Consequently, the
default behavior of the ``devtool modify`` command is to extract
@@ -513,11 +500,7 @@ command:
.. note::
You cannot provide a URL for
srctree
using the
devtool
command.
You cannot provide a URL for ``srctree`` using the ``devtool`` command.
As with all extractions, the command uses the recipe's :term:`SRC_URI`
statements to locate the source files and any associated patch
@@ -570,7 +553,9 @@ command:
On the other hand, if you want an image to contain the recipe's
packages from the workspace for immediate deployment onto a device
(e.g. for testing purposes), you can use the ``devtool build-image``
command: $ devtool build-image image
command::
$ devtool build-image image
#. *Deploy the Build Output*: When you use the ``devtool build`` command
to build out your recipe, you probably want to see if the resulting
@@ -610,8 +595,7 @@ command:
Any changes you want to turn into patches must be staged and
committed within the local Git repository before you use the
devtool finish
command.
``devtool finish`` command.
Because there is no need to move the recipe, ``devtool finish``
either updates the original recipe in the original layer or the
@@ -626,11 +610,9 @@ command:
.. note::
You can use the
devtool reset
command to put things back should you decide you do not want to
proceed with your work. If you do use this command, realize that
the source tree is preserved.
You can use the ``devtool reset`` command to put things back should you
decide you do not want to proceed with your work. If you do use this
command, realize that the source tree is preserved.
Use ``devtool upgrade`` to Create a Version of the Recipe that Supports a Newer Version of the Software
-------------------------------------------------------------------------------------------------------
@@ -644,12 +626,11 @@ counterparts.
.. note::
Several methods exist by which you can upgrade recipes -
``devtool upgrade``
happens to be one. You can read about all the methods by which you
can upgrade recipes in the
:ref:`dev-manual/upgrading-recipes:upgrading recipes` section
of the Yocto Project Development Tasks Manual.
Several methods exist by which you can upgrade recipes ---
``devtool upgrade`` happens to be one. You can read about all the methods by
which you can upgrade recipes in the
:ref:`dev-manual/upgrading-recipes:upgrading recipes` section of the Yocto
Project Development Tasks Manual.
The ``devtool upgrade`` command is flexible enough to allow you to specify
source code revision and versioning schemes, extract code into or out of the
@@ -755,8 +736,11 @@ The following diagram shows the common development flow used with the
development machine.
You can deploy your build output to that target hardware by using the
``devtool deploy-target`` command: $ devtool deploy-target recipe
target The target is a live target machine running as an SSH server.
``devtool deploy-target`` command::
$ devtool deploy-target recipe target
The target is a live target machine running as an SSH server.
You can, of course, also deploy the image you build using the
``devtool build-image`` command to actual hardware. However,
@@ -790,11 +774,9 @@ The following diagram shows the common development flow used with the
.. note::
You can use the
devtool reset
command to put things back should you decide you do not want to
proceed with your work. If you do use this command, realize that
the source tree is preserved.
You can use the ``devtool reset`` command to put things back should you
decide you do not want to proceed with your work. If you do use this
command, realize that the source tree is preserved.
A Closer Look at ``devtool add``
================================
@@ -862,10 +844,9 @@ run ``devtool add`` again and provide the name or the version.
Dependency Detection and Mapping
--------------------------------
The ``devtool add`` command attempts to detect build-time dependencies
and map them to other recipes in the system. During this mapping, the
command fills in the names of those recipes as part of the
:term:`DEPENDS` variable within the
The ``devtool add`` command attempts to detect build-time dependencies and map
them to other recipes in the system. During this mapping, the command fills in
the names of those recipes as part of the :term:`DEPENDS` variable within the
recipe. If a dependency cannot be mapped, ``devtool`` places a comment
in the recipe indicating such. The inability to map a dependency can
result from naming not being recognized or because the dependency simply
@@ -882,10 +863,8 @@ following to your recipe::
.. note::
The
devtool add
command often cannot distinguish between mandatory and optional
dependencies. Consequently, some of the detected dependencies might
The ``devtool add`` command often cannot distinguish between mandatory and
optional dependencies. Consequently, some of the detected dependencies might
in fact be optional. When in doubt, consult the documentation or the
configure script for the software the recipe is building for further
details. In some cases, you might find you can substitute the
@@ -895,16 +874,14 @@ following to your recipe::
License Detection
-----------------
The ``devtool add`` command attempts to determine if the software you
are adding is able to be distributed under a common, open-source
license. If so, the command sets the
:term:`LICENSE` value accordingly.
The ``devtool add`` command attempts to determine if the software you are
adding is able to be distributed under a common, open-source license. If
so, the command sets the :term:`LICENSE` value accordingly.
You should double-check the value added by the command against the
documentation or source files for the software you are building and, if
necessary, update that :term:`LICENSE` value.
The ``devtool add`` command also sets the
:term:`LIC_FILES_CHKSUM`
The ``devtool add`` command also sets the :term:`LIC_FILES_CHKSUM`
value to point to all files that appear to be license-related. Realize
that license statements often appear in comments at the top of source
files or within the documentation. In such cases, the command does not
@@ -984,10 +961,9 @@ mind:
Adding Native Tools
-------------------
Often, you need to build additional tools that run on the :term:`Build
Host` as opposed to
the target. You should indicate this requirement by using one of the
following methods when you run ``devtool add``:
Often, you need to build additional tools that run on the :term:`Build Host`
as opposed to the target. You should indicate this requirement by using one of
the following methods when you run ``devtool add``:
- Specify the name of the recipe such that it ends with "-native".
Specifying the name like this produces a recipe that only builds for
@@ -1011,8 +987,7 @@ Adding Node.js Modules
----------------------
You can use the ``devtool add`` command two different ways to add
Node.js modules: 1) Through ``npm`` and, 2) from a repository or local
source.
Node.js modules: through ``npm`` or from a repository or local source.
Use the following form to add Node.js modules through ``npm``::
@@ -1027,7 +1002,7 @@ these behaviors ensure the reproducibility and integrity of the build.
.. note::
- You must use quotes around the URL. The ``devtool add`` does not
- You must use quotes around the URL. ``devtool add`` does not
require the quotes, but the shell considers ";" as a splitter
between multiple commands. Thus, without the quotes,
``devtool add`` does not receive the other parts, which results in
@@ -1042,9 +1017,8 @@ repository or local source tree. To add modules this way, use
$ devtool add https://github.com/diversario/node-ssdp
In this example, ``devtool``
fetches the specified Git repository, detects the code as Node.js code,
fetches dependencies using ``npm``, and sets
In this example, ``devtool`` fetches the specified Git repository, detects the
code as Node.js code, fetches dependencies using ``npm``, and sets
:term:`SRC_URI` accordingly.
Working With Recipes
@@ -1121,18 +1095,13 @@ Setting Configure Arguments
If the software your recipe is building uses GNU autoconf, then a fixed
set of arguments is passed to it to enable cross-compilation plus any
extras specified by
:term:`EXTRA_OECONF` or
:term:`PACKAGECONFIG_CONFARGS`
extras specified by :term:`EXTRA_OECONF` or :term:`PACKAGECONFIG_CONFARGS`
set within the recipe. If you wish to pass additional options, add them
to :term:`EXTRA_OECONF` or :term:`PACKAGECONFIG_CONFARGS`. Other supported build
tools have similar variables (e.g.
:term:`EXTRA_OECMAKE` for
CMake, :term:`EXTRA_OESCONS`
for Scons, and so forth). If you need to pass anything on the ``make``
command line, you can use :term:`EXTRA_OEMAKE` or the
:term:`PACKAGECONFIG_CONFARGS`
variables to do so.
tools have similar variables (e.g. :term:`EXTRA_OECMAKE` for CMake,
:term:`EXTRA_OESCONS` for Scons, and so forth). If you need to pass anything on
the ``make`` command line, you can use :term:`EXTRA_OEMAKE` or the
:term:`PACKAGECONFIG_CONFARGS` variables to do so.
You can use the ``devtool configure-help`` command to help you set the
arguments listed in the previous paragraph. The command determines the
@@ -1156,8 +1125,7 @@ the build host.
Recipes should never write files directly into the sysroot. Instead,
files should be installed into standard locations during the
:ref:`ref-tasks-install` task within
the ``${``\ :term:`D`\ ``}`` directory. A
:ref:`ref-tasks-install` task within the ``${``\ :term:`D`\ ``}`` directory. A
subset of these files automatically goes into the sysroot. The reason
for this limitation is that almost all files that go into the sysroot
are cataloged in manifests in order to ensure they can be removed later
@@ -1173,14 +1141,12 @@ the target device, it is important to understand packaging because the
contents of the image are expressed in terms of packages and not
recipes.
During the :ref:`ref-tasks-package`
task, files installed during the
:ref:`ref-tasks-install` task are
split into one main package, which is almost always named the same as
the recipe, and into several other packages. This separation exists
because not all of those installed files are useful in every image. For
example, you probably do not need any of the documentation installed in
a production image. Consequently, for each recipe the documentation
During the :ref:`ref-tasks-package` task, files installed during the
:ref:`ref-tasks-install` task are split into one main package, which is almost
always named the same as the recipe, and into several other packages. This
separation exists because not all of those installed files are useful in every
image. For example, you probably do not need any of the documentation installed
in a production image. Consequently, for each recipe the documentation
files are separated into a ``-doc`` package. Recipes that package
software containing optional modules or plugins might undergo additional
package splitting as well.
@@ -1188,8 +1154,7 @@ package splitting as well.
After building a recipe, you can see where files have gone by looking in
the ``oe-workdir/packages-split`` directory, which contains a
subdirectory for each package. Apart from some advanced cases, the
:term:`PACKAGES` and
:term:`FILES` variables controls
:term:`PACKAGES` and :term:`FILES` variables controls
splitting. The :term:`PACKAGES` variable lists all of the packages to be
produced, while the :term:`FILES` variable specifies which files to include
in each package by using an override to specify the package. For
@@ -1231,16 +1196,11 @@ target machine.
.. note::
The
devtool deploy-target
and
devtool undeploy-target
commands do not currently interact with any package management system
on the target device (e.g. RPM or OPKG). Consequently, you should not
intermingle
devtool deploy-target
and package manager operations on the target device. Doing so could
result in a conflicting set of files.
The ``devtool deploy-target`` and ``devtool undeploy-target`` commands do
not currently interact with any package management system on the target
device (e.g. RPM or OPKG). Consequently, you should not intermingle
``devtool deploy-target`` and package manager operations on the target
device. Doing so could result in a conflicting set of files.
Installing Additional Items Into the Extensible SDK
===================================================
@@ -1264,7 +1224,7 @@ When using the extensible SDK directly in a Yocto build
In this scenario, the Yocto build tooling, e.g. ``bitbake``
is directly accessible to build additional items, and it
can simply be executed directly:
can simply be executed directly::
$ bitbake mesa
$ bitbake build-sysroots
@@ -1272,6 +1232,8 @@ can simply be executed directly:
When using a standalone installer for the Extensible SDK
--------------------------------------------------------
::
$ devtool sdk-install mesa
By default, the ``devtool sdk-install`` command assumes
@@ -1297,13 +1259,13 @@ To update your installed SDK, use ``devtool`` as follows::
$ devtool sdk-update
The previous command assumes your SDK provider has set the
default update URL for you through the :term:`SDK_UPDATE_URL`
variable as described in the
The previous command assumes your SDK provider has set the default update URL
for you through the :term:`SDK_UPDATE_URL` variable as described in the
":ref:`sdk-manual/appendix-customizing:Providing Updates to the Extensible SDK After Installation`"
section. If the SDK provider has not set that default URL, you need to
specify it yourself in the command as follows: $ devtool sdk-update
path_to_update_directory
specify it yourself in the command as follows::
$ devtool sdk-update path_to_update_directory
.. note::

View File

@@ -1019,7 +1019,7 @@
id="tspan1183-1-8"
x="-52.348656"
y="518.42615"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:37.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke:none">Objets</tspan></text>
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:37.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke:none">Objects</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:13.3333px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View File

@@ -68,17 +68,6 @@ things we do within the build system to ensure reproducibility include:
- Filtering the tools available from the host's ``PATH`` to only a specific set
of tools, set using the :term:`HOSTTOOLS` variable.
.. note::
Because of an open bug in GCC, using ``DISTRO_FEATURES:append = " lto"`` or
adding ``-flto`` (Link Time Optimization) to :term:`CFLAGS` makes the resulting
binary non-reproducible, in that it depends on the full absolute build path
to ``recipe-sysroot-native``, so installing the Yocto Project in a different
directory results in a different binary.
This issue is addressed by
:yocto_bugs:`bug 14481 - Programs built with -flto are not reproducible</show_bug.cgi?id=14481>`.
=========================================
Can we prove the project is reproducible?
=========================================

View File

@@ -1,6 +1,6 @@
DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "4.2.3"
DISTRO_VERSION = "4.2.4"
DISTRO_CODENAME = "mickledore"
SDK_VENDOR = "-pokysdk"
SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"

View File

@@ -10,7 +10,8 @@ class DnfSelftest(DnfTest):
import tempfile
cls.temp_dir = tempfile.TemporaryDirectory(prefix="oeqa-remotefeeds-")
cls.repo_server = HTTPService(os.path.join(cls.tc.td['WORKDIR'], 'oe-rootfs-repo'),
cls.tc.target.server_ip)
'0.0.0.0', port=cls.tc.target.server_port,
logger=cls.tc.logger)
cls.repo_server.start()
@classmethod

View File

@@ -94,9 +94,8 @@ def package_qa_check_shebang_size(path, name, d, elf, messages):
return
if stanza.startswith(b'#!'):
#Shebang not found
try:
stanza = stanza.decode("utf-8")
stanza.decode("utf-8")
except UnicodeDecodeError:
#If it is not a text file, it is not a script
return

View File

@@ -499,11 +499,9 @@ python do_package () {
# Check for conflict between renamed packages and existing ones
# for each package in PACKAGES, check if it will be renamed to an existing one
for p in packages:
localdata = bb.data.createCopy(d)
localdata.setVar('OVERRIDES', p)
rename = localdata.getVar('PKG')
if (rename != None) and rename in packages:
bb.fatal('package "%s" is renamed to "%s" using PKG:%s, but package name already exists'%(p,rename,p))
rename = d.getVar('PKG:%s' % p)
if rename and rename in packages:
bb.fatal('package "%s" is renamed to "%s" using PKG:%s, but package name already exists' % (p, rename, p))
###########################################################################
# Optimisations

View File

@@ -51,10 +51,10 @@ OECMAKE_CXX_COMPILER ?= "${@oecmake_map_compiler('CXX', d)[0]}"
OECMAKE_CXX_COMPILER_LAUNCHER ?= "${@oecmake_map_compiler('CXX', d)[1]}"
# clear compiler vars for allarch to avoid sig hash difference
OECMAKE_C_COMPILER_allarch = ""
OECMAKE_C_COMPILER_LAUNCHER_allarch = ""
OECMAKE_CXX_COMPILER_allarch = ""
OECMAKE_CXX_COMPILER_LAUNCHER_allarch = ""
OECMAKE_C_COMPILER:allarch = ""
OECMAKE_C_COMPILER_LAUNCHER:allarch = ""
OECMAKE_CXX_COMPILER:allarch = ""
OECMAKE_CXX_COMPILER_LAUNCHER:allarch = ""
OECMAKE_RPATH ?= ""
OECMAKE_PERLNATIVE_DIR ??= ""

View File

@@ -53,7 +53,7 @@ python do_menuconfig() {
# ensure that environment variables are overwritten with this tasks 'd' values
d.appendVar("OE_TERMINAL_EXPORTS", " PKG_CONFIG_DIR PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR")
oe_terminal("sh -c \"make %s; if [ \\$? -ne 0 ]; then echo 'Command failed.'; printf 'Press any key to continue... '; read r; fi\"" % d.getVar('KCONFIG_CONFIG_COMMAND'),
oe_terminal("sh -c 'make %s; if [ \\$? -ne 0 ]; then echo \"Command failed.\"; printf \"Press any key to continue... \"; read r; fi'" % d.getVar('KCONFIG_CONFIG_COMMAND'),
d.getVar('PN') + ' Configuration', d)
# FIXME this check can be removed when the minimum bitbake version has been bumped

View File

@@ -13,6 +13,7 @@ PACKAGE_WRITE_DEPS += "qemu-native"
inherit qemu
FONT_PACKAGES ??= "${PN}"
FONT_PACKAGES:class-native = ""
FONT_EXTRA_RDEPENDS ?= "${MLPREFIX}fontconfig-utils"
FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig"
FONTCONFIG_CACHE_PARAMS ?= "-v"

View File

@@ -445,8 +445,8 @@ kernel_do_install() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install
rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source"
rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source"
# Remove empty module directories to prevent QA issues
find "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" -type d -empty -delete
else

View File

@@ -152,7 +152,7 @@ python do_create_extlinux_config() {
bb.fatal('Unable to open %s' % (cfile))
}
UBOOT_EXTLINUX_VARS = "CONSOLE MENU_DESCRIPTION ROOT KERNEL_IMAGE FDTDIR FDT KERNEL_ARGS INITRD"
do_create_extlinux_config[vardeps] += "${@' '.join(['UBOOT_EXTLINUX_%s_%s' % (v, l) for v in d.getVar('UBOOT_EXTLINUX_VARS').split() for l in d.getVar('UBOOT_EXTLINUX_LABELS').split()])}"
do_create_extlinux_config[vardeps] += "${@' '.join(['UBOOT_EXTLINUX_%s:%s' % (v, l) for v in d.getVar('UBOOT_EXTLINUX_VARS').split() for l in d.getVar('UBOOT_EXTLINUX_LABELS').split()])}"
do_create_extlinux_config[vardepsexclude] += "OVERRIDES"
addtask create_extlinux_config before do_install do_deploy after do_compile

View File

@@ -32,7 +32,7 @@ CVE_PRODUCT ??= "${BPN}"
CVE_VERSION ??= "${PV}"
CVE_CHECK_DB_DIR ?= "${DL_DIR}/CVE_CHECK"
CVE_CHECK_DB_FILE ?= "${CVE_CHECK_DB_DIR}/nvdcve_2.db"
CVE_CHECK_DB_FILE ?= "${CVE_CHECK_DB_DIR}/nvdcve_2-1.db"
CVE_CHECK_DB_FILE_LOCK ?= "${CVE_CHECK_DB_FILE}.lock"
CVE_CHECK_LOG ?= "${T}/cve.log"
@@ -104,6 +104,8 @@ def generate_json_report(d, out_path, link_path):
cve_check_merge_jsons(summary, data)
filename = f.readline()
summary["package"].sort(key=lambda d: d['name'])
with open(out_path, "w") as f:
json.dump(summary, f, indent=2)
@@ -403,6 +405,7 @@ def get_cve_info(d, cves):
cve_data[row[0]]["scorev3"] = row[3]
cve_data[row[0]]["modified"] = row[4]
cve_data[row[0]]["vector"] = row[5]
cve_data[row[0]]["vectorString"] = row[6]
cursor.close()
conn.close()
return cve_data
@@ -459,6 +462,7 @@ def cve_write_data_text(d, patched, unpatched, ignored, cve_data):
write_string += "CVSS v2 BASE SCORE: %s\n" % cve_data[cve]["scorev2"]
write_string += "CVSS v3 BASE SCORE: %s\n" % cve_data[cve]["scorev3"]
write_string += "VECTOR: %s\n" % cve_data[cve]["vector"]
write_string += "VECTORSTRING: %s\n" % cve_data[cve]["vectorString"]
write_string += "MORE INFORMATION: %s%s\n\n" % (nvd_link, cve)
if unpatched_cves and d.getVar("CVE_CHECK_SHOW_WARNINGS") == "1":
@@ -573,6 +577,7 @@ def cve_write_data_json(d, patched, unpatched, ignored, cve_data, cve_status):
"scorev2" : cve_data[cve]["scorev2"],
"scorev3" : cve_data[cve]["scorev3"],
"vector" : cve_data[cve]["vector"],
"vectorString" : cve_data[cve]["vectorString"],
"status" : status,
"link": issue_link
}

View File

@@ -75,6 +75,8 @@ python () {
# Dummy value because the default function can't be called with blank SRC_URI
d.setVar('SRCPV', '999')
# sstate is never going to work for external source trees, disable it
d.setVar('SSTATE_SKIP_CREATION', '1')
if d.getVar('CONFIGUREOPT_DEPTRACK') == '--disable-dependency-tracking':
d.setVar('CONFIGUREOPT_DEPTRACK', '')
@@ -82,10 +84,7 @@ python () {
tasks = filter(lambda k: d.getVarFlag(k, "task"), d.keys())
for task in tasks:
if task.endswith("_setscene"):
# sstate is never going to work for external source trees, disable it
bb.build.deltask(task, d)
elif os.path.realpath(d.getVar('S')) == os.path.realpath(d.getVar('B')):
if os.path.realpath(d.getVar('S')) == os.path.realpath(d.getVar('B')):
# Since configure will likely touch ${S}, ensure only we lock so one task has access at a time
d.appendVarFlag(task, "lockfiles", " ${S}/singletask.lock")

View File

@@ -521,7 +521,7 @@ HOSTTOOLS_DIR = "${TMPDIR}/hosttools"
# Tools needed to run builds with OE-Core
HOSTTOOLS += " \
[ ar as awk basename bash bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio \
[ ar as awk basename bash bunzip2 bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio \
cpp cut date dd diff diffstat dirname du echo egrep env expand expr false \
fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \
head hostname iconv id install ld ldd ln ls lz4c make md5sum mkdir mkfifo mknod \

View File

@@ -6,10 +6,10 @@
# to the distro running on the build machine.
#
UNINATIVE_MAXGLIBCVERSION = "2.37"
UNINATIVE_VERSION = "4.0"
UNINATIVE_MAXGLIBCVERSION = "2.38"
UNINATIVE_VERSION = "4.3"
UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/${UNINATIVE_VERSION}/"
UNINATIVE_CHECKSUM[aarch64] ?= "7baa8418a302df52e00916193b0a04f318356d9d2670c9a2bce3e966efefd738"
UNINATIVE_CHECKSUM[i686] ?= "83114d36883d43a521e280742b9849bf85d039b2f83d8e21d480659babe75ee8"
UNINATIVE_CHECKSUM[x86_64] ?= "fd75b2a1a67a10f6b7d65afb7d0f3e71a63b0038e428f34dfe420bb37716558a"
UNINATIVE_CHECKSUM[aarch64] ?= "8df05f4a41455018b4303b2e0ea4eac5c960b5a13713f6dbb33dfdb3e32753ec"
UNINATIVE_CHECKSUM[i686] ?= "bea76b4a97c9ba0077c0dd1295f519cd599dbf71f0ca1c964471c4cdb043addd"
UNINATIVE_CHECKSUM[x86_64] ?= "1c35f09a75c4096749bbe1e009df4e3968cde151424062cf4aa3ed89db22b030"

View File

@@ -2,6 +2,7 @@
baselib = "${@d.getVar('BASE_LIB:tune-' + (d.getVar('DEFAULTTUNE') or 'INVALID')) or d.getVar('BASELIB')}"
MULTILIB_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}"
MULTILIB_VARIANTS[vardeps] += "MULTILIBS"
MULTILIB_SAVE_VARNAME = "DEFAULTTUNE TARGET_ARCH TARGET_SYS TARGET_VENDOR"
MULTILIBS ??= "multilib:lib32"

View File

@@ -71,7 +71,7 @@ def main():
ret = run_command_interruptible('BB_SETSCENE_ENFORCE=1 bitbake --quiet %s' % ' '.join(sdk_targets))
if not ret:
ret = run_command_interruptible('bitbake --quiet build-sysroots')
ret = run_command_interruptible('bitbake --quiet build-sysroots -c build_native_sysroot && bitbake --quiet build-sysroots -c build_target_sysroot')
lastlog = get_last_consolelog()
if lastlog:
with open(lastlog, 'r') as f:

View File

@@ -95,11 +95,6 @@ def get_patched_cves(d):
for url in oe.patch.src_patches(d):
patch_file = bb.fetch.decodeurl(url)[2]
# Remote compressed patches may not be unpacked, so silently ignore them
if not os.path.isfile(patch_file):
bb.warn("%s does not exist, cannot extract CVE list" % patch_file)
continue
# Check patch file name for CVE ID
fname_match = cve_file_name_match.search(patch_file)
if fname_match:
@@ -107,6 +102,12 @@ def get_patched_cves(d):
patched_cves.add(cve)
bb.debug(2, "Found CVE %s from patch file name %s" % (cve, patch_file))
# Remote patches won't be present and compressed patches won't be
# unpacked, so say we're not scanning them
if not os.path.isfile(patch_file):
bb.note("%s is remote or compressed, not scanning content" % patch_file)
continue
with open(patch_file, "r", encoding="utf-8") as f:
try:
patch_text = f.read()
@@ -165,7 +166,7 @@ def cve_check_merge_jsons(output, data):
for product in output["package"]:
if product["name"] == data["package"][0]["name"]:
bb.error("Error adding the same package twice")
bb.error("Error adding the same package %s twice" % product["name"])
return
output["package"].append(data["package"][0])

View File

@@ -470,7 +470,10 @@ def create_packages_dir(d, subrepo_dir, deploydir, taskname, filterbydependencie
# Detect bitbake -b usage
nodeps = d.getVar("BB_LIMITEDDEPS") or False
if nodeps or not filterbydependencies:
oe.path.symlink(deploydir, subrepo_dir, True)
for arch in d.getVar("ALL_MULTILIB_PACKAGE_ARCHS").split() + d.getVar("ALL_MULTILIB_PACKAGE_ARCHS").replace("-", "_").split():
target = os.path.join(deploydir + "/" + arch)
if os.path.exists(target):
oe.path.symlink(target, subrepo_dir + "/" + arch, True)
return
start = None

View File

@@ -547,7 +547,10 @@ class GitApplyTree(PatchTree):
reporoot = (runcmd("git rev-parse --show-toplevel".split(), self.dir) or '').strip()
if not reporoot:
raise Exception("Cannot get repository root for directory %s" % self.dir)
hooks_dir = os.path.join(reporoot, '.git', 'hooks')
gitdir = (runcmd("git rev-parse --absolute-git-dir".split(), self.dir) or '').strip()
if not gitdir:
raise Exception("Cannot get gitdir for directory %s" % self.dir)
hooks_dir = os.path.join(gitdir, 'hooks')
hooks_dir_backup = hooks_dir + '.devtool-orig'
if os.path.lexists(hooks_dir_backup):
raise Exception("Git hooks backup directory already exists: %s" % hooks_dir_backup)

View File

@@ -263,7 +263,7 @@ def fork_for_tests(concurrency_num, suite):
ourpid = os.getpid()
try:
newbuilddir = None
stream = os.fdopen(c2pwrite, 'wb', 1)
stream = os.fdopen(c2pwrite, 'wb')
os.close(c2pread)
(builddir, newbuilddir) = suite.setupfunc("-st-" + str(ourpid), selftestdir, process_suite)
@@ -308,7 +308,7 @@ def fork_for_tests(concurrency_num, suite):
os._exit(0)
else:
os.close(c2pwrite)
stream = os.fdopen(c2pread, 'rb', 1)
stream = os.fdopen(c2pread, 'rb')
# Collect stdout/stderr into an io buffer
output = io.BytesIO()
testserver = ProtocolTestCase(stream, passthrough=output)

View File

@@ -93,7 +93,7 @@ class PtestRunnerTest(OERuntimeTestCase):
failed_tests = {}
for section in sections:
if 'exitcode' in sections[section].keys():
if 'exitcode' in sections[section].keys() or 'timeout' in sections[section].keys():
failed_tests[section] = sections[section]["log"]
for section in results:

View File

@@ -18,7 +18,8 @@ class MetaIDE(OESelftestTestCase):
def setUpClass(cls):
super(MetaIDE, cls).setUpClass()
bitbake('meta-ide-support')
bitbake('build-sysroots')
bitbake('build-sysroots -c build_native_sysroot')
bitbake('build-sysroots -c build_target_sysroot')
bb_vars = get_bb_vars(['MULTIMACH_TARGET_SYS', 'DEPLOY_DIR_IMAGE', 'COREBASE'])
cls.environment_script = 'environment-setup-%s' % bb_vars['MULTIMACH_TARGET_SYS']
cls.deploydir = bb_vars['DEPLOY_DIR_IMAGE']
@@ -55,5 +56,5 @@ class MetaIDE(OESelftestTestCase):
def test_meta_ide_can_run_sdk_tests(self):
bitbake('-c populate_sysroot gtk+3')
bitbake('build-sysroots')
bitbake('build-sysroots -c build_target_sysroot')
bitbake('-c testsdk meta-ide-support')

View File

@@ -729,7 +729,7 @@ part /etc --source rootfs --fstype=ext4 --change-directory=etc
wicout = glob(os.path.join(self.resultdir, "wictestdisk-*.direct"))
self.assertEqual(1, len(wicout))
size = os.path.getsize(wicout[0])
self.assertTrue(size > extraspace)
self.assertTrue(size > extraspace, msg="Extra space not present (%s vs %s)" % (size, extraspace))
class Wic2(WicTestCase):
@@ -756,7 +756,7 @@ class Wic2(WicTestCase):
basename = bb_vars['IMAGE_BASENAME']
self.assertEqual(basename, image)
path = os.path.join(imgdatadir, basename) + '.env'
self.assertTrue(os.path.isfile(path))
self.assertTrue(os.path.isfile(path), msg="File %s wasn't generated as expected" % path)
wicvars = set(bb_vars['WICVARS'].split())
# filter out optional variables
@@ -769,7 +769,7 @@ class Wic2(WicTestCase):
# test if variables used by wic present in the .env file
for var in wicvars:
self.assertTrue(var in content, "%s is not in .env file" % var)
self.assertTrue(content[var])
self.assertTrue(content[var], "%s doesn't have a value (%s)" % (var, content[var]))
def test_image_vars_dir_short(self):
"""Test image vars directory selection -v option"""
@@ -816,8 +816,8 @@ class Wic2(WicTestCase):
# pointing to existing files
for suffix in ('wic', 'manifest'):
path = prefix + suffix
self.assertTrue(os.path.islink(path))
self.assertTrue(os.path.isfile(os.path.realpath(path)))
self.assertTrue(os.path.islink(path), msg="Link %s wasn't generated as expected" % path)
self.assertTrue(os.path.isfile(os.path.realpath(path)), msg="File linked to by %s wasn't generated as expected" % path)
# TODO this should work on aarch64
@skipIfNotArch(['i586', 'i686', 'x86_64'])
@@ -1087,7 +1087,7 @@ class Wic2(WicTestCase):
self.remove_config(config)
bb_vars = get_bb_vars(['DEPLOY_DIR_IMAGE', 'IMAGE_LINK_NAME'], image)
image_path = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], '%s.wic' % bb_vars['IMAGE_LINK_NAME'])
self.assertTrue(os.path.exists(image_path))
self.assertTrue(os.path.exists(image_path), msg="Image file %s wasn't generated as expected" % image_path)
sysroot = get_bb_var('RECIPE_SYSROOT_NATIVE', 'wic-tools')
@@ -1328,11 +1328,11 @@ class Wic2(WicTestCase):
orig_sizes = [int(line.split()[3]) for line in orig.output.split('\n')[1:]]
exp_sizes = [int(line.split()[3]) for line in exp.output.split('\n')[1:]]
self.assertEqual(orig_sizes[0], exp_sizes[0]) # first partition is not resized
self.assertTrue(orig_sizes[1] < exp_sizes[1])
self.assertTrue(orig_sizes[1] < exp_sizes[1], msg="Parition size wasn't enlarged (%s vs %s)" % (orig_sizes[1], exp_sizes[1]))
# Check if all free space is partitioned
result = runCmd("%s/usr/sbin/sfdisk -F %s" % (sysroot, new_image_path))
self.assertTrue("0 B, 0 bytes, 0 sectors" in result.output)
self.assertIn("0 B, 0 bytes, 0 sectors", result.output)
os.rename(image_path, image_path + '.bak')
os.rename(new_image_path, image_path)
@@ -1390,7 +1390,7 @@ class ModifyTests(WicTestCase):
# check if file is there
result = runCmd("wic ls %s:1/ -n %s" % (images[0], sysroot))
self.assertEqual(7, len(result.output.split('\n')))
self.assertTrue(os.path.basename(testfile.name) in result.output)
self.assertIn(os.path.basename(testfile.name), result.output)
# prepare directory
testdir = os.path.join(self.resultdir, 'wic-test-cp-dir')
@@ -1404,13 +1404,13 @@ class ModifyTests(WicTestCase):
# check if directory is there
result = runCmd("wic ls %s:1/ -n %s" % (images[0], sysroot))
self.assertEqual(8, len(result.output.split('\n')))
self.assertTrue(os.path.basename(testdir) in result.output)
self.assertIn(os.path.basename(testdir), result.output)
# copy the file from the partition and check if it success
dest = '%s-cp' % testfile.name
runCmd("wic cp %s:1/%s %s -n %s" % (images[0],
os.path.basename(testfile.name), dest, sysroot))
self.assertTrue(os.path.exists(dest))
self.assertTrue(os.path.exists(dest), msg="File %s wasn't generated as expected" % dest)
def test_wic_rm(self):
@@ -1454,7 +1454,7 @@ class ModifyTests(WicTestCase):
# list directory content of the second ext4 partition
result = runCmd("wic ls %s:2/ -n %s" % (images[0], sysroot))
self.assertTrue(set(['bin', 'home', 'proc', 'usr', 'var', 'dev', 'lib', 'sbin']).issubset(
set(line.split()[-1] for line in result.output.split('\n') if line)))
set(line.split()[-1] for line in result.output.split('\n') if line)), msg="Expected directories not present %s" % result.output)
def test_wic_cp_ext(self):
"""Test copy files and directories to the ext partition."""
@@ -1469,7 +1469,7 @@ class ModifyTests(WicTestCase):
# list directory content of the ext4 partition
result = runCmd("wic ls %s:2/ -n %s" % (images[0], sysroot))
dirs = set(line.split()[-1] for line in result.output.split('\n') if line)
self.assertTrue(set(['bin', 'home', 'proc', 'usr', 'var', 'dev', 'lib', 'sbin']).issubset(dirs))
self.assertTrue(set(['bin', 'home', 'proc', 'usr', 'var', 'dev', 'lib', 'sbin']).issubset(dirs), msg="Expected directories not present %s" % dirs)
with NamedTemporaryFile("w", suffix=".wic-cp") as testfile:
testfile.write("test")
@@ -1484,12 +1484,12 @@ class ModifyTests(WicTestCase):
# check if the file to copy is in the partition
result = runCmd("wic ls %s:2/etc/ -n %s" % (images[0], sysroot))
self.assertTrue('fstab' in [line.split()[-1] for line in result.output.split('\n') if line])
self.assertIn('fstab', [line.split()[-1] for line in result.output.split('\n') if line])
# copy file from the partition, replace the temporary file content with it and
# check for the file size to validate the copy
runCmd("wic cp %s:2/etc/fstab %s -n %s" % (images[0], testfile.name, sysroot))
self.assertTrue(os.stat(testfile.name).st_size > 0)
self.assertTrue(os.stat(testfile.name).st_size > 0, msg="Filesize not as expected %s" % os.stat(testfile.name).st_size)
def test_wic_rm_ext(self):
@@ -1504,18 +1504,18 @@ class ModifyTests(WicTestCase):
# list directory content of the /etc directory on ext4 partition
result = runCmd("wic ls %s:2/etc/ -n %s" % (images[0], sysroot))
self.assertTrue('fstab' in [line.split()[-1] for line in result.output.split('\n') if line])
self.assertIn('fstab', [line.split()[-1] for line in result.output.split('\n') if line])
# remove file
runCmd("wic rm %s:2/etc/fstab -n %s" % (images[0], sysroot))
# check if it's removed
result = runCmd("wic ls %s:2/etc/ -n %s" % (images[0], sysroot))
self.assertTrue('fstab' not in [line.split()[-1] for line in result.output.split('\n') if line])
self.assertNotIn('fstab', [line.split()[-1] for line in result.output.split('\n') if line])
# remove non-empty directory
runCmd("wic rm -r %s:2/etc/ -n %s" % (images[0], sysroot))
# check if it's removed
result = runCmd("wic ls %s:2/ -n %s" % (images[0], sysroot))
self.assertTrue('etc' not in [line.split()[-1] for line in result.output.split('\n') if line])
self.assertNotIn('etc', [line.split()[-1] for line in result.output.split('\n') if line])

View File

@@ -97,7 +97,7 @@ class OESelftestTestContext(OETestContext):
oe.path.copytree(builddir + "/cache", newbuilddir + "/cache")
oe.path.copytree(selftestdir, newselftestdir)
subprocess.check_output("git init; git add *; git commit -a -m 'initial'", cwd=newselftestdir, shell=True)
subprocess.check_output("git init && git add * && git commit -a -m 'initial'", cwd=newselftestdir, shell=True)
# Tried to used bitbake-layers add/remove but it requires recipe parsing and hence is too slow
subprocess.check_output("sed %s/conf/bblayers.conf -i -e 's#%s#%s#g'" % (newbuilddir, selftestdir, newselftestdir), cwd=newbuilddir, shell=True)
@@ -216,14 +216,14 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
machines = []
bbpath = self.tc_kwargs['init']['td']['BBPATH'].split(':')
for path in bbpath:
found_machines = glob.glob(os.path.join(path, 'conf', 'machine', '*.conf'))
if found_machines:
for i in found_machines:
# eg: '/home/<user>/poky/meta-intel/conf/machine/intel-core2-32.conf'
machines.append(os.path.splitext(os.path.basename(i))[0])
return machines
def _get_cases_paths(self, bbpath):
@@ -296,7 +296,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
os.chdir(builddir)
if not "meta-selftest" in self.tc.td["BBLAYERS"]:
self.tc.logger.warning("meta-selftest layer not found in BBLAYERS, adding it")
self.tc.logger.info("meta-selftest layer not found in BBLAYERS, adding it")
meta_selftestdir = os.path.join(
self.tc.td["BBLAYERS_FETCH_DIR"], 'meta-selftest')
if os.path.isdir(meta_selftestdir):
@@ -427,7 +427,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
output_link = os.path.join(os.path.dirname(args.output_log),
"%s-results.log" % self.name)
if os.path.lexists(output_link):
os.remove(output_link)
os.unlink(output_link)
os.symlink(args.output_log, output_link)
return rc

View File

@@ -219,7 +219,15 @@ def get_test_revs(log, repo, tag_name, **kwargs):
if not commit in revs:
revs[commit] = TestedRev(commit, commit_num, [tag])
else:
assert commit_num == revs[commit].commit_number, "Commit numbers do not match"
if commit_num != revs[commit].commit_number:
# Historically we have incorrect commit counts of '1' in the repo so fix these up
if int(revs[commit].commit_number) < 5:
tags = revs[commit].tags
revs[commit] = TestedRev(commit, commit_num, [tags])
elif int(commit_num) < 5:
pass
else:
sys.exit("Commit numbers for commit %s don't match (%s vs %s)" % (commit, commit_num, revs[commit].commit_number))
revs[commit].tags.append(tag)
# Return in sorted table

View File

@@ -0,0 +1,98 @@
From 43651027d24e62a7a463254165e1e46e42aecdea Mon Sep 17 00:00:00 2001
From: Maxim Suhanov <dfirblog@gmail.com>
Date: Mon, 28 Aug 2023 16:31:57 +0300
Subject: [PATCH] fs/ntfs: Fix an OOB write when parsing the $ATTRIBUTE_LIST attribute
for the $MFT file
When parsing an extremely fragmented $MFT file, i.e., the file described
using the $ATTRIBUTE_LIST attribute, current NTFS code will reuse a buffer
containing bytes read from the underlying drive to store sector numbers,
which are consumed later to read data from these sectors into another buffer.
These sectors numbers, two 32-bit integers, are always stored at predefined
offsets, 0x10 and 0x14, relative to first byte of the selected entry within
the $ATTRIBUTE_LIST attribute. Usually, this won't cause any problem.
However, when parsing a specially-crafted file system image, this may cause
the NTFS code to write these integers beyond the buffer boundary, likely
causing the GRUB memory allocator to misbehave or fail. These integers contain
values which are controlled by on-disk structures of the NTFS file system.
Such modification and resulting misbehavior may touch a memory range not
assigned to the GRUB and owned by firmware or another EFI application/driver.
This fix introduces checks to ensure that these sector numbers are never
written beyond the boundary.
Fixes: CVE-2023-4692
Upstream-Status: Backport from
[https://git.savannah.gnu.org/cgit/grub.git/commit/?id=43651027d24e62a7a463254165e1e46e42aecdea]
CVE: CVE-2023-4692
Reported-by: Maxim Suhanov <dfirblog@gmail.com>
Signed-off-by: Maxim Suhanov <dfirblog@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
---
grub-core/fs/ntfs.c | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/grub-core/fs/ntfs.c b/grub-core/fs/ntfs.c
index bbdbe24..c3c4db1 100644
--- a/grub-core/fs/ntfs.c
+++ b/grub-core/fs/ntfs.c
@@ -184,7 +184,7 @@ find_attr (struct grub_ntfs_attr *at, grub_uint8_t attr)
}
if (at->attr_end)
{
- grub_uint8_t *pa;
+ grub_uint8_t *pa, *pa_end;
at->emft_buf = grub_malloc (at->mft->data->mft_size << GRUB_NTFS_BLK_SHR);
if (at->emft_buf == NULL)
@@ -209,11 +209,13 @@ find_attr (struct grub_ntfs_attr *at, grub_uint8_t attr)
}
at->attr_nxt = at->edat_buf;
at->attr_end = at->edat_buf + u32at (pa, 0x30);
+ pa_end = at->edat_buf + n;
}
else
{
at->attr_nxt = at->attr_end + u16at (pa, 0x14);
at->attr_end = at->attr_end + u32at (pa, 4);
+ pa_end = at->mft->buf + (at->mft->data->mft_size << GRUB_NTFS_BLK_SHR);
}
at->flags |= GRUB_NTFS_AF_ALST;
while (at->attr_nxt < at->attr_end)
@@ -230,6 +232,13 @@ find_attr (struct grub_ntfs_attr *at, grub_uint8_t attr)
at->flags |= GRUB_NTFS_AF_GPOS;
at->attr_cur = at->attr_nxt;
pa = at->attr_cur;
+
+ if ((pa >= pa_end) || (pa_end - pa < 0x18))
+ {
+ grub_error (GRUB_ERR_BAD_FS, "can\'t parse attribute list");
+ return NULL;
+ }
+
grub_set_unaligned32 ((char *) pa + 0x10,
grub_cpu_to_le32 (at->mft->data->mft_start));
grub_set_unaligned32 ((char *) pa + 0x14,
@@ -240,6 +249,13 @@ find_attr (struct grub_ntfs_attr *at, grub_uint8_t attr)
{
if (*pa != attr)
break;
+
+ if ((pa >= pa_end) || (pa_end - pa < 0x18))
+ {
+ grub_error (GRUB_ERR_BAD_FS, "can\'t parse attribute list");
+ return NULL;
+ }
+
if (read_attr
(at, pa + 0x10,
u32at (pa, 0x10) * (at->mft->data->mft_size << GRUB_NTFS_BLK_SHR),
--
cgit v1.1

View File

@@ -0,0 +1,63 @@
From 0ed2458cc4eff6d9a9199527e2a0b6d445802f94 Mon Sep 17 00:00:00 2001
From: Maxim Suhanov <dfirblog@...>
Date: Mon, 28 Aug 2023 16:32:33 +0300
Subject: fs/ntfs: Fix an OOB read when reading data from the resident $DATA
attribute
When reading a file containing resident data, i.e., the file data is stored in
the $DATA attribute within the NTFS file record, not in external clusters,
there are no checks that this resident data actually fits the corresponding
file record segment.
When parsing a specially-crafted file system image, the current NTFS code will
read the file data from an arbitrary, attacker-chosen memory offset and of
arbitrary, attacker-chosen length.
This allows an attacker to display arbitrary chunks of memory, which could
contain sensitive information like password hashes or even plain-text,
obfuscated passwords from BS EFI variables.
This fix implements a check to ensure that resident data is read from the
corresponding file record segment only.
Fixes: CVE-2023-4693
Upstream-Status: Backport from
[https://git.savannah.gnu.org/cgit/grub.git/commit/?id=0ed2458cc4eff6d9a9199527e2a0b6d445802f94]
CVE: CVE-2023-4693
Reported-by: Maxim Suhanov <dfirblog@gmail.com>
Signed-off-by: Maxim Suhanov <dfirblog@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
---
grub-core/fs/ntfs.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/grub-core/fs/ntfs.c b/grub-core/fs/ntfs.c
index c3c4db1..a68e173 100644
--- a/grub-core/fs/ntfs.c
+++ b/grub-core/fs/ntfs.c
@@ -401,7 +401,18 @@ read_data (struct grub_ntfs_attr *at, grub_uint8_t *pa, grub_uint8_t *dest,
{
if (ofs + len > u32at (pa, 0x10))
return grub_error (GRUB_ERR_BAD_FS, "read out of range");
- grub_memcpy (dest, pa + u32at (pa, 0x14) + ofs, len);
+
+ if (u32at (pa, 0x10) > (at->mft->data->mft_size << GRUB_NTFS_BLK_SHR))
+ return grub_error (GRUB_ERR_BAD_FS, "resident attribute too large");
+
+ if (pa >= at->mft->buf + (at->mft->data->mft_size << GRUB_NTFS_BLK_SHR))
+ return grub_error (GRUB_ERR_BAD_FS, "resident attribute out of range");
+
+ if (u16at (pa, 0x14) + u32at (pa, 0x10) >
+ (grub_addr_t) at->mft->buf + (at->mft->data->mft_size << GRUB_NTFS_BLK_SHR) - (grub_addr_t) pa)
+ return grub_error (GRUB_ERR_BAD_FS, "resident attribute out of range");
+
+ grub_memcpy (dest, pa + u16at (pa, 0x14) + ofs, len);
return 0;
}
--
cgit v1.1

View File

@@ -42,6 +42,8 @@ SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \
file://CVE-2022-3775.patch \
file://0001-risc-v-Handle-R_RISCV_CALL_PLT-reloc.patch \
file://0001-fs-ext2-Ignore-checksum-seed-incompat-feature.patch \
file://CVE-2023-4692.patch \
file://CVE-2023-4693.patch \
"
SRC_URI[sha256sum] = "23b64b4c741569f9426ed2e3d0e6780796fca081bee4c99f62aa3f53ae803f5f"

View File

@@ -26,6 +26,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/avahi-${PV}.tar.gz \
file://0001-Fix-opening-etc-resolv.conf-error.patch \
file://handle-hup.patch \
file://local-ping.patch \
file://invalid-service.patch \
"
GITHUB_BASE_URI = "https://github.com/lathiat/avahi/releases/"

View File

@@ -0,0 +1,29 @@
From 46490e95151d415cd22f02565e530eb5efcef680 Mon Sep 17 00:00:00 2001
From: Asger Hautop Drewsen <asger@princh.com>
Date: Mon, 9 Aug 2021 14:25:08 +0200
Subject: [PATCH] Fix avahi-browse: Invalid service type
Invalid service types will stop the browse from completing, or
in simple terms "my washing machine stops me from printing".
Upstream-Status: Submitted [https://github.com/lathiat/avahi/pull/472]
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
avahi-core/browse-service.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/avahi-core/browse-service.c b/avahi-core/browse-service.c
index 63e0275a..ac3d2ecb 100644
--- a/avahi-core/browse-service.c
+++ b/avahi-core/browse-service.c
@@ -103,7 +103,9 @@ AvahiSServiceBrowser *avahi_s_service_browser_prepare(
AVAHI_CHECK_VALIDITY_RETURN_NULL(server, AVAHI_PROTO_VALID(protocol), AVAHI_ERR_INVALID_PROTOCOL);
AVAHI_CHECK_VALIDITY_RETURN_NULL(server, !domain || avahi_is_valid_domain_name(domain), AVAHI_ERR_INVALID_DOMAIN_NAME);
AVAHI_CHECK_VALIDITY_RETURN_NULL(server, AVAHI_FLAGS_VALID(flags, AVAHI_LOOKUP_USE_WIDE_AREA|AVAHI_LOOKUP_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
- AVAHI_CHECK_VALIDITY_RETURN_NULL(server, avahi_is_valid_service_type_generic(service_type), AVAHI_ERR_INVALID_SERVICE_TYPE);
+
+ if (!avahi_is_valid_service_type_generic(service_type))
+ service_type = "_invalid._tcp";
if (!domain)
domain = server->domain_name;

View File

@@ -20,7 +20,7 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \
file://0001-avoid-start-failure-with-bind-user.patch \
"
SRC_URI[sha256sum] = "bde1c5017b81d1d79c69eb8f537f2e5032fd3623acdd5ee830d4f74bc2483458"
SRC_URI[sha256sum] = "115e09c05439bebade1d272eda08fa88eb3b60129edef690588c87a4d27612cc"
UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
# follow the ESV versions divisible by 2

View File

@@ -0,0 +1,284 @@
From e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6 Mon Sep 17 00:00:00 2001
From: Jeffrey Bencteux <jeffbencteux@gmail.com>
Date: Mon, 28 Aug 2023 15:35:19 +0000
Subject: [PATCH] CVE-2023-40303: ftpd,rcp,rlogin,rsh,rshd,uucpd: fix: check
set*id() return values
Several setuid(), setgid(), seteuid() and setguid() return values
were not checked in ftpd/rcp/rlogin/rsh/rshd/uucpd code potentially
leading to potential security issues.
Signed-off-by: Jeffrey Bencteux <jeffbencteux@gmail.com>
Signed-off-by: Simon Josefsson <simon@josefsson.org>
CVE: CVE-2023-40303
Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6]
Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
---
ftpd/ftpd.c | 10 +++++++---
src/rcp.c | 39 +++++++++++++++++++++++++++++++++------
src/rlogin.c | 11 +++++++++--
src/rsh.c | 25 +++++++++++++++++++++----
src/rshd.c | 20 +++++++++++++++++---
src/uucpd.c | 15 +++++++++++++--
6 files changed, 100 insertions(+), 20 deletions(-)
diff --git a/ftpd/ftpd.c b/ftpd/ftpd.c
index 92b2cca..009f3f1 100644
--- a/ftpd/ftpd.c
+++ b/ftpd/ftpd.c
@@ -862,7 +862,9 @@ end_login (struct credentials *pcred)
char *remotehost = pcred->remotehost;
int atype = pcred->auth_type;
- seteuid ((uid_t) 0);
+ if (seteuid ((uid_t) 0) == -1)
+ _exit (EXIT_FAILURE);
+
if (pcred->logged_in)
{
logwtmp_keep_open (ttyline, "", "");
@@ -1151,7 +1153,8 @@ getdatasock (const char *mode)
if (data >= 0)
return fdopen (data, mode);
- seteuid ((uid_t) 0);
+ if (seteuid ((uid_t) 0) == -1)
+ _exit (EXIT_FAILURE);
s = socket (ctrl_addr.ss_family, SOCK_STREAM, 0);
if (s < 0)
goto bad;
@@ -1978,7 +1981,8 @@ passive (int epsv, int af)
else /* !AF_INET6 */
((struct sockaddr_in *) &pasv_addr)->sin_port = 0;
- seteuid ((uid_t) 0);
+ if (seteuid ((uid_t) 0) == -1)
+ _exit (EXIT_FAILURE);
if (bind (pdata, (struct sockaddr *) &pasv_addr, pasv_addrlen) < 0)
{
if (seteuid ((uid_t) cred.uid))
diff --git a/src/rcp.c b/src/rcp.c
index 75adb25..f913256 100644
--- a/src/rcp.c
+++ b/src/rcp.c
@@ -345,14 +345,23 @@ main (int argc, char *argv[])
if (from_option)
{ /* Follow "protocol", send data. */
response ();
- setuid (userid);
+
+ if (setuid (userid) == -1)
+ {
+ error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
+ }
+
source (argc, argv);
exit (errs);
}
if (to_option)
{ /* Receive data. */
- setuid (userid);
+ if (setuid (userid) == -1)
+ {
+ error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
+ }
+
sink (argc, argv);
exit (errs);
}
@@ -537,7 +546,11 @@ toremote (char *targ, int argc, char *argv[])
if (response () < 0)
exit (EXIT_FAILURE);
free (bp);
- setuid (userid);
+
+ if (setuid (userid) == -1)
+ {
+ error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
+ }
}
source (1, argv + i);
close (rem);
@@ -630,7 +643,12 @@ tolocal (int argc, char *argv[])
++errs;
continue;
}
- seteuid (userid);
+
+ if (seteuid (userid) == -1)
+ {
+ error (EXIT_FAILURE, 0, "Could not drop privileges (seteuid() failed)");
+ }
+
#if defined IP_TOS && defined IPPROTO_IP && defined IPTOS_THROUGHPUT
sslen = sizeof (ss);
(void) getpeername (rem, (struct sockaddr *) &ss, &sslen);
@@ -643,7 +661,12 @@ tolocal (int argc, char *argv[])
#endif
vect[0] = target;
sink (1, vect);
- seteuid (effuid);
+
+ if (seteuid (effuid) == -1)
+ {
+ error (EXIT_FAILURE, 0, "Could not drop privileges (seteuid() failed)");
+ }
+
close (rem);
rem = -1;
#ifdef SHISHI
@@ -1441,7 +1464,11 @@ susystem (char *s, int userid)
return (127);
case 0:
- setuid (userid);
+ if (setuid (userid) == -1)
+ {
+ error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
+ }
+
execl (PATH_BSHELL, "sh", "-c", s, NULL);
_exit (127);
}
diff --git a/src/rlogin.c b/src/rlogin.c
index aa6426f..9bf9645 100644
--- a/src/rlogin.c
+++ b/src/rlogin.c
@@ -647,8 +647,15 @@ try_connect:
/* Now change to the real user ID. We have to be set-user-ID root
to get the privileged port that rcmd () uses. We now want, however,
to run as the real user who invoked us. */
- seteuid (uid);
- setuid (uid);
+ if (seteuid (uid) == -1)
+ {
+ error (EXIT_FAILURE, 0, "Could not drop privileges (seteuid() failed)");
+ }
+
+ if (setuid (uid) == -1)
+ {
+ error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
+ }
doit (&osmask); /* The old mask will activate SIGURG and SIGUSR1! */
diff --git a/src/rsh.c b/src/rsh.c
index 2d622ca..7b9cf22 100644
--- a/src/rsh.c
+++ b/src/rsh.c
@@ -276,8 +276,17 @@ main (int argc, char **argv)
{
if (asrsh)
*argv = (char *) "rlogin";
- seteuid (getuid ());
- setuid (getuid ());
+
+ if (seteuid (getuid ()) == -1)
+ {
+ error (EXIT_FAILURE, errno, "seteuid() failed");
+ }
+
+ if (setuid (getuid ()) == -1)
+ {
+ error (EXIT_FAILURE, errno, "setuid() failed");
+ }
+
execv (PATH_RLOGIN, argv);
error (EXIT_FAILURE, errno, "cannot execute %s", PATH_RLOGIN);
}
@@ -541,8 +550,16 @@ try_connect:
error (0, errno, "setsockopt DEBUG (ignored)");
}
- seteuid (uid);
- setuid (uid);
+ if (seteuid (uid) == -1)
+ {
+ error (EXIT_FAILURE, errno, "seteuid() failed");
+ }
+
+ if (setuid (uid) == -1)
+ {
+ error (EXIT_FAILURE, errno, "setuid() failed");
+ }
+
#ifdef HAVE_SIGACTION
sigemptyset (&sigs);
sigaddset (&sigs, SIGINT);
diff --git a/src/rshd.c b/src/rshd.c
index d1c0d0c..19d9a60 100644
--- a/src/rshd.c
+++ b/src/rshd.c
@@ -1847,8 +1847,18 @@ doit (int sockfd, struct sockaddr *fromp, socklen_t fromlen)
pwd->pw_shell = PATH_BSHELL;
/* Set the gid, then uid to become the user specified by "locuser" */
- setegid ((gid_t) pwd->pw_gid);
- setgid ((gid_t) pwd->pw_gid);
+ if (setegid ((gid_t) pwd->pw_gid) == -1)
+ {
+ rshd_error ("Cannot drop privileges (setegid() failed)\n");
+ exit (EXIT_FAILURE);
+ }
+
+ if (setgid ((gid_t) pwd->pw_gid) == -1)
+ {
+ rshd_error ("Cannot drop privileges (setgid() failed)\n");
+ exit (EXIT_FAILURE);
+ }
+
#ifdef HAVE_INITGROUPS
initgroups (pwd->pw_name, pwd->pw_gid); /* BSD groups */
#endif
@@ -1870,7 +1880,11 @@ doit (int sockfd, struct sockaddr *fromp, socklen_t fromlen)
}
#endif /* WITH_PAM */
- setuid ((uid_t) pwd->pw_uid);
+ if (setuid ((uid_t) pwd->pw_uid) == -1)
+ {
+ rshd_error ("Cannot drop privileges (setuid() failed)\n");
+ exit (EXIT_FAILURE);
+ }
/* We'll execute the client's command in the home directory
* of locuser. Note, that the chdir must be executed after
diff --git a/src/uucpd.c b/src/uucpd.c
index 107589e..34be165 100644
--- a/src/uucpd.c
+++ b/src/uucpd.c
@@ -252,7 +252,12 @@ doit (struct sockaddr *sap, socklen_t salen)
snprintf (Username, sizeof (Username), "USER=%s", user);
snprintf (Logname, sizeof (Logname), "LOGNAME=%s", user);
dologin (pw, sap, salen);
- setgid (pw->pw_gid);
+
+ if (setgid (pw->pw_gid) == -1)
+ {
+ fprintf (stderr, "setgid() failed");
+ return;
+ }
#ifdef HAVE_INITGROUPS
initgroups (pw->pw_name, pw->pw_gid);
#endif
@@ -261,7 +266,13 @@ doit (struct sockaddr *sap, socklen_t salen)
fprintf (stderr, "Login incorrect.");
return;
}
- setuid (pw->pw_uid);
+
+ if (setuid (pw->pw_uid) == -1)
+ {
+ fprintf (stderr, "setuid() failed");
+ return;
+ }
+
execl (uucico_location, "uucico", NULL);
perror ("uucico server: execl");
}
--
2.40.0

View File

@@ -0,0 +1,258 @@
From 9122999252c7e21eb7774de11d539748e7bdf46d Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
Date: Tue, 29 Aug 2023 06:42:11 +0000
Subject: [PATCH] CVE-2023-40303: Indent changes in previous commit.
CVE: CVE-2023-40303
Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=9122999252c7e21eb7774de11d539748e7bdf46d]
Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
---
src/rcp.c | 42 ++++++++++++++++++++++++------------------
src/rlogin.c | 12 ++++++------
src/rsh.c | 26 +++++++++++++-------------
src/rshd.c | 24 ++++++++++++------------
src/uucpd.c | 16 ++++++++--------
5 files changed, 63 insertions(+), 57 deletions(-)
diff --git a/src/rcp.c b/src/rcp.c
index 7018e35..e504f8a 100644
--- a/src/rcp.c
+++ b/src/rcp.c
@@ -347,9 +347,10 @@ main (int argc, char *argv[])
response ();
if (setuid (userid) == -1)
- {
- error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
- }
+ {
+ error (EXIT_FAILURE, 0,
+ "Could not drop privileges (setuid() failed)");
+ }
source (argc, argv);
exit (errs);
@@ -358,9 +359,10 @@ main (int argc, char *argv[])
if (to_option)
{ /* Receive data. */
if (setuid (userid) == -1)
- {
- error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
- }
+ {
+ error (EXIT_FAILURE, 0,
+ "Could not drop privileges (setuid() failed)");
+ }
sink (argc, argv);
exit (errs);
@@ -548,9 +550,10 @@ toremote (char *targ, int argc, char *argv[])
free (bp);
if (setuid (userid) == -1)
- {
- error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
- }
+ {
+ error (EXIT_FAILURE, 0,
+ "Could not drop privileges (setuid() failed)");
+ }
}
source (1, argv + i);
close (rem);
@@ -645,9 +648,10 @@ tolocal (int argc, char *argv[])
}
if (seteuid (userid) == -1)
- {
- error (EXIT_FAILURE, 0, "Could not drop privileges (seteuid() failed)");
- }
+ {
+ error (EXIT_FAILURE, 0,
+ "Could not drop privileges (seteuid() failed)");
+ }
#if defined IP_TOS && defined IPPROTO_IP && defined IPTOS_THROUGHPUT
sslen = sizeof (ss);
@@ -663,9 +667,10 @@ tolocal (int argc, char *argv[])
sink (1, vect);
if (seteuid (effuid) == -1)
- {
- error (EXIT_FAILURE, 0, "Could not drop privileges (seteuid() failed)");
- }
+ {
+ error (EXIT_FAILURE, 0,
+ "Could not drop privileges (seteuid() failed)");
+ }
close (rem);
rem = -1;
@@ -1465,9 +1470,10 @@ susystem (char *s, int userid)
case 0:
if (setuid (userid) == -1)
- {
- error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
- }
+ {
+ error (EXIT_FAILURE, 0,
+ "Could not drop privileges (setuid() failed)");
+ }
execl (PATH_BSHELL, "sh", "-c", s, NULL);
_exit (127);
diff --git a/src/rlogin.c b/src/rlogin.c
index 9bf9645..a0c1237 100644
--- a/src/rlogin.c
+++ b/src/rlogin.c
@@ -648,14 +648,14 @@ try_connect:
to get the privileged port that rcmd () uses. We now want, however,
to run as the real user who invoked us. */
if (seteuid (uid) == -1)
- {
- error (EXIT_FAILURE, 0, "Could not drop privileges (seteuid() failed)");
- }
+ {
+ error (EXIT_FAILURE, 0, "Could not drop privileges (seteuid() failed)");
+ }
if (setuid (uid) == -1)
- {
- error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
- }
+ {
+ error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
+ }
doit (&osmask); /* The old mask will activate SIGURG and SIGUSR1! */
diff --git a/src/rsh.c b/src/rsh.c
index 7b9cf22..c8f50d3 100644
--- a/src/rsh.c
+++ b/src/rsh.c
@@ -278,14 +278,14 @@ main (int argc, char **argv)
*argv = (char *) "rlogin";
if (seteuid (getuid ()) == -1)
- {
- error (EXIT_FAILURE, errno, "seteuid() failed");
- }
-
+ {
+ error (EXIT_FAILURE, errno, "seteuid() failed");
+ }
+
if (setuid (getuid ()) == -1)
- {
- error (EXIT_FAILURE, errno, "setuid() failed");
- }
+ {
+ error (EXIT_FAILURE, errno, "setuid() failed");
+ }
execv (PATH_RLOGIN, argv);
error (EXIT_FAILURE, errno, "cannot execute %s", PATH_RLOGIN);
@@ -551,14 +551,14 @@ try_connect:
}
if (seteuid (uid) == -1)
- {
- error (EXIT_FAILURE, errno, "seteuid() failed");
- }
+ {
+ error (EXIT_FAILURE, errno, "seteuid() failed");
+ }
if (setuid (uid) == -1)
- {
- error (EXIT_FAILURE, errno, "setuid() failed");
- }
+ {
+ error (EXIT_FAILURE, errno, "setuid() failed");
+ }
#ifdef HAVE_SIGACTION
sigemptyset (&sigs);
diff --git a/src/rshd.c b/src/rshd.c
index 707790e..df43edf 100644
--- a/src/rshd.c
+++ b/src/rshd.c
@@ -1848,16 +1848,16 @@ doit (int sockfd, struct sockaddr *fromp, socklen_t fromlen)
/* Set the gid, then uid to become the user specified by "locuser" */
if (setegid ((gid_t) pwd->pw_gid) == -1)
- {
- rshd_error ("Cannot drop privileges (setegid() failed)\n");
- exit (EXIT_FAILURE);
- }
+ {
+ rshd_error ("Cannot drop privileges (setegid() failed)\n");
+ exit (EXIT_FAILURE);
+ }
if (setgid ((gid_t) pwd->pw_gid) == -1)
- {
- rshd_error ("Cannot drop privileges (setgid() failed)\n");
- exit (EXIT_FAILURE);
- }
+ {
+ rshd_error ("Cannot drop privileges (setgid() failed)\n");
+ exit (EXIT_FAILURE);
+ }
#ifdef HAVE_INITGROUPS
initgroups (pwd->pw_name, pwd->pw_gid); /* BSD groups */
@@ -1881,10 +1881,10 @@ doit (int sockfd, struct sockaddr *fromp, socklen_t fromlen)
#endif /* WITH_PAM */
if (setuid ((uid_t) pwd->pw_uid) == -1)
- {
- rshd_error ("Cannot drop privileges (setuid() failed)\n");
- exit (EXIT_FAILURE);
- }
+ {
+ rshd_error ("Cannot drop privileges (setuid() failed)\n");
+ exit (EXIT_FAILURE);
+ }
/* We'll execute the client's command in the home directory
* of locuser. Note, that the chdir must be executed after
diff --git a/src/uucpd.c b/src/uucpd.c
index 29cfce3..afe24f3 100644
--- a/src/uucpd.c
+++ b/src/uucpd.c
@@ -254,10 +254,10 @@ doit (struct sockaddr *sap, socklen_t salen)
dologin (pw, sap, salen);
if (setgid (pw->pw_gid) == -1)
- {
- fprintf (stderr, "setgid() failed");
- return;
- }
+ {
+ fprintf (stderr, "setgid() failed");
+ return;
+ }
#ifdef HAVE_INITGROUPS
initgroups (pw->pw_name, pw->pw_gid);
#endif
@@ -268,10 +268,10 @@ doit (struct sockaddr *sap, socklen_t salen)
}
if (setuid (pw->pw_uid) == -1)
- {
- fprintf (stderr, "setuid() failed");
- return;
- }
+ {
+ fprintf (stderr, "setuid() failed");
+ return;
+ }
execl (uucico_location, "uucico", NULL);
perror ("uucico server: execl");
--
2.40.0

View File

@@ -1,37 +0,0 @@
From 101130f422dd5c01a1459645d7b2a5b8d19720ab Mon Sep 17 00:00:00 2001
From: Martin Jansa <martin.jansa@gmail.com>
Date: Wed, 6 Mar 2019 09:36:11 -0500
Subject: [PATCH] inetutils: define PATH_PROCNET_DEV if not already defined
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
this prevents the following compilation error :
system/linux.c:401:15: error: 'PATH_PROCNET_DEV' undeclared (first use in this function)
this patch comes from :
http://repository.timesys.com/buildsources/i/inetutils/inetutils-1.9/
Upstream-Status: Inappropriate [not author]
Signed-of-by: Eric Bénard <eric@eukrea.com>
---
ifconfig/system/linux.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ifconfig/system/linux.c b/ifconfig/system/linux.c
index e453b46..4268ca9 100644
--- a/ifconfig/system/linux.c
+++ b/ifconfig/system/linux.c
@@ -53,6 +53,10 @@
#include "../ifconfig.h"
+#ifndef PATH_PROCNET_DEV
+ #define PATH_PROCNET_DEV "/proc/net/dev"
+#endif
+
/* ARPHRD stuff. */
static void

View File

@@ -19,8 +19,9 @@ SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.xz \
file://rsh.xinetd.inetutils \
file://telnet.xinetd.inetutils \
file://tftpd.xinetd.inetutils \
file://inetutils-1.9-PATH_PROCNET_DEV.patch \
file://inetutils-only-check-pam_appl.h-when-pam-enabled.patch \
file://0001-CVE-2023-40303-ftpd-rcp-rlogin-rsh-rshd-uucpd-fix-ch.patch \
file://0002-CVE-2023-40303-Indent-changes-in-previous-commit.patch \
"
inherit autotools gettext update-alternatives texinfo
@@ -40,21 +41,33 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6 gl_cv_socket_ipv6=no,"
PACKAGECONFIG[ping6] = "--enable-ping6,--disable-ping6,"
EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \
inetutils_cv_path_login=${base_bindir}/login \
--with-libreadline-prefix=${STAGING_LIBDIR} \
--enable-rpath=no \
"
--with-path-login=${base_bindir}/login \
--with-path-cp=${base_bindir}/cp \
--with-path-uucico=${libexecdir}/uuico \
--with-path-procnet-dev=/proc/net/dev \
"
EXTRA_OECONF:append:libc-musl = " --with-path-utmpx=/dev/null/utmpx --with-path-wtmpx=/dev/null/wtmpx"
# These are horrible for security, disable them
EXTRA_OECONF:append = " --disable-rsh --disable-rshd --disable-rcp \
--disable-rlogin --disable-rlogind --disable-rexec --disable-rexecd"
# The configure script guesses many paths in cross builds, check for this happening
do_configure_cross_check() {
if grep "may be incorrect because of cross-compilation" ${B}/config.log; then
bberror Default path values used, these must be set explicitly
fi
}
do_configure[postfuncs] += "do_configure_cross_check"
# The --with-path options are not actually options, so this check needs to be silenced
ERROR_QA:remove = "unknown-configure-option"
do_configure:prepend () {
export HELP2MAN='true'
cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}/build-aux/config.rpath
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
rm -f ${S}/glob/configure*
}
do_install:append () {

View File

@@ -9,4 +9,4 @@ export TOP=.
# OPENSSL_ENGINES is relative from the test binaries
export OPENSSL_ENGINES=../engines
perl ./test/run_tests.pl $* | sed -u -r -e '/(.*) \.*.ok/ s/^/PASS: /g' -r -e '/Dubious(.*)/ s/^/FAIL: /g' -e '/(.*) \.*.skipped: (.*)/ s/^/SKIP: /g'
{ HARNESS_JOBS=4 perl ./test/run_tests.pl $* || echo "FAIL: openssl" ; } | sed -u -r -e '/(.*) \.*.ok/ s/^/PASS: /g' -r -e '/Dubious(.*)/ s/^/FAIL: /g' -e '/(.*) \.*.skipped: (.*)/ s/^/SKIP: /g'

View File

@@ -18,9 +18,9 @@ SRC_URI:append:class-nativesdk = " \
file://environment.d-openssl.sh \
"
SRC_URI[sha256sum] = "b3aa61334233b852b63ddb048df181177c2c659eb9d4376008118f9c08d07674"
SRC_URI[sha256sum] = "840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3"
inherit lib_package multilib_header multilib_script ptest perlnative
inherit lib_package multilib_header multilib_script ptest perlnative manpages
MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash"
PACKAGECONFIG ?= ""
@@ -30,6 +30,7 @@ PACKAGECONFIG:class-nativesdk = ""
PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux,,cryptodev-module"
PACKAGECONFIG[no-tls1] = "no-tls1"
PACKAGECONFIG[no-tls1_1] = "no-tls1_1"
PACKAGECONFIG[manpages] = ""
B = "${WORKDIR}/build"
do_configure[cleandirs] = "${B}"
@@ -145,7 +146,7 @@ do_configure () {
}
do_install () {
oe_runmake DESTDIR="${D}" MANDIR="${mandir}" MANSUFFIX=ssl install
oe_runmake DESTDIR="${D}" MANDIR="${mandir}" MANSUFFIX=ssl install_sw install_ssldirs ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'install_docs', '', d)}
oe_multilib_header openssl/opensslconf.h
oe_multilib_header openssl/configuration.h

View File

@@ -56,7 +56,7 @@ RDEPENDS:${PN} = "${@["", "busybox-inittab"][(d.getVar('VIRTUAL-RUNTIME_init_man
inherit cml1 systemd update-rc.d ptest
# busybox's unzip test case needs zip command, which busybox itself does not provide
RDEPENDS:${PN}-ptest = "zip coreutils"
RDEPENDS:${PN}-ptest = "zip"
# internal helper
def busybox_cfg(feature, tokens, cnf, rem):

View File

@@ -0,0 +1,35 @@
It's known that the final start-stop-daemon test fails if /bin/false is
actually a busybox symlink. Instead of failing, check if false is
busybox and adapt the expected output to match.
Upstream-Status: Submitted [http://lists.busybox.net/pipermail/busybox/2023-August/090416.html]
Signed-off-by: Ross Burton <ross.burton@arm.com>
diff --git a/testsuite/start-stop-daemon.tests b/testsuite/start-stop-daemon.tests
index 0757b1288..aa6e9cc41 100755
--- a/testsuite/start-stop-daemon.tests
+++ b/testsuite/start-stop-daemon.tests
@@ -27,10 +27,18 @@ testing "start-stop-daemon without -x and -a" \
# but at least it checks that pathname to exec() is correct
#
# NB: this fails if /bin/false is a busybox symlink:
-# busybox looks at argv[0] and says "qwerty: applet not found"
-testing "start-stop-daemon with both -x and -a" \
- 'start-stop-daemon -S -x /bin/false -a qwerty false 2>&1; echo $?' \
- "1\n" \
- "" ""
+# busybox looks at argv[0] and says "qwerty: applet not found", so
+# skip the test if false is busybox.
+case $(readlink /bin/false) in
+ *busybox*)
+ echo "SKIPPED: start-stop-daemon with both -x and -a (need non-busybox false)"
+ ;;
+ *)
+ testing "start-stop-daemon with both -x and -a" \
+ 'start-stop-daemon -S -x /bin/false -a qwerty false 2>&1; echo $?' \
+ "1\n" \
+ "" ""
+ ;;
+esac
exit $FAILCOUNT

View File

@@ -49,6 +49,7 @@ SRC_URI = "https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
file://0001-sysctl-ignore-EIO-of-stable_secret-below-proc-sys-ne.patch \
file://0001-libbb-sockaddr2str-ensure-only-printable-characters-.patch \
file://0002-nslookup-sanitize-all-printed-strings-with-printable.patch \
file://start-stop-false.patch \
"
SRC_URI:append:libc-musl = " file://musl.cfg "
# TODO http://lists.busybox.net/pipermail/busybox/2023-January/090078.html

View File

@@ -10,6 +10,8 @@
set -e
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
if [ -f /etc/syslog-startup.conf ]; then
. /etc/syslog-startup.conf
LOG_LOCAL=0

View File

@@ -16,7 +16,7 @@ SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.xz \
file://dbus-1.init \
"
SRC_URI[sha256sum] = "a6bd5bac5cf19f0c3c594bdae2565a095696980a683a0ef37cb6212e093bde35"
SRC_URI[sha256sum] = "ba1f21d2bd9d339da2d4aa8780c09df32fea87998b73da24f49ab9df1e36a50f"
EXTRA_OECONF = "--disable-xml-docs \
--disable-doxygen-docs \
@@ -184,4 +184,4 @@ do_install:class-nativesdk() {
}
BBCLASSEXTEND = "native nativesdk"
CVE_PRODUCT += "d-bus_project:d-bus"
CVE_PRODUCT += "d-bus_project:d-bus freedesktop:dbus freedesktop:libdbus"

View File

@@ -0,0 +1,144 @@
From beba892bc0d4e4ded4d667ab1d2a94f4d75109a9 Mon Sep 17 00:00:00 2001
From: czurnieden <czurnieden@gmx.de>
Date: Fri, 8 Sep 2023 05:01:00 +0000
Subject: [PATCH] Fix possible integer overflow
CVE: CVE-2023-36328
Upstream-Status: Backport [https://github.com/libtom/libtommath/commit/beba892bc0d4e4ded4d667ab1d2a94f4d75109a9]
Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
---
libtommath/bn_mp_2expt.c | 4 ++++
libtommath/bn_mp_grow.c | 4 ++++
libtommath/bn_mp_init_size.c | 5 +++++
libtommath/bn_mp_mul_2d.c | 4 ++++
libtommath/bn_s_mp_mul_digs.c | 4 ++++
libtommath/bn_s_mp_mul_digs_fast.c | 4 ++++
libtommath/bn_s_mp_mul_high_digs.c | 4 ++++
libtommath/bn_s_mp_mul_high_digs_fast.c | 4 ++++
8 files changed, 33 insertions(+)
diff --git a/libtommath/bn_mp_2expt.c b/libtommath/bn_mp_2expt.c
index 0ae3df1..ca6fbc3 100644
--- a/libtommath/bn_mp_2expt.c
+++ b/libtommath/bn_mp_2expt.c
@@ -12,6 +12,10 @@ mp_err mp_2expt(mp_int *a, int b)
{
mp_err err;
+ if (b < 0) {
+ return MP_VAL;
+ }
+
/* zero a as per default */
mp_zero(a);
diff --git a/libtommath/bn_mp_grow.c b/libtommath/bn_mp_grow.c
index 9e904c5..b9321f7 100644
--- a/libtommath/bn_mp_grow.c
+++ b/libtommath/bn_mp_grow.c
@@ -9,6 +9,10 @@ mp_err mp_grow(mp_int *a, int size)
int i;
mp_digit *tmp;
+ if (size < 0) {
+ return MP_VAL;
+ }
+
/* if the alloc size is smaller alloc more ram */
if (a->alloc < size) {
/* reallocate the array a->dp
diff --git a/libtommath/bn_mp_init_size.c b/libtommath/bn_mp_init_size.c
index d622687..5fefa96 100644
--- a/libtommath/bn_mp_init_size.c
+++ b/libtommath/bn_mp_init_size.c
@@ -6,6 +6,11 @@
/* init an mp_init for a given size */
mp_err mp_init_size(mp_int *a, int size)
{
+
+ if (size < 0) {
+ return MP_VAL;
+ }
+
size = MP_MAX(MP_MIN_PREC, size);
/* alloc mem */
diff --git a/libtommath/bn_mp_mul_2d.c b/libtommath/bn_mp_mul_2d.c
index 87354de..2744163 100644
--- a/libtommath/bn_mp_mul_2d.c
+++ b/libtommath/bn_mp_mul_2d.c
@@ -9,6 +9,10 @@ mp_err mp_mul_2d(const mp_int *a, int b, mp_int *c)
mp_digit d;
mp_err err;
+ if (b < 0) {
+ return MP_VAL;
+ }
+
/* copy */
if (a != c) {
if ((err = mp_copy(a, c)) != MP_OKAY) {
diff --git a/libtommath/bn_s_mp_mul_digs.c b/libtommath/bn_s_mp_mul_digs.c
index 64509d4..2d2f5b0 100644
--- a/libtommath/bn_s_mp_mul_digs.c
+++ b/libtommath/bn_s_mp_mul_digs.c
@@ -16,6 +16,10 @@ mp_err s_mp_mul_digs(const mp_int *a, const mp_int *b, mp_int *c, int digs)
mp_word r;
mp_digit tmpx, *tmpt, *tmpy;
+ if (digs < 0) {
+ return MP_VAL;
+ }
+
/* can we use the fast multiplier? */
if ((digs < MP_WARRAY) &&
(MP_MIN(a->used, b->used) < MP_MAXFAST)) {
diff --git a/libtommath/bn_s_mp_mul_digs_fast.c b/libtommath/bn_s_mp_mul_digs_fast.c
index b2a287b..d6dd3cc 100644
--- a/libtommath/bn_s_mp_mul_digs_fast.c
+++ b/libtommath/bn_s_mp_mul_digs_fast.c
@@ -26,6 +26,10 @@ mp_err s_mp_mul_digs_fast(const mp_int *a, const mp_int *b, mp_int *c, int digs)
mp_digit W[MP_WARRAY];
mp_word _W;
+ if (digs < 0) {
+ return MP_VAL;
+ }
+
/* grow the destination as required */
if (c->alloc < digs) {
if ((err = mp_grow(c, digs)) != MP_OKAY) {
diff --git a/libtommath/bn_s_mp_mul_high_digs.c b/libtommath/bn_s_mp_mul_high_digs.c
index 2bb2a50..860ebcb 100644
--- a/libtommath/bn_s_mp_mul_high_digs.c
+++ b/libtommath/bn_s_mp_mul_high_digs.c
@@ -15,6 +15,10 @@ mp_err s_mp_mul_high_digs(const mp_int *a, const mp_int *b, mp_int *c, int digs)
mp_word r;
mp_digit tmpx, *tmpt, *tmpy;
+ if (digs < 0) {
+ return MP_VAL;
+ }
+
/* can we use the fast multiplier? */
if (MP_HAS(S_MP_MUL_HIGH_DIGS_FAST)
&& ((a->used + b->used + 1) < MP_WARRAY)
diff --git a/libtommath/bn_s_mp_mul_high_digs_fast.c b/libtommath/bn_s_mp_mul_high_digs_fast.c
index a2c4fb6..afe3e4b 100644
--- a/libtommath/bn_s_mp_mul_high_digs_fast.c
+++ b/libtommath/bn_s_mp_mul_high_digs_fast.c
@@ -19,6 +19,10 @@ mp_err s_mp_mul_high_digs_fast(const mp_int *a, const mp_int *b, mp_int *c, int
mp_digit W[MP_WARRAY];
mp_word _W;
+ if (digs < 0) {
+ return MP_VAL;
+ }
+
/* grow the destination as required */
pa = a->used + b->used;
if (c->alloc < pa) {
--
2.35.5

View File

@@ -21,6 +21,7 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \
file://dropbear.default \
${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'disable-weak-ciphers', 'file://dropbear-disable-weak-ciphers.patch', '', d)} \
file://CVE-2023-36328.patch \
"
SRC_URI[sha256sum] = "bc5a121ffbc94b5171ad5ebe01be42746d50aa797c9549a4639894a16749443b"

View File

@@ -15,7 +15,7 @@ DEPENDS = "dbus"
inherit autotools pkgconfig
SRC_URI = "https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz"
SRC_URI[sha256sum] = "7603928ee584b758ca27c67e4dc513049a09b038d7d28459a9440f8443c91018"
SRC_URI[sha256sum] = "531a980589c8954ff12a3110b4d958fa75a74c88ddcc3e2ace4317e76a7c1e9b"
do_configure:prepend () {
mkdir -p ${S}/build-aux

View File

@@ -40,8 +40,7 @@ PACKAGECONFIG ??= "libmount \
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
PACKAGECONFIG[libmount] = "-Dlibmount=enabled,-Dlibmount=disabled,util-linux"
PACKAGECONFIG[manpages] = "-Dman=true, -Dman=false, libxslt-native xmlto-native"
# libelf is auto-detected without a configuration option
PACKAGECONFIG[libelf] = ",,elfutils"
PACKAGECONFIG[libelf] = "-Dlibelf=enabled,-Dlibelf=disabled,elfutils"
PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false,"
PACKAGECONFIG[selinux] = "-Dselinux=enabled,-Dselinux=disabled,libselinux"

View File

@@ -1,6 +1,6 @@
SRCBRANCH ?= "release/2.37/master"
PV = "2.37"
SRCREV_glibc ?= "3593050c27dcf691f670fd3fa9d347c99351ed2f"
SRCREV_glibc ?= "b4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3"
SRCREV_localedef ?= "794da69788cbf9bf57b59a852f9f11307663fa87"
GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"

View File

@@ -17,6 +17,9 @@ CVE_CHECK_IGNORE += "CVE-2019-1010025"
# This is integrated into the 2.37 branch as of 07b9521fc6
CVE_CHECK_IGNORE += "CVE-2023-25139"
# This is integrated into the 2.37 branch as of b4e23c75ae
+CVE_CHECK_IGNORE += "CVE-2023-4806 CVE-2023-4527 CVE-2023-4911"
DEPENDS += "gperf-native bison-native"
NATIVESDKFIXES ?= ""

View File

@@ -26,7 +26,7 @@ inherit core-image setuptools3 features_check
REQUIRED_DISTRO_FEATURES += "xattr"
SRCREV ?= "500101cc152bdba0c69936be8d71682a731cf21d"
SRCREV ?= "7f366c7d843d979e7b2c33f76cc8723f281cb890"
SRC_URI = "git://git.yoctoproject.org/poky;branch=mickledore \
file://Yocto_Build_Appliance.vmx \
file://Yocto_Build_Appliance.vmxf \

View File

@@ -5,6 +5,7 @@ require core-image-minimal.bb
require conf/distro/include/ptest-packagelists.inc
DESCRIPTION += "Also including the ${MCNAME} ptest package."
SUMMARY ?= "${MCNAME} ptest image."
HOMEPAGE = "https://www.yoctoproject.org/"
PTESTS = "${PTESTS_SLOW} ${PTESTS_FAST}"

View File

@@ -1,5 +1,6 @@
INHIBIT_DEFAULT_DEPS = "1"
LICENSE = "MIT"
SUMMARY = "Build old style sysroot based on everything in the components directory that matches the current MACHINE"
INHIBIT_DEFAULT_DEPS = "1"
STANDALONE_SYSROOT = "${STAGING_DIR}/${MACHINE}"
STANDALONE_SYSROOT_NATIVE = "${STAGING_DIR}/${BUILD_ARCH}"
@@ -16,6 +17,18 @@ deltask configure
deltask compile
deltask install
deltask populate_sysroot
deltask create_spdx
deltask collect_spdx_deps
deltask create_runtime_spdx
deltask recipe_qa
do_build_warn () {
bbwarn "Native or target sysroot population needs to be explicitly selected; please use
bitbake -c build_native_sysroot build-sysroots
bitbake -c build_target_sysroot build-sysroots
or both."
}
addtask do_build_warn before do_build
python do_build_native_sysroot () {
targetsysroot = d.getVar("STANDALONE_SYSROOT")
@@ -26,7 +39,7 @@ python do_build_native_sysroot () {
}
do_build_native_sysroot[cleandirs] = "${STANDALONE_SYSROOT_NATIVE}"
do_build_native_sysroot[nostamp] = "1"
addtask do_build_native_sysroot before do_build
addtask do_build_native_sysroot
python do_build_target_sysroot () {
targetsysroot = d.getVar("STANDALONE_SYSROOT")
@@ -37,6 +50,6 @@ python do_build_target_sysroot () {
}
do_build_target_sysroot[cleandirs] = "${STANDALONE_SYSROOT}"
do_build_target_sysroot[nostamp] = "1"
addtask do_build_target_sysroot before do_build
addtask do_build_target_sysroot
do_clean[cleandirs] += "${STANDALONE_SYSROOT} ${STANDALONE_SYSROOT_NATIVE}"

View File

@@ -30,6 +30,7 @@ TOOLCHAIN_HOST_TASK ?= "\
nativesdk-mtools \
nativesdk-zstd \
nativesdk-lz4 \
nativesdk-libacl \
"
MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"

View File

@@ -225,7 +225,7 @@ def initialize_db(conn):
c.execute("CREATE TABLE IF NOT EXISTS META (YEAR INTEGER UNIQUE, DATE TEXT)")
c.execute("CREATE TABLE IF NOT EXISTS NVD (ID TEXT UNIQUE, SUMMARY TEXT, \
SCOREV2 TEXT, SCOREV3 TEXT, MODIFIED INTEGER, VECTOR TEXT)")
SCOREV2 TEXT, SCOREV3 TEXT, MODIFIED INTEGER, VECTOR TEXT, VECTORSTRING TEXT)")
c.execute("CREATE TABLE IF NOT EXISTS PRODUCTS (ID TEXT, \
VENDOR TEXT, PRODUCT TEXT, VERSION_START TEXT, OPERATOR_START TEXT, \
@@ -299,6 +299,7 @@ def update_db(conn, elt):
"""
accessVector = None
vectorString = None
cveId = elt['cve']['id']
if elt['cve']['vulnStatus'] == "Rejected":
return
@@ -309,25 +310,29 @@ def update_db(conn, elt):
date = elt['cve']['lastModified']
try:
accessVector = elt['cve']['metrics']['cvssMetricV2'][0]['cvssData']['accessVector']
vectorString = elt['cve']['metrics']['cvssMetricV2'][0]['cvssData']['vectorString']
cvssv2 = elt['cve']['metrics']['cvssMetricV2'][0]['cvssData']['baseScore']
except KeyError:
cvssv2 = 0.0
cvssv3 = None
try:
accessVector = accessVector or elt['cve']['metrics']['cvssMetricV30'][0]['cvssData']['attackVector']
vectorString = vectorString or elt['cve']['metrics']['cvssMetricV30'][0]['cvssData']['vectorString']
cvssv3 = elt['cve']['metrics']['cvssMetricV30'][0]['cvssData']['baseScore']
except KeyError:
pass
try:
accessVector = accessVector or elt['cve']['metrics']['cvssMetricV31'][0]['cvssData']['attackVector']
vectorString = vectorString or elt['cve']['metrics']['cvssMetricV31'][0]['cvssData']['vectorString']
cvssv3 = cvssv3 or elt['cve']['metrics']['cvssMetricV31'][0]['cvssData']['baseScore']
except KeyError:
pass
accessVector = accessVector or "UNKNOWN"
vectorString = vectorString or "UNKNOWN"
cvssv3 = cvssv3 or 0.0
conn.execute("insert or replace into NVD values (?, ?, ?, ?, ?, ?)",
[cveId, cveDesc, cvssv2, cvssv3, date, accessVector]).close()
conn.execute("insert or replace into NVD values (?, ?, ?, ?, ?, ?, ?)",
[cveId, cveDesc, cvssv2, cvssv3, date, accessVector, vectorString]).close()
try:
for config in elt['cve']['configurations']:

View File

@@ -0,0 +1,28 @@
#!/bin/sh
set -e
cd /opt/libc-test
make cleanall
make run || true
echo ""
echo "--- ptest result ---"
# libc-test runs tests by module(e.g. src/api) and generates sub-module test
# report(e.g. src/api/REPORT) first. After all tests finish, it generates the
# consolidated report file src/REPORT.
report="/opt/libc-test/src/REPORT"
if ! [ -f "${report}" ]; then
echo "${report} not found!"
echo "FAIL: libc-test"
exit 1
# libc-test prints error on failure and prints nothing on success.
elif grep -q '^FAIL src.*\.exe.*' "${report}"; then
# Print test failure in ptest format.
# e.g. "FAIL src/api/main.exe [status 1]" -> "FAIL: api_main"
grep '^FAIL src.*\.exe.*' "${report}" \
| sed 's|^FAIL src/|FAIL: |;s|/|_|;s|\.exe.*\]||'
exit 1
else
echo "PASS: libc-test"
fi

View File

@@ -1,28 +1,3 @@
#!/bin/sh
set -e
cd /opt/libc-test
make cleanall
make run || true
echo ""
echo "--- ptest result ---"
# libc-test runs tests by module(e.g. src/api) and generates sub-module test
# report(e.g. src/api/REPORT) first. After all tests finish, it generates the
# consolidated report file src/REPORT.
report="/opt/libc-test/src/REPORT"
if ! [ -f "${report}" ]; then
echo "${report} not found!"
echo "FAIL: libc-test"
exit 1
# libc-test prints error on failure and prints nothing on success.
elif grep -q '^FAIL src.*\.exe.*' "${report}"; then
# Print test failure in ptest format.
# e.g. "FAIL src/api/main.exe [status 1]" -> "FAIL: api_main"
grep '^FAIL src.*\.exe.*' "${report}" \
| sed 's|^FAIL src/|FAIL: |;s|/|_|;s|\.exe.*\]||'
exit 1
else
echo "PASS: libc-test"
fi
chown -R ptest:ptest /opt/libc-test
su -c ./run-libc-ptests ptest

View File

@@ -13,6 +13,7 @@ SRCREV = "18e28496adee3d84fefdda6efcb9c5b8996a2398"
SRC_URI = " \
git://repo.or.cz/libc-test;branch=master;protocol=https \
file://run-ptest \
file://run-libc-ptests \
"
PV = "0+git${SRCPV}"
@@ -47,5 +48,9 @@ do_install () {
cp -r ${S}/src ${D}${install_path}
}
do_install_ptest_base:append() {
install -Dm 0755 ${WORKDIR}/run-libc-ptests ${D}${PTEST_PATH}/run-libc-ptests
}
COMPATIBLE_HOST = "null"
COMPATIBLE_HOST:libc-musl = "(.*)"

View File

@@ -0,0 +1,139 @@
From 78fc42be73d81ff625f6479784ce1950bd4741b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Tue, 25 Apr 2023 17:58:34 +0200
Subject: [PATCH] shared/creds-util: return 0 for missing creds in
read_credential_strings_many
Realistically, the only thing that the caller can do is ignore failures related
to missing credentials. If the caller requires some credentials to be present,
they should just check which output variables are not NULL. One of the callers
was already doing that, and the other wanted to, but missed -ENOENT. By
suppressing -ENOENT and -ENXIO, both callers are simplified.
Fixes a warning at boot:
systemd-vconsole-setup[221]: Failed to import credentials, ignoring: No such file or directory
(cherry picked from commit 55ace8e5c58441d1a2c64b297a38b232ef0c0e28)
Upstream-Status: Backport [1575f1d9e78ab44beedd4eae4af3a14d45312d76]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
src/resolve/resolved-conf.c | 7 +++----
src/shared/creds-util.c | 18 +++++++++++-------
src/test/test-creds.c | 8 ++++----
src/vconsole/vconsole-setup.c | 2 +-
4 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/src/resolve/resolved-conf.c b/src/resolve/resolved-conf.c
index d6929984e9..52e65caffa 100644
--- a/src/resolve/resolved-conf.c
+++ b/src/resolve/resolved-conf.c
@@ -476,10 +476,9 @@ static void read_credentials(Manager *m) {
if (!m->read_resolv_conf)
return;
- r = read_credential_strings_many(
- "network.dns", &dns,
- "network.search_domains", &domains);
- if (r < 0 && !IN_SET(r, -ENXIO, -ENOENT))
+ r = read_credential_strings_many("network.dns", &dns,
+ "network.search_domains", &domains);
+ if (r < 0)
log_warning_errno(r, "Failed to read credentials, ignoring: %m");
if (dns) {
diff --git a/src/shared/creds-util.c b/src/shared/creds-util.c
index 750ee2571e..617bae4205 100644
--- a/src/shared/creds-util.c
+++ b/src/shared/creds-util.c
@@ -96,17 +96,21 @@ int read_credential_strings_many_internal(
/* Reads a bunch of credentials into the specified buffers. If the specified buffers are already
* non-NULL frees them if a credential is found. Only supports string-based credentials
- * (i.e. refuses embedded NUL bytes) */
+ * (i.e. refuses embedded NUL bytes).
+ *
+ * 0 is returned when some or all credentials are missing.
+ */
if (!first_name)
return 0;
r = read_credential(first_name, &b, NULL);
- if (r == -ENXIO) /* no creds passed at all? propagate this */
- return r;
- if (r < 0)
- ret = r;
- else
+ if (r == -ENXIO) /* No creds passed at all? Bail immediately. */
+ return 0;
+ if (r < 0) {
+ if (r != -ENOENT)
+ ret = r;
+ } else
free_and_replace(*first_value, b);
va_list ap;
@@ -127,7 +131,7 @@ int read_credential_strings_many_internal(
r = read_credential(name, &bb, NULL);
if (r < 0) {
- if (ret >= 0)
+ if (ret >= 0 && r != -ENOENT)
ret = r;
} else
free_and_replace(*value, bb);
diff --git a/src/test/test-creds.c b/src/test/test-creds.c
index 44022e7324..25b0c34a59 100644
--- a/src/test/test-creds.c
+++ b/src/test/test-creds.c
@@ -16,7 +16,7 @@ TEST(read_credential_strings) {
if (e)
assert_se(saved = strdup(e));
- assert_se(read_credential_strings_many("foo", &x, "bar", &y) == -ENXIO);
+ assert_se(read_credential_strings_many("foo", &x, "bar", &y) == 0);
assert_se(x == NULL);
assert_se(y == NULL);
@@ -24,20 +24,20 @@ TEST(read_credential_strings) {
assert_se(setenv("CREDENTIALS_DIRECTORY", tmp, /* override= */ true) >= 0);
- assert_se(read_credential_strings_many("foo", &x, "bar", &y) == -ENOENT);
+ assert_se(read_credential_strings_many("foo", &x, "bar", &y) == 0);
assert_se(x == NULL);
assert_se(y == NULL);
assert_se(p = path_join(tmp, "bar"));
assert_se(write_string_file(p, "piff", WRITE_STRING_FILE_CREATE|WRITE_STRING_FILE_AVOID_NEWLINE) >= 0);
- assert_se(read_credential_strings_many("foo", &x, "bar", &y) == -ENOENT);
+ assert_se(read_credential_strings_many("foo", &x, "bar", &y) == 0);
assert_se(x == NULL);
assert_se(streq(y, "piff"));
assert_se(write_string_file(p, "paff", WRITE_STRING_FILE_TRUNCATE|WRITE_STRING_FILE_AVOID_NEWLINE) >= 0);
- assert_se(read_credential_strings_many("foo", &x, "bar", &y) == -ENOENT);
+ assert_se(read_credential_strings_many("foo", &x, "bar", &y) == 0);
assert_se(x == NULL);
assert_se(streq(y, "piff"));
diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c
index 7d3e9db73f..b2676eb487 100644
--- a/src/vconsole/vconsole-setup.c
+++ b/src/vconsole/vconsole-setup.c
@@ -442,7 +442,7 @@ int main(int argc, char **argv) {
"vconsole.font", &vc_font,
"vconsole.font_map", &vc_font_map,
"vconsole.font_unimap", &vc_font_unimap);
- if (r < 0 && r != -ENXIO)
+ if (r < 0)
log_warning_errno(r, "Failed to import credentials, ignoring: %m");
/* Load data from configuration file (middle priority) */
--
2.42.0

View File

@@ -25,6 +25,7 @@ SRC_URI += " \
file://0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
file://0008-implment-systemd-sysv-install-for-OE.patch \
file://0004-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch \
file://0001-shared-creds-util-return-0-for-missing-creds-in-read.patch \
"
# patches needed by musl

Some files were not shown because too many files have changed in this diff Show More