Linux 3.14.75
Greg KH
maintainerI'm announcing the release of the 3.14.75 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 arch/arc/kernel/stacktrace.c | 2 arch/arc/mm/tlbex.S | 6 - drivers/input/joystick/xpad.c | 3 drivers/input/touchscreen/wacom_w8001.c | 2 drivers/mmc/card/block.c | 12 +- drivers/net/can/at91_can.c | 5 - drivers/net/can/dev.c | 9 + drivers/net/ethernet/marvell/mvneta.c | 2 drivers/pinctrl/pinctrl-single.c | 3 drivers/s390/net/qeth_l2_main.c | 1 drivers/s390/net/qeth_l3_main.c | 1 drivers/scsi/ipr.c | 1 drivers/xen/xen-pciback/conf_space.c | 6 - fs/ecryptfs/file.c | 15 ++- fs/ecryptfs/kthread.c | 13 -- fs/ext4/extents.c | 4 fs/nilfs2/the_nilfs.c | 2 net/ceph/osdmap.c | 152 ++++++++++++++++++++++---------- sound/core/timer.c | 3 20 files changed, 168 insertions(+), 76 deletions(-)
Alexey Brodkin (1):
arc: unwind: warn only once if DW2_UNWIND is disabled
Andrey Grodzovsky (1):
xen/pciback: Fix conf_space read/write overlap check.
Brian King (1):
ipr: Clear interrupt on croc/crocodile when running with LSI
Cameron Gutman (1):
Input: xpad - validate USB endpoint count during probe
Dmitri Epshtein (1):
net: mvneta: set real interrupt per packet for tx_done
Greg Kroah-Hartman (1):
Linux 3.14.75
Ilya Dryomov (1):
libceph: apply new_state before new_up_client on incrementals
Jeff Mahoney (2):
Revert "ecryptfs: forbid opening files without mmap handler"
ecryptfs: don't allow mmap when the lower fs doesn't support it
Kangjie Lu (3):
ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS
ALSA: timer: Fix leak in events via snd_timer_user_ccallback
ALSA: timer: Fix leak in events via snd_timer_user_tinterrupt
Oliver Hartkopp (2):
can: fix handling of unmodifiable configuration options fix
can: fix oops caused by wrong rtnl dellink usage
Ping Cheng (1):
Input: wacom_w8001 - w8001_MAX_LENGTH should be 13
Taras Kondratiuk (1):
mmc: block: fix packed command header endianness
Tony Lindgren (1):
pinctrl: single: Fix missing flush of posted write for a wakeirq
Torsten Hilbrich (1):
fs/nilfs2: fix potential underflow in call to crc32_le
Ursula Braun (1):
qeth: delete napi struct when removing a qeth device
Vegard Nossum (1):
ext4: verify extent header depth
Vineet Gupta (1):
ARC: use ASL assembler mnemonic
Wolfgang Grandegger (1):
can: at91_can: RX queue could get stuck at high bus load
Greg KH
maintainerMakefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 14 -SUBLEVEL = 74 +SUBLEVEL = 75 EXTRAVERSION = NAME = Remembering Coco
arch/arc/kernel/stacktrace.c +1 -1
@@ -131,7 +131,7 @@ arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs,* prelogue is setup (callee regs saved and then fp set and not other * way around */ -pr_warn ("CONFIG_ARC_DW2_UNWIND needs to be enabled\n" ); +pr_warn_once ("CONFIG_ARC_DW2_UNWIND needs to be enabled\n" );return 0 ;#endif
arch/arc/mm/tlbex.S +3 -3
@@ -89,7 +89,7 @@ ex_saved_reg1: #ifdef CONFIG_SMP sr r0, [ARC_REG_SCRATCH_DATA0] ; freeup r0 to code with GET_CPU_ID r0 ; get to per cpu scratch mem, - lsl r0, r0, L1_CACHE_SHIFT ; cache line wide per cpu + asl r0, r0, L1_CACHE_SHIFT ; cache line wide per cpu add r0, @ex_saved_reg1, r0 #else st r0, [@ex_saved_reg1]
@@ -108,7 +108,7 @@ ex_saved_reg1: .macro TLBMISS_RESTORE_REGS #ifdef CONFIG_SMP GET_CPU_ID r0 ; get to per cpu scratch mem - lsl r0, r0, L1_CACHE_SHIFT ; each is cache line wide + asl r0, r0, L1_CACHE_SHIFT ; each is cache line wide add r0, @ex_saved_reg1, r0 ld_s r3, [r0,12] ld_s r2, [r0, 8]
@@ -220,7 +220,7 @@ ex_saved_reg1: .macro CONV_PTE_TO_TLB and r3, r0, PTE_BITS_RWX ; r w x - lsl r2, r3, 3 ; r w x 0 0 0 + asl r2, r3, 3 ; Kr Kw Kx 0 0 0 (GLOBAL, kernel only) and.f 0, r0, _PAGE_GLOBAL or.z r2, r2, r3 ; r w x r w x
drivers/input/joystick/xpad.c +3 -0
@@ -844,6 +844,9 @@ static int xpad_probe(struct usb_interface *intf, const struct usb_device_id *idstruct usb_endpoint_descriptor *ep_irq_in;int i, error; +if (intf->cur_altsetting->desc.bNumEndpoints !=2 ) +return -ENODEV ; +for (i =0 ; xpad_device[i].idVendor; i++) {if ((le16_to_cpu (udev->descriptor.idVendor) == xpad_device[i].idVendor) && (le16_to_cpu (udev->descriptor.idProduct) == xpad_device[i].idProduct))
drivers/input/touchscreen/wacom_w8001.c +1 -1
@@ -27,7 +27,7 @@ MODULE_AUTHOR("Jaya Kumar <[email protected]>");MODULE_DESCRIPTION (DRIVER_DESC );MODULE_LICENSE ("GPL" ); -#define W8001_MAX_LENGTH 11 +#define W8001_MAX_LENGTH 13#define W8001_LEAD_MASK 0x80#define W8001_LEAD_BYTE 0x80#define W8001_TAB_MASK 0x40
drivers/mmc/card/block.c +6 -6
@@ -1610,8 +1610,8 @@ static void mmc_blk_packed_hdr_wrq_prep(struct mmc_queue_req *mqrq, packed_cmd_hdr = packed->cmd_hdr;memset (packed_cmd_hdr,0 ,sizeof (packed->cmd_hdr)); - packed_cmd_hdr[0 ] = (packed->nr_entries <<16 ) | - (PACKED_CMD_WR <<8 ) |PACKED_CMD_VER ; + packed_cmd_hdr[0 ] =cpu_to_le32 ((packed->nr_entries <<16 ) | + (PACKED_CMD_WR <<8 ) |PACKED_CMD_VER ); hdr_blocks =mmc_large_sector (card) ?8 :1 ;/*
@@ -1625,14 +1625,14 @@ static void mmc_blk_packed_hdr_wrq_prep(struct mmc_queue_req *mqrq, ((brq->data.blocks * brq->data.blksz) >= card->ext_csd.data_tag_unit_size);/* Argument of CMD23 */ - packed_cmd_hdr[(i *2 )] = + packed_cmd_hdr[(i *2 )] =cpu_to_le32 ( (do_rel_wr ?MMC_CMD23_ARG_REL_WR :0 ) | (do_data_tag ?MMC_CMD23_ARG_TAG_REQ :0 ) | -blk_rq_sectors (prq); +blk_rq_sectors (prq));/* Argument of CMD18 or CMD25 */ - packed_cmd_hdr[((i *2 )) +1 ] = + packed_cmd_hdr[((i *2 )) +1 ] =cpu_to_le32 (mmc_card_blockaddr (card) ? -blk_rq_pos (prq) :blk_rq_pos (prq) <<9 ; +blk_rq_pos (prq) :blk_rq_pos (prq) <<9 ); packed->blocks +=blk_rq_sectors (prq); i++; }
drivers/net/can/at91_can.c +3 -2
@@ -730,9 +730,10 @@ static int at91_poll_rx(struct net_device *dev, int quota)/* upper group completed, look again in lower */ if (priv->rx_next >get_mb_rx_low_last (priv) && - quota >0 && mb >get_mb_rx_last (priv)) { + mb >get_mb_rx_last (priv)) { priv->rx_next =get_mb_rx_first (priv); - goto again; +if (quota >0 ) + goto again; }return received;
drivers/net/can/dev.c +9 -0
@@ -665,6 +665,9 @@ static int can_changelink(struct net_device *dev, } } +if (!data) +return 0 ; +if (data[IFLA_CAN_CTRLMODE ]) {struct can_ctrlmode *cm;
@@ -768,6 +771,11 @@ static int can_newlink(struct net *src_net, struct net_device *dev,return -EOPNOTSUPP ; } +static void can_dellink (struct net_device *dev,struct list_head *head) +{ +return ; +} +static struct rtnl_link_ops can_link_ops__read_mostly = { .kind ="can" , .maxtype =IFLA_CAN_MAX ,
@@ -775,6 +783,7 @@ static struct rtnl_link_ops can_link_ops __read_mostly = { .setup = can_setup, .newlink = can_newlink, .changelink = can_changelink, + .dellink = can_dellink, .get_size = can_get_size, .fill_info = can_fill_info, .get_xstats_size = can_get_xstats_size,
drivers/net/ethernet/marvell/mvneta.c +1 -1
@@ -213,7 +213,7 @@/* Various constants */ /* Coalescing */ -#define MVNETA_TXDONE_COAL_PKTS 1 +#define MVNETA_TXDONE_COAL_PKTS 0/* interrupt per packet */ #define MVNETA_RX_COAL_PKTS 32#define MVNETA_RX_COAL_USEC 100
drivers/pinctrl/pinctrl-single.c +3 -0
@@ -1616,6 +1616,9 @@ static inline void pcs_irq_set(struct pcs_soc_data *pcs_soc,else mask &= ~soc_mask; pcs->write (mask, pcswi->reg); + +/* flush posted write */ + mask = pcs->read (pcswi->reg);raw_spin_unlock (&pcs->lock); }
drivers/s390/net/qeth_l2_main.c +1 -0
@@ -906,6 +906,7 @@ static void qeth_l2_remove_device(struct ccwgroup_device *cgdev)qeth_l2_set_offline (cgdev);if (card->dev) { +netif_napi_del (&card->napi);unregister_netdev (card->dev); card->dev =NULL ; }
drivers/s390/net/qeth_l3_main.c +1 -0
@@ -3333,6 +3333,7 @@ static void qeth_l3_remove_device(struct ccwgroup_device *cgdev)qeth_l3_set_offline (cgdev);if (card->dev) { +netif_napi_del (&card->napi);unregister_netdev (card->dev); card->dev =NULL ; }
drivers/scsi/ipr.c +1 -0
@@ -9644,6 +9644,7 @@ static int ipr_probe_ioa(struct pci_dev *pdev, ioa_cfg->intr_flag =IPR_USE_MSI ; else { ioa_cfg->intr_flag =IPR_USE_LSI ; + ioa_cfg->clear_isr =1 ; ioa_cfg->nvectors =1 ;dev_info (&pdev->dev,"Cannot enable MSI.\n" ); }
drivers/xen/xen-pciback/conf_space.c +2 -4
@@ -183,8 +183,7 @@ int xen_pcibk_config_read(struct pci_dev *dev, int offset, int size, field_start =OFFSET (cfg_entry); field_end =OFFSET (cfg_entry) + field->size; -if ((req_start >= field_start && req_start < field_end) - || (req_end > field_start && req_end <= field_end)) { +if (req_end > field_start && field_end > req_start) { err =conf_space_read (dev, cfg_entry, field_start, &tmp_val);if (err)
@@ -230,8 +229,7 @@ int xen_pcibk_config_write(struct pci_dev *dev, int offset, int size, u32 value) field_start =OFFSET (cfg_entry); field_end =OFFSET (cfg_entry) + field->size; -if ((req_start >= field_start && req_start < field_end) - || (req_end > field_start && req_end <= field_end)) { +if (req_end > field_start && field_end > req_start) { tmp_val =0 ; err = xen_pcibk_config_read(dev, field_start,
fs/ecryptfs/file.c +14 -1
@@ -178,6 +178,19 @@ out:return rc; } +static int ecryptfs_mmap (struct file *file,struct vm_area_struct *vma) +{ +struct file *lower_file =ecryptfs_file_to_lower (file); +/* +* Don't allow mmap on top of file systems that don't support it +* natively. If FILESYSTEM_MAX_STACK_DEPTH > 2 or ecryptfs +* allows recursive mounting, this will need to be extended. +*/ +if (!lower_file->f_op->mmap) +return -ENODEV ; +return generic_file_mmap (file, vma); +} +/** * ecryptfs_open * @inode: inode speciying file to open
@@ -349,7 +362,7 @@ const struct file_operations ecryptfs_main_fops = {#ifdef CONFIG_COMPAT .compat_ioctl = ecryptfs_compat_ioctl, #endif - .mmap = generic_file_mmap, + .mmap = ecryptfs_mmap, .open = ecryptfs_open, .flush = ecryptfs_flush, .release = ecryptfs_release,
fs/ecryptfs/kthread.c +2 -11
@@ -25,7 +25,6 @@#include <linux/slab.h> #include <linux/wait.h> #include <linux/mount.h> -#include <linux/file.h> #include "ecryptfs_kernel.h" struct ecryptfs_open_req {
@@ -148,7 +147,7 @@ int ecryptfs_privileged_open(struct file **lower_file, flags |=IS_RDONLY (lower_dentry->d_inode) ?O_RDONLY :O_RDWR ; (*lower_file) =dentry_open (&req.path, flags, cred);if (!IS_ERR (*lower_file)) - goto have_file; + goto out;if ((flags &O_ACCMODE ) ==O_RDONLY ) { rc =PTR_ERR ((*lower_file)); goto out;
@@ -166,16 +165,8 @@ int ecryptfs_privileged_open(struct file **lower_file,mutex_unlock (&ecryptfs_kthread_ctl.mux);wake_up (&ecryptfs_kthread_ctl.wait);wait_for_completion (&req.done); -if (IS_ERR (*lower_file)) { +if (IS_ERR (*lower_file)) rc =PTR_ERR (*lower_file); - goto out; - } -have_file: -if ((*lower_file)->f_op->mmap ==NULL ) { -fput (*lower_file); - *lower_file =NULL ; - rc = -EMEDIUMTYPE ; - } out:return rc; }
fs/ext4/extents.c +4 -0
@@ -452,6 +452,10 @@ static int __ext4_ext_check(const char *function, unsigned int line, error_msg ="invalid extent entries" ; goto corrupted; } +if (unlikely (depth >32 )) { + error_msg ="too large eh_depth" ; + goto corrupted; + }/* Verify checksum on non-root extent tree nodes */ if (ext_depth (inode) != depth && !ext4_extent_block_csum_verify (inode, eh)) {
fs/nilfs2/the_nilfs.c +1 -1
@@ -431,7 +431,7 @@ static int nilfs_valid_sb(struct nilfs_super_block *sbp)if (!sbp ||le16_to_cpu (sbp->s_magic) !=NILFS_SUPER_MAGIC )return 0 ; bytes =le16_to_cpu (sbp->s_bytes); -if (bytes >BLOCK_SIZE ) +if (bytes < sumoff +4 || bytes >BLOCK_SIZE )return 0 ; crc =crc32_le (le32_to_cpu (sbp->s_crc_seed), (unsigned char *)sbp, sumoff);
net/ceph/osdmap.c +108 -44
164 lines not on this page · raw message
sound/core/timer.c +3 -0
@@ -1208,6 +1208,7 @@ static void snd_timer_user_ccallback(struct snd_timer_instance *timeri, tu->tstamp = *tstamp;if ((tu->filter & (1 << event)) ==0 || !tu->tread)return ; +memset (&r1,0 ,sizeof (r1)); r1.event = event; r1.tstamp = *tstamp; r1.val = resolution;
@@ -1242,6 +1243,7 @@ static void snd_timer_user_tinterrupt(struct snd_timer_instance *timeri, }if ((tu->filter & (1 <<SNDRV_TIMER_EVENT_RESOLUTION )) && tu->last_resolution != resolution) { +memset (&r1,0 ,sizeof (r1)); r1.event =SNDRV_TIMER_EVENT_RESOLUTION ; r1.tstamp = tstamp; r1.val = resolution;
@@ -1707,6 +1709,7 @@ static int snd_timer_user_params(struct file *file,if (tu->timeri->flags &SNDRV_TIMER_IFLG_EARLY_EVENT ) {if (tu->tread) {struct snd_timer_tread tread; +memset (&tread,0 ,sizeof (tread)); tread.event =SNDRV_TIMER_EVENT_EARLY ; tread.tstamp.tv_sec =0 ; tread.tstamp.tv_nsec =0 ;