kernel-5.17-0.rc4.9195e5e0adbb.100

* Fri Feb 18 2022 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.17-0.rc4.9195e5e0adbb.100]
- mm/sparsemem: Fix 'mem_section' will never be NULL gcc 12 warning (Waiman Long)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
Justin M. Forbes 2022-02-18 11:41:08 -06:00
parent 4d39407806
commit 5ff17644e3
No known key found for this signature in database
GPG Key ID: B8FA7924A4B1C140
14 changed files with 26 additions and 95 deletions

View File

@ -12,7 +12,7 @@ RHEL_MINOR = 99
#
# Use this spot to avoid future merge conflicts.
# Do not trim this comment.
RHEL_RELEASE = 99
RHEL_RELEASE = 100
#
# Early y+1 numbering

View File

@ -1,8 +1,5 @@
https://gitlab.com/cki-project/kernel-ark/-/commit/2698d7b1ae8060e6a86ba4e85434b6ae669ddc27
2698d7b1ae8060e6a86ba4e85434b6ae669ddc27 mm/sparsemem: Fix 'mem_section' will never be NULL gcc 12 warning
https://gitlab.com/cki-project/kernel-ark/-/commit/77fe66f6a3104d32911aab0736ec2ff9cee77ea2
77fe66f6a3104d32911aab0736ec2ff9cee77ea2 tools: Fix use-after-free for realloc(..., 0)
https://gitlab.com/cki-project/kernel-ark/-/commit/2a5b4cb01ce15645555568d370741862f00eb28e
2a5b4cb01ce15645555568d370741862f00eb28e mm/sparsemem: Fix 'mem_section' will never be NULL gcc 12 warning
https://gitlab.com/cki-project/kernel-ark/-/commit/4f79b3c547b8e3dbc014058a8adffe0fe8cd5e4b
4f79b3c547b8e3dbc014058a8adffe0fe8cd5e4b objtool: check: give big enough buffer for pv_ops

View File

@ -3599,12 +3599,7 @@ CONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_TEQL is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_TEAM=m
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
CONFIG_NET_TEAM_MODE_BROADCAST=m
CONFIG_NET_TEAM_MODE_LOADBALANCE=m
CONFIG_NET_TEAM_MODE_RANDOM=m
CONFIG_NET_TEAM_MODE_ROUNDROBIN=m
# CONFIG_NET_TEAM is not set
# CONFIG_NET_TULIP is not set
CONFIG_NET_UDP_TUNNEL=m
# CONFIG_NET_VENDOR_3COM is not set

View File

@ -3578,12 +3578,7 @@ CONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_TEQL is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_TEAM=m
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
CONFIG_NET_TEAM_MODE_BROADCAST=m
CONFIG_NET_TEAM_MODE_LOADBALANCE=m
CONFIG_NET_TEAM_MODE_RANDOM=m
CONFIG_NET_TEAM_MODE_ROUNDROBIN=m
# CONFIG_NET_TEAM is not set
# CONFIG_NET_TULIP is not set
CONFIG_NET_UDP_TUNNEL=m
# CONFIG_NET_VENDOR_3COM is not set

View File

@ -3414,12 +3414,7 @@ CONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_TEQL is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_TEAM=m
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
CONFIG_NET_TEAM_MODE_BROADCAST=m
CONFIG_NET_TEAM_MODE_LOADBALANCE=m
CONFIG_NET_TEAM_MODE_RANDOM=m
CONFIG_NET_TEAM_MODE_ROUNDROBIN=m
# CONFIG_NET_TEAM is not set
# CONFIG_NET_TULIP is not set
CONFIG_NET_UDP_TUNNEL=m
# CONFIG_NET_VENDOR_3COM is not set

View File

@ -3396,12 +3396,7 @@ CONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_TEQL is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_TEAM=m
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
CONFIG_NET_TEAM_MODE_BROADCAST=m
CONFIG_NET_TEAM_MODE_LOADBALANCE=m
CONFIG_NET_TEAM_MODE_RANDOM=m
CONFIG_NET_TEAM_MODE_ROUNDROBIN=m
# CONFIG_NET_TEAM is not set
# CONFIG_NET_TULIP is not set
CONFIG_NET_UDP_TUNNEL=m
# CONFIG_NET_VENDOR_3COM is not set

View File

@ -3396,12 +3396,7 @@ CONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_TEQL is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_TEAM=m
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
CONFIG_NET_TEAM_MODE_BROADCAST=m
CONFIG_NET_TEAM_MODE_LOADBALANCE=m
CONFIG_NET_TEAM_MODE_RANDOM=m
CONFIG_NET_TEAM_MODE_ROUNDROBIN=m
# CONFIG_NET_TEAM is not set
# CONFIG_NET_TULIP is not set
CONFIG_NET_UDP_TUNNEL=m
# CONFIG_NET_VENDOR_3COM is not set

View File

@ -3378,12 +3378,7 @@ CONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_TEQL is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_TEAM=m
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
CONFIG_NET_TEAM_MODE_BROADCAST=m
CONFIG_NET_TEAM_MODE_LOADBALANCE=m
CONFIG_NET_TEAM_MODE_RANDOM=m
CONFIG_NET_TEAM_MODE_ROUNDROBIN=m
# CONFIG_NET_TEAM is not set
# CONFIG_NET_TULIP is not set
CONFIG_NET_UDP_TUNNEL=m
# CONFIG_NET_VENDOR_3COM is not set

View File

@ -3393,12 +3393,7 @@ CONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_TEQL is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_TEAM=m
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
CONFIG_NET_TEAM_MODE_BROADCAST=m
CONFIG_NET_TEAM_MODE_LOADBALANCE=m
CONFIG_NET_TEAM_MODE_RANDOM=m
CONFIG_NET_TEAM_MODE_ROUNDROBIN=m
# CONFIG_NET_TEAM is not set
# CONFIG_NET_TULIP is not set
CONFIG_NET_UDP_TUNNEL=m
# CONFIG_NET_VENDOR_3COM is not set

View File

@ -3591,12 +3591,7 @@ CONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_TEQL is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_TEAM=m
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
CONFIG_NET_TEAM_MODE_BROADCAST=m
CONFIG_NET_TEAM_MODE_LOADBALANCE=m
CONFIG_NET_TEAM_MODE_RANDOM=m
CONFIG_NET_TEAM_MODE_ROUNDROBIN=m
# CONFIG_NET_TEAM is not set
# CONFIG_NET_TULIP is not set
CONFIG_NET_UDP_TUNNEL=m
# CONFIG_NET_VENDOR_3COM is not set

View File

@ -3571,12 +3571,7 @@ CONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_TEQL is not set
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_TEAM=m
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
CONFIG_NET_TEAM_MODE_BROADCAST=m
CONFIG_NET_TEAM_MODE_LOADBALANCE=m
CONFIG_NET_TEAM_MODE_RANDOM=m
CONFIG_NET_TEAM_MODE_ROUNDROBIN=m
# CONFIG_NET_TEAM is not set
# CONFIG_NET_TULIP is not set
CONFIG_NET_UDP_TUNNEL=m
# CONFIG_NET_VENDOR_3COM is not set

View File

@ -87,7 +87,7 @@ Summary: The Linux kernel
# the --with-release option overrides this setting.)
%define debugbuildsenabled 0
%global distro_build 0.rc4.20220217gitf71077a4d84b.99
%global distro_build 0.rc4.20220218git9195e5e0adbb.100
%if 0%{?fedora}
%define secure_boot_arch x86_64
@ -132,13 +132,13 @@ Summary: The Linux kernel
%define rpmversion 5.17.0
%define patchversion 5.17
%define pkgrelease 0.rc4.20220217gitf71077a4d84b.99
%define pkgrelease 0.rc4.20220218git9195e5e0adbb.100
# This is needed to do merge window version magic
%define patchlevel 17
# allow pkg_release to have configurable %%{?dist} tag
%define specrelease 0.rc4.20220217gitf71077a4d84b.99%{?buildid}%{?dist}
%define specrelease 0.rc4.20220218git9195e5e0adbb.100%{?buildid}%{?dist}
%define pkg_release %{specrelease}
@ -695,7 +695,7 @@ BuildRequires: lld
# exact git commit you can run
#
# xzcat -qq ${TARBALL} | git get-tar-commit-id
Source0: linux-5.17-rc4-54-gf71077a4d84b.tar.xz
Source0: linux-5.17-rc4-162-g9195e5e0adbb.tar.xz
Source1: Makefile.rhelver
@ -1391,8 +1391,8 @@ ApplyOptionalPatch()
fi
}
%setup -q -n kernel-5.17-rc4-54-gf71077a4d84b -c
mv linux-5.17-rc4-54-gf71077a4d84b linux-%{KVERREL}
%setup -q -n kernel-5.17-rc4-162-g9195e5e0adbb -c
mv linux-5.17-rc4-162-g9195e5e0adbb linux-%{KVERREL}
cd linux-%{KVERREL}
cp -a %{SOURCE1} .
@ -3005,9 +3005,11 @@ fi
#
#
%changelog
* Thu Feb 17 2022 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.17-0.rc4.f71077a4d84b.99]
* Fri Feb 18 2022 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.17-0.rc4.9195e5e0adbb.100]
- mm/sparsemem: Fix 'mem_section' will never be NULL gcc 12 warning (Waiman Long)
- tools: Fix use-after-free for realloc(..., 0) (Kees Cook)
* Fri Feb 18 2022 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.17-0.rc4.9195e5e0adbb.99]
- redhat: configs: Disable team driver (Hangbin Liu) [1945477]
* Thu Feb 17 2022 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.17-0.rc4.f71077a4d84b.98]
- configs: enable LOGITECH_FF for RHEL/CentOS too (Benjamin Tissoires)

View File

@ -74,8 +74,7 @@
security/lockdown/Kconfig | 13 +
security/lockdown/lockdown.c | 1 +
security/security.c | 6 +
tools/lib/subcmd/subcmd-util.h | 11 +-
77 files changed, 1746 insertions(+), 200 deletions(-)
76 files changed, 1744 insertions(+), 191 deletions(-)
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index f5a27f067db9..f4dc42f2f82a 100644
@ -3435,25 +3434,3 @@ index 22261d79f333..20336365f864 100644
#ifdef CONFIG_PERF_EVENTS
int security_perf_event_open(struct perf_event_attr *attr, int type)
{
diff --git a/tools/lib/subcmd/subcmd-util.h b/tools/lib/subcmd/subcmd-util.h
index 794a375dad36..b2aec04fce8f 100644
--- a/tools/lib/subcmd/subcmd-util.h
+++ b/tools/lib/subcmd/subcmd-util.h
@@ -50,15 +50,8 @@ static NORETURN inline void die(const char *err, ...)
static inline void *xrealloc(void *ptr, size_t size)
{
void *ret = realloc(ptr, size);
- if (!ret && !size)
- ret = realloc(ptr, 1);
- if (!ret) {
- ret = realloc(ptr, size);
- if (!ret && !size)
- ret = realloc(ptr, 1);
- if (!ret)
- die("Out of memory, realloc failed");
- }
+ if (!ret)
+ die("Out of memory, realloc failed");
return ret;
}

View File

@ -1,3 +1,3 @@
SHA512 (linux-5.17-rc4-54-gf71077a4d84b.tar.xz) = a6da6afd403e714e25a08a46d314bc7cdd47a7988bf4da3cb103575f98c5eddeeb24d95afaaec959aff7356947c1e09102079395a2e9d2dedea9ab8330ff0ca6
SHA512 (kernel-abi-stablelists-5.17.0-0.rc4.20220217gitf71077a4d84b.99.tar.bz2) = d36ab7ece3945e4b8e55e259731352557bf65f8c527295e92a88a9dd39fca0510014140d5ed699c3c26ec88822e69118b84496773926651022130c207e32735b
SHA512 (kernel-kabi-dw-5.17.0-0.rc4.20220217gitf71077a4d84b.99.tar.bz2) = be0f1aae2831bff849412fca349ef153cfc8364a15f311f777b676d520303ea7b6fe4aafeb4cd41e3b6691415bc239cf72defdd2ebbbbc1980b86cafbb6a7b4a
SHA512 (linux-5.17-rc4-162-g9195e5e0adbb.tar.xz) = db1447e3428c1b7a82b4aeb908ce2e8fa44eec3de0e20fc503d40d5595633000c6464a6a2069ab4eb4f82957583d84b7d98fbfe303be90ede6c33ae5b6dab8e8
SHA512 (kernel-abi-stablelists-5.17.0-0.rc4.20220218git9195e5e0adbb.100.tar.bz2) = 4afa0263bdb70fd849f206cf9d822547074f0ad9e601156bcecb2c2be286e7123222bcca534eb1e0812396bf4c11124191c3e39218e9fcb22de1767afe808ee8
SHA512 (kernel-kabi-dw-5.17.0-0.rc4.20220218git9195e5e0adbb.100.tar.bz2) = b0e55eb761b5a54f601ad44de05b51b78bb2555235e893458c2843ced3a862a9dc45ca79c55349a348d8f16bc9889e3cbefbecead507c7f2f7583a919ddae3d2