diff --git a/.gitignore b/.gitignore index 1c08f55..f39a5af 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -SOURCES/linux-4.18.0-348.7.1.rt7.137.el8_5.tar.xz +SOURCES/linux-4.18.0-348.12.2.rt7.143.el8_5.tar.xz SOURCES/rheldup3.x509 SOURCES/rhelkpatch1.x509 diff --git a/.kernel-rt.metadata b/.kernel-rt.metadata index a67500e..dead081 100644 --- a/.kernel-rt.metadata +++ b/.kernel-rt.metadata @@ -1,3 +1,3 @@ -69f2c3e361c1ac4605fdfe6722fc0db8b532aff5 SOURCES/linux-4.18.0-348.7.1.rt7.137.el8_5.tar.xz +96103f42c1418326595efde18c1b488125ef6b44 SOURCES/linux-4.18.0-348.12.2.rt7.143.el8_5.tar.xz 95b9b811c7b0a6c98b2eafc4e7d6d24f2cb63289 SOURCES/rheldup3.x509 d90885108d225a234a5a9d054fc80893a5bd54d0 SOURCES/rhelkpatch1.x509 diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 52ae8fd..1925c95 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -42,10 +42,10 @@ # define buildid .local %define rpmversion 4.18.0 -%define pkgrelease 348.7.1.rt7.137.el8_5 +%define pkgrelease 348.12.2.rt7.143.el8_5 # allow pkg_release to have configurable %%{?dist} tag -%define specrelease 348.7.1.rt7.137%{?dist} +%define specrelease 348.12.2.rt7.143%{?dist} %define pkg_release %{specrelease}%{?buildid} @@ -152,7 +152,7 @@ # The preempt RT patch level %global rttag .rt7 # realtimeN -%global rtbuild .137 +%global rtbuild .143 %define with_doc 0 %define with_headers 0 %define with_cross_headers 0 @@ -359,6 +359,9 @@ BuildRequires: kmod, patch, bash, coreutils, tar, git, which BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, python3-devel BuildRequires: net-tools, hostname, bc, bison, flex, elfutils-devel, dwarves +%ifnarch %nobuildarches noarch +BuildRequires: bpftool +%endif %if %{with_doc} BuildRequires: xmlto, asciidoc, python3-sphinx %endif @@ -1735,6 +1738,9 @@ BuildKernel() { # the F17 UsrMove feature. ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + # Generate vmlinux.h and put it to kernel-devel path + bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h + # prune junk from kernel-devel find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -exec rm -f {} \; @@ -1860,8 +1866,12 @@ pushd tools/vm/ popd %endif +if [ -f $DevelDir/vmlinux.h ]; then + RPM_VMLINUX_H=$DevelDir/vmlinux.h +fi + %global bpftool_make \ - make EXTRA_CFLAGS="${RPM_OPT_FLAGS}" EXTRA_LDFLAGS="%{__global_ldflags}" DESTDIR=$RPM_BUILD_ROOT V=1 + make EXTRA_CFLAGS="${RPM_OPT_FLAGS}" EXTRA_LDFLAGS="%{__global_ldflags}" DESTDIR=$RPM_BUILD_ROOT VMLINUX_H="${RPM_VMLINUX_H}" V=1 %if %{with_bpftool} pushd tools/bpf/bpftool %{bpftool_make} @@ -1881,7 +1891,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 livepatch net net/forwarding net/mptcp netfilter tc-testing" FORCE_TARGETS=1 INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests install +%{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf livepatch net net/forwarding net/mptcp netfilter tc-testing" FORCE_TARGETS=1 INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" install # 'make install' for bpf is broken and upstream refuses to fix it. # Install the needed files manually. @@ -2119,6 +2129,10 @@ install -m755 page_owner_sort %{buildroot}%{_bindir}/page_owner_sort popd %endif +if [ -f $DevelDir/vmlinux.h ]; then + RPM_VMLINUX_H=$DevelDir/vmlinux.h +fi + %if !%{with_realtime} %if %{with_bpftool} pushd tools/bpf/bpftool @@ -2632,6 +2646,50 @@ fi # # %changelog +* Mon Jan 17 2022 Frantisek Hrbata [4.18.0-348.12.2.rt7.143.el8_5] +- [rt] build kernel-rt-4.18.0-348.12.2.rt7.143.el8_5 [2032059] +- vfs: Out-of-bounds write of heap buffer in fs_context.c (Frantisek Hrbata) [2040580 2040581] {CVE-2022-0185} +- xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate (Bruno Meneguele) [2034869 2034870] {CVE-2021-4155} + +* Wed Jan 12 2022 Bruno Meneguele [4.18.0-348.12.1.rt7.142.el8_5] +- [rt] build kernel-rt-4.18.0-348.12.1.rt7.142.el8_5 [2032059] +- tcp: don't free a FIN sk_buff in tcp_remove_empty_skb() (Guillaume Nault) [2021574 2016210] +- kernel.spec: Add support to use vmlinux.h (Jiri Olsa) [2031053 1989087] +- spec: Add vmlinux.h to kernel-devel package (Jiri Olsa) [2031053 1989087] +- x86/mce: Avoid infinite loop for copy from user recovery (Prarit Bhargava) [2008789 1999550] +- x86/mce: Rename kill_it to kill_current_task (Prarit Bhargava) [2008789 1999550] +- x86/mce: Recover from poison found while copying from user space (Prarit Bhargava) [2008789 1999550] +- x86/mce: Delay clearing IA32_MCG_STATUS to the end of do_machine_check() (Prarit Bhargava) [2008789 1999550] +- x86/mce: Send #MC singal from task work (Prarit Bhargava) [2008789 1999550] + +* Tue Jan 04 2022 Bruno Meneguele [4.18.0-348.11.1.rt7.141.el8_5] +- [rt] build kernel-rt-4.18.0-348.11.1.rt7.141.el8_5 [2032059] +- blk-mq: avoid to iterate over stale request (Ming Lei) [2034396 1997338] +- rcu: Tighten rcu_advance_cbs_nowake() checks (Daniel Vacek) [2032579 2013408] + +* Wed Dec 29 2021 Bruno Meneguele [4.18.0-348.10.1.rt7.140.el8_5] +- [rt] build kernel-rt-4.18.0-348.10.1.rt7.140.el8_5 [2032059] +- selftests: add a test case for mirred egress to ingress (Xin Long) [2024411 1983894] +- net: sched: act_mirred: drop dst for the direction from egress to ingress (Xin Long) [2024411 1983894] + +* Mon Dec 20 2021 Bruno Meneguele [4.18.0-348.9.1.rt7.139.el8_5] +- [rt] build kernel-rt-4.18.0-348.9.1.rt7.139.el8_5 [2032059] +- ixgbe: Revert "bpf, devmap: Move drop error path to devmap for XDP_REDIRECT" (Ken Cox) [2029845 2024240] +- i40e: Revert "bpf, devmap: Move drop error path to devmap for XDP_REDIRECT" (Stefan Assmann) [2029845 2024225] +- rcu/nocb: Perform deferred wake up before last idle's need_resched() check (Waiman Long) [2029449 2008340] +- locking/rwsem-rt: Remove might_sleep() in __up_read() (Andrew Halaney) [2029422 1903578] + +* Tue Dec 14 2021 Bruno Meneguele [4.18.0-348.8.1.rt7.138.el8_5] +- [rt] build kernel-rt-4.18.0-348.8.1.rt7.138.el8_5 [1939539] +- ice: Fix VF true promiscuous mode (Jonathan Toppins) [2026698 1970643] +- ice: Remove toggling of antispoof for VF trusted promiscuous mode (Jonathan Toppins) [2026698 1970643] +- ice: Fix replacing VF hardware MAC to existing MAC filter (Jonathan Toppins) [2026698 1970643] +- ice: Fix not stopping Tx queues for VFs (Jonathan Toppins) [2026698 1970643] +- ice: Fix race conditions between virtchnl handling and VF ndo ops (Jonathan Toppins) [2026698 1970643] +- net/netif_receive_skb_core: Use migrate_disable() (Luis Claudio R. Goncalves) [2027689 2024168] +- crypto: jitter - consider 32 LSB for APT (Herbert Xu) [2029365 1994390] +- xfs: fix I_DONTCACHE (Carlos Maiolino) [2028534 2024969] + * Wed Dec 08 2021 Bruno Meneguele [4.18.0-348.7.1.rt7.137.el8_5] - [rt] build kernel-rt-4.18.0-348.7.1.rt7.137.el8_5 [1939539] - sched/core: Re-add dropped __migrate_disabled() check (Fernando Pacheco)