Skip to content

Commit

Permalink
Merge pull request #1055 from christopherco/chrco/kernel/iommu-hotfix
Browse files Browse the repository at this point in the history
Kernel: update to 5.10.42.1
  • Loading branch information
jslobodzian authored Jun 16, 2021
2 parents 1e19ec5 + 6a8f802 commit c22b497
Show file tree
Hide file tree
Showing 23 changed files with 80 additions and 37 deletions.
8 changes: 7 additions & 1 deletion SPECS-SIGNED/kernel-signed/kernel-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
%define uname_r %{version}-%{release}
Summary: Signed Linux Kernel for %{buildarch} systems
Name: kernel-signed-%{buildarch}
Version: 5.10.37.1
Version: 5.10.42.1
Release: 1%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -146,6 +146,12 @@ ln -sf linux-%{uname_r}.cfg /boot/mariner.cfg
%endif

%changelog
* Tue Jun 08 2021 Rachel Menge <[email protected]> - 5.10.42.1-1
- Update source to 5.10.42.1

* Thu Jun 03 2021 Rachel Menge <[email protected]> - 5.10.37.1-2
- Bump release number to match kernel release

* Fri May 28 2021 Rachel Menge <[email protected]> - 5.10.37.1-1
- Update source to 5.10.37.1

Expand Down
2 changes: 1 addition & 1 deletion SPECS/hyperv-daemons/hyperv-daemons.signatures.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"hypervkvpd.service": "25339871302f7a47e1aecfa9fc2586c78bc37edb98773752f0a5dec30f0ed3a1",
"hypervvss.rules": "94cead44245ef6553ab79c0bbac8419e3ff4b241f01bcec66e6f508098cbedd1",
"hypervvssd.service": "22270d9f0f23af4ea7905f19c1d5d5495e40c1f782cbb87a99f8aec5a011078d",
"kernel-5.10.37.1.tar.gz": "5ed453360f52e70767631d6c253306ab07248d957275b9f1d55b8bd03a88a29e"
"kernel-5.10.42.1.tar.gz": "47bb149f6ad2fc7d0ad8b31e3fcc0d3b1e5b25069d12f4d1e06dfc0b3c4b32ee"
}
}
5 changes: 4 additions & 1 deletion SPECS/hyperv-daemons/hyperv-daemons.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
%global udev_prefix 70
Summary: Hyper-V daemons suite
Name: hyperv-daemons
Version: 5.10.37.1
Version: 5.10.42.1
Release: 1%{?dist}
License: GPLv2+
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -219,6 +219,9 @@ fi
%{_sbindir}/lsvmbus

%changelog
* Tue Jun 08 2021 Rachel Menge <[email protected]> - 5.10.42.1-1
- Update source to 5.10.42.1

* Fri May 28 2021 Rachel Menge <[email protected]> - 5.10.37.1-1
- Update source to 5.10.37.1

Expand Down
2 changes: 1 addition & 1 deletion SPECS/kernel-headers/kernel-headers.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"kernel-5.10.37.1.tar.gz": "5ed453360f52e70767631d6c253306ab07248d957275b9f1d55b8bd03a88a29e"
"kernel-5.10.42.1.tar.gz": "47bb149f6ad2fc7d0ad8b31e3fcc0d3b1e5b25069d12f4d1e06dfc0b3c4b32ee"
}
}
8 changes: 7 additions & 1 deletion SPECS/kernel-headers/kernel-headers.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: Linux API header files
Name: kernel-headers
Version: 5.10.37.1
Version: 5.10.42.1
Release: 1%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -35,6 +35,12 @@ cp -rv usr/include/* /%{buildroot}%{_includedir}
%{_includedir}/*

%changelog
* Tue Jun 08 2021 Rachel Menge <[email protected]> - 5.10.42.1-1
- Update source to 5.10.42.1

* Thu Jun 03 2021 Rachel Menge <[email protected]> - 5.10.37.1-2
- Bump release number to match kernel release

* Fri May 28 2021 Rachel Menge <[email protected]> - 5.10.37.1-1
- Update source to 5.10.37.1

Expand Down
2 changes: 1 addition & 1 deletion SPECS/kernel-hyperv/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 5.10.37.1 Kernel Configuration
# Linux/x86_64 5.10.42.1 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 9.1.0"
CONFIG_CC_IS_GCC=y
Expand Down
4 changes: 2 additions & 2 deletions SPECS/kernel-hyperv/kernel-hyperv.signatures.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Signatures": {
"cbl-mariner-ca-20210127.pem": "82363cb44e786353936abc2e2d62d9325cacf2d9e9a8ebaf4221ea30a9e0cd7b",
"config": "b1072e7d4bf000fad2f78e9e56e7ddc8207425b9acb9a779bb98174399dd2218",
"kernel-5.10.37.1.tar.gz": "5ed453360f52e70767631d6c253306ab07248d957275b9f1d55b8bd03a88a29e",
"config": "27eedb7687fd0d9415b759c4440ef33f54452fcecce06695adbaf4b614fe7ea3",
"kernel-5.10.42.1.tar.gz": "47bb149f6ad2fc7d0ad8b31e3fcc0d3b1e5b25069d12f4d1e06dfc0b3c4b32ee",
"sha512hmac-openssl.sh": "02ab91329c4be09ee66d759e4d23ac875037c3b56e5a598e32fd1206da06a27f"
}
}
8 changes: 7 additions & 1 deletion SPECS/kernel-hyperv/kernel-hyperv.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%define uname_r %{version}-%{release}
Summary: Linux Kernel optimized for Hyper-V
Name: kernel-hyperv
Version: 5.10.37.1
Version: 5.10.42.1
Release: 1%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -267,6 +267,12 @@ ln -sf linux-%{uname_r}.cfg /boot/mariner.cfg
%{_libdir}/perf/include/bpf/*

%changelog
* Tue Jun 08 2021 Rachel Menge <[email protected]> - 5.10.42.1-1
- Update source to 5.10.42.1

* Thu Jun 03 2021 Rachel Menge <[email protected]> - 5.10.37.1-2
- Bump release number to match kernel release

* Fri May 28 2021 Rachel Menge <[email protected]> - 5.10.37.1-1
- Update source to 5.10.37.1

Expand Down
3 changes: 3 additions & 0 deletions SPECS/kernel/CVE-2020-25672.nopatch
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CVE-2020-25672 - already patched in 5.10.37.1 stable kernel
Upstream commit: 7574fcdbdcb335763b6b322f6928dc0fd5730451
Stable commit: 568ac94df580b1a65837dc299e8758635e7b1423
10 changes: 10 additions & 0 deletions SPECS/kernel/CVE-2021-33200.nopatch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CVE-2021-33200 - already patched in 5.10.42.1 stable kernel

Upstream: 3d0220f6861d713213b015b582e9f21e5b28d2e0
Stable: 4e2c7b297431457663a90d4186e666b61d5da86c

Upstream: bb01a1bba579b4b1c5566af24d95f1767859771e
Stable: c87ef240a8bbbda5913fac1e84209d224c1aaf50

Upstream: a7036191277f9fa68d92f2071ddc38c09b1e5ee5
Stable: 27acfd11ba179b746f55077edf9750f8f7cb1cb6
2 changes: 1 addition & 1 deletion SPECS/kernel/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 5.10.37.1 Kernel Configuration
# Linux/x86_64 5.10.42.1 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 9.1.0"
CONFIG_CC_IS_GCC=y
Expand Down
2 changes: 1 addition & 1 deletion SPECS/kernel/config_aarch64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.10.37.1 Kernel Configuration
# Linux/arm64 5.10.42.1 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 9.1.0"
CONFIG_CC_IS_GCC=y
Expand Down
6 changes: 3 additions & 3 deletions SPECS/kernel/kernel.signatures.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"Signatures": {
"cbl-mariner-ca-20210127.pem": "82363cb44e786353936abc2e2d62d9325cacf2d9e9a8ebaf4221ea30a9e0cd7b",
"config": "4f0050188f0d1c476dfd9343fd375d4c2b9e8189409f5fb215020ef251828bdb",
"config_aarch64": "a84c2218a98f05f23d3cc51e56cc41d9426487db390d49511396e856e07d7894",
"kernel-5.10.37.1.tar.gz": "5ed453360f52e70767631d6c253306ab07248d957275b9f1d55b8bd03a88a29e",
"config": "717fa109b65d1989115762debe92e543ffdfc57824aa933d20af87892152f674",
"config_aarch64": "3dbf18d2ef17e88db97b20df9a8fbe9c6ac7b20a80bb8c5c90d4c1e28e7ff1ad",
"kernel-5.10.42.1.tar.gz": "47bb149f6ad2fc7d0ad8b31e3fcc0d3b1e5b25069d12f4d1e06dfc0b3c4b32ee",
"sha512hmac-openssl.sh": "02ab91329c4be09ee66d759e4d23ac875037c3b56e5a598e32fd1206da06a27f"
}
}
11 changes: 10 additions & 1 deletion SPECS/kernel/kernel.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%define uname_r %{version}-%{release}
Summary: Linux Kernel
Name: kernel
Version: 5.10.37.1
Version: 5.10.42.1
Release: 1%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -173,6 +173,8 @@ Patch1141: CVE-2021-33034.nopatch
Patch1142: CVE-2021-3483.nopatch
Patch1143: CVE-2021-3501.nopatch
Patch1144: CVE-2021-3506.nopatch
Patch1145: CVE-2020-25672.nopatch
Patch1146: CVE-2021-33200.nopatch
BuildRequires: audit-devel
BuildRequires: bash
BuildRequires: bc
Expand Down Expand Up @@ -503,6 +505,13 @@ ln -sf linux-%{uname_r}.cfg /boot/mariner.cfg
%endif

%changelog
* Tue Jun 08 2021 Rachel Menge <[email protected]> - 5.10.42.1-1
- Update source to 5.10.42.1
- Address CVE-2021-33200

* Thu Jun 03 2021 Rachel Menge <[email protected]> - 5.10.37.1-2
- Address CVE-2020-25672

* Fri May 28 2021 Rachel Menge <[email protected]> - 5.10.37.1-1
- Update source to 5.10.37.1
- Address CVE-2021-23134, CVE-2021-29155, CVE-2021-31829, CVE-2021-31916,
Expand Down
16 changes: 8 additions & 8 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1845,8 +1845,8 @@
"type": "other",
"other": {
"name": "hyperv-daemons",
"version": "5.10.37.1",
"downloadUrl": "https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner/5.10.37.1.tar.gz"
"version": "5.10.42.1",
"downloadUrl": "https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner/5.10.42.1.tar.gz"
}
}
},
Expand Down Expand Up @@ -2145,8 +2145,8 @@
"type": "other",
"other": {
"name": "kernel-headers",
"version": "5.10.37.1",
"downloadUrl": "https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner/5.10.37.1.tar.gz"
"version": "5.10.42.1",
"downloadUrl": "https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner/5.10.42.1.tar.gz"
}
}
},
Expand All @@ -2155,8 +2155,8 @@
"type": "other",
"other": {
"name": "kernel-hyperv",
"version": "5.10.37.1",
"downloadUrl": "https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner/5.10.37.1.tar.gz"
"version": "5.10.42.1",
"downloadUrl": "https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner/5.10.42.1.tar.gz"
}
}
},
Expand All @@ -2165,8 +2165,8 @@
"type": "other",
"other": {
"name": "kernel",
"version": "5.10.37.1",
"downloadUrl": "https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner/5.10.37.1.tar.gz"
"version": "5.10.42.1",
"downloadUrl": "https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner/5.10.42.1.tar.gz"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
filesystem-1.1-7.cm1.aarch64.rpm
kernel-headers-5.10.37.1-1.cm1.noarch.rpm
kernel-headers-5.10.42.1-1.cm1.noarch.rpm
glibc-2.28-18.cm1.aarch64.rpm
glibc-devel-2.28-18.cm1.aarch64.rpm
glibc-i18n-2.28-18.cm1.aarch64.rpm
Expand Down
2 changes: 1 addition & 1 deletion toolkit/resources/manifests/package/pkggen_core_x86_64.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
filesystem-1.1-7.cm1.x86_64.rpm
kernel-headers-5.10.37.1-1.cm1.noarch.rpm
kernel-headers-5.10.42.1-1.cm1.noarch.rpm
glibc-2.28-18.cm1.x86_64.rpm
glibc-devel-2.28-18.cm1.x86_64.rpm
glibc-i18n-2.28-18.cm1.x86_64.rpm
Expand Down
2 changes: 1 addition & 1 deletion toolkit/resources/manifests/package/toolchain_aarch64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ json-c-debuginfo-0.14-3.cm1.aarch64.rpm
json-c-devel-0.14-3.cm1.aarch64.rpm
kbd-2.0.4-5.cm1.aarch64.rpm
kbd-debuginfo-2.0.4-5.cm1.aarch64.rpm
kernel-headers-5.10.37.1-1.cm1.noarch.rpm
kernel-headers-5.10.42.1-1.cm1.noarch.rpm
kmod-25-4.cm1.aarch64.rpm
kmod-debuginfo-25-4.cm1.aarch64.rpm
kmod-devel-25-4.cm1.aarch64.rpm
Expand Down
2 changes: 1 addition & 1 deletion toolkit/resources/manifests/package/toolchain_x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ json-c-debuginfo-0.14-3.cm1.x86_64.rpm
json-c-devel-0.14-3.cm1.x86_64.rpm
kbd-2.0.4-5.cm1.x86_64.rpm
kbd-debuginfo-2.0.4-5.cm1.x86_64.rpm
kernel-headers-5.10.37.1-1.cm1.noarch.rpm
kernel-headers-5.10.42.1-1.cm1.noarch.rpm
kmod-25-4.cm1.x86_64.rpm
kmod-debuginfo-25-4.cm1.x86_64.rpm
kmod-devel-25-4.cm1.x86_64.rpm
Expand Down
2 changes: 1 addition & 1 deletion toolkit/scripts/toolchain/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ COPY [ "./toolchain-md5sums", \
WORKDIR $LFS/sources
RUN wget -nv --no-clobber --timeout=30 --no-check-certificate --continue --input-file=$LFS/tools/toolchain-local-wget-list --directory-prefix=$LFS/sources; exit 0
RUN wget -nv --no-clobber --timeout=30 --continue --input-file=$LFS/tools/toolchain-remote-wget-list --directory-prefix=$LFS/sources; exit 0
RUN wget -nv --no-clobber --timeout=30 --continue https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner/5.10.37.1.tar.gz -O kernel-5.10.37.1.tar.gz --directory-prefix=$LFS/sources; exit 0
RUN wget -nv --no-clobber --timeout=30 --continue https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner/5.10.42.1.tar.gz -O kernel-5.10.42.1.tar.gz --directory-prefix=$LFS/sources; exit 0
USER root
RUN /tools/toolchain-jdk8-wget.sh; exit 0
RUN md5sum -c $LFS/tools/toolchain-md5sums && \
Expand Down
2 changes: 1 addition & 1 deletion toolkit/scripts/toolchain/container/toolchain-md5sums
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ bc62e7df6f75357b6dd1ec34600dbeaf jdk8u212-b04-langtools.tar.bz2
d0272e7a6107c64dae62b80ca7ec65e2 jdk8u212-b04-nashorn.tar.bz2
befd51c2b53a442e1fa6644bba89a95a jdk8u212-b04.tar.bz2
94afc90c1f7bef4a27fdd59ece39c878 kbproto-1.0.7.tar.bz2
c20a04f9424e5a331843a42f0df0ab6b kernel-5.10.37.1.tar.gz
3955d6482ff5e5b92745ca066c31362e kernel-5.10.42.1.tar.gz
d953ed6b47694dadf0e6042f8f9ff451 libarchive-3.4.2.tar.gz
968ac4d42a1a71754313527be2ab5df3 libcap-2.26.tar.xz
ba983eba5a9f05d152a0725b8e863151 libdmx-1.1.3.tar.bz2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ set -e
#
cd /sources

echo Linux-5.10.37.1 API Headers
tar xf kernel-5.10.37.1.tar.gz
pushd CBL-Mariner-Linux-Kernel-rolling-lts-mariner-5.10.37.1
echo Linux-5.10.42.1 API Headers
tar xf kernel-5.10.42.1.tar.gz
pushd CBL-Mariner-Linux-Kernel-rolling-lts-mariner-5.10.42.1
make mrproper
make headers
cp -rv usr/include/* /usr/include
popd
rm -rf CBL-Mariner-Linux-Kernel-rolling-lts-mariner-5.10.37.1
rm -rf CBL-Mariner-Linux-Kernel-rolling-lts-mariner-5.10.42.1
touch /logs/status_kernel_headers_complete

echo 6.8. Man-pages-5.02
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ rm -rf gcc-9.1.0

touch $LFS/logs/temptoolchain/status_gcc_pass1_complete

echo Linux-5.10.37.1 API Headers
tar xf kernel-5.10.37.1.tar.gz
pushd CBL-Mariner-Linux-Kernel-rolling-lts-mariner-5.10.37.1
echo Linux-5.10.42.1 API Headers
tar xf kernel-5.10.42.1.tar.gz
pushd CBL-Mariner-Linux-Kernel-rolling-lts-mariner-5.10.42.1
make mrproper
make headers
cp -rv usr/include/* /tools/include
popd
rm -rf CBL-Mariner-Linux-Kernel-rolling-lts-mariner-5.10.37.1
rm -rf CBL-Mariner-Linux-Kernel-rolling-lts-mariner-5.10.42.1

touch $LFS/logs/temptoolchain/status_kernel_headers_complete

Expand Down

0 comments on commit c22b497

Please sign in to comment.