summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-11-22vim: fix CVE-2021-3927 and CVE-2021-3928Mingli Yu
Backport patches to fix CVE-2021-3927 and CVE-2021-3928. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22bind: fix CVE-2021-25219Mingli Yu
Backport patches to fix CVE-2021-25219. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22vim: fix CVE-2021-3875Mingli Yu
Backport a patch to fix CVE-2021-3875. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22vim: fix CVE-2021-3872 and CVE-2021-3903Mingli Yu
Backport 2 patches to fix below CVEs: - CVE-2021-3872 - CVE-2021-3903 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22rpm: fix CVE-2021-3521Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22gcc: Fix CVE-2021-35465Pgowda
source : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102035 Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=3929bca9ca95de9d35e82ae8828b188029e3eb70] Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=574e7950bd6b34e9e2cacce18c802b45505d1d0a] Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=30461cf8dba3d3adb15a125e4da48800eb2b9b8f] Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=809330ab8450261e05919b472783bf15e4b000f7] Signed-off-by: Pgowda <pgowda.cve@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22mklibs-native: drop deprecated cpp17 exceptionsAndrej Valek
gcc11 has -std=gnu++17 as default. Remove deprecated C++17 exceptions based on http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html. Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit ef8b7946b4793db653ef7dd716e1d3f919a84725) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22inetutils: fix CVE-2021-40491Yi Zhao
CVE-2021-40491: The ftp client in GNU Inetutils before 2.2 does not validate addresses returned by PASV/LSPV responses to make sure they match the server address. This is similar to CVE-2020-8284 for curl. References: https://nvd.nist.gov/vuln/detail/CVE-2021-40491 Patch from: https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=58cb043b190fd04effdaea7c9403416b436e50dd (From OE-Core rev: 1b857807f1cf8fee3175f8479a0c7cb1850bd9a9) drop changes to NEWS Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22mirrors: Add kernel.org sources mirror for downloads.yoctoproject.orgRichard Purdie
kernel.org now has a mirror of the downloads.yoctoproject.org sources archive so include this in our mirrors list. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f602b6c2046bbc52a95dcc68a754f1cbb2db6761) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22scripts/lib/wic/help.py: Update Fedora Kickstart URLsJon Mason
The URLs describing Kickstart are no longer valid and do not redirect to the correct location. Update them with the correct location. Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e5ac75f93c8128b0761af5fee99e8603ddd1657d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22scripts/oe-package-browser: Handle no packages being builtRichard Purdie
Give the user a proper error message if there aren't packages built, rather than a less friendly traceback. [YOCTO #14619] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b14c176b7dd74b7d63ca0f72e6e00fbf209f5a0b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22convert-srcuri.py: use regex to check space in SRC_URIKai Kang
There may be none, one or more spaces including tab before backslash in SRC_URI. Use regex to check and update. It helps to avoid malformed uri such as recipe open-iscsi-user in meta-openstack: SRC_URI = "git://github.com/open-iscsi/open-iscsi.git;protocol=https ;branch=master \ And help to check more recipes such as concurrent-ruby in the same layer: SRC_URI = "git://github.com/ruby-concurrency/concurrent-ruby.git;protocol=https;tag=v1.1.6\ Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a69a53573b1987ee5834a6fc27763f9bbf5fe5a4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22linux-yocto/5.10: update to v5.10.78Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 5040520482a5 Linux 5.10.78 4c7c0243275b ALSA: usb-audio: Add Audient iD14 to mixer map quirk table f3eb44f496ef ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table 68765fc97762 Revert "wcn36xx: Disable bmps when encryption is disabled" f84b791d4c3b ARM: 9120/1: Revert "amba: make use of -1 IRQs warn" bbc920fb320f Revert "drm/ttm: fix memleak in ttm_transfered_destroy" 6d67b2a73b8e mm: khugepaged: skip huge page collapse for special files 5a7957491e31 Revert "usb: core: hcd: Add support for deferring roothub registration" 50f46bd30949 Revert "xhci: Set HCD flag to defer primary roothub registration" d7fc85f61042 media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() b93a70bf2b57 net: ethernet: microchip: lan743x: Fix skb allocation failure b9c85a71e1b4 vrf: Revert "Reset skb conntrack connection..." 0382fdf9ae78 sfc: Fix reading non-legacy supported link modes 748786564a35 Revert "io_uring: reinforce cancel on flush during exit" 7b57c38d12ae scsi: core: Put LLD module refcnt after SCSI device is released Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7a7d1eed8e3d550ac9bfa301b26095100eeba111) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22linux-yocto/5.10: update to v5.10.77Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 09df347cfd18 Linux 5.10.77 fbb91dadb512 perf script: Check session->header.env.arch before using it 6f416815c505 riscv: Fix asan-stack clang build 7a4cf25d8329 riscv: fix misalgned trap vector base address acb8832f6a1c scsi: ufs: ufs-exynos: Correct timeout value setting registers 8ecddaca7942 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu e11a7355fb98 KVM: s390: clear kicked_mask before sleeping again 727e5deca802 lan743x: fix endianness when accessing descriptors a7112b8eeb14 sctp: add vtag check in sctp_sf_ootb c2442f721972 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa 14c1e02b11c2 sctp: add vtag check in sctp_sf_violation dad2486414b5 sctp: fix the processing for COOKIE_ECHO chunk 8c50693d25e4 sctp: fix the processing for INIT_ACK chunk ad111d4435d8 sctp: use init_tag from inithdr for ABORT chunk 4509000a2515 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings 5b88bb9377ee phy: phy_start_aneg: Add an unlocked version 81780b624d1c phy: phy_ethtool_ksettings_set: Move after phy_start_aneg 258c5fea44cf phy: phy_ethtool_ksettings_get: Lock the phy for consistency 58722323d4bc net/tls: Fix flipped sign in async_wait.err assignment 44e8c93e1e49 net: nxp: lpc_eth.c: avoid hang when bringing interface down c2af2092c9bb net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent bfa6fbdb4e39 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails e81bed557fe7 mlxsw: pci: Recycle received packet upon allocation failure be98be1a17e9 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST aead02927af3 gpio: xgs-iproc: fix parsing of ngpios property 863a423ee07b RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 2b7c5eed19d3 net: Prevent infinite while loop in skb_tx_hash() 04121b10cdf0 cfg80211: correct bridge/4addr mode check aed897e96b19 net-sysfs: initialize uid and gid before calling net_ns_get_ownership b0a2cd38553c net: batman-adv: fix error handling 36e911a16b37 regmap: Fix possible double-free in regcache_rbtree_exit() e51371bd687e reset: brcmstb-rescal: fix incorrect polarity of status bit 2cf7d935d6ba arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node 10e40fb2f508 RDMA/mlx5: Set user priority for DCT 24fd8e2f027d octeontx2-af: Display all enabled PF VF rsrc_alloc entries. c63d7f2ca99a nvme-tcp: fix possible req->offset corruption 32f3db20f126 nvme-tcp: fix data digest pointer calculation 4286c72c5321 nvmet-tcp: fix data digest pointer calculation d98883f6c33e IB/hfi1: Fix abba locking issue with sc_disable() c3e17e58f571 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields ee4908f909b3 bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch() dd2260ec643d bpf: Fix potential race in tail call compatibility check 15dec6d8f864 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function cac6b043cea3 riscv, bpf: Fix potential NULL dereference 01599bf7cc2b cgroup: Fix memory leak caused by missing cgroup_bpf_offline eb3b6805e3e9 drm/amdgpu: fix out of bounds write c21b4002214c drm/ttm: fix memleak in ttm_transfered_destroy 69a7fa5cb0de mm, thp: bail out early in collapse_file for writeback page 8fb858b74ac5 net: lan78xx: fix division by zero in send path 4c22227e39c7 cfg80211: fix management registrations locking fa29cec42c2d cfg80211: scan: fix RCU in cfg80211_add_nontrans_list() db1191a529e4 nvme-tcp: fix H2CData PDU send accounting (again) 5043fbd294f5 ocfs2: fix race between searching chunks and release journal_head from buffer_head 01169a43353d mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit ee3213b117ce mmc: sdhci: Map more voltage level to SDHCI_POWER_330 a95a76fc01a0 mmc: dw_mmc: exynos: fix the finding clock sample value 12a46f72f499 mmc: mediatek: Move cqhci init behind ungate clock 44c2bc2a6bbe mmc: cqhci: clear HALT state after CQE enable efe934629fff mmc: vub300: fix control-message timeouts f3dec7e7ace3 net/tls: Fix flipped sign in tls_err_abort() calls c828115a14ea Revert "net: mdiobus: Fix memory leak in __mdiobus_register" 11c0406b4c33 nfc: port100: fix using -ERRNO as command type mask 0b1b3e086b0a tipc: fix size validations for the MSG_CRYPTO type 5aa5bab57957 ata: sata_mv: Fix the error handling of mv_chip_id() 9a52798dce73 pinctrl: amd: disable and mask interrupts on probe 01c2881bb0e0 Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode" 017718dfbb6f usbnet: fix error return code in usbnet_probe() 693ecbe8f799 usbnet: sanity check for maxpacket b663890d8544 ext4: fix possible UAF when remounting r/o a mmp-protected file system d4d9c065988c arm64: Avoid premature usercopy failure e184a21b5ccc powerpc/bpf: Fix BPF_MOD when imm == 1 3f2c12ec8a3f io_uring: don't take uring_lock during iowq cancel 5a768b4d3e1a ARM: 9141/1: only warn about XIP address when not compile testing 15b278f94bbb ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype c06d7d9bfcf6 ARM: 9138/1: fix link warning with XIP + frame-pointer 8a6af97c31be ARM: 9134/1: remove duplicate memcpy() definition 6ad8bbc9d301 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned 3ceaa85c331d ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d57bc7281015d09e2ff7a8a028dbf31559ff7331) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-22mirrors: Add uninative mirror on kernel.orgRichard Purdie
At the last nas outage, we realised that we don't have good mirrors of the uninative tarball if our main system can't be accessed. kernel.org mirrors some Yocto Project data so we've ensured uninative is there. Add the appropriate mirror url to make use of that. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1833cb0c5841afafb468b963b74b63366b09a134) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-16llvm: bump HASHEQUIV_HASH_VERSIONAnuj Mittal
llvm embeds the repository location in a header file. We just changed the SRC_URI to fetch using https instead of git. This has started giving errors in reproducibility testing when one of the RPMs to be compared is fetched from sstate. Bump HASHEQUIV_HASH_VERSION and PR so its rebuilt. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-12cross-canadian: correct the location of pkg-config filesAlexander Kanavin
layout_libdir has not been defined for many years. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2c84fbed676a8e6717592c86c3742566ad0decac) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-12meta/scripts: Manual git url branch additionsRichard Purdie
Following the scripted conversion adding branches to git:// SRC_URI entries, add the remaining references, mainly in the selftests and recipetool. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5340c0d688036c1be6c938f05d8a8c1e3b49ec38) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-12meta: add explicit branch and protocol to SRC_URIAnuj Mittal
Add branch name explicitly to SRC_URI where it's not defined and switch to using https protocol for Github projects. The change was made using convert-srcuri script in scripts/contrib. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-10scripts/convert-srcuri: Backport SRC_URI conversion script from master branchRichard Purdie
This script handles two emerging issues: 1. There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. 2. Github are dropping support for git:// protocol fetching, so remap github urls as needed. For more details see: https://github.blog/2021-09-01-improving-git-protocol-security-github/ Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-10avahi: update CVE id fixed by local-ping.patchChen Qi
CVE-2021-36217 is treated as a duplicate of CVE-2021-3502. Update the local-ping.patch to mark it resolve both. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4d75d6c39f1faeb38191b55f1fa9311b63fcfb29) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-10sstate: another fix for touching files inside pseudoJose Quaresma
This patch is a fixup for 676757f "sstate: fix touching files inside pseudo" running the 'id' command inside the sstate_unpack_package function shows that this funcion run inside the pseudo: uid=0(root) gid=0(root) groups=0(root) The check for [ -w ${SSTATE_PKG} ] and [ -O ${SSTATE_PKG}.siginfo ] will always return true and the touch can fail when the real user don't have permission or in readonly filesystem. As the documentation refers: - the file test operator "-w" check if the file has write permission (for the user running the test). - the file test operator "-O" check if you are owner of file We can avoid this test running the touch and mask any return errors that we have. (From OE-Core rev: 29fc85997ade490ae46ffca37ef8e1a56957c876) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5b9210d66c78bb3f79056e5586cea7b0edd714a9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-10linux-yocto-rt/5.10: update to -rt54Bruce Ashfield
Integrating the following commit(s) to linux-yocto-rt/5.10: f01089784fd6 Linux 5.10.73-rt54 f34df8f3c666 Linux 5.10.65-rt53 271c5e6e4064 Linux 5.10.59-rt52 1a4bba4bc32c locking/rwsem-rt: Remove might_sleep() in __up_read() ff591a2bdcfb Linux 5.10.59-rt51 8d185ac23c11 Linux 5.10.58-rt50 2c0fd44153f5 Linux 5.10.56-rt49 8b083d3c993c printk: Enhance the condition check of msleep in pr_flush() 448cd29e3bc9 Linux 5.10.56-rt48 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7c7dc8f38cf1e874a7722389c95d895e10855d9a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-10linux-yocto/5.10: update to v5.10.76Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 378e85d1aeb5 Linux 5.10.76 cfa79faf7e1f pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume() c56c801391c3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG d088db8637bb selftests: bpf: fix backported ASSERT_FALSE 3a845fa00fd7 e1000e: Separate TGP board type from SPT 021b6d11e590 tracing: Have all levels of checks prevent recursion 3a0dc2e35a5d net: mdiobus: Fix memory leak in __mdiobus_register cfe9266213c4 bpf, test, cgroup: Use sk_{alloc,free} for test cases 188907c25218 s390/pci: fix zpci_zdev_put() on reserve f18b90e9366f can: isotp: isotp_sendmsg(): fix TX buffer concurrent access in isotp_sendmsg() 2304dfb548a4 scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma() c58654f344dd net: hns3: fix for miscalculation of rx unused desc 96fe5061291d sched/scs: Reset the shadow stack when idle_task_exit 96f0aebf29be scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els() 90c8e8c0829b scsi: iscsi: Fix set_param() handling 0eb254479685 Input: snvs_pwrkey - add clk handling ea9c1f5d8a3a perf/x86/msr: Add Sapphire Rapids CPU support 7a5a1f09c8b4 libperf tests: Fix test_stat_cpu e56a3e7ae353 ALSA: hda: avoid write to STATESTS if controller is in reset 85c8d8c1609d platform/x86: intel_scu_ipc: Update timeout value in comment 9f591cbdbed3 isdn: mISDN: Fix sleeping function called from invalid context ab4f542b515b ARM: dts: spear3xx: Fix gmac node 15d3ad79885b net: stmmac: add support for dwmac 3.40a f9d16a428489 btrfs: deal with errors when checking if a dir entry exists during log replay 369db2a91d5c ALSA: hda: intel: Allow repeatedly probing on codec configuration errors 81d8e70cdce4 gcc-plugins/structleak: add makefile var for disabling structleak 69078a94365a net: hns3: fix the max tx size according to user manual f40c2281d2c0 drm: mxsfb: Fix NULL pointer dereference crash on unload 96835b68d7b3 net: bridge: mcast: use multicast_membership_interval for IGMPv3 0e033cb40761 selftests: netfilter: remove stray bash debug line f8a6541345c2 netfilter: Kconfig: use 'default y' instead of 'm' for bool config option 7f221ccbee4e isdn: cpai: check ctr->cnr to avoid array index out of bound 77c0ef979e32 nfc: nci: fix the UAF of rf_conn_info object 8f042315fcc4 KVM: nVMX: promptly process interrupts delivered while in guest mode b41fd8f5d2ad mm, slub: fix incorrect memcg slab count for bulk free 568f906340b4 mm, slub: fix potential memoryleak in kmem_cache_open() 48843dd23c7b mm, slub: fix mismatch between reconstructed freelist depth and cnt c5c2a80368e9 powerpc/idle: Don't corrupt back chain when going idle 197ec50b2df1 KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest fbd724c49bea KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest() 9258f58432c5 powerpc64/idle: Fix SP offsets when saving GPRs 3e16d9d525a7 net: dsa: mt7530: correct ds->num_ports 16802fa4c33e audit: fix possible null-pointer dereference in audit_filter_rules 0d867a359979 ASoC: DAPM: Fix missing kctl change notifications a2606acf418e ALSA: hda/realtek: Add quirk for Clevo PC50HS 6411397b6d7a ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset b721500c979b vfs: check fd has read access in kernel_read_file_from_fd() 895ceeff31b1 elfcore: correct reference to CONFIG_UML 3cda4bfffd4f userfaultfd: fix a race between writeprotect and exit_mmap() 93be0eeea14c ocfs2: mount fails with buffer overflow in strlen f1b98569e81c ocfs2: fix data corruption after conversion from inline format 1727e8688d2e ceph: fix handling of "meta" errors 603d4bcc0fcd ceph: skip existing superblocks that are blocklisted or shut down when mounting d48db508f911 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes 5abc9b9d3ca5 can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length 864e77771a24 can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv ecfccb1c58c9 can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer 053bc12df0d6 can: isotp: isotp_sendmsg(): add result check for wait_event_interruptible() 0917fb04069a can: isotp: isotp_sendmsg(): fix return error on FC timeout on TX path 28f28e4bc3a5 can: peak_pci: peak_pci_remove(): fix UAF 9697ad6395f9 can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification 4758e92e75ca can: rcar_can: fix suspend/resume 4a0928c3ebca net: enetc: fix ethtool counter name for PM0_TERR 00ad7a015409 drm/panel: ilitek-ili9881c: Fix sync for Feixin K101-IM2BYL02 panel eccd00728b1a ice: Add missing E810 device ids 6418508a3ac2 e1000e: Fix packet loss on Tiger Lake and later 29f1bdcaa3dd net: stmmac: Fix E2E delay mechanism d36b15e3e7b5 net: hns3: disable sriov before unload hclge layer 6a72e1d78a2f net: hns3: fix vf reset workqueue cannot exit 32b860d364d2 net: hns3: schedule the polling again when allocation fails 96c013f40c9b net: hns3: add limit ets dwrr bandwidth cannot be 0 21f61d10435c net: hns3: reset DWRR of unused tc to zero 53770a411559 powerpc/smp: do not decrement idle task preempt count in CPU offline 81dbd898fb7b NIOS2: irqflags: rename a redefined register name 6edf99b000d6 net: dsa: lantiq_gswip: fix register definition ef97219d5fec ipv6: When forwarding count rx stats on the orig netdev 38d984e5e845 tcp: md5: Fix overlap between vrf and non-vrf keys c28bea6b876f lan78xx: select CRC32 9c8943812dac netfilter: ipvs: make global sysctl readonly in non-init netns 911e01990c70 netfilter: ip6t_rt: fix rt0_hdr parsing in rt_mt6 69ea08c1b539 ice: fix getting UDP tunnel entry 842fce43190c ASoC: wm8960: Fix clock configuration on slave mode 39afed394cc6 dma-debug: fix sg checks in debug_dma_map_sg() 2a670c323055 netfilter: xt_IDLETIMER: fix panic that occurs when timer_type has garbage value 0f4308a164a9 NFSD: Keep existing listeners on portlist error 546c04c85791 xtensa: xtfpga: Try software restart before simulating CPU reset bfef5d826276 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF d8284c981c1c drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI 101e1bcb1147 xen/x86: prevent PVH type from getting clobbered a6285b1b2212 block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output 85c1827eeee7 ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default 5489c1bed5b8 arm: dts: vexpress-v2p-ca9: Fix the SMB unit-address f59da9f7efa7 io_uring: fix splice_fd_in checks backport typo b6f32897af19 xhci: add quirk for host controllers that don't update endpoint DCS b3b7f831a49b parisc: math-emu: Fix fall-through warnings Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 61f8f7d18417334e3b13e4447f318107372dcfe0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-10linux-firmware: upgrade 20210919 -> 20211027Alexander Kanavin
License-Update: additional firmwares listed Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1ca3fb1c7f11e04bf8d8bf59901ddd60178cb13c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-10sstate: Account for reserved characters when shortening sstate filenamesManuel Leonhardt
Previously, when shortening sstate filenames, the reserved characters for .siginfo were not considered, when siginfo=False, resulting in differently shortend filenames for the sstate and siginfo files. With this change, the filenames of the truncated sstate and siginfo files have the same basename, just as is already the case for untruncated filenames. Making sure that the .siginfo files always have the filename of the corresponding sstate file plus its .siginfo suffix, also when being truncated, makes it easier to manage the sstate cache and an sstate mirror outside of Bitbake/Yocto. Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c2e0e43b7123cf5149833e0072c8edaea3629112) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-10pseudo: Add fcntl64 wrapperRichard Purdie
Add fcntl64 wrapper which hopefully fixes issues seen in findutils and the find command in the libtool removal code when built with LFS compile flags on Gentoo. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f26867fe4daec7299f59a82ae4a0d70cceb3e082) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-10pseudo: Add in ability to flush database with shutdown requestRichard Purdie
Pulls in: pseudo_db: Flush DB if there is a shutdown request fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ (test fix) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0882095d608ce3abbcc9814517434c21ea549063) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-10linunistring: Add missing gperf-native dependencyRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 73d3efbaeb2f412ab8d3491d2da3f3124fc009f3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-04build-appliance-image: Update to hardknott head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01meta: bump HASHEQUIV_HASH_VERSION after RPM fixAnuj Mittal
ef37fca2f4 fixes issues where PLATFORM tag in RPMs generated n aarch and x86 hosts are different for noarch RPMs. But, we'd still need to bump hashequiv version for allarch recipes to avoid issues because of the RPMs that were incorrectly generated so reproducibility tests don't fail. Also bump PR to force rebuilds. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01bootchart2: Don't compile python modulesRichard Purdie
"make install" may attempt to compile the python modules but it uses the host python and host paths which means the binaries are not reproducbile. Make things consistent. If anyone needs compiling, it will beed to be fixed to be cross compile compatible. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1189f95e05c80286e009e1ab46a603ee5b7ca239) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01tzdata: upgrade 2021a -> 2021dAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f171f4f528090fc108624de6049274aa4d4880eb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01ca-certificates: update 20210119 -> 20211016Alexander Kanavin
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 c479b8a810d966d7267af1b4dac38a46f55fc547) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01wireless-regdb: upgrade 2021.07.14 -> 2021.08.28Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 00c590f50d6894089ff7ce8ad6e263431d9cc550) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01wireless-regdb: upgrade 2021.04.21 -> 2021.07.14Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7f4d11e8da6bb79232535c42ad41798a56162ac7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01linux-firmware: upgrade 20210818 -> 20210919Alexander Kanavin
License-Update: additional files Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8dac57dfed45a0d8a049473f2efc1711b56273a4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01linux-yocto/5.10: update to v5.10.75Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 3a9842b42e42 Linux 5.10.75 3e2873652163 net: dsa: mv88e6xxx: don't use PHY_DETECT on internal PHY's 3593fa147c86 ionic: don't remove netdev->dev_addr when syncing uc list f33890d9bb59 net: mscc: ocelot: warn when a PTP IRQ is raised for an unknown skb 9c546af181bc nfp: flow_offload: move flow_indr_dev_register from app init to app start 6da9af2d2531 r8152: select CRC32 and CRYPTO/CRYPTO_HASH/CRYPTO_SHA256 ecfd4fa15b06 qed: Fix missing error code in qed_slowpath_start() 51f6e72ca656 mqprio: Correct stats in mqprio_dump_class_stats(). fdaff7f9e806 platform/x86: intel_scu_ipc: Fix busy loop expiry time 057ee6843bbb acpi/arm64: fix next_platform_timer() section mismatch error c6b2400095ba drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling 2c5658717428 drm/msm/dsi: Fix an error code in msm_dsi_modeset_init() b28586fb04f3 drm/msm/a6xx: Track current ctx by seqno abd11864159b drm/msm/mdp5: fix cursor-related warnings 91a340768b01 drm/msm: Fix null pointer dereference on pointer edp a7b45024f66f drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read d0f0e1710397 drm/panel: olimex-lcd-olinuxino: select CRC32 a4a37e6516f8 spi: bcm-qspi: clear MSPI spifie interrupt during probe d9428f08e1c3 platform/mellanox: mlxreg-io: Fix read access of n-bytes size attributes c216cebdd245 platform/mellanox: mlxreg-io: Fix argument base in kstrtou32() call e59d839743b5 mlxsw: thermal: Fix out-of-bounds memory accesses 7eef482db728 ata: ahci_platform: fix null-ptr-deref in ahci_platform_enable_regulators() 116932c0e45e pata_legacy: fix a couple uninitialized variable bugs 50cb95487c26 NFC: digital: fix possible memory leak in digital_in_send_sdd_req() 3f2960b39f22 NFC: digital: fix possible memory leak in digital_tg_listen_mdaa() 2f21f06a5e7a nfc: fix error handling of nfc_proto_register() ba39f55952a2 vhost-vdpa: Fix the wrong input in config_cb 84e0f2fc662e ethernet: s2io: fix setting mac address during resume e19c10d6e07c net: encx24j600: check error in devm_regmap_init_encx24j600 f2e1de075018 net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work 9053c5b4594c net: stmmac: fix get_hw_feature() on old hardware 12da46cb6a90 net/mlx5e: Mutually exclude RX-FCS and RX-port-timestamp 4f7bddf8c5c0 net/mlx5e: Fix memory leak in mlx5_core_destroy_cq() error path afb0c67dfdb5 net: korina: select CRC32 33ca85010511 net: arc: select CRC32 17a027aafd52 gpio: pca953x: Improve bias setting d84a69ac410f sctp: account stream padding length for reconf chunk 6fecdb5b54a5 nvme-pci: Fix abort command id 2d937cc12c14 ARM: dts: bcm2711-rpi-4-b: Fix pcie0's unit address formatting 6e6082250b53 ARM: dts: bcm2711-rpi-4-b: fix sd_io_1v8_reg regulator states 48613e687e28 ARM: dts: bcm2711: fix MDIO #address- and #size-cells 6e6e3018d3ce ARM: dts: bcm2711-rpi-4-b: Fix usb's unit address 76644f94595b tee: optee: Fix missing devices unregister during optee_remove 07f885682486 iio: dac: ti-dac5571: fix an error code in probe() 6c0024bcaadc iio: ssp_sensors: fix error code in ssp_print_mcu_debug() 0fbc3cf7dd9a iio: ssp_sensors: add more range checking in ssp_parse_dataframe() abe5b13dd959 iio: adc: max1027: Fix the number of max1X31 channels 41e84a4f25b6 iio: light: opt3001: Fixed timeout error when 0 lux e811506f609a iio: mtk-auxadc: fix case IIO_CHAN_INFO_PROCESSED 1671cfd31b66 iio: adc: max1027: Fix wrong shift with 12-bit devices f931076d32b6 iio: adc128s052: Fix the error handling path of 'adc128_probe()' 4425d059aa2e iio: adc: ad7793: Fix IRQ flag d078043a1775 iio: adc: ad7780: Fix IRQ flag a8177f0576fa iio: adc: ad7192: Add IRQ flag be8ef91d6166 driver core: Reject pointless SYNC_STATE_ONLY device links d5f13bbb5104 drivers: bus: simple-pm-bus: Add support for probing simple bus only devices b45923f66eb6 iio: adc: aspeed: set driver data when adc probe. ea947267eb6f powerpc/xive: Discard disabled interrupts in get_irqchip_state() 9e46bdfb55a3 x86/Kconfig: Do not enable AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT automatically 57e48886401b nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells a7bd0dd3f2ed EDAC/armada-xp: Fix output of uncorrectable error counter 92e6e08ca2b0 virtio: write back F_VERSION_1 before validate 86e3ad8b759d misc: fastrpc: Add missing lock before accessing find_vma() 3f0ca245a834 USB: serial: option: add prod. id for Quectel EG91 ecad614b0c68 USB: serial: option: add Telit LE910Cx composition 0x1204 bf26bc72dc59 USB: serial: option: add Quectel EC200S-CN module support d4b77900cffe USB: serial: qcserial: add EM9191 QDL support 3147f5721588 Input: xpad - add support for another USB ID of Nacon GC-100 9d89e2871167 usb: musb: dsps: Fix the probe error path 3b4275140142 efi: Change down_interruptible() in virt_efi_reset_system() to down_trylock() 5100dc4489ab efi/cper: use stack buffer for error record decoding 2c5dd2a8af77 cb710: avoid NULL pointer subtraction d40e193abd07 xhci: Enable trust tx length quirk for Fresco FL11 USB controller dec944bb7079 xhci: Fix command ring pointer corruption while aborting a command dc3e0a20dbb9 xhci: guard accesses to ep_state in xhci_endpoint_reset() 0ee66290f006 USB: xhci: dbc: fix tty registration race 9f0d6c781cb5 mei: me: add Ice Lake-N device id. e4f7171c2395 x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails 0e32a2b85c7d btrfs: fix abort logic in btrfs_replace_file_extents 52924879ed45 btrfs: update refs for any root except tree log roots 352349aa4948 btrfs: check for error when looking up inode during dir entry replay 4ed68471bc37 btrfs: deal with errors when adding inode reference during log replay 95d3aba5febe btrfs: deal with errors when replaying dir entry during log replay 206868a5b6c1 btrfs: unlock newly allocated extent buffer after error e7e3ed5c92b6 drm/msm: Avoid potential overflow in timeout_to_jiffies() a31c33aa80a5 arm64/hugetlb: fix CMA gigantic page order for non-4K PAGE_SIZE 0c97008859ca csky: Fixup regs.sr broken in ptrace 5dab6e8f141a csky: don't let sigreturn play with priveleged bits of status register e3c37135c9ca clk: socfpga: agilex: fix duplicate s2f_user0_clk faba7916cdc0 s390: fix strrchr() implementation 7ef43c0f68fb nds32/ftrace: Fix Error: invalid operands (*UND* and *UND* sections) for `^' c3bf276fd7c8 ALSA: hda/realtek: Fix the mic type detection issue for ASUS G551JW 1099953b32c6 ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo 13s Gen2 554a5027f536 ALSA: hda/realtek: Add quirk for TongFang PHxTxX1 0fa256509b9f ALSA: hda/realtek - ALC236 headset MIC recording issue 1e10c6bf15d2 ALSA: hda/realtek: Add quirk for Clevo X170KM-G 8a5f01f4b01c ALSA: hda/realtek: Complete partial device name to avoid ambiguity c6e5290e6cc1 ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254 9bb1659ac594 ALSA: hda/realtek: Enable 4-speaker output for Dell Precision 5560 laptop 7680631ac7ab ALSA: seq: Fix a potential UAF by wrong private_free call order 4aab156d302c ALSA: pcm: Workaround for a wrong offset in SYNC_PTR compat ioctl f077d699c1d2 ALSA: usb-audio: Add quirk for VF0770 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 08857198b40617d53701ac46d95d6d60dfbdb4af) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01linux-yocto/5.10: update to v5.10.74Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 77434fe5a077 Linux 5.10.74 42b49f012b6a hwmon: (pmbus/ibm-cffps) max_power_out swap changes bb893f075431 sched: Always inline is_percpu_thread() bdae2a083436 perf/core: fix userpage->time_enabled of inactive events 57c7ca3d5592 scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported" d993d1e1c411 scsi: ses: Fix unsigned comparison with less than zero 621ddffb70db drm/amdgpu: fix gart.bo pin_count leak a5ba615fbeb3 net: sun: SUNVNET_COMMON should depend on INET db868b45324d vboxfs: fix broken legacy mount signature checking 42c871d38e3d mac80211: check return value of rhashtable_init bda06aff03a1 net: prevent user from passing illegal stab size 3d68c7b0ab5b hwmon: (ltc2947) Properly handle errors when looking for the external clock 194e8a4f0acd m68k: Handle arrivals of multiple signals correctly 977aee58142a mac80211: Drop frames from invalid MAC address in ad-hoc mode 9ec9a975ea37 netfilter: nf_nat_masquerade: defer conntrack walk to work queue 5182d6db80bb netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic bcb647c1e15d ASoC: SOF: loader: release_firmware() on load failure to avoid batching f6952b1e22c2 HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs ddc4ba737bcb netfilter: ip6_tables: zero-initialize fragment offset ddf026d6ae9a HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS 0bcfa99e8fae ASoC: Intel: sof_sdw: tag SoundWire BEs as non-atomic 14cbfeeee41b ext4: correct the error path of ext4_write_inline_data_end() d7a15e1e4fd7 ext4: check and update i_disksize properly Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8e863e9c57fc26e4158b6c10b04931976c54efb8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01linux-yocto/5.10: update to v5.10.73Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 0268aa579b1f Linux 5.10.73 825c00c2ee14 x86/hpet: Use another crystalball to evaluate HPET usability f2447f6587b8 x86/entry: Clear X86_FEATURE_SMAP when CONFIG_X86_SMAP=n 6bfe1f6fc876 x86/entry: Correct reference to intended CONFIG_64_BIT 5d637bc6f98a x86/sev: Return an error on a returned non-zero SW_EXITINFO1[31:0] df121cf55003 x86/Kconfig: Correct reference to MWINCHIP3D d7c36115fb81 x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI f73ca4961d51 pseries/eeh: Fix the kdump kernel crash during eeh_pseries_init 411b38fe68ba powerpc/64s: fix program check interrupt emergency stack path 18a2a2cafcf9 powerpc/bpf: Fix BPF_SUB when imm == 0x80000000 a4037dded56b RISC-V: Include clone3() on rv32 29fdb11ca88d bpf, s390: Fix potential memory leak about jit_data 2c152d9da8fe riscv/vdso: make arch_setup_additional_pages wait for mmap_sem for write killable de834e12b96d i2c: mediatek: Add OFFSET_EXT_CONF setting back f86de018fd7a i2c: acpi: fix resource leak in reconfiguration device addition 87990a60b45f powerpc/iommu: Report the correct most efficient DMA mask for PCI devices 985cca1ad11e net: prefer socket bound to interface when not in VRF 97aeed72af4f i40e: Fix freeing of uninitialized misc IRQ vector 2dc768a98c9b i40e: fix endless loop under rtnl d3a07ca78ace gve: report 64bit tx_bytes counter from gve_handle_report_stats() 35f6ddd934e6 gve: fix gve_get_stats() 9a043022522e rtnetlink: fix if_nlmsg_stats_size() under estimation 72c2a68f1d83 gve: Avoid freeing NULL pointer 5d903a694b08 gve: Correct available tx qpl check f69556a42043 drm/nouveau/debugfs: fix file release memory leak 65fff0a8efcd drm/nouveau/kms/nv50-: fix file release memory leak f86e19d918a8 drm/nouveau: avoid a use-after-free when BO init fails 008224cdc126 video: fbdev: gbefb: Only instantiate device when built for IP32 d2ccbaaa6615 drm/sun4i: dw-hdmi: Fix HDMI PHY clock setup 18d2568cc7ff bus: ti-sysc: Use CLKDM_NOAUTO for dra7 dcan1 for errata i893 40a84fcae2bf perf jevents: Tidy error handling 628b31d96711 netlink: annotate data races around nlk->bound 144715fbab1b net: sfp: Fix typo in state machine debug string 3ec73ffeef54 net/sched: sch_taprio: properly cancel timer from taprio_destroy() 60955b65bd6a net: bridge: fix under estimation in br_get_linkxstats_size() c480d15190eb net: bridge: use nla_total_size_64bit() in br_get_linkxstats_size() cb8880680bdf ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence 2b0035d1058a dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value 10afd1597263 arm64: dts: ls1028a: add missing CAN nodes 95ba03fb4cb1 ptp_pch: Load module automatically if ID matches 442ea65d0ccb powerpc/fsl/dts: Fix phy-connection-type for fm1mac3 acff2d182c07 net_sched: fix NULL deref in fifo_set_limit() 0d2dd40a7be6 phy: mdio: fix memory leak 6e6f79e39830 net/mlx5: E-Switch, Fix double allocation of acl flow counter d70cb6c77ad9 net/mlx5e: IPSEC RX, enable checksum complete 064faa8e8a9b bpf: Fix integer overflow in prealloc_elems_and_freelist() d5f4b27c3cfc soc: ti: omap-prm: Fix external abort for am335x pruss 1d8f4447e8c4 bpf, arm: Fix register clobbering in div/mod implementation 29a19eaeb29d iwlwifi: pcie: add configuration of a Wi-Fi adapter on Dell XPS 15 6b0132f73094 xtensa: call irqchip_init only when CONFIG_USE_OF is selected 3d288ed98314 xtensa: use CONFIG_USE_OF instead of CONFIG_OF 997bec509a83 arm64: dts: qcom: pm8150: use qcom,pm8998-pon binding fbca14abc111 ath5k: fix building with LEDS=m 8aef3824e946 PCI: hv: Fix sleep while in non-sleep context when removing child devices from the bus d9b838ae390e ARM: dts: imx6qdl-pico: Fix Ethernet support 9e99ad4194a5 ARM: dts: imx: Fix USB host power regulator polarity on M53Menlo 2ba34cf0c16c ARM: dts: imx: Add missing pinctrl-names for panel on M53Menlo 8f977e97b2b9 soc: qcom: mdt_loader: Drop PT_LOAD check on hash segment 14f52004bda5 ARM: at91: pm: do not panic if ram controllers are not enabled d89a313a5739 ARM: dts: qcom: apq8064: Use 27MHz PXO clock as DSI PLL reference 25ac88e601eb soc: qcom: socinfo: Fixed argument passed to platform_set_data() ab8073794be3 bus: ti-sysc: Add break in switch statement in sysc_init_soc() 427faa29e06f riscv: Flush current cpu icache before other cpus 05287407dedf ARM: dts: qcom: apq8064: use compatible which contains chipid ac06fe40e889 ARM: dts: imx6dl-yapp4: Fix lp5562 LED driver probe 71d3ce62ac88 ARM: dts: omap3430-sdp: Fix NAND device node f9a855d1bcb2 xen/balloon: fix cancelled balloon action 9aac782ab0ab SUNRPC: fix sign error causing rpcsec_gss drops 8f174a208c4c nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero 12d4b179022a nfsd: fix error handling of register_pernet_subsys() in init_nfsd() 1bc2f315a215 ovl: fix IOCB_DIRECT if underlying fs doesn't support direct IO 9763ffd4da21 ovl: fix missing negative dentry check in ovl_rename() 1500f0c83670 mmc: sdhci-of-at91: replace while loop with read_poll_timeout 3a0feae5f642 mmc: sdhci-of-at91: wait for calibration done before proceed e5cb3680b958 mmc: meson-gx: do not use memcpy_to/fromio for dram-access-quirk 13d17cc717d5 xen/privcmd: fix error handling in mmap-resource processing de1e8bd36ab4 drm/nouveau/kms/tu102-: delay enabling cursor until after assign_windows 1d4e9f27d20d usb: typec: tcpm: handle SRC_STARTUP state if cc changes feb3fe702a58 USB: cdc-acm: fix break reporting fc8b3e838bdf USB: cdc-acm: fix racy tty buffer accesses b3265b88e83b usb: chipidea: ci_hdrc_imx: Also search for 'phys' phandle 16d728110bd7 Partially revert "usb: Kconfig: using select for USB_COMMON dependency" 5aa003b38148 Linux 5.10.72 387aecdab7fa libata: Add ATA_HORKAGE_NO_NCQ_ON_ATI for Samsung 860 and 870 SSD. 02bf504bc32b perf/x86: Reset destroy callback on event init failure b56475c29bd8 KVM: x86: nSVM: restore int_vector in svm_clear_vintr ae34f26d4a84 kvm: x86: Add AMD PMU MSRs to msrs_to_save_all[] 6d0ff9205999 KVM: do not shrink halt_poll_ns below grow_start b8add3f47ae7 selftests: KVM: Align SMCCC call with the spec in steal_time 352b02562a3e tools/vm/page-types: remove dependency on opt_file for idle page tracking 84778fd66d3d smb3: correct smb3 ACL security descriptor a7be240d1703 irqchip/gic: Work around broken Renesas integration 8724a2a0e6d9 scsi: ses: Retry failed Send/Receive Diagnostic commands 2e28f7dd3743 thermal/drivers/tsens: Fix wrong check for tzd in irq handlers 7a670cfb0f4c nvme-fc: avoid race between time out and tear down c251d023ed22 nvme-fc: update hardware queues before using them c4506403e1f3 selftests:kvm: fix get_warnings_count() ignoring fscanf() return warn bcc4b4de63a4 selftests: be sure to make khdr before other targets 6a4aaf1d84f7 habanalabs/gaudi: fix LBW RR configuration 2754fa3b73df usb: dwc2: check return value after calling platform_get_resource() ed6574d48469 usb: testusb: Fix for showing the connection speed 60df9f55562a scsi: sd: Free scsi_disk device via put_device() 76c7063c7405 ext2: fix sleeping in atomic bugs on error b114f2d18e0f sparc64: fix pci_iounmap() when CONFIG_PCI is not set fdfb3bc87381 xen-netback: correct success/error reporting for the SKB-with-fraglist case a41938d07201 net: mdio: introduce a shutdown method to mdio device drivers 63c89930d4b5 btrfs: fix mount failure due to past and transient device flush error 50628b06e604 btrfs: replace BUG_ON() in btrfs_csum_one_bio() with proper error handling 83050cc23909 nfsd: back channel stuck in SEQ4_STATUS_CB_PATH_DOWN f986cf270284 platform/x86: touchscreen_dmi: Update info for the Chuwi Hi10 Plus (CWI527) tablet e5611503249f platform/x86: touchscreen_dmi: Add info for the Chuwi HiBook (CWI514) tablet 2ababcd8c2ab spi: rockchip: handle zero length transfers without timing out 5cd40b137cba Linux 5.10.71 96f439a7eda6 netfilter: nf_tables: Fix oversized kvmalloc() calls e2d192301a0d netfilter: conntrack: serialize hash resizes and cleanups deb294941767 KVM: x86: Handle SRCU initialization failure during page track init f7ac4d24e161 HID: usbhid: free raw_report buffers in usbhid_stop 57a269a1b12a mm: don't allow oversized kvmalloc() calls da5b8b9319f0 netfilter: ipset: Fix oversized kvmalloc() calls dedfc35a2de2 HID: betop: fix slab-out-of-bounds Write in betop_probe 17ccc64e4fa5 crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd() 28f0fdbac0f5 usb: hso: remove the bailout parameter 4ad4852b9adf ASoC: dapm: use component prefix when checking widget names 5c3a90b6ff75 net: udp: annotate data race around udp_sk(sk)->corkflag a7f4c633ae12 HID: u2fzero: ignore incomplete packets without data 3770e21f60fc ext4: fix potential infinite loop in ext4_dx_readdir() a63474dbf692 ext4: add error checking to ext4_ext_replay_set_iblocks() 9ccf35492b08 ext4: fix reserved space counter leakage dc0942168ab3 ext4: limit the number of blocks in one ADD_RANGE TLV d11502fa2691 ext4: fix loff_t overflow in ext4_max_bitmap_size() 7cea84867847 ipack: ipoctal: fix module reference leak 843efca98e6a ipack: ipoctal: fix missing allocation-failure check 67d1df661088 ipack: ipoctal: fix tty-registration error handling f46e5db92fa2 ipack: ipoctal: fix tty registration race 5f6a309a6996 ipack: ipoctal: fix stack information leak 3bef1b7242e0 debugfs: debugfs_create_file_size(): use IS_ERR to check for error 15fd3954bca7 elf: don't use MAP_FIXED_NOREPLACE for elf interpreter mappings 011b4de950d8 nvme: add command id quirk for apple controllers 44c600a57d57 hwmon: (pmbus/mp2975) Add missed POUT attribute for page 1 mp2975 controller 7fc5f60a01bb perf/x86/intel: Update event constraints for ICX 3db53827a0e9 af_unix: fix races in sk_peer_pid and sk_peer_cred accesses d0d520c19e7e net: sched: flower: protect fl_walk() with rcu e63f6d8fe74a net: phy: bcm7xxx: Fixed indirect MMD operations 071febc37e06 net: hns3: fix always enable rx vlan filter problem after selftest 85e4f5d28d25 net: hns3: reconstruct function hns3_self_test 8e89876c84b2 net: hns3: fix prototype warning d4a14faf7919 net: hns3: fix show wrong state when add existing uc mac address 64dae9551f8a net: hns3: fix mixed flag HCLGE_FLAG_MQPRIO_ENABLE and HCLGE_FLAG_DCB_ENABLE 8d3d27664ef4 net: hns3: keep MAC pause mode when multiple TCs are enabled f8ba689cb695 net: hns3: do not allow call hns3_nic_net_open repeatedly 20f6c4a31a52 ixgbe: Fix NULL pointer dereference in ixgbe_xdp_setup 16138cf938dc scsi: csiostor: Add module softdep on cxgb4 0306a2c7df7e Revert "block, bfq: honor already-setup queue merges" 1f2ca30fbde6 net: ks8851: fix link error f1dd6e10f077 selftests, bpf: test_lwt_ip_encap: Really disable rp_filter 4967ae9ab44b selftests, bpf: Fix makefile dependencies on libbpf 59efda5073ab bpf: Exempt CAP_BPF from checks against bpf_jit_limit f908072391a6 RDMA/hns: Fix inaccurate prints 7e3eda32b881 e100: fix buffer overrun in e100_get_regs f2edf80cdd03 e100: fix length calculation in e100_get_regs_len c20a0ad7b6a0 dsa: mv88e6xxx: Include tagger overhead when setting MTU for DSA and CPU ports 7b771b12229e dsa: mv88e6xxx: Fix MTU definition ee4d0495a65e dsa: mv88e6xxx: 6161: Use chip wide MAX MTU d35d95e8b9da drm/i915/request: fix early tracepoints 8321738c6e5a smsc95xx: fix stalled rx after link change 8de12ad9162c net: ipv4: Fix rtnexthop len when RTA_FLOW is present b22c5e2c8e03 net: enetc: fix the incorrect clearing of IF_MODE bits 5ee40530b0a6 hwmon: (tmp421) fix rounding for negative values 89d96f147d82 hwmon: (tmp421) report /PVLD condition as fault 560271d09f78 mptcp: don't return sockets in foreign netns 9c6591ae8e63 sctp: break out if skb_header_pointer returns NULL in sctp_rcv_ootb 2c204cf594df mac80211-hwsim: fix late beacon hrtimer handling 8576e72ac5d6 mac80211: mesh: fix potentially unaligned access 1282bb00835f mac80211: limit injected vht mcs/nss in ieee80211_parse_tx_radiotap 3748871e1215 mac80211: Fix ieee80211_amsdu_aggregate frag_tail bug 76bbb482d33b hwmon: (mlxreg-fan) Return non-zero value when fan current state is enforced from sysfs c61736a994fe bpf, mips: Validate conditional branch offsets 3f4e68902d2e RDMA/cma: Fix listener leak in rdma_cma_listen_on_all() failure 62ba3c50104b IB/cma: Do not send IGMP leaves for sendonly Multicast groups d93f65586c59 bpf: Handle return value of BPF_PROG_TYPE_STRUCT_OPS prog 12cbdaeeb5d4 ipvs: check that ip_vs_conn_tab_bits is between 8 and 20 9f382e1edf90 drm/amdgpu: correct initial cp_hqd_quantum for gfx9 c331fad63b6d drm/amd/display: Pass PCI deviceid into DC 0a16c9751e0f RDMA/cma: Do not change route.addr.src_addr.ss_family 31a13f039e15 media: ir_toy: prevent device from hanging during transmit 249e5e5a501e KVM: rseq: Update rseq when processing NOTIFY_RESUME on xfer to KVM guest 3778511dfc59 KVM: nVMX: Filter out all unsupported controls when eVMCS was activated 4ed671e6bc62 KVM: x86: nSVM: don't copy virt_ext from vmcb12 bebabb76ad9a KVM: x86: Fix stack-out-of-bounds memory access from ioapic_write_indirect() 782122ae7db0 x86/kvmclock: Move this_cpu_pvti into kvmclock.h 57de2dcb1874 mac80211: fix use-after-free in CCMP/GCMP RX 201ba843fef5 scsi: ufs: Fix illegal offset in UPIU event trace bd4e446a6947 gpio: pca953x: do not ignore i2c errors 516d90550390 hwmon: (w83791d) Fix NULL pointer dereference by removing unnecessary structure field 1499bb2c3a87 hwmon: (w83792d) Fix NULL pointer dereference by removing unnecessary structure field 7c4fd5de39f2 hwmon: (w83793) Fix NULL pointer dereference by removing unnecessary structure field 196dabd96bbf hwmon: (tmp421) handle I2C errors 23a6dfa10f03 fs-verity: fix signed integer overflow with i_size near S64_MAX d1d0016e4a7d ACPI: NFIT: Use fallback node id when numa info in NFIT table is incorrect e9edc7bc611a ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops. 23115ca7d227 usb: cdns3: fix race condition before setting doorbell 3945c481360c cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory 2193cf76f43a scsi: qla2xxx: Changes to support kdump kernel for NVMe BFS a7d4fc84404d cpufreq: schedutil: Use kobject release() method to free sugov_tunables d570c48dd37d tty: Fix out-of-bound vmalloc access in imageblit Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c9697cc081208a91d21b0c41219dc1b30d772f13) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01strace: show test suite log on failureRoss Burton
If the tests fail, dump the log so we can see the failures. 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 3154a65039831b1e041217707fdd6ca042f588fb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01waffle: convert to git, website is downAlexander Kanavin
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 28391c20044058e05a1bfdacc31a3e876828fb72) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01sstate: fix touching files inside pseudoJose Quaresma
running the 'id' command inside the sstate_create_package function shows that this funcion run inside the pseudo: uid=0(root) gid=0(root) groups=0(root) The check for touch files [ ! -w ${SSTATE_PKG} ] will always return true and the touch can fail when the real user don't have permission or in readonly filesystem. As the documentation refers, the file test operator "-w" check if the file has write permission (for the user running the test). We can avoid this test running the touch and mask any return errors that we have. Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f6e7445c94443544e92fda97a017ce93393c5f84) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01oe/utils: log exceptions in ThreadedWorker functionsRoss Burton
If the function a ThreadedWorker is executing raises an exception, don't use print() as that mostly disappears. Instead, output it to the logger. This is done using bb.mainlogger.debug directly instead of bb.debug() as this allows us to pass the exception instance directly, which is then incorporated into the log stream. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2f1ea25c222b344dd8b784b2bc73a6540ab30274) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01testimage: fix unclosed testdata fileRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0c192a97e3e1c015a48667d6903cc07a8b2620e4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01openssh: fix CVE-2021-41617Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01binutils: Fix CVE-2021-3530Pgowda
Upstream-Status: Backport[https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=25162c795b1a2becf936bb3581d86a307ea491eb] Upstream-Status: Backport[https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=999566402e3] Signed-off-by: Pgowda <pgowda.cve@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01ghostscript: Fix CVE-2021-3781Trevor Gamblin
Backport a patch file from upstream, since doing an uprev of the recipe to the version with the fix (9.55) would introduce functional changes. CVE: CVE-2021-3781 Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-01uninative: Upgrade to 3.4Michael Halstead
This adds a patch to glibc which allows it to work with Docker and clone3 syscall issues cased by EPERM vs ENOSYS. Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26reproducible_build: Work around caching issuesRichard Purdie
SOURCE_DATE_EPOCH can be expanded early in the parsing process before the class extensions are applied. This can mean the directory pointed to for the SDE can be incorrect until later in parsing. Cache the file name in the cached value and allow it to dynamically update. This isn't ideal but avoding expansion of the variable likely isn't possible and I'm not sure how else to handle this. This works around the issue until a better solution can be found. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 44dc97cd1223e4d2b635669627ec5f796838d42d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>