Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2021-10-04 09:38:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kernel-source (Old) and /work/SRC/openSUSE:Factory/.kernel-source.new.2443 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source" Mon Oct 4 09:38:03 2021 rev:609 rq: version:5.14.6 Changes: -------- --- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes 2021-09-30 23:42:52.936434131 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-source.new.2443/dtb-aarch64.changes 2021-10-04 09:38:09.420281636 +0200 @@ -2,484 +1,0 @@ -Mon Sep 27 08:35:53 CEST 2021 - jsl...@suse.cz - -- blacklist.conf: add idxd commit -- commit 06dbf6b - -------------------------------------------------------------------- -Sun Sep 26 19:11:12 CEST 2021 - jsl...@suse.cz - -- nvmet: fix a width vs precision bug in - nvmet_subsys_attr_serial_show() (git-fixes). -- commit fef4ef0 - -------------------------------------------------------------------- -Sun Sep 26 19:05:29 CEST 2021 - jsl...@suse.cz - -- Linux 5.14.8 (bsc#1012628). -- drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV (bsc#1012628). -- selinux,smack: fix subjective/objective credential use mixups - (bsc#1012628). -- io_uring: fix off-by-one in BUILD_BUG_ON check of - __REQ_F_LAST_BIT (bsc#1012628). -- cifs: properly invalidate cached root handle when closing it - (bsc#1012628). -- sched/idle: Make the idle timer expire in hard interrupt context - (bsc#1012628). -- rtc: rx8010: select REGMAP_I2C (bsc#1012628). -- blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for - multiple_queues (bsc#1012628). -- blk-throttle: fix UAF by deleteing timer in blk_throtl_exit() - (bsc#1012628). -- block: genhd: don't call blkdev_show() with major_names_lock - held (bsc#1012628). -- nvmet: fixup buffer overrun in nvmet_subsys_attr_serial() - (bsc#1012628). -- pwm: stm32-lp: Don't modify HW state in .remove() callback - (bsc#1012628). -- pwm: rockchip: Don't modify HW state in .remove() callback - (bsc#1012628). -- pwm: img: Don't modify HW state in .remove() callback - (bsc#1012628). -- habanalabs: cannot sleep while holding spinlock (bsc#1012628). -- habanalabs: add "in device creation" status (bsc#1012628). -- habanalabs: fix mmu node address resolution in debugfs - (bsc#1012628). -- habanalabs: add validity check for event ID received from F/W - (bsc#1012628). -- drm/amdgpu: fix fdinfo race with process exit (bsc#1012628). -- drm/amd/display: Fix memory leak reported by coverity - (bsc#1012628). -- drm/amdgpu: Fixes to returning VBIOS RAS EEPROM address - (bsc#1012628). -- habanalabs: fix nullifying of destroyed mmu pgt pool - (bsc#1012628). -- thermal/drivers/rcar_gen3_thermal: Store TSC id as unsigned int - (bsc#1012628). -- nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group - (bsc#1012628). -- nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group - (bsc#1012628). -- nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group - (bsc#1012628). -- nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group - (bsc#1012628). -- nilfs2: fix NULL pointer in nilfs_##name##_attr_release - (bsc#1012628). -- nilfs2: fix memory leak in nilfs_sysfs_create_device_group - (bsc#1012628). -- btrfs: fix lockdep warning while mounting sprout fs - (bsc#1012628). -- btrfs: delay blkdev_put until after the device remove - (bsc#1012628). -- btrfs: update the bdev time directly when closing (bsc#1012628). -- s390/unwind: use current_frame_address() to unwind current task - (bsc#1012628). -- ceph: lockdep annotations for try_nonblocking_invalidate - (bsc#1012628). -- ceph: remove the capsnaps when removing caps (bsc#1012628). -- ceph: request Fw caps before updating the mtime in - ceph_write_iter (bsc#1012628). -- ceph: fix memory leak on decode error in ceph_handle_caps - (bsc#1012628). -- ACPI: PM: s2idle: Run both AMD and Microsoft methods if both - are supported (bsc#1012628). -- ASoC: audio-graph: respawn Platform Support (bsc#1012628). -- s390: add kmemleak annotation in stack_alloc() (bsc#1012628). -- dmaengine: xilinx_dma: Set DMA mask for coherent APIs - (bsc#1012628). -- dmaengine: ioat: depends on !UML (bsc#1012628). -- cxl/pci: Introduce cdevm_file_operations (bsc#1012628). -- cxl: Move cxl_core to new directory (bsc#1012628). -- dmaengine: sprd: Add missing MODULE_DEVICE_TABLE (bsc#1012628). -- dmaengine: idxd: depends on !UML (bsc#1012628). -- riscv: dts: microchip: mpfs-icicle: Fix serial console - (bsc#1012628). -- of: property: Disable fw_devlink DT support for X86 - (bsc#1012628). -- drm/ttm: Fix a deadlock if the target BO is not idle during swap - (bsc#1012628). -- arm64: mm: limit linear region to 51 bits for KVM in nVHE mode - (bsc#1012628). -- iommu/vt-d: Fix a deadlock in intel_svm_drain_prq() - (bsc#1012628). -- iommu/vt-d: Fix PASID leak in intel_svm_unbind_mm() - (bsc#1012628). -- iommu/amd: Relocate GAMSup check to early_enable_iommus - (bsc#1012628). -- parisc: Move pci_dev_is_behind_card_dino to where it is used - (bsc#1012628). -- dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFER - (bsc#1012628). -- Update config files. -- dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER - (bsc#1012628). -- Update config files. -- drivers: base: cacheinfo: Get rid of - DEFINE_SMP_CALL_CACHE_FUNCTION() (bsc#1012628). -- drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform - (bsc#1012628). -- thermal/core: Fix thermal_cooling_device_register() prototype - (bsc#1012628). -- tracing/boot: Fix to loop on only subkeys (bsc#1012628). -- tools/bootconfig: Fix tracing_on option checking in - ftrace2bconf.sh (bsc#1012628). -- Kconfig.debug: drop selecting non-existing - HARDLOCKUP_DETECTOR_ARCH (bsc#1012628). -- init: move usermodehelper_enable() to populate_rootfs() - (bsc#1012628). -- math: RATIONAL_KUNIT_TEST should depend on RATIONAL instead - of selecting it (bsc#1012628). -- SUNRPC: don't pause on incomplete allocation (bsc#1012628). -- s390/entry: make oklabel within CHKSTG macro local - (bsc#1012628). -- platform/chrome: cros_ec_trace: Fix format warnings - (bsc#1012628). -- platform/chrome: sensorhub: Add trace events for sample - (bsc#1012628). -- dmaengine: idxd: clear block on fault flag when clear wq - (bsc#1012628). -- dmaengine: idxd: fix abort status check (bsc#1012628). -- dmaengine: idxd: fix wq slot allocation index check - (bsc#1012628). -- dmaengine: idxd: have command status always set (bsc#1012628). -- dmanegine: idxd: cleanup all device related bits after disabling - device (bsc#1012628). -- pwm: mxs: Don't modify HW state in .probe() after the PWM chip - was registered (bsc#1012628). -- pwm: lpc32xx: Don't modify HW state in .probe() after the PWM - chip was registered (bsc#1012628). -- ceph: cancel delayed work instead of flushing on mdsc teardown - (bsc#1012628). -- thermal/drivers/qcom/spmi-adc-tm5: Don't abort probing if a - sensor is not used (bsc#1012628). -- PM: sleep: core: Avoid setting power.must_resume to false - (bsc#1012628). -- profiling: fix shift-out-of-bounds bugs (bsc#1012628). -- nilfs2: use refcount_dec_and_lock() to fix potential UAF - (bsc#1012628). -- prctl: allow to setup brk for et_dyn executables (bsc#1012628). -- pwm: ab8500: Fix register offset calculation to not depend on - probe order (bsc#1012628). -- 9p/trans_virtio: Remove sysfs file on probe failure - (bsc#1012628). -- thermal/drivers/exynos: Fix an error code in exynos_tmu_probe() - (bsc#1012628). -- n64cart: fix return value check in n64cart_probe() - (bsc#1012628). -- staging: rtl8723bs: fix wpa_set_auth_algs() function - (bsc#1012628). -- perf tools: Allow build-id with trailing zeros (bsc#1012628). -- perf symbol: Look for ImageBase in PE file to compute .text - offset (bsc#1012628). -- perf test: Fix bpf test sample mismatch reporting (bsc#1012628). -- dmaengine: acpi: Avoid comparison GSI with Linux vIRQ - (bsc#1012628). -- RDMA/mlx5: Fix xlt_chunk_align calculation (bsc#1012628). -- RDMA/hns: Enable stash feature of HIP09 (bsc#1012628). -- um: virtio_uml: fix memory leak on init failures (bsc#1012628). -- coredump: fix memleak in dump_vma_snapshot() (bsc#1012628). -- um: fix stub location calculation (bsc#1012628). -- staging: rtl8192u: Fix bitwise vs logical operator in - TranslateRxSignalStuff819xUsb() (bsc#1012628). -- console: consume APC, DM, DCS (bsc#1012628). -- PCI: aardvark: Fix reporting CRS value (bsc#1012628). -- PCI: pci-bridge-emul: Add PCIe Root Capabilities Register - (bsc#1012628). -- commit 94242c6 - -------------------------------------------------------------------- -Wed Sep 22 17:44:35 CEST 2021 - msucha...@suse.de - -- kernel-binary.spec: suse-kernel-rpm-scriptlets required for uninstall as - well. - Fixes: e98096d5cf85 ("rpm: Abolish scritplet templating (bsc#1189841).") -- commit e082fbf - -------------------------------------------------------------------- -Wed Sep 22 15:29:57 CEST 2021 - jsl...@suse.cz ++++ 315 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.2443/dtb-aarch64.changes dtb-armv6l.changes: same change dtb-armv7l.changes: same change dtb-riscv64.changes: same change kernel-64kb.changes: same change kernel-debug.changes: same change kernel-default.changes: same change kernel-docs.changes: same change kernel-kvmsmall.changes: same change kernel-lpae.changes: same change kernel-obs-build.changes: same change kernel-obs-qa.changes: same change kernel-pae.changes: same change kernel-source.changes: same change kernel-syms.changes: same change kernel-vanilla.changes: same change kernel-zfcpdump.changes: same change New: ---- post.sh postun.sh pre.sh preun.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dtb-aarch64.spec ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:12.748287727 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:12.752287735 +0200 @@ -17,7 +17,7 @@ %define srcversion 5.14 -%define patchversion 5.14.8 +%define patchversion 5.14.6 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -29,9 +29,9 @@ %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) Name: dtb-aarch64 -Version: 5.14.8 +Version: 5.14.6 %if 0%{?is_kotd} -Release: <RELEASE>.g06dbf6b +Release: <RELEASE>.g6131a3c %else Release: 0 %endif @@ -50,6 +50,10 @@ Requires: kernel = %version Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc +Source10: preun.sh +Source11: postun.sh +Source12: pre.sh +Source13: post.sh Source14: series.conf Source16: guards Source17: apply-patches dtb-armv6l.spec: same change dtb-armv7l.spec: same change dtb-riscv64.spec: same change ++++++ kernel-64kb.spec ++++++ ++++ 650 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/kernel-64kb.spec ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.2443/kernel-64kb.spec kernel-debug.spec: same change kernel-default.spec: same change ++++++ kernel-docs.spec ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:12.920288042 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:12.920288042 +0200 @@ -17,7 +17,7 @@ %define srcversion 5.14 -%define patchversion 5.14.8 +%define patchversion 5.14.6 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -31,9 +31,9 @@ Summary: Kernel Documentation License: GPL-2.0-only Group: Documentation/Man -Version: 5.14.8 +Version: 5.14.6 %if 0%{?is_kotd} -Release: <RELEASE>.g06dbf6b +Release: <RELEASE>.g6131a3c %else Release: 0 %endif @@ -64,11 +64,15 @@ %endif Url: http://www.kernel.org/ Provides: %name = %version-%source_rel -Provides: %name-srchash-06dbf6bb31e9333fa8908900183e13ca4d39c0fa +Provides: %name-srchash-6131a3ceeeccdae03e3c04acf6ecc32b9ff51c22 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc +Source10: preun.sh +Source11: postun.sh +Source12: pre.sh +Source13: post.sh Source14: series.conf Source16: guards Source17: apply-patches @@ -136,6 +140,10 @@ # These files are found in the kernel-source package: NoSource: 0 NoSource: 3 +NoSource: 10 +NoSource: 11 +NoSource: 12 +NoSource: 13 NoSource: 14 NoSource: 16 NoSource: 17 ++++++ kernel-kvmsmall.spec ++++++ ++++ 650 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/kernel-kvmsmall.spec ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.2443/kernel-kvmsmall.spec kernel-lpae.spec: same change ++++++ kernel-obs-build.spec ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:12.992288173 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:12.996288181 +0200 @@ -19,7 +19,7 @@ #!BuildIgnore: post-build-checks -%define patchversion 5.14.8 +%define patchversion 5.14.6 %define variant %{nil} %define vanilla_only 0 @@ -45,7 +45,7 @@ %endif %endif %endif -BuildRequires: kernel%kernel_flavor-srchash-06dbf6bb31e9333fa8908900183e13ca4d39c0fa +BuildRequires: kernel%kernel_flavor-srchash-6131a3ceeeccdae03e3c04acf6ecc32b9ff51c22 %if 0%{?rhel_version} BuildRequires: kernel @@ -64,9 +64,9 @@ Summary: package kernel and initrd for OBS VM builds License: GPL-2.0-only Group: SLES -Version: 5.14.8 +Version: 5.14.6 %if 0%{?is_kotd} -Release: <RELEASE>.g06dbf6b +Release: <RELEASE>.g6131a3c %else Release: 0 %endif ++++++ kernel-obs-qa.spec ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:13.012288210 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:13.016288217 +0200 @@ -17,7 +17,7 @@ # needsrootforbuild -%define patchversion 5.14.8 +%define patchversion 5.14.6 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -36,9 +36,9 @@ Summary: Basic QA tests for the kernel License: GPL-2.0-only Group: SLES -Version: 5.14.8 +Version: 5.14.6 %if 0%{?is_kotd} -Release: <RELEASE>.g06dbf6b +Release: <RELEASE>.g6131a3c %else Release: 0 %endif ++++++ kernel-pae.spec ++++++ ++++ 654 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/kernel-pae.spec ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.2443/kernel-pae.spec ++++++ kernel-source.spec ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:13.064288306 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:13.064288306 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.14 -%define patchversion 5.14.8 +%define patchversion 5.14.6 %define variant %{nil} %define vanilla_only 0 @@ -30,9 +30,9 @@ Summary: The Linux Kernel Sources License: GPL-2.0-only Group: Development/Sources -Version: 5.14.8 +Version: 5.14.6 %if 0%{?is_kotd} -Release: <RELEASE>.g06dbf6b +Release: <RELEASE>.g6131a3c %else Release: 0 %endif @@ -43,11 +43,15 @@ BuildRequires: sed Requires(post): coreutils sed Provides: %name = %version-%source_rel -Provides: %name-srchash-06dbf6bb31e9333fa8908900183e13ca4d39c0fa +Provides: %name-srchash-6131a3ceeeccdae03e3c04acf6ecc32b9ff51c22 Provides: linux Provides: multiversion(kernel) Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc +Source10: preun.sh +Source11: postun.sh +Source12: pre.sh +Source13: post.sh Source14: series.conf Source16: guards Source17: apply-patches ++++++ kernel-syms.spec ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:13.088288350 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:13.092288357 +0200 @@ -24,10 +24,10 @@ Summary: Kernel Symbol Versions (modversions) License: GPL-2.0-only Group: Development/Sources -Version: 5.14.8 +Version: 5.14.6 %if %using_buildservice %if 0%{?is_kotd} -Release: <RELEASE>.g06dbf6b +Release: <RELEASE>.g6131a3c %else Release: 0 %endif @@ -52,7 +52,7 @@ %endif Requires: pesign-obs-integration Provides: %name = %version-%source_rel -Provides: %name-srchash-06dbf6bb31e9333fa8908900183e13ca4d39c0fa +Provides: %name-srchash-6131a3ceeeccdae03e3c04acf6ecc32b9ff51c22 Provides: multiversion(kernel) Source: README.KSYMS Requires: kernel-devel%variant = %version-%source_rel ++++++ kernel-vanilla.spec ++++++ ++++ 650 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/kernel-vanilla.spec ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.2443/kernel-vanilla.spec kernel-zfcpdump.spec: same change ++++++ config.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/arm64/default new/config/arm64/default --- old/config/arm64/default 2021-09-26 19:10:09.000000000 +0200 +++ new/config/arm64/default 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm64 5.14.7 Kernel Configuration +# Linux/arm64 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv6hl/default new/config/armv6hl/default --- old/config/armv6hl/default 2021-09-26 19:10:09.000000000 +0200 +++ new/config/armv6hl/default 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 5.14.7 Kernel Configuration +# Linux/arm 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/default new/config/armv7hl/default --- old/config/armv7hl/default 2021-09-26 19:10:09.000000000 +0200 +++ new/config/armv7hl/default 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 5.14.7 Kernel Configuration +# Linux/arm 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -2210,6 +2210,7 @@ # CONFIG_PCI_MVEBU=y CONFIG_PCI_FTPCI100=y +# CONFIG_PCI_IXP4XX is not set CONFIG_PCI_TEGRA=y CONFIG_PCI_HOST_COMMON=y CONFIG_PCI_HOST_GENERIC=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/lpae new/config/armv7hl/lpae --- old/config/armv7hl/lpae 2021-09-26 19:10:09.000000000 +0200 +++ new/config/armv7hl/lpae 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 5.14.7 Kernel Configuration +# Linux/arm 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -2164,6 +2164,7 @@ # # CONFIG_PCI_MVEBU is not set CONFIG_PCI_FTPCI100=y +# CONFIG_PCI_IXP4XX is not set CONFIG_PCI_TEGRA=y CONFIG_PCI_HOST_COMMON=y CONFIG_PCI_HOST_GENERIC=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/i386/pae new/config/i386/pae --- old/config/i386/pae 2021-09-26 19:10:09.000000000 +0200 +++ new/config/i386/pae 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/i386 5.14.7 Kernel Configuration +# Linux/i386 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64/default new/config/ppc64/default --- old/config/ppc64/default 2021-09-26 19:10:09.000000000 +0200 +++ new/config/ppc64/default 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/powerpc 5.14.7 Kernel Configuration +# Linux/powerpc 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64le/default new/config/ppc64le/default --- old/config/ppc64le/default 2021-09-26 19:10:09.000000000 +0200 +++ new/config/ppc64le/default 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/powerpc 5.14.7 Kernel Configuration +# Linux/powerpc 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/riscv64/default new/config/riscv64/default --- old/config/riscv64/default 2021-09-26 19:10:09.000000000 +0200 +++ new/config/riscv64/default 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/riscv 5.14.7 Kernel Configuration +# Linux/riscv 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/s390x/default new/config/s390x/default --- old/config/s390x/default 2021-09-26 19:10:09.000000000 +0200 +++ new/config/s390x/default 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/s390 5.14.7 Kernel Configuration +# Linux/s390 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/s390x/zfcpdump new/config/s390x/zfcpdump --- old/config/s390x/zfcpdump 2021-09-26 19:10:09.000000000 +0200 +++ new/config/s390x/zfcpdump 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/s390 5.14.7 Kernel Configuration +# Linux/s390 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -1012,6 +1012,8 @@ # DMABUF options # # CONFIG_SYNC_FILE is not set +# CONFIG_DMABUF_MOVE_NOTIFY is not set +# CONFIG_DMABUF_DEBUG is not set # CONFIG_DMABUF_HEAPS is not set # end of DMABUF options diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/x86_64/default new/config/x86_64/default --- old/config/x86_64/default 2021-09-26 19:10:09.000000000 +0200 +++ new/config/x86_64/default 2021-09-15 10:19:40.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86_64 5.14.7 Kernel Configuration +# Linux/x86_64 5.14.4 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y ++++++ kernel-binary.spec.in ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:13.664289404 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:13.664289404 +0200 @@ -108,8 +108,10 @@ %if 0%{?usrmerged} %define modules_dir /usr/lib/modules/%kernelrelease-%build_flavor +%define systemmap %{modules_dir}/System.map %else %define modules_dir /lib/modules/%kernelrelease-%build_flavor +%define systemmap /boot/System.map-%kernelrelease-%build_flavor %endif @@ -173,8 +175,6 @@ %endif # The following is copied to the -base subpackage as well # BEGIN COMMON DEPS -Requires(pre): suse-kernel-rpm-scriptlets -Requires(postun): suse-kernel-rpm-scriptlets Requires(pre): coreutils awk # For /usr/lib/module-init-tools/weak-modules2 Requires(post): suse-module-tools @@ -648,13 +648,51 @@ # Package the compiled-in certificates as DER files in /etc/uefi/certs # and have mokutil enroll them when the kernel is installed echo Signing certificates "%certs" -if test %CONFIG_MODULE_SIG = "y" -a -d %_sourcedir/.kernel_signing_certs ; then +certs=(%certs) +if test %CONFIG_MODULE_SIG = "y"; then for f in %_sourcedir/.kernel_signing_certs/*.crt; do mkdir -p %buildroot/etc/uefi/certs cp -v $f %buildroot/etc/uefi/certs done fi + for script in preun postun pre post; do + if test %build_flavor = "zfcpdump"; then + : >%my_builddir/$script.sh + continue + fi + sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \ + -e "s:@IMAGE@:%image:g" \ + -e "s:@FLAVOR""@:%build_flavor:g" \ + -e "s:@PACKAGE@:%name:g" \ + -e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \ + -e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \ + -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ + -e "s:@SRCVARIANT@:%variant:g" \ + -e "s:@MODULESDIR@:%modules_dir:g" \ + -e "s:@SYSTEMMAP@:%systemmap:g" \ +%if 0%{?usrmerged} + -e "s:^@USRMERGE@::" \ +%else + -e "/^@USRMERGE@/d" \ +%endif + %_sourcedir/$script.sh > %my_builddir/$script.sh + if test "${#certs[@]}" -gt 0; then + case "$script" in + preun | postun | post) + # Copy the respective scriptlet from kernel-cert-subpackage + sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \ + %_sourcedir/kernel-cert-subpackage \ + >>"%my_builddir/$script.sh" + esac + fi + # Do an exit 0 at the end of each scriptlet. If the last real command + # in the scriptlet (e.g. update-bootloader call, see bnc#809617) + # returns an error, we do not want to amplify the damage by leaving + # the system in an inconsistent state. + echo "exit 0" >>"%my_builddir/$script.sh" + done + cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor for file in %my_builddir/sysctl/{defaults,%cpu_arch/arch-defaults,%cpu_arch_flavor}; do @@ -1023,41 +1061,14 @@ # /usr/src/linux-obj intentionally, to not accidentally break timestamps there %fdupes %buildroot%modules_dir -%pre -%if "%build_flavor" != "zfcpdump" -/usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%post -%if "%build_flavor" != "zfcpdump" -/usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%preun -%if "%build_flavor" != "zfcpdump" -/usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%postun -%if "%build_flavor" != "zfcpdump" -/usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%posttrans -%if "%build_flavor" != "zfcpdump" -/usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif +%preun -f preun.sh + +%postun -f postun.sh + +%pre -f pre.sh + +%post -f post.sh + %files -f kernel-main.files %defattr(-, root, root) @@ -1090,35 +1101,34 @@ %source_timestamp -%pre extra -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - %post extra -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" +wm2=/usr/lib/module-init-tools/weak-modules2 +nvr=%name-extra-%version-%release +if test -x "$wm2"; then + rpm -ql "$nvr" | INITRD_IN_POSTTRANS=1 /bin/bash -${-/e/} "$wm2" \ + --add-kernel-modules %kernelrelease-%build_flavor +fi + +%posttrans extra +%{?regenerate_initrd_posttrans} %preun extra -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" +nvr=%name-extra-%version-%release +rpm -ql "$nvr" | sed -n '/\.ko\(\.xz\|\.gz\|\.zst\)\?$/p' > "/var/run/rpm-$nvr-modules" %postun extra -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans extra -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" +wm2=/usr/lib/module-init-tools/weak-modules2 +nvr=%name-extra-%version-%release +modules=( $(cat "/var/run/rpm-$nvr-modules") ) +rm -f "/var/run/rpm-$nvr-modules" +if [ ${#modules[*]} = 0 ]; then + echo "WARNING: $nvr does not contain any kernel modules" >&2 + exit 0 +fi +if test -x "$wm2"; then + printf '%s\n' "${modules[@]}" | /bin/bash -${-/e/} "$wm2" \ + --remove-kernel-modules %kernelrelease-%build_flavor +fi %if %split_extra @@ -1154,35 +1164,34 @@ %source_timestamp -%pre optional -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - %post optional -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" +wm2=/usr/lib/module-init-tools/weak-modules2 +nvr=%name-optional-%version-%release +if test -x "$wm2"; then + rpm -ql "$nvr" | INITRD_IN_POSTTRANS=1 /bin/bash -${-/e/} "$wm2" \ + --add-kernel-modules %kernelrelease-%build_flavor +fi + +%posttrans optional +%{?regenerate_initrd_posttrans} %preun optional -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" +nvr=%name-optional-%version-%release +rpm -ql "$nvr" | sed -n '/\.ko\(\.xz\|\.gz\|\.zst\)\?$/p' > "/var/run/rpm-$nvr-modules" %postun optional -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans optional -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" +wm2=/usr/lib/module-init-tools/weak-modules2 +nvr=%name-optional-%version-%release +modules=( $(cat "/var/run/rpm-$nvr-modules") ) +rm -f "/var/run/rpm-$nvr-modules" +if [ ${#modules[*]} = 0 ]; then + echo "WARNING: $nvr does not contain any kernel modules" >&2 + exit 0 +fi +if test -x "$wm2"; then + printf '%s\n' "${modules[@]}" | /bin/bash -${-/e/} "$wm2" \ + --remove-kernel-modules %kernelrelease-%build_flavor +fi %files optional -f kernel-optional.files %defattr(-, root, root) @@ -1321,35 +1330,34 @@ %description -n @KMP_NAME@-%build_flavor @KMP_DESCRIPTION@ -%pre -n @KMP_NAME@-%build_flavor -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "@KMP_NAME@-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - %post -n @KMP_NAME@-%build_flavor -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "@KMP_NAME@-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" +wm2=/usr/lib/module-init-tools/weak-modules2 +nvr=@KMP_NAME@-%build_flavor-%version-%release +if test -x "$wm2"; then + rpm -ql "$nvr" | INITRD_IN_POSTTRANS=1 /bin/bash -${-/e/} "$wm2" \ + --add-kernel-modules %kernelrelease-%build_flavor +fi + +%posttrans -n @KMP_NAME@-%build_flavor +%{?regenerate_initrd_posttrans} %preun -n @KMP_NAME@-%build_flavor -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "@KMP_NAME@-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" +nvr=@KMP_NAME@-%build_flavor-%version-%release +rpm -ql "$nvr" | sed -n '/\.ko\(\.xz\|\.gz\|\.zst\)\?$/p' > "/var/run/rpm-$nvr-modules" %postun -n @KMP_NAME@-%build_flavor -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "@KMP_NAME@-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n @KMP_NAME@-%build_flavor -/usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "@KMP_NAME@-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" +wm2=/usr/lib/module-init-tools/weak-modules2 +nvr=@KMP_NAME@-%build_flavor-%version-%release +modules=( $(cat "/var/run/rpm-$nvr-modules") ) +rm -f "/var/run/rpm-$nvr-modules" +if [ ${#modules[*]} = 0 ]; then + echo "WARNING: $nvr does not contain any kernel modules" >&2 + exit 0 +fi +if test -x "$wm2"; then + printf '%s\n' "${modules[@]}" | /bin/bash -${-/e/} "$wm2" \ + --remove-kernel-modules %kernelrelease-%build_flavor +fi %files -n @KMP_NAME@-%build_flavor -f @KMP_NAME@.files %defattr(-, root, root) ++++++ kernel-cert-subpackage ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:13.684289440 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:13.688289448 +0200 @@ -1,26 +1,55 @@ %package -n %{-n*}-ueficert Summary: UEFI Secure Boot Certificate For Package %{-n*}-kmp Group: System/Kernel -Requires(post): suse-kernel-rpm-scriptlets -Requires(pre): suse-kernel-rpm-scriptlets %description -n %{-n*}-ueficert This package contains the UEFI Secure Boot certificate used to sign modules in the %{-n*}-kmp packages. -%pre -n %{-n*}-ueficert -/usr/lib/module-init-tools/kernel-scriptlets/cert-pre --certs "@CERTS@" "$@" - +# The scriptlets are reused in kernel-binary.spec.in by a sed script that +# stops at the next line that starts with a percent sign %post -n %{-n*}-ueficert -/usr/lib/module-init-tools/kernel-scriptlets/cert-post --certs "@CERTS@" "$@" +if ! command -v mokutil >/dev/null; then + exit 0 +fi +# Only apply CA check on the kernel package certs (bsc#1173115) +if [ %{defined _suse_kernel_module_subpackage} = 0 ] && mokutil -h | grep -q "ca-check"; then + MOK_ARG="--ca-check" +else + MOK_ARG="" +fi +# XXX: Only call mokutil if UEFI and shim are used +for cert in @CERTS@; do + cert="/etc/uefi/certs/${cert}.crt" + if ! mokutil --import "$cert" --root-pw ${MOK_ARG}; then + echo "Failed to import $cert" + fi +done +exit 0 %preun -n %{-n*}-ueficert -/usr/lib/module-init-tools/kernel-scriptlets/cert-preun --certs "@CERTS@" "$@" +if ! command -v mokutil >/dev/null; then + exit 0 +fi +for cert in @CERTS@; do + cert="/etc/uefi/certs/${cert}.crt" + ln "$cert" "$cert.delete" +done +exit 0 %postun -n %{-n*}-ueficert -/usr/lib/module-init-tools/kernel-scriptlets/cert-postun --certs "@CERTS@" "$@" - -%posttrans -n %{-n*}-ueficert -/usr/lib/module-init-tools/kernel-scriptlets/cert-posttrans --certs "@CERTS@" "$@" +if ! command -v mokutil >/dev/null; then + exit 0 +fi +for cert in @CERTS@; do + cert="/etc/uefi/certs/${cert}.crt" + if ! test -e "$cert"; then + if ! mokutil --delete "$cert.delete" --root-pw; then + echo "Failed to delete $cert" + fi + fi + rm "$cert.delete" +done +exit 0 %files -n %{-n*}-ueficert %defattr(-, root, root) ++++++ kernel-module-subpackage ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:13.740289542 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:13.740289542 +0200 @@ -69,26 +69,29 @@ END { exit(! good) } ' $spec ) -%pre -n %{-n*}-kmp-%1 -%{-b:KMP_NEEDS_MKINITRD=1} /usr/lib/module-init-tools/kernel-scriptlets/kmp-pre --name "%{-n*}-kmp-%1" \ - --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ - --flavor "%1" --usrmerged "0%{?usrmerged}" "$@" %post -n %{-n*}-kmp-%1 -%{-b:KMP_NEEDS_MKINITRD=1} /usr/lib/module-init-tools/kernel-scriptlets/kmp-post --name "%{-n*}-kmp-%1" \ - --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ - --flavor "%1" --usrmerged "0%{?usrmerged}" "$@" +nvr=%{-n*}-kmp-%1-%_this_kmp_version-%{-r*} +wm2=/usr/lib/module-init-tools/weak-modules2 +if [ -x $wm2 ]; then + %{-b:KMP_NEEDS_MKINITRD=1} INITRD_IN_POSTTRANS=1 /bin/bash -${-/e/} $wm2 --add-kmp $nvr +fi +%posttrans -n %{-n*}-kmp-%1 +%{?regenerate_initrd_posttrans} %preun -n %{-n*}-kmp-%1 -%{-b:KMP_NEEDS_MKINITRD=1} /usr/lib/module-init-tools/kernel-scriptlets/kmp-preun --name "%{-n*}-kmp-%1" \ - --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ - --flavor "%1" --usrmerged "0%{?usrmerged}" "$@" +nvr=%{-n*}-kmp-%1-%_this_kmp_version-%{-r*} +rpm -ql $nvr | sed -n '/\.ko\(\.xz\|\.gz\|\.zst\)\?$/p' > /var/run/rpm-$nvr-modules %postun -n %{-n*}-kmp-%1 -%{-b:KMP_NEEDS_MKINITRD=1} /usr/lib/module-init-tools/kernel-scriptlets/kmp-postun --name "%{-n*}-kmp-%1" \ - --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ - --flavor "%1" --usrmerged "0%{?usrmerged}" "$@" -%posttrans -n %{-n*}-kmp-%1 -%{-b:KMP_NEEDS_MKINITRD=1} /usr/lib/module-init-tools/kernel-scriptlets/kmp-posttrans --name "%{-n*}-kmp-%1" \ - --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ - --flavor "%1" --usrmerged "0%{?usrmerged}" "$@" +nvr=%{-n*}-kmp-%1-%_this_kmp_version-%{-r*} +modules=( $(cat /var/run/rpm-$nvr-modules) ) +rm -f /var/run/rpm-$nvr-modules +if [ ${#modules[*]} = 0 ]; then + echo "WARNING: $nvr does not contain any kernel modules" >&2 + exit 0 +fi +wm2=/usr/lib/module-init-tools/weak-modules2 +if [ -x $wm2 ]; then + printf '%s\n' "${modules[@]}" | /bin/bash -${-/e/} $wm2 --remove-kmp $nvr +fi %files -n %{-n*}-kmp-%1 %{-f:%{expand:%(cd %_sourcedir; cat %{-f*})}} %{!-f:%defattr (-,root,root)} ++++++ kernel-source.spec.in ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:13.804289660 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:13.808289667 +0200 @@ -48,6 +48,10 @@ Provides: multiversion(kernel) Source0: @TARBALL_URL@linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc +Source10: preun.sh +Source11: postun.sh +Source12: pre.sh +Source13: post.sh Source14: series.conf Source16: guards Source17: apply-patches ++++++ kernel-subpackage-build ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:13.840289726 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:13.840289726 +0200 @@ -15,10 +15,9 @@ cat kernel-ghost.flist rpm -q --qf '%{PREIN}' $kernel_package_name | sed -e "s/$kernel_nvrq/$package_nvr/g" > prein.sh -rpm -q --qf '%{POSTIN}' $kernel_package_name | sed -e "s/$kernel_nvrq/$package_nvr/g" > postin.sh rpm -q --qf '%{PREUN}' $kernel_package_name | sed -e "s/$kernel_nvrq/$package_nvr/g" > preun.sh +rpm -q --qf '%{POSTIN}' $kernel_package_name | sed -e "s/$kernel_nvrq/$package_nvr/g" > postin.sh rpm -q --qf '%{POSTUN}' $kernel_package_name | sed -e "s/$kernel_nvrq/$package_nvr/g" > postun.sh -rpm -q --qf '%{POSTTRANS}' $kernel_package_name | sed -e "s/$kernel_nvrq/$package_nvr/g" > posttrans.sh [ -z "$(rpm -q --triggers $kernel_package_name)" ] # not handled ++++++ kernel-subpackage-spec ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:13.856289755 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:13.856289755 +0200 @@ -83,15 +83,13 @@ echo "%{?modules}" | tr ', ' '\n\n' > request-modules %scriptdir/kernel-subpackage-build %kernel_package_name %rpm_kver-%rpm_krel %package_name-%version-%release -%pre -f prein.sh - -%post -f postin.sh - %preun -f preun.sh %postun -f postun.sh -%posttrans -f posttrans.sh +%pre -f prein.sh + +%post -f postin.sh %files -f subpackage.flist ++++++ patches.kernel.org.tar.bz2 ++++++ ++++ 24890 lines of diff (skipped) ++++++ patches.suse.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/ethtool-Fix-rxnfc-copy-to-user-buffer-overflow.patch new/patches.suse/ethtool-Fix-rxnfc-copy-to-user-buffer-overflow.patch --- old/patches.suse/ethtool-Fix-rxnfc-copy-to-user-buffer-overflow.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/ethtool-Fix-rxnfc-copy-to-user-buffer-overflow.patch 2021-09-20 09:02:13.000000000 +0200 @@ -0,0 +1,91 @@ +From: Saeed Mahameed <sae...@nvidia.com> +Date: Mon, 26 Jul 2021 15:15:39 -0700 +Subject: ethtool: Fix rxnfc copy to user buffer overflow +Git-commit: 9b29a161ef38040f000dcf9ccf78e34495edfd55 +Patch-mainline: 5.15-rc1 +References: git-fixes + +In the cited commit, copy_to_user() got called with the wrong pointer, +instead of passing the actual buffer ptr to copy from, a pointer to +the pointer got passed, which causes a buffer overflow calltrace to pop +up when executing "ethtool -x ethX". + +Fix ethtool_rxnfc_copy_to_user() to use the rxnfc pointer as passed +to the function, instead of a pointer to it. + +This fixes below call trace: +[ 15.533533] ------------[ cut here ]------------ +[ 15.539007] Buffer overflow detected (8 < 192)! +[ 15.544110] WARNING: CPU: 3 PID: 1801 at include/linux/thread_info.h:200 copy_overflow+0x15/0x20 +[ 15.549308] Modules linked in: +[ 15.551449] CPU: 3 PID: 1801 Comm: ethtool Not tainted 5.14.0-rc2+ #1058 +[ 15.553919] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014 +[ 15.558378] RIP: 0010:copy_overflow+0x15/0x20 +[ 15.560648] Code: e9 7c ff ff ff b8 a1 ff ff ff eb c4 66 0f 1f 84 00 00 00 00 00 55 48 89 f2 89 fe 48 c7 c7 88 55 78 8a 48 89 e5 e8 06 5c 1e 00 <0f> 0b 5d c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 55 +[ 15.565114] RSP: 0018:ffffad49c0523bd0 EFLAGS: 00010286 +[ 15.566231] RAX: 0000000000000000 RBX: 00000000000000c0 RCX: 0000000000000000 +[ 15.567616] RDX: 0000000000000001 RSI: ffffffff8a7912e7 RDI: 00000000ffffffff +[ 15.569050] RBP: ffffad49c0523bd0 R08: ffffffff8ab2ae28 R09: 00000000ffffdfff +[ 15.570534] R10: ffffffff8aa4ae40 R11: ffffffff8aa4ae40 R12: 0000000000000000 +[ 15.571899] R13: 00007ffd4cc2a230 R14: ffffad49c0523c00 R15: 0000000000000000 +[ 15.573584] FS: 00007f538112f740(0000) GS:ffff96d5bdd80000(0000) knlGS:0000000000000000 +[ 15.575639] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 +[ 15.577092] CR2: 00007f5381226d40 CR3: 0000000013542000 CR4: 00000000001506e0 +[ 15.578929] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 +[ 15.580695] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 +[ 15.582441] Call Trace: +[ 15.582970] ethtool_rxnfc_copy_to_user+0x30/0x46 +[ 15.583815] ethtool_get_rxnfc.cold+0x23/0x2b +[ 15.584584] dev_ethtool+0x29c/0x25f0 +[ 15.585286] ? security_netlbl_sid_to_secattr+0x77/0xd0 +[ 15.586728] ? do_set_pte+0xc4/0x110 +[ 15.587349] ? _raw_spin_unlock+0x18/0x30 +[ 15.588118] ? __might_sleep+0x49/0x80 +[ 15.588956] dev_ioctl+0x2c1/0x490 +[ 15.589616] sock_ioctl+0x18e/0x330 +[ 15.591143] __x64_sys_ioctl+0x41c/0x990 +[ 15.591823] ? irqentry_exit_to_user_mode+0x9/0x20 +[ 15.592657] ? irqentry_exit+0x33/0x40 +[ 15.593308] ? exc_page_fault+0x32f/0x770 +[ 15.593877] ? exit_to_user_mode_prepare+0x3c/0x130 +[ 15.594775] do_syscall_64+0x35/0x80 +[ 15.595397] entry_SYSCALL_64_after_hwframe+0x44/0xae +[ 15.596037] RIP: 0033:0x7f5381226d4b +[ 15.596492] Code: 0f 1e fa 48 8b 05 3d b1 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 0d b1 0c 00 f7 d8 64 89 01 48 +[ 15.598743] RSP: 002b:00007ffd4cc2a1f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 +[ 15.599804] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5381226d4b +[ 15.600795] RDX: 00007ffd4cc2a350 RSI: 0000000000008946 RDI: 0000000000000003 +[ 15.601712] RBP: 00007ffd4cc2a340 R08: 00007ffd4cc2a350 R09: 0000000000000001 +[ 15.602751] R10: 00007f538128a990 R11: 0000000000000246 R12: 0000000000000000 +[ 15.603882] R13: 00007ffd4cc2a350 R14: 00007ffd4cc2a4b0 R15: 0000000000000000 +[ 15.605042] ---[ end trace 325cf185e2795048 ]--- + +Fixes: dd98d2895de6 ("ethtool: improve compat ioctl handling") +Reported-by: Shannon Nelson <snel...@pensando.io> +CC: Arnd Bergmann <a...@arndb.de> +CC: Christoph Hellwig <h...@lst.de> +Signed-off-by: Saeed Mahameed <sae...@nvidia.com> +Tested-by: Shannon Nelson <snel...@pensando.io> +Acked-by: Arnd Bergmann <a...@arndb.de> +Signed-off-by: David S. Miller <da...@davemloft.net> +Signed-off-by: Jiri Slaby <jsl...@suse.cz> +--- + net/ethtool/ioctl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/net/ethtool/ioctl.c b/net/ethtool/ioctl.c +index 6134b180f59f..af011534bcb2 100644 +--- a/net/ethtool/ioctl.c ++++ b/net/ethtool/ioctl.c +@@ -906,7 +906,7 @@ static int ethtool_rxnfc_copy_to_user(void __user *useraddr, + rule_buf); + useraddr += offsetof(struct compat_ethtool_rxnfc, rule_locs); + } else { +- ret = copy_to_user(useraddr, &rxnfc, size); ++ ret = copy_to_user(useraddr, rxnfc, size); + useraddr += offsetof(struct ethtool_rxnfc, rule_locs); + } + +-- +2.33.0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/nvmet-fix-a-width-vs-precision-bug-in-nvmet_subsys_a.patch new/patches.suse/nvmet-fix-a-width-vs-precision-bug-in-nvmet_subsys_a.patch --- old/patches.suse/nvmet-fix-a-width-vs-precision-bug-in-nvmet_subsys_a.patch 2021-09-26 19:11:13.000000000 +0200 +++ new/patches.suse/nvmet-fix-a-width-vs-precision-bug-in-nvmet_subsys_a.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ -From: Dan Carpenter <dan.carpen...@oracle.com> -Date: Thu, 9 Sep 2021 12:14:40 +0300 -Subject: nvmet: fix a width vs precision bug in - nvmet_subsys_attr_serial_show() -Git-commit: 0bd46e22c5ec3dbfb81b60de475151e3f6b411c2 -Patch-mainline: 5.15-rc2 -References: git-fixes - -This was intended to limit the number of characters printed from -"subsys->serial" to NVMET_SN_MAX_SIZE. But accidentally the width -specifier was used instead of the precision specifier so it only -affects the alignment and not the number of characters printed. - -Fixes: f04064814c2a ("nvmet: fixup buffer overrun in nvmet_subsys_attr_serial()") -Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> -Signed-off-by: Christoph Hellwig <h...@lst.de> -Signed-off-by: Jiri Slaby <jsl...@suse.cz> ---- - drivers/nvme/target/configfs.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/nvme/target/configfs.c -+++ b/drivers/nvme/target/configfs.c -@@ -1067,7 +1067,7 @@ static ssize_t nvmet_subsys_attr_serial_ - { - struct nvmet_subsys *subsys = to_subsys(item); - -- return snprintf(page, PAGE_SIZE, "%*s\n", -+ return snprintf(page, PAGE_SIZE, "%.*s\n", - NVMET_SN_MAX_SIZE, subsys->serial); - } - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/tipc-fix-an-use-after-free-issue-in-tipc_recvmsg.patch new/patches.suse/tipc-fix-an-use-after-free-issue-in-tipc_recvmsg.patch --- old/patches.suse/tipc-fix-an-use-after-free-issue-in-tipc_recvmsg.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/tipc-fix-an-use-after-free-issue-in-tipc_recvmsg.patch 2021-09-20 09:02:13.000000000 +0200 @@ -0,0 +1,59 @@ +From: Xin Long <lucien....@gmail.com> +Date: Fri, 23 Jul 2021 13:25:36 -0400 +Subject: tipc: fix an use-after-free issue in tipc_recvmsg +Git-commit: cc19862ffe454a5b632ca202e5a51bfec9f89fd2 +Patch-mainline: 5.15-rc1 +References: git-fixes + +syzbot reported an use-after-free crash: + + BUG: KASAN: use-after-free in tipc_recvmsg+0xf77/0xf90 net/tipc/socket.c:1979 + Call Trace: + tipc_recvmsg+0xf77/0xf90 net/tipc/socket.c:1979 + sock_recvmsg_nosec net/socket.c:943 [inline] + sock_recvmsg net/socket.c:961 [inline] + sock_recvmsg+0xca/0x110 net/socket.c:957 + tipc_conn_rcv_from_sock+0x162/0x2f0 net/tipc/topsrv.c:398 + tipc_conn_recv_work+0xeb/0x190 net/tipc/topsrv.c:421 + process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 + worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 + +As Hoang pointed out, it was caused by skb_cb->bytes_read still accessed +after calling tsk_advance_rx_queue() to free the skb in tipc_recvmsg(). + +This patch is to fix it by accessing skb_cb->bytes_read earlier than +calling tsk_advance_rx_queue(). + +Fixes: f4919ff59c28 ("tipc: keep the skb in rcv queue until the whole data is read") +Reported-by: syzbot+e6741b97d5552f97c...@syzkaller.appspotmail.com +Signed-off-by: Xin Long <lucien....@gmail.com> +Acked-by: Jon Maloy <jma...@redhat.com> +Signed-off-by: David S. Miller <da...@davemloft.net> +Signed-off-by: Jiri Slaby <jsl...@suse.cz> +--- + net/tipc/socket.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/net/tipc/socket.c b/net/tipc/socket.c +index 9b0b311c7ec1..b0dd183a4dbc 100644 +--- a/net/tipc/socket.c ++++ b/net/tipc/socket.c +@@ -1973,10 +1973,12 @@ static int tipc_recvmsg(struct socket *sock, struct msghdr *m, + tipc_node_distr_xmit(sock_net(sk), &xmitq); + } + +- if (!skb_cb->bytes_read) +- tsk_advance_rx_queue(sk); ++ if (skb_cb->bytes_read) ++ goto exit; ++ ++ tsk_advance_rx_queue(sk); + +- if (likely(!connected) || skb_cb->bytes_read) ++ if (likely(!connected)) + goto exit; + + /* Send connection flow control advertisement when applicable */ +-- +2.33.0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/watchdog-Fix-NULL-pointer-dereference-when-releasing.patch new/patches.suse/watchdog-Fix-NULL-pointer-dereference-when-releasing.patch --- old/patches.suse/watchdog-Fix-NULL-pointer-dereference-when-releasing.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/watchdog-Fix-NULL-pointer-dereference-when-releasing.patch 2021-09-20 09:02:13.000000000 +0200 @@ -0,0 +1,49 @@ +From: Curtis Klein <curtis.kl...@hpe.com> +Date: Tue, 22 Jun 2021 23:26:23 -0700 +Subject: watchdog: Fix NULL pointer dereference when releasing cdev +Git-repo: git://www.linux-watchdog.org/linux-watchdog-next.git#master +Git-commit: c7b178dae139f8857edc50888cfbf251cd974a38 +Patch-mainline: Queued in subsystem maintainer repository +References: bsc#1190093 + +watchdog_hrtimer_pretimeout_stop needs the watchdog device to have a +valid pointer to the watchdog core data to stop the pretimeout hrtimer. +Therefore it needs to be called before the pointers are cleared in +watchdog_cdev_unregister. + +Fixes: 7b7d2fdc8c3e ("watchdog: Add hrtimer-based pretimeout feature") +Reported-by: Colin Ian King <colin.k...@canonical.com> +Signed-off-by: Curtis Klein <curtis.kl...@hpe.com> +Reviewed-by: Guenter Roeck <li...@roeck-us.net> +Link: https://lore.kernel.org/r/1624429583-5720-1-git-send-email-curtis.kl...@hpe.com +Signed-off-by: Guenter Roeck <li...@roeck-us.net> +Signed-off-by: Wim Van Sebroeck <w...@linux-watchdog.org> +Signed-off-by: Jiri Slaby <jsl...@suse.cz> +--- + drivers/watchdog/watchdog_dev.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/watchdog/watchdog_dev.c b/drivers/watchdog/watchdog_dev.c +index 5bf795c1b346..f408967ff1a4 100644 +--- a/drivers/watchdog/watchdog_dev.c ++++ b/drivers/watchdog/watchdog_dev.c +@@ -1096,6 +1096,8 @@ static void watchdog_cdev_unregister(struct watchdog_device *wdd) + watchdog_stop(wdd); + } + ++ watchdog_hrtimer_pretimeout_stop(wdd); ++ + mutex_lock(&wd_data->lock); + wd_data->wdd = NULL; + wdd->wd_data = NULL; +@@ -1103,7 +1105,6 @@ static void watchdog_cdev_unregister(struct watchdog_device *wdd) + + hrtimer_cancel(&wd_data->timer); + kthread_cancel_work_sync(&wd_data->work); +- watchdog_hrtimer_pretimeout_stop(wdd); + + put_device(&wd_data->dev); + } +-- +2.33.0 + ++++++ post.sh ++++++ # Flag to trigger /etc/init.d/purge-kernels on next reboot (fate#312018) # ... but avoid the first installion (bsc#1180058) test $1 -gt 1 && touch /boot/do_purge_kernels for x in /boot/@IMAGE@ /boot/initrd; do rm -f $x ln -s ${x##*/}-@KERNELRELEASE@-@FLAVOR@ $x done @USRMERGE@# compat stuff for /boot. @USRMERGE@# if /boot and /usr are not speparate partitions we can just link @USRMERGE@# the kernel there to save space. Otherwise copy. @USRMERGE@if mountpoint -q /boot || mountpoint -q /usr; then @USRMERGE@ copy_or_link="cp -a" @USRMERGE@else @USRMERGE@ copy_or_link="ln -sf" @USRMERGE@fi @USRMERGE@# XXX: need to fix suse-module-tools for sysctl.conf and System.map @USRMERGE@for x in @IMAGE@ sysctl.conf System.map; do @USRMERGE@ if [ ! -e /boot/$x-@KERNELRELEASE@-@FLAVOR@ ]; then @USRMERGE@ $copy_or_link ..@MODULESDIR@/$x /boot/$x-@KERNELRELEASE@-@FLAVOR@ @USRMERGE@ if [ -e @MODULESDIR@/.$x.hmac ]; then @USRMERGE@ $copy_or_link ..@MODULESDIR@/.$x.hmac /boot/.$x-@KERNELRELEASE@-@FLAVOR@.hmac @USRMERGE@ fi @USRMERGE@ fi @USRMERGE@done # Add symlinks of compatible modules to /lib/modules/$krel/weak-updates/, # run depmod and mkinitrd wm2_rc=0 wm2=/usr/lib/module-init-tools/weak-modules2 if [ -x $wm2 ]; then /bin/bash -${-/e/} $wm2 --add-kernel @KERNELRELEASE@-@FLAVOR@ wm2_rc=$? else echo "$wm2 does not exist, please run depmod and mkinitrd manually" >&2 wm2_rc=-1 fi message_install_bl () { echo "You may need to setup and install the boot loader using the" echo "available bootloader for your platform (e.g. grub, lilo, zipl, ...)." } run_bootloader () { if [ -f /etc/sysconfig/bootloader ] && [ -f /boot/grub/menu.lst -o \ -f /etc/lilo.conf -o \ -f /etc/elilo.conf -o \ -f /etc/zipl.conf -o \ -f /etc/default/grub ] then return 0 else return 1 fi } rc=0 if [ -f /etc/fstab -a ! -e /.buildenv ] ; then # only run the bootloader if the usual bootloader configuration # files are there -- this is different on every architecture rc=-1 initrd=initrd-@KERNELRELEASE@-@FLAVOR@ if [ @FLAVOR@ = rt ]; then default=force-default fi if [ -e /boot/$initrd -o ! -e @MODULESDIR@ ] && \ run_bootloader ; then [ -e /boot/$initrd ] || initrd= if [ -x /usr/lib/bootloader/bootloader_entry ]; then /usr/lib/bootloader/bootloader_entry \ add \ @FLAVOR@ \ @KERNELRELEASE@-@FLAVOR@ \ @IMAGE@-@KERNELRELEASE@-@FLAVOR@ \ $initrd \ $default rc=$? else message_install_bl fi fi else message_install_bl fi # check if something failed [ $wm2_rc != 0 ] && exit $wm2_rc exit $rc # vim: set sts=4 sw=4 ts=8 noet: ++++++ postun.sh ++++++ # If a kernel package is removed before the next reboot, we assume that the # multiversion variable in /etc/zypp/zypp.conf is not configured and we delete # the flag again (fate#312018) rm -f /boot/do_purge_kernels wm2=/usr/lib/module-init-tools/weak-modules2 nvr=@PACKAGE@-@RPM_VERSION_RELEASE@ if [ -e @SYSTEMMAP@ ]; then # the same package was reinstalled or just rebuilt, otherwise the files # would have been deleted by now # do not remove anything in this case (bnc#533766) exit 0 fi # Remove symlinks from @MODULESDIR@/weak-updates/. if [ -x $wm2 ]; then /bin/bash -${-/e/} $wm2 --remove-kernel @KERNELRELEASE@-@FLAVOR@ fi # remove fstab check once perl-Bootloader can cope with it if [ -f /etc/fstab ]; then if [ -x /usr/lib/bootloader/bootloader_entry ]; then /usr/lib/bootloader/bootloader_entry \ remove \ @FLAVOR@ \ @KERNELRELEASE@-@FLAVOR@ \ @IMAGE@-@KERNELRELEASE@-@FLAVOR@ \ initrd-@KERNELRELEASE@-@FLAVOR@ fi fi ++++++ pre.sh ++++++ # see bug #259303 # this script runs when the kernel gets updated with YaST # YaST calls rpm always with -U # -U replaces all packages with the new one # rpm removes the files from the old packages after the postinstall script ran # this will double the required space below /boot # remove the files from the old packages to make room for the new initrd # rpm may complain about low disk space if /boot/vmlinux does not fit if [ "$YAST_IS_RUNNING" != "" ]; then mydf="$( POSIXLY_CORRECT=1 df -P /boot/ | awk '/^(\/|-[[:blank:]])/{ print $4}' )" if test "$mydf" != "" ; then echo "Free diskspace below /boot: $mydf blocks" # echo "512 byte blocks: $(( 2 * 1024 * 20 ))" if test "$mydf" -lt "40960" ; then echo "make room for new kernel '@FLAVOR@' because there are less than 20MB available." # disabled because it breaks patch rpms #rm -fv /boot/@IMAGE@-*-@FLAVOR@ rm -fv /boot/initrd-*-@FLAVOR@ fi fi fi # On AArch64 we switched from 64k PAGE_SIZE to 4k PAGE_SIZE. Unfortunately # btrfs can only use file systems created with the same PAGE_SIZE. So we # check if the user has any btrfs file systems mounted and refuse to install # in that case. if [ $( uname -m ) = aarch64 -a \ "$( zgrep CONFIG_ARM64_64K_PAGES=y /proc/config.gz )" -a \ @FLAVOR@ = default ]; then if [ "$FORCE_4K" = 1 ]; then # The user knows what he's doing, let him be. exit 0 fi if [ "$YAST_IS_RUNNING" = "instsys" ]; then # We're probably test installing the kernel, that should succeed exit 0 fi cat >&2 <<-EOF You are running on a 64kb PAGE_SIZE kernel. The default kernel switched to 4kb PAGE_SIZE which will prevent it from mounting btrfs or the swap partition. To ensure that your system still works, I am refusing to install this kernel. If you want to force installation regardlesss, reinstall with the environment variable FORCE_4K set to 1. To stay with a 64kb PAGE_SIZE kernel, please follow these steps: $ zypper in kernel-64kb [ reboot into the new kernel ] $ zypper rm kernel-default You will then be on the 64kb PAGE_SIZE kernel and can update your system normally. EOF exit 1 fi ++++++ series.conf ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:14.624291160 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:14.624291160 +0200 @@ -842,280 +842,6 @@ patches.kernel.org/5.14.6-430-drm-panfrost-Clamp-lock-region-to-Bifrost-mini.patch patches.kernel.org/5.14.6-431-tracing-osnoise-Fix-missed-cpus_read_unlock-in.patch patches.kernel.org/5.14.6-432-Linux-5.14.6.patch - patches.kernel.org/5.14.7-001-net-stmmac-fix-MAC-not-working-when-system-res.patch - patches.kernel.org/5.14.7-002-io_uring-ensure-symmetry-in-handling-iter-type.patch - patches.kernel.org/5.14.7-003-swiotlb-xen-avoid-double-free.patch - patches.kernel.org/5.14.7-004-swiotlb-xen-fix-late-init-retry.patch - patches.kernel.org/5.14.7-005-xen-reset-legacy-rtc-flag-for-PV-domU.patch - patches.kernel.org/5.14.7-006-xen-fix-usage-of-pmd_populate-in-mremap-for-pv.patch - patches.kernel.org/5.14.7-007-bnx2x-Fix-enabling-network-interfaces-without-.patch - patches.kernel.org/5.14.7-008-arm64-sve-Use-correct-size-when-reinitialising.patch - patches.kernel.org/5.14.7-009-PM-base-power-don-t-try-to-use-non-existing-RT.patch - patches.kernel.org/5.14.7-010-PCI-Add-AMD-GPU-multi-function-power-dependenc.patch - patches.kernel.org/5.14.7-011-drm-amd-display-Get-backlight-from-PWM-if-DMCU.patch - patches.kernel.org/5.14.7-012-drm-amd-display-dsc-mst-2-4K-displays-go-dark-.patch - patches.kernel.org/5.14.7-013-drm-amd-display-Fix-white-screen-page-fault-fo.patch - patches.kernel.org/5.14.7-014-drm-amd-pm-fix-runpm-hang-when-amdgpu-loaded-p.patch - patches.kernel.org/5.14.7-015-drm-amd-amdgpu-Increase-HWIP_MAX_INSTANCE-to-1.patch - patches.kernel.org/5.14.7-016-drm-amdgpu-use-IS_ERR-for-debugfs-APIs.patch - patches.kernel.org/5.14.7-017-drm-amdgpu-fix-use-after-free-during-BO-move.patch - patches.kernel.org/5.14.7-018-drm-amdgpu-add-amdgpu_amdkfd_resume_iommu.patch - patches.kernel.org/5.14.7-019-drm-amdgpu-move-iommu_resume-before-ip-init-re.patch - patches.kernel.org/5.14.7-020-drm-amd-pm-fix-the-issue-of-uploading-powerpla.patch - patches.kernel.org/5.14.7-021-drm-amdkfd-separate-kfd_iommu_resume-from-kfd_.patch - patches.kernel.org/5.14.7-022-drm-radeon-pass-drm-dev-radeon_agp_head_init-d.patch - patches.kernel.org/5.14.7-023-io_uring-allow-retry-for-O_NONBLOCK-if-async-i.patch - patches.kernel.org/5.14.7-024-drm-i915-dp-Use-max-params-for-panels-eDP-1.4.patch - patches.kernel.org/5.14.7-025-drm-etnaviv-return-context-from-etnaviv_iommu_.patch - patches.kernel.org/5.14.7-026-drm-etnaviv-put-submit-prev-MMU-context-when-i.patch - patches.kernel.org/5.14.7-027-drm-etnaviv-stop-abusing-mmu_context-as-FE-run.patch - patches.kernel.org/5.14.7-028-drm-etnaviv-keep-MMU-context-across-runtime-su.patch - patches.kernel.org/5.14.7-029-drm-etnaviv-exec-and-MMU-state-is-lost-when-re.patch - patches.kernel.org/5.14.7-030-drm-etnaviv-fix-MMU-context-leak-on-GPU-reset.patch - patches.kernel.org/5.14.7-031-drm-etnaviv-reference-MMU-context-when-setting.patch - patches.kernel.org/5.14.7-032-drm-etnaviv-add-missing-MMU-context-put-when-r.patch - patches.kernel.org/5.14.7-033-s390-sclp-fix-Secure-IPL-facility-detection.patch - patches.kernel.org/5.14.7-034-net-qrtr-revert-check-in-qrtr_endpoint_post.patch - patches.kernel.org/5.14.7-035-x86-pat-Pass-valid-address-to-sanitize_phys.patch - patches.kernel.org/5.14.7-036-x86-mm-Fix-kern_addr_valid-to-cope-with-existi.patch - patches.kernel.org/5.14.7-037-x86-mce-Avoid-infinite-loop-for-copy-from-user.patch - patches.kernel.org/5.14.7-038-tipc-fix-an-use-after-free-issue-in-tipc_recvm.patch - patches.kernel.org/5.14.7-039-ethtool-Fix-rxnfc-copy-to-user-buffer-overflow.patch - patches.kernel.org/5.14.7-040-net-remove-the-unnecessary-check-in-cipso_v4_d.patch - patches.kernel.org/5.14.7-041-net-mlx5-nfp-bnxt-Remove-unnecessary-RTNL-lock.patch - patches.kernel.org/5.14.7-042-net-caif-avoid-user-triggerable-WARN_ON-1.patch - patches.kernel.org/5.14.7-043-ptp-dp83640-don-t-define-PAGE0.patch - patches.kernel.org/5.14.7-044-dccp-don-t-duplicate-ccid-when-cloning-dccp-so.patch - patches.kernel.org/5.14.7-045-net-l2tp-Fix-reference-count-leak-in-l2tp_udp_.patch - patches.kernel.org/5.14.7-046-r6040-Restore-MDIO-clock-frequency-after-MAC-r.patch - patches.kernel.org/5.14.7-047-tipc-increase-timeout-in-tipc_sk_enqueue.patch - patches.kernel.org/5.14.7-048-drm-rockchip-cdn-dp-core-Make-cdn_dp_core_resu.patch - patches.kernel.org/5.14.7-049-rtc-cmos-Disable-irq-around-direct-invocation-.patch - patches.kernel.org/5.14.7-050-drm-i915-dp-return-proper-DPRX-link-training-r.patch - patches.kernel.org/5.14.7-051-perf-machine-Initialize-srcline-string-member-.patch - patches.kernel.org/5.14.7-052-net-mlx5-FWTrace-cancel-work-on-alloc-pd-error.patch - patches.kernel.org/5.14.7-053-net-mlx5-Fix-potential-sleeping-in-atomic-cont.patch - patches.kernel.org/5.14.7-054-net-stmmac-fix-system-hang-caused-by-eee_ctrl_.patch - patches.kernel.org/5.14.7-055-igc-fix-tunnel-offloading.patch - patches.kernel.org/5.14.7-056-nvme-tcp-fix-io_work-priority-inversion.patch - patches.kernel.org/5.14.7-057-powerpc-64s-system-call-scv-tabort-fix-for-cor.patch - patches.kernel.org/5.14.7-058-events-Reuse-value-read-using-READ_ONCE-instea.patch - patches.kernel.org/5.14.7-059-net-ipa-initialize-all-filter-table-slots.patch - patches.kernel.org/5.14.7-060-gen_compile_commands-fix-missing-sys-package.patch - patches.kernel.org/5.14.7-061-vhost_net-fix-OoB-on-sendmsg-failure.patch - patches.kernel.org/5.14.7-062-net-af_unix-fix-a-data-race-in-unix_dgram_poll.patch - patches.kernel.org/5.14.7-063-net-dsa-destroy-the-phylink-instance-on-any-er.patch - patches.kernel.org/5.14.7-064-x86-uaccess-Fix-32-bit-__get_user_asm_u64-when.patch - patches.kernel.org/5.14.7-065-tcp-fix-tp-undo_retrans-accounting-in-tcp_sack.patch - patches.kernel.org/5.14.7-066-selftest-net-fix-typo-in-altname-test.patch - patches.kernel.org/5.14.7-067-qed-Handle-management-FW-error.patch - patches.kernel.org/5.14.7-068-udp_tunnel-Fix-udp_tunnel_nic-work-queue-type.patch - patches.kernel.org/5.14.7-069-dt-bindings-arm-Fix-Toradex-compatible-typo.patch - patches.kernel.org/5.14.7-070-ibmvnic-check-failover_pending-in-login-respon.patch - patches.kernel.org/5.14.7-071-KVM-PPC-Book3S-HV-Tolerate-treclaim.-in-fake-s.patch - patches.kernel.org/5.14.7-072-powerpc-64s-system-call-rfscv-workaround-for-T.patch - patches.kernel.org/5.14.7-073-powerpc-mce-Fix-access-error-in-mce-handler.patch - patches.kernel.org/5.14.7-074-s390-pci_mmio-fully-validate-the-VMA-before-ca.patch - patches.kernel.org/5.14.7-075-bnxt_en-make-bnxt_free_skbs-safe-to-call-after.patch - patches.kernel.org/5.14.7-076-net-hns3-pad-the-short-tunnel-frame-before-sen.patch - patches.kernel.org/5.14.7-077-net-hns3-change-affinity_mask-to-numa-node-ran.patch - patches.kernel.org/5.14.7-078-net-hns3-disable-mac-in-flr-process.patch - patches.kernel.org/5.14.7-079-net-hns3-fix-the-timing-issue-of-VF-clearing-i.patch - patches.kernel.org/5.14.7-080-net-stmmac-platform-fix-build-warning-when-wit.patch - patches.kernel.org/5.14.7-081-Drivers-hv-vmbus-Fix-kernel-crash-upon-unbindi.patch - patches.kernel.org/5.14.7-082-net-mlx5e-Fix-mutual-exclusion-between-CQE-com.patch - patches.kernel.org/5.14.7-083-ice-Correctly-deal-with-PFs-that-do-not-suppor.patch - patches.kernel.org/5.14.7-084-net-dsa-qca8k-fix-kernel-panic-with-legacy-mdi.patch - patches.kernel.org/5.14.7-085-net-dsa-lantiq_gswip-Add-200ms-assert-delay.patch - patches.kernel.org/5.14.7-086-net-hns3-fix-the-exception-when-query-imp-info.patch - patches.kernel.org/5.14.7-087-nvme-avoid-race-in-shutdown-namespace-removal.patch - patches.kernel.org/5.14.7-088-blkcg-fix-memory-leak-in-blk_iolatency_init.patch - patches.kernel.org/5.14.7-089-net-dsa-flush-switchdev-workqueue-before-teari.patch - patches.kernel.org/5.14.7-090-mlxbf_gige-clear-valid_polarity-upon-open.patch - patches.kernel.org/5.14.7-091-dt-bindings-mtd-gpmc-Fix-the-ECC-bytes-vs.-OOB.patch - patches.kernel.org/5.14.7-092-remoteproc-qcom-wcnss-Fix-race-with-iris-probe.patch - patches.kernel.org/5.14.7-093-mfd-db8500-prcmu-Adjust-map-to-reality.patch - patches.kernel.org/5.14.7-094-PCI-Add-ACS-quirks-for-NXP-LX2xx0-and-LX2xx2-p.patch - patches.kernel.org/5.14.7-095-fuse-fix-use-after-free-in-fuse_read_interrupt.patch - patches.kernel.org/5.14.7-096-PCI-tegra194-Fix-handling-BME_CHGED-event.patch - patches.kernel.org/5.14.7-097-PCI-tegra194-Fix-MSI-X-programming.patch - patches.kernel.org/5.14.7-098-PCI-tegra-Fix-OF-node-reference-leak.patch - patches.kernel.org/5.14.7-099-mfd-Don-t-use-irq_create_mapping-to-resolve-a-.patch - patches.kernel.org/5.14.7-100-PCI-rcar-Fix-runtime-PM-imbalance-in-rcar_pcie.patch - patches.kernel.org/5.14.7-101-riscv-fix-the-global-name-pfn_base-confliction.patch - patches.kernel.org/5.14.7-102-KVM-arm64-Make-hyp_panic-more-robust-when-prot.patch - patches.kernel.org/5.14.7-103-tracing-probes-Reject-events-which-have-the-sa.patch - patches.kernel.org/5.14.7-104-PCI-cadence-Use-bitfield-for-quirk_retrain_fla.patch - patches.kernel.org/5.14.7-105-PCI-cadence-Add-quirk-flag-to-set-minimum-dela.patch - patches.kernel.org/5.14.7-106-PCI-j721e-Add-PCIe-support-for-J7200.patch - patches.kernel.org/5.14.7-107-PCI-j721e-Add-PCIe-support-for-AM64.patch - patches.kernel.org/5.14.7-108-PCI-Add-ACS-quirks-for-Cavium-multi-function-d.patch - patches.kernel.org/5.14.7-109-watchdog-Start-watchdog-in-watchdog_set_last_h.patch - patches.kernel.org/5.14.7-110-octeontx2-af-Add-additional-register-check-to-.patch - patches.kernel.org/5.14.7-111-Set-fc_nlinfo-in-nh_create_ipv4-nh_create_ipv6.patch - patches.kernel.org/5.14.7-112-flow-fix-object-size-mismatch-warning-in-flowi.patch - patches.kernel.org/5.14.7-113-net-usb-cdc_mbim-avoid-altsetting-toggling-for.patch - patches.kernel.org/5.14.7-114-block-bfq-honor-already-setup-queue-merges.patch - patches.kernel.org/5.14.7-115-PCI-ibmphp-Fix-double-unmap-of-io_mem.patch - patches.kernel.org/5.14.7-116-loop-reduce-the-loop_ctl_mutex-scope.patch - patches.kernel.org/5.14.7-117-ethtool-Fix-an-error-code-in-cxgb2.c.patch - patches.kernel.org/5.14.7-118-NTB-Fix-an-error-code-in-ntb_msit_probe.patch - patches.kernel.org/5.14.7-119-NTB-perf-Fix-an-error-code-in-perf_setup_inbuf.patch - patches.kernel.org/5.14.7-120-stmmac-dwmac-loongson-Fix-missing-return-value.patch - patches.kernel.org/5.14.7-121-net-phylink-add-suspend-resume-support.patch - patches.kernel.org/5.14.7-122-mfd-axp20x-Update-AXP288-volatile-ranges.patch - patches.kernel.org/5.14.7-123-backlight-ktd253-Stabilize-backlight.patch - patches.kernel.org/5.14.7-124-PCI-controller-PCI_IXP4XX-should-depend-on-ARC.patch - patches.kernel.org/5.14.7-125-PCI-of-Don-t-fail-devm_pci_alloc_host_bridge-o.patch - patches.kernel.org/5.14.7-126-PCI-iproc-Fix-BCMA-probe-resource-handling.patch - patches.kernel.org/5.14.7-127-netfilter-nft_ct-protect-nft_ct_pcpu_template_.patch - patches.kernel.org/5.14.7-128-KVM-arm64-Restrict-IPA-size-to-maximum-48-bits.patch - patches.kernel.org/5.14.7-129-PCI-Fix-pci_dev_str_match_path-alloc-while-ato.patch - patches.kernel.org/5.14.7-130-mfd-tqmx86-Clear-GPIO-IRQ-resource-when-no-IRQ.patch - patches.kernel.org/5.14.7-131-tracing-boot-Fix-a-hist-trigger-dependency-for.patch - patches.kernel.org/5.14.7-132-mtd-mtdconcat-Judge-callback-existence-based-o.patch - patches.kernel.org/5.14.7-133-mtd-mtdconcat-Check-_read-_write-callbacks-exi.patch - patches.kernel.org/5.14.7-134-KVM-arm64-Fix-read-side-race-on-updates-to-vcp.patch - patches.kernel.org/5.14.7-135-KVM-arm64-Handle-PSCI-resets-before-userspace-.patch - patches.kernel.org/5.14.7-136-PCI-PTM-Remove-error-message-at-boot.patch - patches.kernel.org/5.14.7-137-PCI-Sync-__pci_register_driver-stub-for-CONFIG.patch - patches.kernel.org/5.14.7-138-watchdog-Fix-NULL-pointer-dereference-when-rel.patch - patches.kernel.org/5.14.7-139-mtd-rawnand-cafe-Fix-a-resource-leak-in-the-er.patch - patches.kernel.org/5.14.7-140-ARC-export-clear_user_page-for-modules.patch - patches.kernel.org/5.14.7-141-perf-config-Fix-caching-and-memory-leak-in-per.patch - patches.kernel.org/5.14.7-142-perf-unwind-Do-not-overwrite-FEATURE_CHECK_LDF.patch - patches.kernel.org/5.14.7-143-perf-bench-inject-buildid-Handle-writen-errors.patch - patches.kernel.org/5.14.7-144-gpio-mpc8xxx-Fix-a-resources-leak-in-the-error.patch - patches.kernel.org/5.14.7-145-gpio-mpc8xxx-Fix-a-potential-double-iounmap-ca.patch - patches.kernel.org/5.14.7-146-gpio-mpc8xxx-Use-devm_gpiochip_add_data-to-sim.patch - patches.kernel.org/5.14.7-147-io_uring-retry-in-case-of-short-read-on-block-.patch - patches.kernel.org/5.14.7-148-net-dsa-tag_rtl4_a-Fix-egress-tags.patch - patches.kernel.org/5.14.7-149-tools-build-Fix-feature-detect-clean-for-out-o.patch - patches.kernel.org/5.14.7-150-mptcp-fix-possible-divide-by-zero.patch - patches.kernel.org/5.14.7-151-selftests-mptcp-clean-tmp-files-in-simult_flow.patch - patches.kernel.org/5.14.7-152-net-hso-add-failure-handler-for-add_net_device.patch - patches.kernel.org/5.14.7-153-net-dsa-b53-Fix-calculating-number-of-switch-p.patch - patches.kernel.org/5.14.7-154-net-dsa-b53-Set-correct-number-of-ports-in-the.patch - patches.kernel.org/5.14.7-155-mptcp-Only-send-extra-TCP-acks-in-eligible-soc.patch - patches.kernel.org/5.14.7-156-netfilter-socket-icmp6-fix-use-after-scope.patch - patches.kernel.org/5.14.7-157-fq_codel-reject-silly-quantum-parameters.patch - patches.kernel.org/5.14.7-158-qlcnic-Remove-redundant-unlock-in-qlcnic_pinit.patch - patches.kernel.org/5.14.7-159-iwlwifi-move-get-pnvm-file-name-to-a-separate-.patch - patches.kernel.org/5.14.7-160-iwlwifi-pnvm-Fix-a-memory-leak-in-iwl_pnvm_get.patch - patches.kernel.org/5.14.7-161-ip_gre-validate-csum_start-only-on-pull.patch - patches.kernel.org/5.14.7-162-net-dsa-b53-Fix-IMP-port-setup-on-BCM5301x.patch - patches.kernel.org/5.14.7-163-bnxt_en-fix-stored-FW_PSID-version-masks.patch - patches.kernel.org/5.14.7-164-bnxt_en-Fix-asic.rev-in-devlink-dev-info-comma.patch - patches.kernel.org/5.14.7-165-bnxt_en-Fix-possible-unintended-driver-initiat.patch - patches.kernel.org/5.14.7-166-ip6_gre-Revert-ip6_gre-add-validation-for-csum.patch - patches.kernel.org/5.14.7-167-mfd-lpc_sch-Rename-GPIOBASE-to-prevent-build-e.patch - patches.kernel.org/5.14.7-168-cxgb3-fix-oops-on-module-removal.patch - patches.kernel.org/5.14.7-169-net-renesas-sh_eth-Fix-freeing-wrong-tx-descri.patch - patches.kernel.org/5.14.7-170-bnxt_en-Fix-error-recovery-regression.patch - patches.kernel.org/5.14.7-171-net-dsa-bcm_sf2-Fix-array-overrun-in-bcm_sf2_n.patch - patches.kernel.org/5.14.7-172-s390-bpf-Fix-optimizing-out-zero-extensions.patch - patches.kernel.org/5.14.7-173-s390-bpf-Fix-64-bit-subtraction-of-the-0x80000.patch - patches.kernel.org/5.14.7-174-s390-bpf-Fix-branch-shortening-during-codegen-.patch - patches.kernel.org/5.14.7-175-Linux-5.14.7.patch - patches.kernel.org/5.14.8-001-PCI-pci-bridge-emul-Add-PCIe-Root-Capabilities.patch - patches.kernel.org/5.14.8-002-PCI-aardvark-Fix-reporting-CRS-value.patch - patches.kernel.org/5.14.8-003-console-consume-APC-DM-DCS.patch - patches.kernel.org/5.14.8-004-staging-rtl8192u-Fix-bitwise-vs-logical-operat.patch - patches.kernel.org/5.14.8-005-um-fix-stub-location-calculation.patch - patches.kernel.org/5.14.8-006-coredump-fix-memleak-in-dump_vma_snapshot.patch - patches.kernel.org/5.14.8-007-um-virtio_uml-fix-memory-leak-on-init-failures.patch - patches.kernel.org/5.14.8-008-RDMA-hns-Enable-stash-feature-of-HIP09.patch - patches.kernel.org/5.14.8-009-RDMA-mlx5-Fix-xlt_chunk_align-calculation.patch - patches.kernel.org/5.14.8-010-dmaengine-acpi-Avoid-comparison-GSI-with-Linux.patch - patches.kernel.org/5.14.8-011-perf-test-Fix-bpf-test-sample-mismatch-reporti.patch - patches.kernel.org/5.14.8-012-perf-symbol-Look-for-ImageBase-in-PE-file-to-c.patch - patches.kernel.org/5.14.8-013-perf-tools-Allow-build-id-with-trailing-zeros.patch - patches.kernel.org/5.14.8-014-staging-rtl8723bs-fix-wpa_set_auth_algs-functi.patch - patches.kernel.org/5.14.8-015-n64cart-fix-return-value-check-in-n64cart_prob.patch - patches.kernel.org/5.14.8-016-thermal-drivers-exynos-Fix-an-error-code-in-ex.patch - patches.kernel.org/5.14.8-017-9p-trans_virtio-Remove-sysfs-file-on-probe-fai.patch - patches.kernel.org/5.14.8-018-pwm-ab8500-Fix-register-offset-calculation-to-.patch - patches.kernel.org/5.14.8-019-prctl-allow-to-setup-brk-for-et_dyn-executable.patch - patches.kernel.org/5.14.8-020-nilfs2-use-refcount_dec_and_lock-to-fix-potent.patch - patches.kernel.org/5.14.8-021-profiling-fix-shift-out-of-bounds-bugs.patch - patches.kernel.org/5.14.8-022-PM-sleep-core-Avoid-setting-power.must_resume-.patch - patches.kernel.org/5.14.8-023-thermal-drivers-qcom-spmi-adc-tm5-Don-t-abort-.patch - patches.kernel.org/5.14.8-024-ceph-cancel-delayed-work-instead-of-flushing-o.patch - patches.kernel.org/5.14.8-025-pwm-lpc32xx-Don-t-modify-HW-state-in-.probe-af.patch - patches.kernel.org/5.14.8-026-pwm-mxs-Don-t-modify-HW-state-in-.probe-after-.patch - patches.kernel.org/5.14.8-027-dmanegine-idxd-cleanup-all-device-related-bits.patch - patches.kernel.org/5.14.8-028-dmaengine-idxd-have-command-status-always-set.patch - patches.kernel.org/5.14.8-029-dmaengine-idxd-fix-wq-slot-allocation-index-ch.patch - patches.kernel.org/5.14.8-030-dmaengine-idxd-fix-abort-status-check.patch - patches.kernel.org/5.14.8-031-dmaengine-idxd-clear-block-on-fault-flag-when-.patch - patches.kernel.org/5.14.8-032-platform-chrome-sensorhub-Add-trace-events-for.patch - patches.kernel.org/5.14.8-033-platform-chrome-cros_ec_trace-Fix-format-warni.patch - patches.kernel.org/5.14.8-034-s390-entry-make-oklabel-within-CHKSTG-macro-lo.patch - patches.kernel.org/5.14.8-035-SUNRPC-don-t-pause-on-incomplete-allocation.patch - patches.kernel.org/5.14.8-036-math-RATIONAL_KUNIT_TEST-should-depend-on-RATI.patch - patches.kernel.org/5.14.8-037-init-move-usermodehelper_enable-to-populate_ro.patch - patches.kernel.org/5.14.8-038-Kconfig.debug-drop-selecting-non-existing-HARD.patch - patches.kernel.org/5.14.8-039-tools-bootconfig-Fix-tracing_on-option-checkin.patch - patches.kernel.org/5.14.8-040-tracing-boot-Fix-to-loop-on-only-subkeys.patch - patches.kernel.org/5.14.8-041-thermal-core-Fix-thermal_cooling_device_regist.patch - patches.kernel.org/5.14.8-042-drm-amdgpu-Disable-PCIE_DPM-on-Intel-RKL-Platf.patch - patches.kernel.org/5.14.8-043-drivers-base-cacheinfo-Get-rid-of-DEFINE_SMP_C.patch - patches.kernel.org/5.14.8-044-dma-buf-DMABUF_MOVE_NOTIFY-should-depend-on-DM.patch - patches.kernel.org/5.14.8-045-dma-buf-DMABUF_DEBUG-should-depend-on-DMA_SHAR.patch - patches.kernel.org/5.14.8-046-parisc-Move-pci_dev_is_behind_card_dino-to-whe.patch - patches.kernel.org/5.14.8-047-iommu-amd-Relocate-GAMSup-check-to-early_enabl.patch - patches.kernel.org/5.14.8-048-iommu-vt-d-Fix-PASID-leak-in-intel_svm_unbind_.patch - patches.kernel.org/5.14.8-049-iommu-vt-d-Fix-a-deadlock-in-intel_svm_drain_p.patch - patches.kernel.org/5.14.8-050-arm64-mm-limit-linear-region-to-51-bits-for-KV.patch - patches.kernel.org/5.14.8-051-drm-ttm-Fix-a-deadlock-if-the-target-BO-is-not.patch - patches.kernel.org/5.14.8-052-of-property-Disable-fw_devlink-DT-support-for-.patch - patches.kernel.org/5.14.8-053-riscv-dts-microchip-mpfs-icicle-Fix-serial-con.patch - patches.kernel.org/5.14.8-054-dmaengine-idxd-depends-on-UML.patch - patches.kernel.org/5.14.8-055-dmaengine-sprd-Add-missing-MODULE_DEVICE_TABLE.patch - patches.kernel.org/5.14.8-056-cxl-Move-cxl_core-to-new-directory.patch - patches.kernel.org/5.14.8-057-cxl-pci-Introduce-cdevm_file_operations.patch - patches.kernel.org/5.14.8-058-dmaengine-ioat-depends-on-UML.patch - patches.kernel.org/5.14.8-059-dmaengine-xilinx_dma-Set-DMA-mask-for-coherent.patch - patches.kernel.org/5.14.8-060-s390-add-kmemleak-annotation-in-stack_alloc.patch - patches.kernel.org/5.14.8-061-ASoC-audio-graph-respawn-Platform-Support.patch - patches.kernel.org/5.14.8-062-ACPI-PM-s2idle-Run-both-AMD-and-Microsoft-meth.patch - patches.kernel.org/5.14.8-063-ceph-fix-memory-leak-on-decode-error-in-ceph_h.patch - patches.kernel.org/5.14.8-064-ceph-request-Fw-caps-before-updating-the-mtime.patch - patches.kernel.org/5.14.8-065-ceph-remove-the-capsnaps-when-removing-caps.patch - patches.kernel.org/5.14.8-066-ceph-lockdep-annotations-for-try_nonblocking_i.patch - patches.kernel.org/5.14.8-067-s390-unwind-use-current_frame_address-to-unwin.patch - patches.kernel.org/5.14.8-068-btrfs-update-the-bdev-time-directly-when-closi.patch - patches.kernel.org/5.14.8-069-btrfs-delay-blkdev_put-until-after-the-device-.patch - patches.kernel.org/5.14.8-070-btrfs-fix-lockdep-warning-while-mounting-sprou.patch - patches.kernel.org/5.14.8-071-nilfs2-fix-memory-leak-in-nilfs_sysfs_create_d.patch - patches.kernel.org/5.14.8-072-nilfs2-fix-NULL-pointer-in-nilfs_-name-_attr_r.patch - patches.kernel.org/5.14.8-073-nilfs2-fix-memory-leak-in-nilfs_sysfs_create_-.patch - patches.kernel.org/5.14.8-074-nilfs2-fix-memory-leak-in-nilfs_sysfs_delete_-.patch - patches.kernel.org/5.14.8-075-nilfs2-fix-memory-leak-in-nilfs_sysfs_create_s.patch - patches.kernel.org/5.14.8-076-nilfs2-fix-memory-leak-in-nilfs_sysfs_delete_s.patch - patches.kernel.org/5.14.8-077-thermal-drivers-rcar_gen3_thermal-Store-TSC-id.patch - patches.kernel.org/5.14.8-078-habanalabs-fix-nullifying-of-destroyed-mmu-pgt.patch - patches.kernel.org/5.14.8-079-drm-amdgpu-Fixes-to-returning-VBIOS-RAS-EEPROM.patch - patches.kernel.org/5.14.8-080-drm-amd-display-Fix-memory-leak-reported-by-co.patch - patches.kernel.org/5.14.8-081-drm-amdgpu-fix-fdinfo-race-with-process-exit.patch - patches.kernel.org/5.14.8-082-habanalabs-add-validity-check-for-event-ID-rec.patch - patches.kernel.org/5.14.8-083-habanalabs-fix-mmu-node-address-resolution-in-.patch - patches.kernel.org/5.14.8-084-habanalabs-add-in-device-creation-status.patch - patches.kernel.org/5.14.8-085-habanalabs-cannot-sleep-while-holding-spinlock.patch - patches.kernel.org/5.14.8-086-pwm-img-Don-t-modify-HW-state-in-.remove-callb.patch - patches.kernel.org/5.14.8-087-pwm-rockchip-Don-t-modify-HW-state-in-.remove-.patch - patches.kernel.org/5.14.8-088-pwm-stm32-lp-Don-t-modify-HW-state-in-.remove-.patch - patches.kernel.org/5.14.8-089-nvmet-fixup-buffer-overrun-in-nvmet_subsys_att.patch - patches.kernel.org/5.14.8-090-block-genhd-don-t-call-blkdev_show-with-major_.patch - patches.kernel.org/5.14.8-091-blk-throttle-fix-UAF-by-deleteing-timer-in-blk.patch - patches.kernel.org/5.14.8-092-blk-mq-allow-4x-BLK_MAX_REQUEST_COUNT-at-blk_p.patch - patches.kernel.org/5.14.8-093-rtc-rx8010-select-REGMAP_I2C.patch - patches.kernel.org/5.14.8-094-sched-idle-Make-the-idle-timer-expire-in-hard-.patch - patches.kernel.org/5.14.8-095-cifs-properly-invalidate-cached-root-handle-wh.patch - patches.kernel.org/5.14.8-096-io_uring-fix-off-by-one-in-BUILD_BUG_ON-check-.patch - patches.kernel.org/5.14.8-097-selinux-smack-fix-subjective-objective-credent.patch - patches.kernel.org/5.14.8-098-drm-nouveau-nvkm-Replace-ENOSYS-with-ENODEV.patch - patches.kernel.org/5.14.8-099-Linux-5.14.8.patch ######################################################## # Build fixes that apply to the vanilla kernel too. @@ -1144,11 +870,13 @@ patches.suse/Bluetooth-btusb-Add-support-for-Foxconn-Mediatek-Chi.patch patches.suse/Bluetooth-switch-to-lock_sock-in-SCO.patch patches.suse/Bluetooth-sco-Fix-lock_sock-blockage-by-memcpy_from_.patch + patches.suse/watchdog-Fix-NULL-pointer-dereference-when-releasing.patch patches.suse/memcg-enable-accounting-of-ipc-resources.patch patches.suse/crypto_ccp-fix_resource_leaks_in_ccp_run_aes_gcm_cmd.patch patches.suse/drm-vc4-hdmi-Fix-HPD-GPIO-detection.patch + patches.suse/ethtool-Fix-rxnfc-copy-to-user-buffer-overflow.patch + patches.suse/tipc-fix-an-use-after-free-issue-in-tipc_recvmsg.patch patches.suse/Revert-usb-xhci-mtk-Do-not-use-xhci-s-virt_dev-in-dr.patch - patches.suse/nvmet-fix-a-width-vs-precision-bug-in-nvmet_subsys_a.patch ######################################################## # kbuild/module infrastructure fixes ++++++ source-timestamp ++++++ --- /var/tmp/diff_new_pack.W4FSxz/_old 2021-10-04 09:38:14.644291197 +0200 +++ /var/tmp/diff_new_pack.W4FSxz/_new 2021-10-04 09:38:14.644291197 +0200 @@ -1,3 +1,3 @@ -2021-09-27 06:35:53 +0000 -GIT Revision: 06dbf6bb31e9333fa8908900183e13ca4d39c0fa +2021-09-20 07:02:13 +0000 +GIT Revision: 6131a3ceeeccdae03e3c04acf6ecc32b9ff51c22 GIT Branch: stable