- Remove following patches as present in 4.9.154:
f2fs: fix a panic caused by NULL flush cmd control
f2fs: fix race condition in between free nid allocator initializer
minor change in 0002-Added-rap_plugin.patch, due to v4.9.154
Change-Id: Ia34ba7471df12798adc6c1b97670d046d1290bfa
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6639
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Srivatsa S. Bhat <srivatsab@vmware.com>
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
Summary: Linux API header files |
| 2 | 2 |
Name: linux-api-headers |
| 3 |
-Version: 4.9.140 |
|
| 3 |
+Version: 4.9.154 |
|
| 4 | 4 |
Release: 1%{?dist}
|
| 5 | 5 |
License: GPLv2 |
| 6 | 6 |
URL: http://www.kernel.org/ |
| ... | ... |
@@ -8,7 +8,7 @@ Group: System Environment/Kernel |
| 8 | 8 |
Vendor: VMware, Inc. |
| 9 | 9 |
Distribution: Photon |
| 10 | 10 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 11 |
-%define sha1 linux=926d3d735f9d531fece00241845cfbab25eb273e |
|
| 11 |
+%define sha1 linux=1a506bd238df9dbdc81e6b74abc0bb751a45eb5b |
|
| 12 | 12 |
BuildArch: noarch |
| 13 | 13 |
Patch0: Implement-the-f-xattrat-family-of-functions.patch |
| 14 | 14 |
%description |
| ... | ... |
@@ -27,6 +27,8 @@ find /%{buildroot}%{_includedir} \( -name .install -o -name ..install.cmd \) -de
|
| 27 | 27 |
%defattr(-,root,root) |
| 28 | 28 |
%{_includedir}/*
|
| 29 | 29 |
%changelog |
| 30 |
+* Mon Feb 04 2019 Ajay Kaher <akaher@vmware.com> 4.9.154-1 |
|
| 31 |
+- Update to version 4.9.154 |
|
| 30 | 32 |
* Mon Nov 26 2018 Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> 4.9.140-1 |
| 31 | 33 |
- Update to version 4.9.140 |
| 32 | 34 |
* Fri Nov 16 2018 Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> 4.9.137-1 |
| 33 | 35 |
deleted file mode 100644 |
| ... | ... |
@@ -1,47 +0,0 @@ |
| 1 |
-From d4fdf8ba0e5808ba9ad6b44337783bd9935e0982 Mon Sep 17 00:00:00 2001 |
|
| 2 |
-From: Yunlei He <heyunlei@huawei.com> |
|
| 3 |
-Date: Thu, 1 Jun 2017 16:43:51 +0800 |
|
| 4 |
-Subject: [PATCH] f2fs: fix a panic caused by NULL flush_cmd_control |
|
| 5 |
- |
|
| 6 |
-Mount fs with option noflush_merge, boot failed for illegal address |
|
| 7 |
-fcc in function f2fs_issue_flush: |
|
| 8 |
- |
|
| 9 |
- if (!test_opt(sbi, FLUSH_MERGE)) {
|
|
| 10 |
- ret = submit_flush_wait(sbi); |
|
| 11 |
- atomic_inc(&fcc->issued_flush); -> Here, fcc illegal |
|
| 12 |
- return ret; |
|
| 13 |
- } |
|
| 14 |
- |
|
| 15 |
-Signed-off-by: Yunlei He <heyunlei@huawei.com> |
|
| 16 |
-Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> |
|
| 17 |
-Signed-off-by: Srivatsa S. Bhat <srivatsa@csail.mit.edu> |
|
| 18 |
- fs/f2fs/segment.c | 5 ++++- |
|
| 19 |
- 1 file changed, 4 insertions(+), 1 deletion(-) |
|
| 20 |
- |
|
| 21 |
-diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c |
|
| 22 |
-index e10f616..c94d5a9 100644 |
|
| 23 |
-+++ b/fs/f2fs/segment.c |
|
| 24 |
-@@ -488,6 +488,9 @@ int create_flush_cmd_control(struct f2fs_sb_info *sbi) |
|
| 25 |
- init_waitqueue_head(&fcc->flush_wait_queue); |
|
| 26 |
- init_llist_head(&fcc->issue_list); |
|
| 27 |
- SM_I(sbi)->cmd_control_info = fcc; |
|
| 28 |
-+ if (!test_opt(sbi, FLUSH_MERGE)) |
|
| 29 |
-+ return err; |
|
| 30 |
-+ |
|
| 31 |
- fcc->f2fs_issue_flush = kthread_run(issue_flush_thread, sbi, |
|
| 32 |
- "f2fs_flush-%u:%u", MAJOR(dev), MINOR(dev)); |
|
| 33 |
- if (IS_ERR(fcc->f2fs_issue_flush)) {
|
|
| 34 |
-@@ -2534,7 +2537,7 @@ int build_segment_manager(struct f2fs_sb_info *sbi) |
|
| 35 |
- |
|
| 36 |
- INIT_LIST_HEAD(&sm_info->sit_entry_set); |
|
| 37 |
- |
|
| 38 |
-- if (test_opt(sbi, FLUSH_MERGE) && !f2fs_readonly(sbi->sb)) {
|
|
| 39 |
-+ if (!f2fs_readonly(sbi->sb)) {
|
|
| 40 |
- err = create_flush_cmd_control(sbi); |
|
| 41 |
- if (err) |
|
| 42 |
- return err; |
|
| 43 |
-2.7.4 |
|
| 44 |
- |
| 45 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,148 +0,0 @@ |
| 1 |
-From 34ec80907c239ae294ed85da2958ecf287986009 Mon Sep 17 00:00:00 2001 |
|
| 2 |
-From: "Chao Yu Date: Wed, 22 Mar 2017 14:45:05 +0800" <yuchao0@huawei.com> |
|
| 3 |
-Date: Mon, 16 Jul 2018 20:11:52 +0530 |
|
| 4 |
-Subject: [PATCH 1/2] f2fs: fix race condition in between free nid |
|
| 5 |
- allocator/initializer |
|
| 6 |
- |
|
| 7 |
-In below concurrent case, allocated nid can be loaded into free nid cache |
|
| 8 |
-and be allocated again. |
|
| 9 |
- |
|
| 10 |
-Thread A Thread B |
|
| 11 |
-- f2fs_create |
|
| 12 |
- - f2fs_new_inode |
|
| 13 |
- - alloc_nid |
|
| 14 |
- - __insert_nid_to_list(ALLOC_NID_LIST) |
|
| 15 |
- - f2fs_balance_fs_bg |
|
| 16 |
- - build_free_nids |
|
| 17 |
- - __build_free_nids |
|
| 18 |
- - scan_nat_page |
|
| 19 |
- - add_free_nid |
|
| 20 |
- - __lookup_nat_cache |
|
| 21 |
- - f2fs_add_link |
|
| 22 |
- - init_inode_metadata |
|
| 23 |
- - new_inode_page |
|
| 24 |
- - new_node_page |
|
| 25 |
- - set_node_addr |
|
| 26 |
- - alloc_nid_done |
|
| 27 |
- - __remove_nid_from_list(ALLOC_NID_LIST) |
|
| 28 |
- - __insert_nid_to_list(FREE_NID_LIST) |
|
| 29 |
- |
|
| 30 |
-This patch makes nat cache lookup and free nid list operation being atomical |
|
| 31 |
-to avoid this race condition. |
|
| 32 |
- |
|
| 33 |
-Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> |
|
| 34 |
-Signed-off-by: Chao Yu <yuchao0@huawei.com> |
|
| 35 |
-Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> |
|
| 36 |
- |
|
| 37 |
-[ Srinidhi Rao : Backported this fix to 4.9 ] |
|
| 38 |
-Signed-off-by: srinidhira0 <srinidhir@vmware.com> |
|
| 39 |
- fs/f2fs/node.c | 75 ++++++++++++++++++++++++++++++++++++++++++---------------- |
|
| 40 |
- 1 file changed, 54 insertions(+), 21 deletions(-) |
|
| 41 |
- |
|
| 42 |
-diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c |
|
| 43 |
-index 01177ec..653461e 100644 |
|
| 44 |
-+++ b/fs/f2fs/node.c |
|
| 45 |
-@@ -1702,8 +1702,10 @@ static void __del_from_free_nid_list(struct f2fs_nm_info *nm_i, |
|
| 46 |
- static int add_free_nid(struct f2fs_sb_info *sbi, nid_t nid, bool build) |
|
| 47 |
- {
|
|
| 48 |
- struct f2fs_nm_info *nm_i = NM_I(sbi); |
|
| 49 |
-- struct free_nid *i; |
|
| 50 |
-+ struct free_nid *i, *e; |
|
| 51 |
- struct nat_entry *ne; |
|
| 52 |
-+ int err = -EINVAL; |
|
| 53 |
-+ int ret = 0; |
|
| 54 |
- |
|
| 55 |
- if (!available_free_memory(sbi, FREE_NIDS)) |
|
| 56 |
- return -1; |
|
| 57 |
-@@ -1712,35 +1714,66 @@ static int add_free_nid(struct f2fs_sb_info *sbi, nid_t nid, bool build) |
|
| 58 |
- if (unlikely(nid == 0)) |
|
| 59 |
- return 0; |
|
| 60 |
- |
|
| 61 |
-- if (build) {
|
|
| 62 |
-- /* do not add allocated nids */ |
|
| 63 |
-- ne = __lookup_nat_cache(nm_i, nid); |
|
| 64 |
-- if (ne && (!get_nat_flag(ne, IS_CHECKPOINTED) || |
|
| 65 |
-- nat_get_blkaddr(ne) != NULL_ADDR)) |
|
| 66 |
-- return 0; |
|
| 67 |
-- } |
|
| 68 |
-- |
|
| 69 |
- i = f2fs_kmem_cache_alloc(free_nid_slab, GFP_NOFS); |
|
| 70 |
- i->nid = nid; |
|
| 71 |
- i->state = NID_NEW; |
|
| 72 |
- |
|
| 73 |
-- if (radix_tree_preload(GFP_NOFS)) {
|
|
| 74 |
-- kmem_cache_free(free_nid_slab, i); |
|
| 75 |
-- return 0; |
|
| 76 |
-- } |
|
| 77 |
-+ if (radix_tree_preload(GFP_NOFS)) |
|
| 78 |
-+ goto err; |
|
| 79 |
- |
|
| 80 |
- spin_lock(&nm_i->free_nid_list_lock); |
|
| 81 |
-- if (radix_tree_insert(&nm_i->free_nid_root, i->nid, i)) {
|
|
| 82 |
-- spin_unlock(&nm_i->free_nid_list_lock); |
|
| 83 |
-- radix_tree_preload_end(); |
|
| 84 |
-- kmem_cache_free(free_nid_slab, i); |
|
| 85 |
-- return 0; |
|
| 86 |
-+ |
|
| 87 |
-+ if (build) {
|
|
| 88 |
-+ |
|
| 89 |
-+ /* |
|
| 90 |
-+ * Thread A Thread B |
|
| 91 |
-+ * - f2fs_create |
|
| 92 |
-+ * - f2fs_new_inode |
|
| 93 |
-+ * - alloc_nid |
|
| 94 |
-+ * - __insert_nid_to_list(ALLOC_NID_LIST) |
|
| 95 |
-+ * - f2fs_balance_fs_bg |
|
| 96 |
-+ * - build_free_nids |
|
| 97 |
-+ * - __build_free_nids |
|
| 98 |
-+ * - scan_nat_page |
|
| 99 |
-+ * - add_free_nid |
|
| 100 |
-+ * - __lookup_nat_cache |
|
| 101 |
-+ * - f2fs_add_link |
|
| 102 |
-+ * - init_inode_metadata |
|
| 103 |
-+ * - new_inode_page |
|
| 104 |
-+ * - new_node_page |
|
| 105 |
-+ * - set_node_addr |
|
| 106 |
-+ * - alloc_nid_done |
|
| 107 |
-+ * - __remove_nid_from_list(ALLOC_NID_LIST) |
|
| 108 |
-+ * - __insert_nid_to_list(FREE_NID_LIST) |
|
| 109 |
-+ */ |
|
| 110 |
-+ ne = __lookup_nat_cache(nm_i, nid); |
|
| 111 |
-+ if (ne && (!get_nat_flag(ne, IS_CHECKPOINTED) || |
|
| 112 |
-+ nat_get_blkaddr(ne) != NULL_ADDR)) |
|
| 113 |
-+ goto err_out; |
|
| 114 |
-+ |
|
| 115 |
-+ e = __lookup_free_nid_list(nm_i, nid); |
|
| 116 |
-+ if (e) {
|
|
| 117 |
-+ if (e->state == NID_NEW) |
|
| 118 |
-+ ret = 1; |
|
| 119 |
-+ goto err_out; |
|
| 120 |
-+ } |
|
| 121 |
- } |
|
| 122 |
-- list_add_tail(&i->list, &nm_i->free_nid_list); |
|
| 123 |
-- nm_i->fcnt++; |
|
| 124 |
-+ ret = 1; |
|
| 125 |
-+ |
|
| 126 |
-+ err = radix_tree_insert(&nm_i->free_nid_root, i->nid, i); |
|
| 127 |
-+ if (!err) {
|
|
| 128 |
-+ list_add_tail(&i->list, &nm_i->free_nid_list); |
|
| 129 |
-+ nm_i->fcnt++; |
|
| 130 |
-+ |
|
| 131 |
-+ } |
|
| 132 |
-+err_out: |
|
| 133 |
- spin_unlock(&nm_i->free_nid_list_lock); |
|
| 134 |
- radix_tree_preload_end(); |
|
| 135 |
-- return 1; |
|
| 136 |
-+err: |
|
| 137 |
-+ if (err) |
|
| 138 |
-+ kmem_cache_free(free_nid_slab, i); |
|
| 139 |
-+ |
|
| 140 |
-+ return ret; |
|
| 141 |
- } |
|
| 142 |
- |
|
| 143 |
- static void remove_free_nid(struct f2fs_nm_info *nm_i, nid_t nid) |
|
| 144 |
-2.7.4 |
|
| 145 |
- |
| ... | ... |
@@ -4542,7 +4542,7 @@ index a260cde..1b99d3b 100644 |
| 4542 | 4542 |
-static int param_set_kgdboc_var(const char *kmessage, struct kernel_param *kp) |
| 4543 | 4543 |
+static int param_set_kgdboc_var(const char *kmessage, const struct kernel_param *kp) |
| 4544 | 4544 |
{
|
| 4545 |
- int len = strlen(kmessage); |
|
| 4545 |
+ size_t len = strlen(kmessage); |
|
| 4546 | 4546 |
|
| 4547 | 4547 |
diff --git a/drivers/video/console/dummycon.c b/drivers/video/console/dummycon.c |
| 4548 | 4548 |
index b90ef96..12f6ec5 100644 |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%global security_hardening none |
| 2 | 2 |
Summary: Kernel |
| 3 | 3 |
Name: linux-aws |
| 4 |
-Version: 4.9.140 |
|
| 5 |
-Release: 2%{?kat_build:.%kat_build}%{?dist}
|
|
| 4 |
+Version: 4.9.154 |
|
| 5 |
+Release: 1%{?kat_build:.%kat_build}%{?dist}
|
|
| 6 | 6 |
License: GPLv2 |
| 7 | 7 |
URL: http://www.kernel.org/ |
| 8 | 8 |
Group: System Environment/Kernel |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 | 11 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 12 |
-%define sha1 linux=926d3d735f9d531fece00241845cfbab25eb273e |
|
| 12 |
+%define sha1 linux=1a506bd238df9dbdc81e6b74abc0bb751a45eb5b |
|
| 13 | 13 |
Source1: config-aws |
| 14 | 14 |
Source2: initramfs.trigger |
| 15 | 15 |
# common |
| ... | ... |
@@ -52,13 +52,9 @@ Patch34: 0001-net-create-skb_gso_validate_mac_len.patch |
| 52 | 52 |
Patch35: 0002-bnx2x-disable-GSO-where-gso_size-is-too-big-for-hard.patch |
| 53 | 53 |
# Fix for CVE-2018-8043 |
| 54 | 54 |
Patch38: 0001-net-phy-mdio-bcm-unimac-fix-potential-NULL-dereferen.patch |
| 55 |
-# Fix for CVE-2017-18241 |
|
| 56 |
-Patch40: 0001-f2fs-fix-a-panic-caused-by-NULL-flush_cmd_control.patch |
|
| 57 | 55 |
Patch42: 0001-hwrng-rdrand-Add-RNG-driver-based-on-x86-rdrand-inst.patch |
| 58 | 56 |
# Fix for CVE-2017-18232 |
| 59 | 57 |
Patch43: 0001-scsi-libsas-direct-call-probe-and-destruct.patch |
| 60 |
-# Fix for CVE-2017-18249 |
|
| 61 |
-Patch44: 0001-f2fs-fix-race-condition-in-between-free-nid-allocator-initializer.patch |
|
| 62 | 58 |
# Fix for CVE-2018-10323 |
| 63 | 59 |
Patch45: 0001-xfs-set-format-back-to-extents-if-xfs_bmap_extents_t.patch |
| 64 | 60 |
# Fix for CVE-2018-10322 |
| ... | ... |
@@ -223,10 +219,8 @@ This package contains the 'perf' performance analysis tools for Linux kernel. |
| 223 | 223 |
%patch34 -p1 |
| 224 | 224 |
%patch35 -p1 |
| 225 | 225 |
%patch38 -p1 |
| 226 |
-%patch40 -p1 |
|
| 227 | 226 |
%patch42 -p1 |
| 228 | 227 |
%patch43 -p1 |
| 229 |
-%patch44 -p1 |
|
| 230 | 228 |
%patch45 -p1 |
| 231 | 229 |
%patch46 -p1 |
| 232 | 230 |
%patch47 -p1 |
| ... | ... |
@@ -440,6 +434,8 @@ ln -sf %{name}-%{uname_r}.cfg /boot/photon.cfg
|
| 440 | 440 |
/usr/share/doc/* |
| 441 | 441 |
|
| 442 | 442 |
%changelog |
| 443 |
+* Mon Feb 04 2019 Ajay Kaher <akaher@vmware.com> 4.9.154-1 |
|
| 444 |
+- Update to version 4.9.154 |
|
| 443 | 445 |
* Tue Jan 15 2019 Alexey Makhalov <amakhalov@vmware.com> 4.9.140-2 |
| 444 | 446 |
- .config: disable CONFIG_FANOTIFY_ACCESS_PERMISSIONS |
| 445 | 447 |
- Removed deprecated -q option for depmod |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%global security_hardening none |
| 2 | 2 |
Summary: Kernel |
| 3 | 3 |
Name: linux-esx |
| 4 |
-Version: 4.9.140 |
|
| 5 |
-Release: 3%{?dist}
|
|
| 4 |
+Version: 4.9.154 |
|
| 5 |
+Release: 1%{?dist}
|
|
| 6 | 6 |
License: GPLv2 |
| 7 | 7 |
URL: http://www.kernel.org/ |
| 8 | 8 |
Group: System Environment/Kernel |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 | 11 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 12 |
-%define sha1 linux=926d3d735f9d531fece00241845cfbab25eb273e |
|
| 12 |
+%define sha1 linux=1a506bd238df9dbdc81e6b74abc0bb751a45eb5b |
|
| 13 | 13 |
Source1: config-esx |
| 14 | 14 |
Source2: initramfs.trigger |
| 15 | 15 |
# common |
| ... | ... |
@@ -48,13 +48,9 @@ Patch34: 0001-net-create-skb_gso_validate_mac_len.patch |
| 48 | 48 |
Patch35: 0002-bnx2x-disable-GSO-where-gso_size-is-too-big-for-hard.patch |
| 49 | 49 |
# Fix for CVE-2018-8043 |
| 50 | 50 |
Patch38: 0001-net-phy-mdio-bcm-unimac-fix-potential-NULL-dereferen.patch |
| 51 |
-# Fix for CVE-2017-18241 |
|
| 52 |
-Patch40: 0001-f2fs-fix-a-panic-caused-by-NULL-flush_cmd_control.patch |
|
| 53 | 51 |
Patch42: 0001-hwrng-rdrand-Add-RNG-driver-based-on-x86-rdrand-inst.patch |
| 54 | 52 |
# Fix for CVE-2017-18232 |
| 55 | 53 |
Patch43: 0001-scsi-libsas-direct-call-probe-and-destruct.patch |
| 56 |
-# Fix for CVE-2017-18249 |
|
| 57 |
-Patch44: 0001-f2fs-fix-race-condition-in-between-free-nid-allocator-initializer.patch |
|
| 58 | 54 |
# Fix for CVE-2018-10323 |
| 59 | 55 |
Patch45: 0001-xfs-set-format-back-to-extents-if-xfs_bmap_extents_t.patch |
| 60 | 56 |
# Fix for CVE-2018-10322 |
| ... | ... |
@@ -130,10 +126,8 @@ The Linux package contains the Linux kernel doc files |
| 130 | 130 |
%patch34 -p1 |
| 131 | 131 |
%patch35 -p1 |
| 132 | 132 |
%patch38 -p1 |
| 133 |
-%patch40 -p1 |
|
| 134 | 133 |
%patch42 -p1 |
| 135 | 134 |
%patch43 -p1 |
| 136 |
-%patch44 -p1 |
|
| 137 | 135 |
%patch45 -p1 |
| 138 | 136 |
%patch46 -p1 |
| 139 | 137 |
%patch47 -p1 |
| ... | ... |
@@ -233,6 +227,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
|
| 233 | 233 |
/usr/src/linux-headers-%{uname_r}
|
| 234 | 234 |
|
| 235 | 235 |
%changelog |
| 236 |
+* Mon Feb 04 2019 Ajay Kaher <akaher@vmware.com> 4.9.154-1 |
|
| 237 |
+- Update to version 4.9.154 |
|
| 236 | 238 |
* Tue Jan 08 2019 Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> 4.9.140-3 |
| 237 | 239 |
- Read TSC only during the startup of the boot-CPU. |
| 238 | 240 |
* Mon Dec 03 2018 Alexey Makhalov <amakhalov@vmware.com> 4.9.140-2 |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%global security_hardening none |
| 2 | 2 |
Summary: Kernel |
| 3 | 3 |
Name: linux-secure |
| 4 |
-Version: 4.9.140 |
|
| 5 |
-Release: 3%{?kat_build:.%kat_build}%{?dist}
|
|
| 4 |
+Version: 4.9.154 |
|
| 5 |
+Release: 1%{?kat_build:.%kat_build}%{?dist}
|
|
| 6 | 6 |
License: GPLv2 |
| 7 | 7 |
URL: http://www.kernel.org/ |
| 8 | 8 |
Group: System Environment/Kernel |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 | 11 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 12 |
-%define sha1 linux=926d3d735f9d531fece00241845cfbab25eb273e |
|
| 12 |
+%define sha1 linux=1a506bd238df9dbdc81e6b74abc0bb751a45eb5b |
|
| 13 | 13 |
Source1: config-secure |
| 14 | 14 |
Source2: aufs4.9.tar.gz |
| 15 | 15 |
%define sha1 aufs=ebe716ce4b638a3772c7cd3161abbfe11d584906 |
| ... | ... |
@@ -58,13 +58,9 @@ Patch36: 0001-net-create-skb_gso_validate_mac_len.patch |
| 58 | 58 |
Patch37: 0002-bnx2x-disable-GSO-where-gso_size-is-too-big-for-hard.patch |
| 59 | 59 |
# Fix for CVE-2018-8043 |
| 60 | 60 |
Patch40: 0001-net-phy-mdio-bcm-unimac-fix-potential-NULL-dereferen.patch |
| 61 |
-# Fix for CVE-2017-18241 |
|
| 62 |
-Patch42: 0001-f2fs-fix-a-panic-caused-by-NULL-flush_cmd_control.patch |
|
| 63 | 61 |
Patch44: 0001-hwrng-rdrand-Add-RNG-driver-based-on-x86-rdrand-inst.patch |
| 64 | 62 |
# Fix for CVE-2017-18232 |
| 65 | 63 |
Patch45: 0001-scsi-libsas-direct-call-probe-and-destruct.patch |
| 66 |
-# Fix for CVE-2017-18249 |
|
| 67 |
-Patch46: 0001-f2fs-fix-race-condition-in-between-free-nid-allocator-initializer.patch |
|
| 68 | 64 |
# Fix for CVE-2018-10323 |
| 69 | 65 |
Patch47: 0001-xfs-set-format-back-to-extents-if-xfs_bmap_extents_t.patch |
| 70 | 66 |
# Fix for CVE-2018-10322 |
| ... | ... |
@@ -189,10 +185,8 @@ EOF |
| 189 | 189 |
%patch36 -p1 |
| 190 | 190 |
%patch37 -p1 |
| 191 | 191 |
%patch40 -p1 |
| 192 |
-%patch42 -p1 |
|
| 193 | 192 |
%patch44 -p1 |
| 194 | 193 |
%patch45 -p1 |
| 195 |
-%patch46 -p1 |
|
| 196 | 194 |
%patch47 -p1 |
| 197 | 195 |
%patch48 -p1 |
| 198 | 196 |
%patch49 -p1 |
| ... | ... |
@@ -331,6 +325,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
|
| 331 | 331 |
/usr/src/linux-headers-%{uname_r}
|
| 332 | 332 |
|
| 333 | 333 |
%changelog |
| 334 |
+* Mon Feb 04 2019 Ajay Kaher <akaher@vmware.com> 4.9.154-1 |
|
| 335 |
+- Update to version 4.9.154 |
|
| 334 | 336 |
* Tue Jan 15 2019 Alexey Makhalov <amakhalov@vmware.com> 4.9.140-3 |
| 335 | 337 |
- .config: disable CONFIG_FANOTIFY_ACCESS_PERMISSIONS |
| 336 | 338 |
* Thu Dec 20 2018 Alexey Makhalov <amakhalov@vmware.com> 4.9.140-2 |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%global security_hardening none |
| 2 | 2 |
Summary: Kernel |
| 3 | 3 |
Name: linux |
| 4 |
-Version: 4.9.140 |
|
| 5 |
-Release: 6%{?kat_build:.%kat_build}%{?dist}
|
|
| 4 |
+Version: 4.9.154 |
|
| 5 |
+Release: 1%{?kat_build:.%kat_build}%{?dist}
|
|
| 6 | 6 |
License: GPLv2 |
| 7 | 7 |
URL: http://www.kernel.org/ |
| 8 | 8 |
Group: System Environment/Kernel |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 | 11 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 12 |
-%define sha1 linux=926d3d735f9d531fece00241845cfbab25eb273e |
|
| 12 |
+%define sha1 linux=1a506bd238df9dbdc81e6b74abc0bb751a45eb5b |
|
| 13 | 13 |
Source1: config |
| 14 | 14 |
Source2: initramfs.trigger |
| 15 | 15 |
%define ena_version 1.1.3 |
| ... | ... |
@@ -56,14 +56,10 @@ Patch34: 0001-net-create-skb_gso_validate_mac_len.patch |
| 56 | 56 |
Patch35: 0002-bnx2x-disable-GSO-where-gso_size-is-too-big-for-hard.patch |
| 57 | 57 |
# Fix for CVE-2018-8043 |
| 58 | 58 |
Patch38: 0001-net-phy-mdio-bcm-unimac-fix-potential-NULL-dereferen.patch |
| 59 |
-# Fix for CVE-2017-18241 |
|
| 60 |
-Patch40: 0001-f2fs-fix-a-panic-caused-by-NULL-flush_cmd_control.patch |
|
| 61 | 59 |
|
| 62 | 60 |
Patch42: 0001-hwrng-rdrand-Add-RNG-driver-based-on-x86-rdrand-inst.patch |
| 63 | 61 |
# Fix for CVE-2017-18232 |
| 64 | 62 |
Patch43: 0001-scsi-libsas-direct-call-probe-and-destruct.patch |
| 65 |
-# Fix for CVE-2017-18249 |
|
| 66 |
-Patch44: 0001-f2fs-fix-race-condition-in-between-free-nid-allocator-initializer.patch |
|
| 67 | 63 |
# Fix for CVE-2018-10323 |
| 68 | 64 |
Patch45: 0001-xfs-set-format-back-to-extents-if-xfs_bmap_extents_t.patch |
| 69 | 65 |
# Fix for CVE-2018-10322 |
| ... | ... |
@@ -189,10 +185,8 @@ This package contains the 'perf' performance analysis tools for Linux kernel. |
| 189 | 189 |
%patch34 -p1 |
| 190 | 190 |
%patch35 -p1 |
| 191 | 191 |
%patch38 -p1 |
| 192 |
-%patch40 -p1 |
|
| 193 | 192 |
%patch42 -p1 |
| 194 | 193 |
%patch43 -p1 |
| 195 |
-%patch44 -p1 |
|
| 196 | 194 |
%patch45 -p1 |
| 197 | 195 |
%patch46 -p1 |
| 198 | 196 |
%patch47 -p1 |
| ... | ... |
@@ -377,6 +371,8 @@ ln -sf %{name}-%{uname_r}.cfg /boot/photon.cfg
|
| 377 | 377 |
/usr/share/doc/* |
| 378 | 378 |
|
| 379 | 379 |
%changelog |
| 380 |
+* Mon Feb 04 2019 Ajay Kaher <akaher@vmware.com> 4.9.154-1 |
|
| 381 |
+- Update to version 4.9.154 |
|
| 380 | 382 |
* Wed Jan 23 2019 Ajay Kaher <akaher@vmware.com> 4.9.140-6 |
| 381 | 383 |
- Fix IRQ issue by using effective_affinity |
| 382 | 384 |
- Remove nvme_io_irq_without_affinity.patch |