Linux 3.14.79
Greg KH
maintainer-------------------------------------------------------------
NOTE - the 3.14.y kernel series is now end-of-life. It will not be receiving any more updates and should no longer be used at all. Please use 4.4 if you want a LTS kernel that will last for another year, or even better yet, just use the normal stable releases as those will always contain the latest fixes and updates.
-------------------------------------------------------------
I'm announcing the release of the 3.14.79 kernel.
All users of the 3.14 kernel series must upgrade.
The updated 3.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 +- drivers/hid/hid-input.c | 2 +- drivers/media/dvb-frontends/stb6100.c | 2 +- drivers/net/can/dev.c | 3 --- drivers/s390/char/sclp_ctl.c | 12 +++++++----- drivers/scsi/be2iscsi/be_main.c | 2 +- drivers/staging/comedi/drivers/ni_mio_common.c | 2 +- fs/dcache.c | 1 + fs/ext4/super.c | 18 +++++++++++++++++- mm/memory.c | 14 ++++++++++++-- net/rds/recv.c | 2 ++ sound/pci/oxygen/oxygen_mixer.c | 2 +- 12 files changed, 45 insertions(+), 17 deletions(-)
Alexander Shiyan (1):
stb6100: fix buffer length check in stb6100_write_reg_range()
Andrea Arcangeli (1):
mm: thp: fix SMP race condition between THP page fault and MADV_DONTNEED
Greg Kroah-Hartman (2):
Revert "can: fix handling of unmodifiable configuration options fix" Linux 3.14.79
Ian Abbott (1):
staging: comedi: ni_mio_common: fix wrong insn_write handler
James C Boyd (1):
HID: hid-input: Add parentheses to quell gcc warning
Kangjie Lu (1):
rds: fix an infoleak in rds_inc_info_copy
Martin Schwidefsky (1):
s390/sclp_ctl: fix potential information leak with /dev/sclp
Theodore Ts'o (1):
ext4: validate that metadata blocks do not overlap superblock
Tim Gardner (1):
be2iscsi: Fix bogus WARN_ON length check
Tomer Barletz (1):
ALSA: oxygen: Fix logical-not-parentheses warning
Willy Tarreau (1):
fix d_walk()/non-delayed __d_free() race
Greg KH
maintainerMakefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 14 -SUBLEVEL = 78 +SUBLEVEL = 79 EXTRAVERSION = NAME = Remembering Coco
drivers/hid/hid-input.c +1 -1
@@ -1084,7 +1084,7 @@ void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, structreturn ;/* report the usage code as scancode if the key status has changed */ -if (usage->type ==EV_KEY && !!test_bit (usage->code, input->key) != value) +if (usage->type ==EV_KEY && (!!test_bit (usage->code, input->key)) != value)input_event (input,EV_MSC ,MSC_SCAN , usage->hid);input_event (input, usage->type, usage->code, value);
drivers/media/dvb-frontends/stb6100.c +1 -1
@@ -193,7 +193,7 @@ static int stb6100_write_reg_range(struct stb6100_state *state, u8 buf[], int st .len = len + 1 }; -if (1 + len >sizeof (buf)) { +if (1 + len >sizeof (cmdbuf)) {printk (KERN_WARNING "%s: i2c wr: len=%d is too big!\n" ,KBUILD_MODNAME , len);
drivers/net/can/dev.c +0 -3
@@ -665,9 +665,6 @@ static int can_changelink(struct net_device *dev, } } -if (!data) -return 0 ; -if (data[IFLA_CAN_CTRLMODE ]) {struct can_ctrlmode *cm;
drivers/s390/char/sclp_ctl.c +7 -5
@@ -56,6 +56,7 @@ static int sclp_ctl_ioctl_sccb(void __user *user_area) {struct sclp_ctl_sccb ctl_sccb;struct sccb_header *sccb; +unsigned long copied;int rc;if (copy_from_user (&ctl_sccb, user_area,sizeof (ctl_sccb)))
@@ -65,14 +66,15 @@ static int sclp_ctl_ioctl_sccb(void __user *user_area) sccb = (void *)get_zeroed_page (GFP_KERNEL |GFP_DMA );if (!sccb)return -ENOMEM ; -if (copy_from_user (sccb,u64_to_uptr (ctl_sccb.sccb),sizeof (*sccb))) { + copied =PAGE_SIZE - +copy_from_user (sccb,u64_to_uptr (ctl_sccb.sccb),PAGE_SIZE ); +if (offsetof(struct sccb_header , length) + +sizeof (sccb->length) > copied || sccb->length > copied) { rc = -EFAULT ; goto out_free; } -if (sccb->length >PAGE_SIZE || sccb->length <8 ) -return -EINVAL ; -if (copy_from_user (sccb,u64_to_uptr (ctl_sccb.sccb), sccb->length)) { - rc = -EFAULT ; +if (sccb->length <8 ) { + rc = -EINVAL ; goto out_free; } rc =sclp_sync_request (ctl_sccb.cmdw, sccb);
drivers/scsi/be2iscsi/be_main.c +1 -1
@@ -3172,7 +3172,7 @@ be_sgl_create_contiguous(void *virtual_address, {WARN_ON (!virtual_address);WARN_ON (!physical_address); -WARN_ON (!length >0 ); +WARN_ON (!length);WARN_ON (!sgl); sgl->va = virtual_address;
drivers/staging/comedi/drivers/ni_mio_common.c +1 -1
@@ -4404,7 +4404,7 @@ static int ni_E_init(struct comedi_device *dev)else s->maxdata =0xffffff ; s->insn_read = ni_tio_insn_read; - s->insn_write = ni_tio_insn_read; + s->insn_write = ni_tio_insn_write; s->insn_config = ni_tio_insn_config;#ifdef PCIDMA s->subdev_flags |=SDF_CMD_READ /* | SDF_CMD_WRITE */ ;
fs/dcache.c +1 -0
@@ -2652,6 +2652,7 @@ static void __d_materialise_dentry(struct dentry *dentry, struct dentry *anon)switch_names (dentry, anon);swap (dentry->d_name.hash, anon->d_name.hash); + dentry->d_flags |=DCACHE_RCUACCESS ; dentry->d_parent = dentry;list_del_init (&dentry->d_child); anon->d_parent = dparent;
fs/ext4/super.c +17 -1
@@ -2071,6 +2071,7 @@ void ext4_group_desc_csum_set(struct super_block *sb, __u32 block_group,/* Called at mount-time, super-block is locked */ static int ext4_check_descriptors (struct super_block *sb, +ext4_fsblk_t sb_block,ext4_group_t *first_not_zeroed) {struct ext4_sb_info *sbi =EXT4_SB (sb);
@@ -2101,6 +2102,11 @@ static int ext4_check_descriptors(struct super_block *sb, grp = i; block_bitmap =ext4_block_bitmap (sb, gdp); +if (block_bitmap == sb_block) { +ext4_msg (sb,KERN_ERR ,"ext4_check_descriptors: " +"Block bitmap for group %u overlaps " +"superblock" , i); + }if (block_bitmap < first_block || block_bitmap > last_block) {ext4_msg (sb,KERN_ERR ,"ext4_check_descriptors: " "Block bitmap for group %u not in group "
@@ -2108,6 +2114,11 @@ static int ext4_check_descriptors(struct super_block *sb,return 0 ; } inode_bitmap =ext4_inode_bitmap (sb, gdp); +if (inode_bitmap == sb_block) { +ext4_msg (sb,KERN_ERR ,"ext4_check_descriptors: " +"Inode bitmap for group %u overlaps " +"superblock" , i); + }if (inode_bitmap < first_block || inode_bitmap > last_block) {ext4_msg (sb,KERN_ERR ,"ext4_check_descriptors: " "Inode bitmap for group %u not in group "
@@ -2115,6 +2126,11 @@ static int ext4_check_descriptors(struct super_block *sb,return 0 ; } inode_table =ext4_inode_table (sb, gdp); +if (inode_table == sb_block) { +ext4_msg (sb,KERN_ERR ,"ext4_check_descriptors: " +"Inode table for group %u overlaps " +"superblock" , i); + }if (inode_table < first_block || inode_table + sbi->s_itb_per_group -1 > last_block) { ext4_msg(sb, KERN_ERR, "ext4_check_descriptors: "
@@ -3869,7 +3885,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) goto failed_mount2; } } -if (!ext4_check_descriptors (sb, &first_not_zeroed)) { +if (!ext4_check_descriptors (sb, logical_sb_block, &first_not_zeroed)) {ext4_msg (sb,KERN_ERR ,"group descriptors corrupted!" ); goto failed_mount2; }
mm/memory.c +12 -2
@@ -3770,8 +3770,18 @@ static int __handle_mm_fault(struct mm_struct *mm, struct vm_area_struct *vma,if (unlikely (pmd_none (*pmd)) &&unlikely (__pte_alloc (mm, vma, pmd, address)))return VM_FAULT_OOM ; -/* if an huge pmd materialized from under us just retry later */ -if (unlikely (pmd_trans_huge (*pmd))) +/* +* If a huge pmd materialized under us just retry later. Use +* pmd_trans_unstable() instead of pmd_trans_huge() to ensure the pmd +* didn't become pmd_trans_huge under us and then back to pmd_none, as +* a result of MADV_DONTNEED running immediately after a huge pmd fault +* in a different thread of this mm, in turn leading to a misleading +* pmd_trans_huge() retval. All we have to ensure is that it is a +* regular pmd that we can walk with pte_offset_map() and we can do that +* through an atomic read in C, which is what pmd_trans_unstable() +* provides. +*/ +if (unlikely (pmd_trans_unstable (pmd)))return 0 ;/* * A regular pmd is established and it can't morph into a huge pmd
net/rds/recv.c +2 -0
@@ -543,5 +543,7 @@ void rds_inc_info_copy(struct rds_incoming *inc, minfo.fport = inc->i_hdr.h_dport; } + minfo.flags =0 ; +rds_info_copy (iter, &minfo,sizeof (minfo)); }
sound/pci/oxygen/oxygen_mixer.c +1 -1
@@ -88,7 +88,7 @@ static int dac_mute_put(struct snd_kcontrol *ctl,int changed;mutex_lock (&chip->mutex); - changed = !value->value.integer.value[0 ] != chip->dac_mute; + changed = (!value->value.integer.value[0 ]) != chip->dac_mute;if (changed) { chip->dac_mute = !value->value.integer.value[0 ]; chip->model.update_dac_mute (chip);