From b1b9000bb45a8b69a0db65971b75463a5ddf029f Mon Sep 17 00:00:00 2001 From: Jan Stancek Date: Thu, 30 Mar 2023 17:20:12 +0200 Subject: [PATCH] kernel-5.14.0-294.el9 * Thu Mar 30 2023 Jan Stancek [5.14.0-294.el9] - dm: remove unnecessary (void*) conversion in event_callback() (Benjamin Marzinski) [2179168] - dm ioctl: remove unnecessary check when using dm_get_mdptr() (Benjamin Marzinski) [2179168] - dm ioctl: assert _hash_lock is held in __hash_remove (Benjamin Marzinski) [2179168] - dm cache: add cond_resched() to various workqueue loops (Benjamin Marzinski) [2153270] - dm thin: add cond_resched() to various workqueue loops (Benjamin Marzinski) [2153270] - dm: add cond_resched() to dm_wq_requeue_work() (Benjamin Marzinski) [2153270] - dm: add cond_resched() to dm_wq_work() (Benjamin Marzinski) [2153270] - dm sysfs: make kobj_type structure constant (Benjamin Marzinski) [2179168] - dm: update targets using system workqueues to use a local workqueue (Benjamin Marzinski) [2179168] - dm: remove flush_scheduled_work() during local_exit() (Benjamin Marzinski) [2179168] - dm clone: prefer kvmalloc_array() (Benjamin Marzinski) [2179168] - dm: declare variables static when sensible (Benjamin Marzinski) [2179168] - dm: fix suspect indent whitespace (Benjamin Marzinski) [2179168] - dm ioctl: prefer strscpy() instead of strlcpy() (Benjamin Marzinski) [2179168] - dm: avoid void function return statements (Benjamin Marzinski) [2179168] - dm integrity: change macros min/max() -> min_t/max_t where appropriate (Benjamin Marzinski) [2179168] - dm: fix use of sizeof() macro (Benjamin Marzinski) [2179168] - dm: avoid 'do {} while(0)' loop in single statement macros (Benjamin Marzinski) [2179168] - dm log: avoid multiple line dereference (Benjamin Marzinski) [2179168] - dm log: avoid trailing semicolon in macro (Benjamin Marzinski) [2179168] - dm ioctl: have constant on the right side of the test (Benjamin Marzinski) [2179168] - dm: don't indent labels (Benjamin Marzinski) [2179168] - dm: avoid inline filenames (Benjamin Marzinski) [2179168] - dm: add missing blank line after declarations/fix those (Benjamin Marzinski) [2179168] - dm: avoid useless 'else' after 'break' or return' (Benjamin Marzinski) [2179168] - dm: favour __packed versus "__attribute__ ((packed))" (Benjamin Marzinski) [2179168] - dm: favour __aligned(N) versus "__attribute__ (aligned(N))" (Benjamin Marzinski) [2179168] - dm: avoid using symbolic permissions (Benjamin Marzinski) [2179168] - dm: prefer '"%%s...", __func__' (Benjamin Marzinski) [2179168] - dm: adjust EXPORT_SYMBOL() to follow functions immediately (Benjamin Marzinski) [2179168] - dm: avoid split of quoted strings where possible (Benjamin Marzinski) [2179168] - dm: remove unnecessary braces from single statement blocks (Benjamin Marzinski) [2179168] - dm: add missing empty lines (Benjamin Marzinski) [2179168] - dm: add argument identifier names (Benjamin Marzinski) [2179168] - dm: avoid spaces before function arguments or in favour of tabs (Benjamin Marzinski) [2179168] - dm block-manager: avoid not required parentheses (Benjamin Marzinski) [2179168] - dm crypt: correct 'foo*' to 'foo *' (Benjamin Marzinski) [2179168] - dm: fix trailing statements (Benjamin Marzinski) [2179168] - dm: fix undue/missing spaces (Benjamin Marzinski) [2179168] - dm: correct block comments format. (Benjamin Marzinski) [2179168] - dm: address indent/space issues (Benjamin Marzinski) [2179168] - dm: address space issues relative to switch/while/for/... (Benjamin Marzinski) [2179168] - dm: avoid initializing static variables (Benjamin Marzinski) [2179168] - dm: enclose complex macros into parentheses where possible (Benjamin Marzinski) [2179168] - dm: avoid assignment in if conditions (Benjamin Marzinski) [2179168] - dm: change "unsigned" to "unsigned int" (Benjamin Marzinski) [2179168] - dm: use fsleep() instead of msleep() for deterministic sleep duration (Benjamin Marzinski) [2179168] - dm: prefer kmap_local_page() instead of deprecated kmap_atomic() (Benjamin Marzinski) [2179168] - dm: add missing SPDX-License-Indentifiers (Benjamin Marzinski) [2179168] - dm: send just one event on resize, not two (Benjamin Marzinski) [2179168] - dm table: check that a dm device doesn't reference itself (Benjamin Marzinski) [2179168] - dm raid: fix some spelling mistakes in comments (Benjamin Marzinski) [2179168] - dm verity: stop using WQ_UNBOUND for verify_wq (Benjamin Marzinski) [2179168] - dm integrity: Remove bi_sector that's only used by commented debug code (Benjamin Marzinski) [2179168] - dm crypt: Slightly simplify crypt_set_keyring_key() (Benjamin Marzinski) [2179168] - dm ioctl: drop always-false condition (Benjamin Marzinski) [2179168] - dm flakey: fix logic when corrupting a bio (Benjamin Marzinski) [2179168] - dm flakey: fix a bug with 32-bit highmem systems (Benjamin Marzinski) [2179168] - dm flakey: don't corrupt the zero page (Benjamin Marzinski) [2179168] - dm cache: Add some documentation to dm-cache-background-tracker.h (Benjamin Marzinski) [2179168] - dm init: add dm-mod.waitfor to wait for asynchronously probed block devices (Benjamin Marzinski) [2179168] - dm ioctl: fix a couple ioctl codes (Benjamin Marzinski) [2179168] - dm ioctl: a small code cleanup in list_version_get_info (Benjamin Marzinski) [2179168] - dm integrity: fix data corruption due to improper use of bvec_kmap_local (Benjamin Marzinski) [2179168] - dm verity: use bvec_kmap_local in verity_for_bv_block (Benjamin Marzinski) [2179168] - dm log writes: use memcpy_from_bvec in log_writes_map (Benjamin Marzinski) [2179168] - dm integrity: use bvec_kmap_local in __journal_read_write (Benjamin Marzinski) [2179168] - dm integrity: use bvec_kmap_local in integrity_metadata (Benjamin Marzinski) [2179168] - ethernet: Remove vf rate limit check for drivers (Izabela Bakollari) [2172121] - rtnetlink: verify rate parameters for calls to ndo_set_vf_rate (Izabela Bakollari) [2172121] - netfilter: ctnetlink: revert to dumping mark regardless of event type (Florian Westphal) [2180943] - netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark (Florian Westphal) [2180943] - netfilter: conntrack: Fix data-races around ct mark (Florian Westphal) [2180943] - netlink: add support for formatted extack messages (Ivan Vecera) [2180938] - ethtool: report missing header via ext_ack in the default handler (Ivan Vecera) [2176150] - ethtool: strset: report missing ETHTOOL_A_STRINGSET_ID via ext_ack (Ivan Vecera) [2176150] - devlink: use missing attribute ext_ack (Ivan Vecera) [2176150] - netlink: add helpers for extack attr presence checking (Ivan Vecera) [2176150] - netlink: add support for ext_ack missing attributes (Ivan Vecera) [2176150] - netlink: factor out extack composition (Ivan Vecera) [2176150] - docs: netlink: basic introduction to Netlink (Ivan Vecera) [2176150] - Bluetooth: L2CAP: Fix attempting to access uninitialized memory (David Marlin) [2148406] {CVE-2022-42895} - timers: Provide timer_shutdown[_sync]() (Ivan Vecera) [2175247] - timers: Add shutdown mechanism to the internal functions (Ivan Vecera) [2175247] - timers: Split [try_to_]del_timer[_sync]() to prepare for shutdown mode (Ivan Vecera) [2175247] - timers: Silently ignore timers with a NULL function (Ivan Vecera) [2175247] - timers: Rename del_timer() to timer_delete() (Ivan Vecera) [2175247] - timers: Rename del_timer_sync() to timer_delete_sync() (Ivan Vecera) [2175247] - timers: Use del_timer_sync() even on UP (Ivan Vecera) [2175247] - timers: Update kernel-doc for various functions (Ivan Vecera) [2175247] - timers: Replace BUG_ON()s (Ivan Vecera) [2175247] - timers: Get rid of del_singleshot_timer_sync() (Ivan Vecera) [2175247] - clocksource/drivers/sp804: Do not use timer namespace for timer_shutdown() function (Ivan Vecera) [2175247] - clocksource/drivers/arm_arch_timer: Do not use timer namespace for timer_shutdown() function (Ivan Vecera) [2175247] - timers: Replace in_irq() with in_hardirq() (Ivan Vecera) [2175247] - ceph: blocklist the kclient when receiving corrupted snap trace (Xiubo Li) [2174650] - ceph: move mount state enum to super.h (Xiubo Li) [2174650] - ceph: avoid putting the realm twice when decoding snaps fails (Xiubo Li) [2174650] - kernel-rt: config: enable DEBUG_PREEMPT in the production kernel (Luis Claudio R. Goncalves) [2182932] - NFS: Correct timing for assigning access cache timestamp (Benjamin Coddington) [2180882] - nfsd: don't replace page in rq_pages if it's a continuation of last page (Jeffrey Layton) [2179342] - tun: avoid double free in tun_free_netdev (Jon Maloy) [2156374] {CVE-2022-4744} Resolves: rhbz#2148406, rhbz#2153270, rhbz#2172121, rhbz#2174650, rhbz#2175247, rhbz#2176150, rhbz#2179168, rhbz#2180938, rhbz#2180943, rhbz#2182932 Signed-off-by: Jan Stancek --- Makefile.rhelver | 2 +- kernel-aarch64-rt-rhel.config | 2 +- kernel-x86_64-rt-rhel.config | 2 +- kernel.spec | 112 ++++++++++++++++++++++++++++++++-- sources | 6 +- 5 files changed, 114 insertions(+), 10 deletions(-) diff --git a/Makefile.rhelver b/Makefile.rhelver index 43c4d16..4ac5e70 100644 --- a/Makefile.rhelver +++ b/Makefile.rhelver @@ -12,7 +12,7 @@ RHEL_MINOR = 3 # # Use this spot to avoid future merge conflicts. # Do not trim this comment. -RHEL_RELEASE = 293 +RHEL_RELEASE = 294 # # ZSTREAM diff --git a/kernel-aarch64-rt-rhel.config b/kernel-aarch64-rt-rhel.config index 9d4dfa4..f0cb7c7 100644 --- a/kernel-aarch64-rt-rhel.config +++ b/kernel-aarch64-rt-rhel.config @@ -1201,7 +1201,7 @@ CONFIG_DEBUG_MISC=y # CONFIG_DEBUG_PERF_USE_VMALLOC is not set # CONFIG_DEBUG_PINCTRL is not set # CONFIG_DEBUG_PLIST is not set -# CONFIG_DEBUG_PREEMPT is not set +CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_RODATA_TEST is not set # CONFIG_DEBUG_RSEQ is not set # CONFIG_DEBUG_RT_MUTEXES is not set diff --git a/kernel-x86_64-rt-rhel.config b/kernel-x86_64-rt-rhel.config index eacbd6e..e56a2d3 100644 --- a/kernel-x86_64-rt-rhel.config +++ b/kernel-x86_64-rt-rhel.config @@ -1063,7 +1063,7 @@ CONFIG_DEBUG_MISC=y # CONFIG_DEBUG_PERF_USE_VMALLOC is not set # CONFIG_DEBUG_PINCTRL is not set # CONFIG_DEBUG_PLIST is not set -# CONFIG_DEBUG_PREEMPT is not set +CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_RODATA_TEST is not set # CONFIG_DEBUG_RSEQ is not set # CONFIG_DEBUG_RT_MUTEXES is not set diff --git a/kernel.spec b/kernel.spec index c166b16..4c22f4a 100755 --- a/kernel.spec +++ b/kernel.spec @@ -161,15 +161,15 @@ Summary: The Linux kernel # define buildid .local %define specversion 5.14.0 %define patchversion 5.14 -%define pkgrelease 293 +%define pkgrelease 294 %define kversion 5 -%define tarfile_release 5.14.0-293.el9 +%define tarfile_release 5.14.0-294.el9 # This is needed to do merge window version magic %define patchlevel 14 # This allows pkg_release to have configurable %%{?dist} tag -%define specrelease 293%{?buildid}%{?dist} +%define specrelease 294%{?buildid}%{?dist} # This defines the kabi tarball version -%define kabiversion 5.14.0-293.el9 +%define kabiversion 5.14.0-294.el9 # # End of genspec.sh variables @@ -3585,6 +3585,110 @@ fi # # %changelog +* Thu Mar 30 2023 Jan Stancek [5.14.0-294.el9] +- dm: remove unnecessary (void*) conversion in event_callback() (Benjamin Marzinski) [2179168] +- dm ioctl: remove unnecessary check when using dm_get_mdptr() (Benjamin Marzinski) [2179168] +- dm ioctl: assert _hash_lock is held in __hash_remove (Benjamin Marzinski) [2179168] +- dm cache: add cond_resched() to various workqueue loops (Benjamin Marzinski) [2153270] +- dm thin: add cond_resched() to various workqueue loops (Benjamin Marzinski) [2153270] +- dm: add cond_resched() to dm_wq_requeue_work() (Benjamin Marzinski) [2153270] +- dm: add cond_resched() to dm_wq_work() (Benjamin Marzinski) [2153270] +- dm sysfs: make kobj_type structure constant (Benjamin Marzinski) [2179168] +- dm: update targets using system workqueues to use a local workqueue (Benjamin Marzinski) [2179168] +- dm: remove flush_scheduled_work() during local_exit() (Benjamin Marzinski) [2179168] +- dm clone: prefer kvmalloc_array() (Benjamin Marzinski) [2179168] +- dm: declare variables static when sensible (Benjamin Marzinski) [2179168] +- dm: fix suspect indent whitespace (Benjamin Marzinski) [2179168] +- dm ioctl: prefer strscpy() instead of strlcpy() (Benjamin Marzinski) [2179168] +- dm: avoid void function return statements (Benjamin Marzinski) [2179168] +- dm integrity: change macros min/max() -> min_t/max_t where appropriate (Benjamin Marzinski) [2179168] +- dm: fix use of sizeof() macro (Benjamin Marzinski) [2179168] +- dm: avoid 'do {} while(0)' loop in single statement macros (Benjamin Marzinski) [2179168] +- dm log: avoid multiple line dereference (Benjamin Marzinski) [2179168] +- dm log: avoid trailing semicolon in macro (Benjamin Marzinski) [2179168] +- dm ioctl: have constant on the right side of the test (Benjamin Marzinski) [2179168] +- dm: don't indent labels (Benjamin Marzinski) [2179168] +- dm: avoid inline filenames (Benjamin Marzinski) [2179168] +- dm: add missing blank line after declarations/fix those (Benjamin Marzinski) [2179168] +- dm: avoid useless 'else' after 'break' or return' (Benjamin Marzinski) [2179168] +- dm: favour __packed versus "__attribute__ ((packed))" (Benjamin Marzinski) [2179168] +- dm: favour __aligned(N) versus "__attribute__ (aligned(N))" (Benjamin Marzinski) [2179168] +- dm: avoid using symbolic permissions (Benjamin Marzinski) [2179168] +- dm: prefer '"%%s...", __func__' (Benjamin Marzinski) [2179168] +- dm: adjust EXPORT_SYMBOL() to follow functions immediately (Benjamin Marzinski) [2179168] +- dm: avoid split of quoted strings where possible (Benjamin Marzinski) [2179168] +- dm: remove unnecessary braces from single statement blocks (Benjamin Marzinski) [2179168] +- dm: add missing empty lines (Benjamin Marzinski) [2179168] +- dm: add argument identifier names (Benjamin Marzinski) [2179168] +- dm: avoid spaces before function arguments or in favour of tabs (Benjamin Marzinski) [2179168] +- dm block-manager: avoid not required parentheses (Benjamin Marzinski) [2179168] +- dm crypt: correct 'foo*' to 'foo *' (Benjamin Marzinski) [2179168] +- dm: fix trailing statements (Benjamin Marzinski) [2179168] +- dm: fix undue/missing spaces (Benjamin Marzinski) [2179168] +- dm: correct block comments format. (Benjamin Marzinski) [2179168] +- dm: address indent/space issues (Benjamin Marzinski) [2179168] +- dm: address space issues relative to switch/while/for/... (Benjamin Marzinski) [2179168] +- dm: avoid initializing static variables (Benjamin Marzinski) [2179168] +- dm: enclose complex macros into parentheses where possible (Benjamin Marzinski) [2179168] +- dm: avoid assignment in if conditions (Benjamin Marzinski) [2179168] +- dm: change "unsigned" to "unsigned int" (Benjamin Marzinski) [2179168] +- dm: use fsleep() instead of msleep() for deterministic sleep duration (Benjamin Marzinski) [2179168] +- dm: prefer kmap_local_page() instead of deprecated kmap_atomic() (Benjamin Marzinski) [2179168] +- dm: add missing SPDX-License-Indentifiers (Benjamin Marzinski) [2179168] +- dm: send just one event on resize, not two (Benjamin Marzinski) [2179168] +- dm table: check that a dm device doesn't reference itself (Benjamin Marzinski) [2179168] +- dm raid: fix some spelling mistakes in comments (Benjamin Marzinski) [2179168] +- dm verity: stop using WQ_UNBOUND for verify_wq (Benjamin Marzinski) [2179168] +- dm integrity: Remove bi_sector that's only used by commented debug code (Benjamin Marzinski) [2179168] +- dm crypt: Slightly simplify crypt_set_keyring_key() (Benjamin Marzinski) [2179168] +- dm ioctl: drop always-false condition (Benjamin Marzinski) [2179168] +- dm flakey: fix logic when corrupting a bio (Benjamin Marzinski) [2179168] +- dm flakey: fix a bug with 32-bit highmem systems (Benjamin Marzinski) [2179168] +- dm flakey: don't corrupt the zero page (Benjamin Marzinski) [2179168] +- dm cache: Add some documentation to dm-cache-background-tracker.h (Benjamin Marzinski) [2179168] +- dm init: add dm-mod.waitfor to wait for asynchronously probed block devices (Benjamin Marzinski) [2179168] +- dm ioctl: fix a couple ioctl codes (Benjamin Marzinski) [2179168] +- dm ioctl: a small code cleanup in list_version_get_info (Benjamin Marzinski) [2179168] +- dm integrity: fix data corruption due to improper use of bvec_kmap_local (Benjamin Marzinski) [2179168] +- dm verity: use bvec_kmap_local in verity_for_bv_block (Benjamin Marzinski) [2179168] +- dm log writes: use memcpy_from_bvec in log_writes_map (Benjamin Marzinski) [2179168] +- dm integrity: use bvec_kmap_local in __journal_read_write (Benjamin Marzinski) [2179168] +- dm integrity: use bvec_kmap_local in integrity_metadata (Benjamin Marzinski) [2179168] +- ethernet: Remove vf rate limit check for drivers (Izabela Bakollari) [2172121] +- rtnetlink: verify rate parameters for calls to ndo_set_vf_rate (Izabela Bakollari) [2172121] +- netfilter: ctnetlink: revert to dumping mark regardless of event type (Florian Westphal) [2180943] +- netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark (Florian Westphal) [2180943] +- netfilter: conntrack: Fix data-races around ct mark (Florian Westphal) [2180943] +- netlink: add support for formatted extack messages (Ivan Vecera) [2180938] +- ethtool: report missing header via ext_ack in the default handler (Ivan Vecera) [2176150] +- ethtool: strset: report missing ETHTOOL_A_STRINGSET_ID via ext_ack (Ivan Vecera) [2176150] +- devlink: use missing attribute ext_ack (Ivan Vecera) [2176150] +- netlink: add helpers for extack attr presence checking (Ivan Vecera) [2176150] +- netlink: add support for ext_ack missing attributes (Ivan Vecera) [2176150] +- netlink: factor out extack composition (Ivan Vecera) [2176150] +- docs: netlink: basic introduction to Netlink (Ivan Vecera) [2176150] +- Bluetooth: L2CAP: Fix attempting to access uninitialized memory (David Marlin) [2148406] {CVE-2022-42895} +- timers: Provide timer_shutdown[_sync]() (Ivan Vecera) [2175247] +- timers: Add shutdown mechanism to the internal functions (Ivan Vecera) [2175247] +- timers: Split [try_to_]del_timer[_sync]() to prepare for shutdown mode (Ivan Vecera) [2175247] +- timers: Silently ignore timers with a NULL function (Ivan Vecera) [2175247] +- timers: Rename del_timer() to timer_delete() (Ivan Vecera) [2175247] +- timers: Rename del_timer_sync() to timer_delete_sync() (Ivan Vecera) [2175247] +- timers: Use del_timer_sync() even on UP (Ivan Vecera) [2175247] +- timers: Update kernel-doc for various functions (Ivan Vecera) [2175247] +- timers: Replace BUG_ON()s (Ivan Vecera) [2175247] +- timers: Get rid of del_singleshot_timer_sync() (Ivan Vecera) [2175247] +- clocksource/drivers/sp804: Do not use timer namespace for timer_shutdown() function (Ivan Vecera) [2175247] +- clocksource/drivers/arm_arch_timer: Do not use timer namespace for timer_shutdown() function (Ivan Vecera) [2175247] +- timers: Replace in_irq() with in_hardirq() (Ivan Vecera) [2175247] +- ceph: blocklist the kclient when receiving corrupted snap trace (Xiubo Li) [2174650] +- ceph: move mount state enum to super.h (Xiubo Li) [2174650] +- ceph: avoid putting the realm twice when decoding snaps fails (Xiubo Li) [2174650] +- kernel-rt: config: enable DEBUG_PREEMPT in the production kernel (Luis Claudio R. Goncalves) [2182932] +- NFS: Correct timing for assigning access cache timestamp (Benjamin Coddington) [2180882] +- nfsd: don't replace page in rq_pages if it's a continuation of last page (Jeffrey Layton) [2179342] +- tun: avoid double free in tun_free_netdev (Jon Maloy) [2156374] {CVE-2022-4744} + * Wed Mar 29 2023 Jan Stancek [5.14.0-293.el9] - redhat: fix trivial syntax error in 64k-debug modules signing (Herton R. Krzesinski) - redhat/configs: Revert "enable DAMON configs" (Vladis Dronov) diff --git a/sources b/sources index 830e646..ff82346 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (linux-5.14.0-293.el9.tar.xz) = 95980def8035ca2d83b2bb7e12d026a368d8fe012627b858b881fe28c37daa815822f2a9e8f59325ff26d94f95626aa9a7b61675f7ff999886b26cfddf574a32 -SHA512 (kernel-abi-stablelists-5.14.0-293.el9.tar.bz2) = 30b44988afaf3e321587897d3fa726451c38c34512eeed0b5a39e8feffea492fbd1a5d1b51cdc0d450d3b69224e256e73e909fc8b1733980b1f3e2151a83a6a8 -SHA512 (kernel-kabi-dw-5.14.0-293.el9.tar.bz2) = f035f91380e27629decc511b461adb2d815c8fccea28df35bb0e7f0e2a11ac240ab5ca2a87dca379a46fea8299effac5c05f95d14ff51d3b3925731e92bc065d +SHA512 (linux-5.14.0-294.el9.tar.xz) = 60f7df23772b039f3a173789a7fb53b8e8aa9317dbd0a653e34c6f0a00c13e5dbb9d4a959aa154e6e17531c1e91b399fa4138d608357b70c0f469328280fa59d +SHA512 (kernel-abi-stablelists-5.14.0-294.el9.tar.bz2) = a8a79b9513ef8ab744d99f64213c92ff835cc48f84efd3a287f609966268d1f999aa61f6494a0f579e491ec44b9e213bc95caa8425ba62524afc8d00464fc838 +SHA512 (kernel-kabi-dw-5.14.0-294.el9.tar.bz2) = c3cc16835c76de75ff1d7727cd2b1610c457001424a88cb61d3efa721358eff986aeda74c85ea3f17e115aa318ba585e37c25a449ef0b994cbde7ef6a7aa9d35