Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1333811 > unrolled thread
| Started by | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| First post | 2016-02-15 00:30 +0100 |
| Last post | 2016-02-17 21:40 +0100 |
| Articles | 6 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH 3.14 00/76] 3.14.61-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-15 00:30 +0100
[PATCH 3.14 07/76] proc: actually make proc_fd_permission() thread-friendly Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-15 00:30 +0100
Re: [PATCH 3.14 00/76] 3.14.61-stable review Guenter Roeck <linux@roeck-us.net> - 2016-02-15 16:50 +0100
Re: [PATCH 3.14 00/76] 3.14.61-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-17 21:40 +0100
Re: [PATCH 3.14 00/76] 3.14.61-stable review Shuah Khan <shuahkh@osg.samsung.com> - 2016-02-15 18:10 +0100
Re: [PATCH 3.14 00/76] 3.14.61-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-17 21:40 +0100
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2016-02-15 00:30 +0100 |
| Subject | [PATCH 3.14 00/76] 3.14.61-stable review |
| Message-ID | <r2dO2-Ir-25@gated-at.bofh.it> |
This is the start of the stable review cycle for the 3.14.61 release.
There are 76 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Tue Feb 16 22:22:01 UTC 2016.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
kernel.org/pub/linux/kernel/v3.x/stable-review/patch-3.14.61-rc1.gz
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Linux 3.14.61-rc1
Maciej W. Rozycki <macro@imgtec.com>
binfmt_elf: Don't clobber passed executable's file header
Kinglong Mee <kinglongmee@gmail.com>
FS-Cache: Don't override netfs's primary_index if registering failed
Kinglong Mee <kinglongmee@gmail.com>
FS-Cache: Increase reference of parent after registering, netfs success
Mathias Krause <minipli@googlemail.com>
crypto: user - lock crypto_alg_list on alg dump
Ryan Ware <ware@linux.intel.com>
EVM: Use crypto_memneq() for digest comparisons
Wang, Rui Y <rui.y.wang@intel.com>
crypto: algif_hash - wait for crypto_ahash_init() to complete
Alexandra Yates <alexandra.yates@linux.intel.com>
ahci: Intel DNV device IDs SATA
Tejun Heo <tj@kernel.org>
libata: disable forced PORTS_IMPL for >= AHCI 1.3
Xiangliang Yu <Xiangliang.Yu@amd.com>
AHCI: Fix softreset failed issue of Port Multiplier
Herbert Xu <herbert@gondor.apana.org.au>
crypto: af_alg - Fix socket double-free when accept fails
Herbert Xu <herbert@gondor.apana.org.au>
crypto: af_alg - Disallow bind/setkey/... after accept(2)
David Turner <novalis@novalis.org>
ext4: Fix handling of extended tv_sec
Mathias Nyman <mathias.nyman@linux.intel.com>
xhci: fix usb2 resume timing and races.
Peter Hurley <peter@hurleysoftware.com>
tty: Fix unsafe ldisc reference via ioctl(TIOCGETD)
Peter Hurley <peter@hurleysoftware.com>
tty: Fix GPF in flush_to_ldisc()
John Ernberg <john.ernberg@actia.se>
USB: option: fix Cinterion AHxx enumeration
Daniele Palmas <dnlplm@gmail.com>
USB: serial: option: Adding support for Telit LE922
Peter Dedecker <peter.dedecker@hotmail.com>
USB: cp210x: add ID for IAI USB to RS485 adaptor
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
USB: serial: ftdi_sio: add support for Yaesu SCU-18 cable
Du, Changbin <changbin.du@intel.com>
usb: hub: do not clear BOS field during reset device
Johan Hovold <johan@kernel.org>
USB: visor: fix null-deref at probe
Vladis Dronov <vdronov@redhat.com>
USB: serial: visor: fix crash on detecting device without write_urbs
Mauro Carvalho Chehab <mchehab@osg.samsung.com>
saa7134-alsa: Only frees registered sound cards
Takashi Iwai <tiwai@suse.de>
ALSA: dummy: Implement timer backend switching more safely
Takashi Iwai <tiwai@suse.de>
ALSA: hda - Fix speaker output from VAIO AiO machines
David Henningsson <david.henningsson@canonical.com>
ALSA: hda - Fix static checker warning in patch_hdmi.c
Takashi Iwai <tiwai@suse.de>
ALSA: hda - Add fixup for Mac Mini 7,1 model
Takashi Iwai <tiwai@suse.de>
ALSA: timer: Fix race between stop and interrupt
Takashi Iwai <tiwai@suse.de>
ALSA: timer: Fix wrong instance passed to slave callbacks
Takashi Iwai <tiwai@suse.de>
ALSA: timer: Fix link corruption due to double start or stop
Takashi Iwai <tiwai@suse.de>
ALSA: timer: Fix leftover link at closing
Takashi Iwai <tiwai@suse.de>
ALSA: timer: Code cleanup
Takashi Iwai <tiwai@suse.de>
ALSA: seq: Fix lockdep warnings due to double mutex locks
Takashi Iwai <tiwai@suse.de>
ALSA: seq: Fix race at closing in virmidi driver
Takashi Iwai <tiwai@suse.de>
ALSA: seq: Fix yet another races among ALSA timer accesses
Vinod Koul <vinod.koul@intel.com>
ASoC: dpcm: fix the BE state on hw_free
Takashi Iwai <tiwai@suse.de>
ALSA: pcm: Fix potential deadlock in OSS emulation
Takashi Iwai <tiwai@suse.de>
ALSA: rawmidi: Fix race at copying & updating the position
Takashi Iwai <tiwai@suse.de>
ALSA: rawmidi: Remove kernel WARNING for NULL user-space buffer check
Takashi Iwai <tiwai@suse.de>
ALSA: seq: Fix incorrect sanity check at snd_seq_oss_synth_cleanup()
Takashi Iwai <tiwai@suse.de>
ALSA: dummy: Disable switching timer backend via sysfs
Takashi Iwai <tiwai@suse.de>
ALSA: compress: Disable GET_CODEC_CAPS ioctl for some architectures
Andrey Konovalov <andreyknvl@gmail.com>
ALSA: usb-audio: avoid freeing umidi object twice
Guillaume Fougnies <guillaume@eulerian.com>
ALSA: usb-audio: Fix TEAC UD-501/UD-503/NT-503 usb delay
Al Viro <viro@zeniv.linux.org.uk>
fix sysvfs symlinks
Tiffany Lin <tiffany.lin@mediatek.com>
media: vb2 dma-contig: Fully cache synchronise buffers in prepare and finish
Andrzej Hajda <a.hajda@samsung.com>
v4l2-compat-ioctl32: fix alignment for ARM64
Helge Deller <deller@gmx.de>
parisc: Fix __ARCH_SI_PREAMBLE_SIZE
Helge Deller <deller@gmx.de>
parisc: Fix syscall restarts
Helge Deller <deller@gmx.de>
parisc: Drop unused MADV_xxxK_PAGES flags from asm/mman.h
Andy Leiserson <andy@leiserson.org>
fix calculation of meta_bg descriptor backups
Jan Kara <jack@suse.cz>
jbd2: Fix unreclaimed pages after truncate in data=journal mode
Qiu Peiyang <peiyangx.qiu@intel.com>
tracing: Fix setting of start_index in find_next()
Christoph Biedl <linux-kernel.bfrz@manchmal.in-ulm.de>
PCI: Fix minimum allocation address overwrite
Boris BREZILLON <boris.brezillon@free-electrons.com>
mtd: mtdpart: fix add_mtd_partitions error path
Hon Ching \(Vicky\) Lo <honclo@linux.vnet.ibm.com>
vTPM: fix memory allocation flag for rtce buffer at kernel boot
Uri Mashiach <uri.mashiach@compulab.co.il>
wlcore/wl12xx: spi: fix NULL pointer dereference (Oops)
Uri Mashiach <uri.mashiach@compulab.co.il>
wlcore/wl12xx: spi: fix oops on firmware load
Johan Hovold <johan@kernel.org>
spi: fix parent-device reference leak
Vignesh R <vigneshr@ti.com>
spi: ti-qspi: Fix data corruption seen on r/w stress test
David Mosberger-Tang <davidm@egauge.net>
spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word
Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
Revert "dm mpath: fix stalls when handling invalid ioctls"
Dmitry V. Levin <ldv@altlinux.org>
sh64: fix __NR_fgetxattr
xuejiufei <xuejiufei@huawei.com>
ocfs2/dlm: clear refmap bit of recovery lock while doing local recovery cleanup
xuejiufei <xuejiufei@huawei.com>
ocfs2/dlm: ignore cleaning the migration mle that is inuse
Junxiao Bi <junxiao.bi@oracle.com>
ocfs2: fix SGID not inherited issue
Richard Weinberger <richard@nod.at>
kernel/signal.c: unexport sigsuspend()
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
fat: fix fake_offset handling on error path
Arnd Bergmann <arnd@arndb.de>
remoteproc: avoid stack overflow in debugfs file
Oleg Nesterov <oleg@redhat.com>
proc: actually make proc_fd_permission() thread-friendly
Ioan-Adrian Ratiu <adi@adirat.com>
HID: usbhid: fix recursive deadlock
Seth Jennings <sjennings@variantweb.net>
drivers/base/memory.c: prohibit offlining of memory blocks with missing sections
Mike Snitzer <snitzer@redhat.com>
dm btree: fix leak of bufio-backed block in btree_split_sibling error path
Herbert Xu <herbert@gondor.apana.org.au>
crypto: algif_hash - Only export and import on sockets with data
libin <huawei.libin@huawei.com>
recordmcount: Fix endianness handling bug for nop_mcount
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
xhci: fix placement of call to usb_disabled()
-------------
Diffstat:
Makefile | 4 +-
arch/parisc/include/uapi/asm/mman.h | 10 --
arch/parisc/include/uapi/asm/siginfo.h | 4 +
arch/parisc/kernel/signal.c | 64 +++++--
arch/sh/include/uapi/asm/unistd_64.h | 2 +-
crypto/af_alg.c | 39 ++++-
crypto/algif_hash.c | 16 +-
crypto/crypto_user.c | 6 +-
drivers/ata/ahci.c | 20 +++
drivers/ata/libahci.c | 13 +-
drivers/base/memory.c | 4 +
drivers/char/tpm/tpm_ibmvtpm.c | 2 +-
drivers/hid/usbhid/hid-core.c | 4 +-
drivers/md/dm-mpath.c | 7 +-
drivers/md/persistent-data/dm-btree.c | 4 +-
drivers/media/pci/saa7134/saa7134-alsa.c | 5 +-
drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 9 +-
drivers/media/v4l2-core/videobuf2-dma-contig.c | 5 +-
drivers/mtd/mtdpart.c | 4 +-
drivers/net/wireless/ti/wlcore/io.h | 10 +-
drivers/net/wireless/ti/wlcore/spi.c | 10 +-
drivers/pci/bus.c | 6 +-
drivers/remoteproc/remoteproc_debugfs.c | 2 +-
drivers/spi/spi-atmel.c | 3 +-
drivers/spi/spi-ti-qspi.c | 3 +-
drivers/spi/spi.c | 2 +-
drivers/tty/tty_buffer.c | 2 +-
drivers/tty/tty_io.c | 24 ++-
drivers/usb/core/hub.c | 8 +-
drivers/usb/host/xhci-hub.c | 45 ++++-
drivers/usb/host/xhci-ring.c | 3 +-
drivers/usb/host/xhci.c | 6 +-
drivers/usb/serial/cp210x.c | 1 +
drivers/usb/serial/ftdi_sio.c | 1 +
drivers/usb/serial/ftdi_sio_ids.h | 1 +
drivers/usb/serial/option.c | 18 +-
drivers/usb/serial/visor.c | 11 +-
fs/binfmt_elf.c | 10 +-
fs/ext4/ext4.h | 51 +++++-
fs/ext4/resize.c | 4 +-
fs/fat/dir.c | 16 +-
fs/fscache/netfs.c | 38 ++--
fs/jbd2/transaction.c | 2 +
fs/ocfs2/dlm/dlmmaster.c | 26 +--
fs/ocfs2/dlm/dlmrecovery.c | 2 +
fs/ocfs2/namei.c | 4 +-
fs/proc/fd.c | 14 +-
fs/sysv/inode.c | 10 +-
include/crypto/if_alg.h | 8 +-
include/linux/signal.h | 1 -
kernel/signal.c | 2 +-
kernel/trace/trace_printk.c | 1 +
scripts/recordmcount.h | 2 +-
security/integrity/evm/evm_main.c | 3 +-
sound/core/compress_offload.c | 11 ++
sound/core/oss/pcm_oss.c | 21 ++-
sound/core/rawmidi.c | 36 ++--
sound/core/seq/oss/seq_oss_synth.c | 2 +-
sound/core/seq/seq_clientmgr.c | 3 +
sound/core/seq/seq_ports.c | 233 ++++++++++++++-----------
sound/core/seq/seq_timer.c | 87 ++++++---
sound/core/seq/seq_virmidi.c | 6 +-
sound/core/timer.c | 64 ++++---
sound/drivers/dummy.c | 35 ++--
sound/pci/hda/patch_cirrus.c | 27 +++
sound/pci/hda/patch_hdmi.c | 3 +-
sound/pci/hda/patch_realtek.c | 1 +
sound/soc/soc-pcm.c | 3 +-
sound/usb/midi.c | 1 -
sound/usb/quirks.c | 14 +-
70 files changed, 777 insertions(+), 342 deletions(-)
[toc] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2016-02-15 00:30 +0100 |
| Subject | [PATCH 3.14 07/76] proc: actually make proc_fd_permission() thread-friendly |
| Message-ID | <r2eh6-18x-69@gated-at.bofh.it> |
| In reply to | #1333811 |
3.14-stable review patch. If anyone has any objections, please let me know.
------------------
From: Oleg Nesterov <oleg@redhat.com>
commit 54708d2858e79a2bdda10bf8a20c80eb96c20613 upstream.
The commit 96d0df79f264 ("proc: make proc_fd_permission() thread-friendly")
fixed the access to /proc/self/fd from sub-threads, but introduced another
problem: a sub-thread can't access /proc/<tid>/fd/ or /proc/thread-self/fd
if generic_permission() fails.
Change proc_fd_permission() to check same_thread_group(pid_task(), current).
Fixes: 96d0df79f264 ("proc: make proc_fd_permission() thread-friendly")
Reported-by: "Jin, Yihua" <yihua.jin@intel.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
fs/proc/fd.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
--- a/fs/proc/fd.c
+++ b/fs/proc/fd.c
@@ -283,11 +283,19 @@ static struct dentry *proc_lookupfd(stru
*/
int proc_fd_permission(struct inode *inode, int mask)
{
- int rv = generic_permission(inode, mask);
+ struct task_struct *p;
+ int rv;
+
+ rv = generic_permission(inode, mask);
if (rv == 0)
- return 0;
- if (task_tgid(current) == proc_pid(inode))
+ return rv;
+
+ rcu_read_lock();
+ p = pid_task(proc_pid(inode), PIDTYPE_PID);
+ if (p && same_thread_group(p, current))
rv = 0;
+ rcu_read_unlock();
+
return rv;
}
[toc] | [prev] | [next] | [standalone]
| From | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| Date | 2016-02-15 16:50 +0100 |
| Message-ID | <r2tzs-2WJ-23@gated-at.bofh.it> |
| In reply to | #1333811 |
On 02/14/2016 02:22 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.61 release. > There are 76 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Tue Feb 16 22:22:01 UTC 2016. > Anything received after that time might be too late. > Build results: total: 128 pass: 128 fail: 0 Qemu test results: total: 83 pass: 83 fail: 0 Details are available at http://kerneltests.org/builders. Guenter
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2016-02-17 21:40 +0100 |
| Message-ID | <r3h3d-3bi-33@gated-at.bofh.it> |
| In reply to | #1334549 |
On Mon, Feb 15, 2016 at 07:47:25AM -0800, Guenter Roeck wrote: > On 02/14/2016 02:22 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 3.14.61 release. > >There are 76 patches in this series, all will be posted as a response > >to this one. If anyone has any issues with these being applied, please > >let me know. > > > >Responses should be made by Tue Feb 16 22:22:01 UTC 2016. > >Anything received after that time might be too late. > > > > Build results: > total: 128 pass: 128 fail: 0 > Qemu test results: > total: 83 pass: 83 fail: 0 > > Details are available at http://kerneltests.org/builders. Thanks for testing all of these and letting me know. greg k-h
[toc] | [prev] | [next] | [standalone]
| From | Shuah Khan <shuahkh@osg.samsung.com> |
|---|---|
| Date | 2016-02-15 18:10 +0100 |
| Message-ID | <r2uOT-3Y1-45@gated-at.bofh.it> |
| In reply to | #1333811 |
On 02/14/2016 03:22 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.61 release. > There are 76 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Tue Feb 16 22:22:01 UTC 2016. > Anything received after that time might be too late. > > The whole patch series can be found in one patch at: > kernel.org/pub/linux/kernel/v3.x/stable-review/patch-3.14.61-rc1.gz > and the diffstat can be found below. > Compiled and booted on my test system. No dmesg regressions. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com | (970) 217-8978
[toc] | [prev] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2016-02-17 21:40 +0100 |
| Message-ID | <r3h3c-3bi-13@gated-at.bofh.it> |
| In reply to | #1334611 |
On Mon, Feb 15, 2016 at 10:07:33AM -0700, Shuah Khan wrote: > On 02/14/2016 03:22 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.14.61 release. > > There are 76 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please > > let me know. > > > > Responses should be made by Tue Feb 16 22:22:01 UTC 2016. > > Anything received after that time might be too late. > > > > The whole patch series can be found in one patch at: > > kernel.org/pub/linux/kernel/v3.x/stable-review/patch-3.14.61-rc1.gz > > and the diffstat can be found below. > > > > Compiled and booted on my test system. No dmesg regressions. Thanks for testing all of these and letting me know. greg k-h
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web