From 8db530e5f338f92f2b59792950e986836a5b70d9 Mon Sep 17 00:00:00 2001 From: Lucas Zampieri Date: Thu, 22 Aug 2024 13:10:22 +0000 Subject: [PATCH] kernel-5.14.0-503.el9 * Thu Aug 22 2024 Lucas Zampieri [5.14.0-503.el9] - Revert "Merge: scsi: fnic: driver update" (John Meneghini) [RHEL-36420] - dev/parport: fix the array out-of-bounds risk (CKI Backport Bot) [RHEL-54990] {CVE-2024-42301} - leds: trigger: Unregister sysfs attributes before calling deactivate() (CKI Backport Bot) [RHEL-54835] {CVE-2024-43830} - null_blk: fix validation of block size (Ming Lei) [RHEL-51322] {CVE-2024-41077} - s390/fpu: Re-add exception handling in load_fpu_state() (Aristeu Rozanski) [RHEL-39346] - redhat: spec: add cachestat to kselftest package (Eric Chanudet) [RHEL-50302] - selftests: cachestat: Fix build warnings on ppc64 (Eric Chanudet) [RHEL-50302] - selftests/cachestat: Fix print_cachestat format (Eric Chanudet) [RHEL-50302] - selftests: cachestat: use proper syscall number macro (Eric Chanudet) [RHEL-50302] - selftests: cachestat: properly link in librt (Eric Chanudet) [RHEL-50302] - selftests: cachestat: catch failing fsync test on tmpfs (Eric Chanudet) [RHEL-50302] - selftests: cachestat: test for cachestat availability (Eric Chanudet) [RHEL-50302] - selftests: add selftests for cachestat (Eric Chanudet) [RHEL-50302] Resolves: RHEL-36420, RHEL-39346, RHEL-50302, RHEL-51322, RHEL-54835, RHEL-54990 Signed-off-by: Lucas Zampieri --- Makefile.rhelver | 2 +- kernel.changelog | 16 ++++++++++++++++ kernel.spec | 31 ++++++++++++++++++++++++++----- sources | 6 +++--- 4 files changed, 46 insertions(+), 9 deletions(-) diff --git a/Makefile.rhelver b/Makefile.rhelver index 0b8cb0275..f30d4c68d 100644 --- a/Makefile.rhelver +++ b/Makefile.rhelver @@ -12,7 +12,7 @@ RHEL_MINOR = 5 # # Use this spot to avoid future merge conflicts. # Do not trim this comment. -RHEL_RELEASE = 502 +RHEL_RELEASE = 503 # # ZSTREAM diff --git a/kernel.changelog b/kernel.changelog index 050b354d2..a25f200b3 100644 --- a/kernel.changelog +++ b/kernel.changelog @@ -1,3 +1,19 @@ +* Thu Aug 22 2024 Lucas Zampieri [5.14.0-503.el9] +- Revert "Merge: scsi: fnic: driver update" (John Meneghini) [RHEL-36420] +- dev/parport: fix the array out-of-bounds risk (CKI Backport Bot) [RHEL-54990] {CVE-2024-42301} +- leds: trigger: Unregister sysfs attributes before calling deactivate() (CKI Backport Bot) [RHEL-54835] {CVE-2024-43830} +- null_blk: fix validation of block size (Ming Lei) [RHEL-51322] {CVE-2024-41077} +- s390/fpu: Re-add exception handling in load_fpu_state() (Aristeu Rozanski) [RHEL-39346] +- redhat: spec: add cachestat to kselftest package (Eric Chanudet) [RHEL-50302] +- selftests: cachestat: Fix build warnings on ppc64 (Eric Chanudet) [RHEL-50302] +- selftests/cachestat: Fix print_cachestat format (Eric Chanudet) [RHEL-50302] +- selftests: cachestat: use proper syscall number macro (Eric Chanudet) [RHEL-50302] +- selftests: cachestat: properly link in librt (Eric Chanudet) [RHEL-50302] +- selftests: cachestat: catch failing fsync test on tmpfs (Eric Chanudet) [RHEL-50302] +- selftests: cachestat: test for cachestat availability (Eric Chanudet) [RHEL-50302] +- selftests: add selftests for cachestat (Eric Chanudet) [RHEL-50302] +Resolves: RHEL-36420, RHEL-39346, RHEL-50302, RHEL-51322, RHEL-54835, RHEL-54990 + * Wed Aug 21 2024 Lucas Zampieri [5.14.0-502.el9] - net: stmmac: enable HW-accelerated VLAN stripping for gmac4 only (Andrew Halaney) [RHEL-6297] - net: stmmac: dwmac-qcom-ethqos: fix error array size (Andrew Halaney) [RHEL-6297] diff --git a/kernel.spec b/kernel.spec index aa231c6bb..4d42a95ab 100755 --- a/kernel.spec +++ b/kernel.spec @@ -165,15 +165,15 @@ Summary: The Linux kernel # define buildid .local %define specversion 5.14.0 %define patchversion 5.14 -%define pkgrelease 502 +%define pkgrelease 503 %define kversion 5 -%define tarfile_release 5.14.0-502.el9 +%define tarfile_release 5.14.0-503.el9 # This is needed to do merge window version magic %define patchlevel 14 # This allows pkg_release to have configurable %%{?dist} tag -%define specrelease 502%{?buildid}%{?dist} +%define specrelease 503%{?buildid}%{?dist} # This defines the kabi tarball version -%define kabiversion 5.14.0-502.el9 +%define kabiversion 5.14.0-503.el9 # # End of genspec.sh variables @@ -2783,7 +2783,7 @@ export BPFTOOL=$(pwd)/tools/bpf/bpftool/bpftool pushd tools/testing/selftests # We need to install here because we need to call make with ARCH set which # doesn't seem possible to do in the install section. -%{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf cgroup mm livepatch net net/forwarding net/mptcp netfilter tc-testing memfd drivers/net/bonding iommu" SKIP_TARGETS="" FORCE_TARGETS=1 INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" DEFAULT_INSTALL_HDR_PATH=0 install +%{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf cgroup mm livepatch net net/forwarding net/mptcp netfilter tc-testing memfd drivers/net/bonding iommu cachestat" SKIP_TARGETS="" FORCE_TARGETS=1 INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" DEFAULT_INSTALL_HDR_PATH=0 install # 'make install' for bpf is broken and upstream refuses to fix it. # Install the needed files manually. @@ -3177,6 +3177,12 @@ find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/iommu/{} \; find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/iommu/{} \; find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/iommu/{} \; popd +# install cachestat selftests +pushd tools/testing/selftests/cachestat +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/cachestat/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/cachestat/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/cachestat/{} \; +popd %endif ### @@ -3786,6 +3792,21 @@ fi # # %changelog +* Thu Aug 22 2024 Lucas Zampieri [5.14.0-503.el9] +- Revert "Merge: scsi: fnic: driver update" (John Meneghini) [RHEL-36420] +- dev/parport: fix the array out-of-bounds risk (CKI Backport Bot) [RHEL-54990] {CVE-2024-42301} +- leds: trigger: Unregister sysfs attributes before calling deactivate() (CKI Backport Bot) [RHEL-54835] {CVE-2024-43830} +- null_blk: fix validation of block size (Ming Lei) [RHEL-51322] {CVE-2024-41077} +- s390/fpu: Re-add exception handling in load_fpu_state() (Aristeu Rozanski) [RHEL-39346] +- redhat: spec: add cachestat to kselftest package (Eric Chanudet) [RHEL-50302] +- selftests: cachestat: Fix build warnings on ppc64 (Eric Chanudet) [RHEL-50302] +- selftests/cachestat: Fix print_cachestat format (Eric Chanudet) [RHEL-50302] +- selftests: cachestat: use proper syscall number macro (Eric Chanudet) [RHEL-50302] +- selftests: cachestat: properly link in librt (Eric Chanudet) [RHEL-50302] +- selftests: cachestat: catch failing fsync test on tmpfs (Eric Chanudet) [RHEL-50302] +- selftests: cachestat: test for cachestat availability (Eric Chanudet) [RHEL-50302] +- selftests: add selftests for cachestat (Eric Chanudet) [RHEL-50302] + * Wed Aug 21 2024 Lucas Zampieri [5.14.0-502.el9] - net: stmmac: enable HW-accelerated VLAN stripping for gmac4 only (Andrew Halaney) [RHEL-6297] - net: stmmac: dwmac-qcom-ethqos: fix error array size (Andrew Halaney) [RHEL-6297] diff --git a/sources b/sources index efdbee372..0e6f386b0 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (linux-5.14.0-502.el9.tar.xz) = dc260ca5b72b4e16b2bd05512fddcf4236d0ac8f59f28dafedb988ebea4fc24d1f9982667ae376fca7b7ec43d71c4dbea65f8cbe443383ec62031328ed0b2b62 -SHA512 (kernel-abi-stablelists-5.14.0-502.el9.tar.bz2) = 8968da9bd54200491ac5d7704e279c88e4caf45c04172f353568e85b2a04949cbe07f04d6b6111092cb561306c129aa26aa2a1a0c962f5f2ea6b0dcd004d19ba -SHA512 (kernel-kabi-dw-5.14.0-502.el9.tar.bz2) = 607100850c657779dbe704330d5c2cfb848655f826a4b3072ebe935687752ef13aef50c3eb73e497d66c75a997455eecbaa61b8d8bff9f9534fbad0f26ed752b +SHA512 (linux-5.14.0-503.el9.tar.xz) = bd6bd3a0cdd4d14f2671255dfd002d735f7d1f13c6b070c5cb6746a589a13d4f6a4973fff67154d2e806e1fd4df918b1d36acf513a1962d9ea795de587cf5470 +SHA512 (kernel-abi-stablelists-5.14.0-503.el9.tar.bz2) = be42dca7600c172a4e8b9d11cc36a24f610879ae0b8d55017614f079d84f9f579ac4c7359755393d645eb4e43639cc74d164b94aaab29d549f7bdd102899b134 +SHA512 (kernel-kabi-dw-5.14.0-503.el9.tar.bz2) = 061c7a397603461159b97568e7acea4e0a5671b6b39b4494726e04e6d736a6ab1ddbaa9e99be422bcc53fb90428739a6f9be7d8258ea6a80eaefe71ed81dae22