
This commit updates kernel to 5.10.112 to fix many issues, including the following CVE issues. CVE-2022-1012: https://nvd.nist.gov/vuln/detail/CVE-2022-1012 CVE-2022-36946: https://nvd.nist.gov/vuln/detail/CVE-2022-36946 CVE-2022-3621: https://nvd.nist.gov/vuln/detail/CVE-2022-3621 CVE-2022-3649: https://nvd.nist.gov/vuln/detail/CVE-2022-3649 CVE-2022-3594: https://nvd.nist.gov/vuln/detail/CVE-2022-3594 Our source patches do not require refresh against the new kernel source. Verification: - Build kernel and out of tree modules success for rt and std. - Build iso success for rt and std. - Install success onto a All-in-One lab with rt kernel. - Boot up successfully in the lab. - The sanity testing was run including kernel and applications by our test team. - The cyclictest benchmark was also run on the starlingx lab, the result is "samples: 129599997 avg: 1594 max: 4567 99.9999th percentile:2364 overflows: 0", It is not big difference with 5.10.112. Story: 2010425 Task: 46822 Signed-off-by: Jiping Ma <jiping.ma2@windriver.com> Change-Id: I71916eb98296321ec83727d27801583004822d9d
26 lines
616 B
Bash
Executable File
26 lines
616 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# The only parameter is the name of the folder where the source code
|
|
# is extracted to. Pay attention to that the extracted package should
|
|
# be put at the same path where this script is located.
|
|
# Tools needed: tar
|
|
|
|
KERNEL_HEAD_COMMIT=7d078581c0f754d6cb38b2bf1952925e0460ef84
|
|
DEBIAN_FILE=linux_5.10.28-1.debian.tar.xz
|
|
|
|
tar xvf linux-yocto-${KERNEL_HEAD_COMMIT}.tar.gz
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo "tar failed: linux-yocto source!"
|
|
exit 1
|
|
fi
|
|
mv linux-yocto-${KERNEL_HEAD_COMMIT} $1
|
|
|
|
cd $1
|
|
tar xvf ../${DEBIAN_FILE}
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo "tar failed: debian folder for kernel!"
|
|
exit 1
|
|
fi
|