This is the start of the stable review cycle for the 3.18.133 release.
There are 52 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 Sat Jan 26 19:01:07 UTC 2019.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v3.x/stable-review/patch-3.18.133-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-3.18.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 3.18.133-rc1
Michal Hocko <mhocko(a)suse.com>
mm, proc: be more verbose about unstable VMA flags in /proc/<pid>/smaps
Junxiao Bi <junxiao.bi(a)oracle.com>
ocfs2: fix panic due to unrecovered local alloc
Daniel Vetter <daniel.vetter(a)ffwll.ch>
sysfs: Disable lockdep for driver bind/unbind files
Takashi Sakamoto <o-takashi(a)sakamocchi.jp>
ALSA: bebob: fix model-id of unit for Apogee Ensemble
Nikos Tsironis <ntsironis(a)arrikto.com>
dm snapshot: Fix excessive memory usage and workqueue stalls
Nikos Tsironis <ntsironis(a)arrikto.com>
dm kcopyd: Fix bug causing workqueue stalls
Arnaldo Carvalho de Melo <acme(a)redhat.com>
perf parse-events: Fix unchecked usage of strncpy()
Arnaldo Carvalho de Melo <acme(a)redhat.com>
perf svghelper: Fix unchecked usage of strncpy()
Jonas Danielsson <jonas(a)orbital-systems.com>
mmc: atmel-mci: do not assume idle after atmci_request_end
Masahiro Yamada <yamada.masahiro(a)socionext.com>
kconfig: fix memory leak when EOF is encountered in quotation
Lucas Stach <l.stach(a)pengutronix.de>
clk: imx6q: reset exclusive gates on init
David Disseldorp <ddiss(a)suse.de>
scsi: target: use consistent left-aligned ASCII INQUIRY data
yupeng <yupeng0921(a)gmail.com>
net: call sk_dst_reset when set SO_DONTROUTE
Nathan Chancellor <natechancellor(a)gmail.com>
media: firewire: Fix app_info parameter type in avc_ca{,_app}_info
Breno Leitao <leitao(a)debian.org>
powerpc/pseries/cpuidle: Fix preempt warning
Joel Fernandes (Google) <joel(a)joelfernandes.org>
pstore/ram: Do not treat empty buffers as valid
Daniel Santos <daniel.santos(a)pobox.com>
jffs2: Fix use of uninitialized delayed_work, lockdep breakage
Maciej W. Rozycki <macro(a)linux-mips.org>
MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
Kai-Heng Feng <kai.heng.feng(a)canonical.com>
r8169: Add support for new Realtek Ethernet
Mauro Carvalho Chehab <mchehab+samsung(a)kernel.org>
media: vb2: be sure to unlock mutex on errors
Ivan Mironov <mironov.ivan(a)gmail.com>
drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock
Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
block/loop: Use global lock for ioctl() operation.
Xin Long <lucien.xin(a)gmail.com>
sctp: allocate sctp_sockaddr_entry with kzalloc
Stephen Smalley <sds(a)tycho.nsa.gov>
selinux: fix GPF on invalid policy
J. Bruce Fields <bfields(a)redhat.com>
sunrpc: handle ENOMEM in rpcb_getport_async
Hans Verkuil <hverkuil(a)xs4all.nl>
media: vb2: vb2_mmap: move lock up
Hans Verkuil <hverkuil-cisco(a)xs4all.nl>
media: vivid: set min width/height to a value > 0
Hans Verkuil <hverkuil-cisco(a)xs4all.nl>
media: vivid: fix error handling of kthread_run
Vlad Tsyrklevich <vlad(a)tsyrklevich.net>
omap2fb: Fix stack memory disclosure
YunQiang Su <ysu(a)wavecomp.com>
Disable MSI also when pcie-octeon.pcie_disable on
Jonathan Hunter <jonathanh(a)nvidia.com>
mfd: tps6586x: Handle interrupts on suspend
Ivan Mironov <mironov.ivan(a)gmail.com>
scsi: sd: Fix cache_type_store()
Kees Cook <keescook(a)chromium.org>
Yama: Check for pid death before checking ancestry
Josef Bacik <josef(a)toxicpanda.com>
btrfs: wait on ordered extents on abort cleanup
Eric Biggers <ebiggers(a)google.com>
crypto: authenc - fix parsing key with misaligned rta_len
JianJhen Chen <kchen(a)synology.com>
net: bridge: fix a bug on using a neighbour cache entry without checking its state
Jason Gunthorpe <jgg(a)mellanox.com>
packet: Do not leak dev refcounts on error exit
Eric Dumazet <edumazet(a)google.com>
ipv6: fix kernel-infoleak in ipv6_local_error()
Ben Hutchings <ben(a)decadent.org.uk>
media: em28xx: Fix misplaced reset of dev->v4l::field_count
Oliver Hartkopp <socketcan(a)hartkopp.net>
can: gw: ensure DLC boundaries after CAN frame modification
Dmitry Safonov <dima(a)arista.com>
tty/ldsem: Wake up readers after timed out down_write()
Vasily Averin <vvs(a)virtuozzo.com>
sunrpc: use-after-free in svc_process_common()
Eric Biggers <ebiggers(a)google.com>
crypto: cts - fix crash on short inputs
Yi Zeng <yizeng(a)asrmicro.com>
i2c: dev: prevent adapter retries and timeout being set as minus value
Hans de Goede <hdegoede(a)redhat.com>
ACPI: power: Skip duplicate power resource references in _PRx
Christoph Lameter <cl(a)linux.com>
slab: alien caches must not be initialized if the allocation of the alien cache failed
Icenowy Zheng <icenowy(a)aosc.io>
USB: storage: add quirk for SMI SM3350
Icenowy Zheng <icenowy(a)aosc.io>
USB: storage: don't insert sane sense for SPC3+ when bad sense specified
Daniele Palmas <dnlplm(a)gmail.com>
usb: cdc-acm: send ZLP for Telit 3G Intel based modems
Ross Lagerwall <ross.lagerwall(a)citrix.com>
cifs: Fix potential OOB access of lock element array
Pavel Shilovsky <pshilov(a)microsoft.com>
CIFS: Do not hide EINTR after sending network packets
Andreas Larsson <andreas(a)gaisler.com>
sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
-------------
Diffstat:
Documentation/filesystems/proc.txt | 4 +-
Makefile | 4 +-
arch/arm/mach-imx/clk-imx6q.c | 6 ++-
arch/mips/Kconfig | 3 ++
arch/mips/pci/msi-octeon.c | 4 +-
arch/mips/sibyte/common/Makefile | 1 +
arch/mips/sibyte/common/dma.c | 14 +++++++
arch/sparc/kernel/signal_32.c | 4 +-
crypto/authenc.c | 14 +++++--
crypto/cts.c | 8 ++--
drivers/acpi/power.c | 22 +++++++++++
drivers/base/bus.c | 7 +++-
drivers/block/loop.c | 47 ++++++++++++------------
drivers/block/loop.h | 1 -
drivers/cpuidle/cpuidle-pseries.c | 8 +++-
drivers/gpu/drm/drm_fb_helper.c | 7 +++-
drivers/i2c/i2c-dev.c | 6 +++
drivers/md/dm-kcopyd.c | 19 +++++++---
drivers/md/dm-snap.c | 22 +++++++++++
drivers/media/firewire/firedtv-avc.c | 6 ++-
drivers/media/firewire/firedtv.h | 6 ++-
drivers/media/platform/vivid/vivid-kthread-cap.c | 5 ++-
drivers/media/platform/vivid/vivid-kthread-out.c | 5 ++-
drivers/media/platform/vivid/vivid-vid-common.c | 2 +-
drivers/media/usb/em28xx/em28xx-video.c | 4 +-
drivers/media/v4l2-core/videobuf2-core.c | 14 +++++--
drivers/mfd/tps6586x.c | 24 ++++++++++++
drivers/mmc/host/atmel-mci.c | 3 +-
drivers/net/ethernet/realtek/r8169.c | 2 +
drivers/scsi/sd.c | 6 +++
drivers/target/target_core_spc.c | 17 ++++++---
drivers/tty/tty_ldsem.c | 10 +++++
drivers/usb/class/cdc-acm.c | 7 ++++
drivers/usb/storage/scsiglue.c | 8 +++-
drivers/usb/storage/unusual_devs.h | 12 ++++++
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c | 2 +
fs/btrfs/disk-io.c | 8 ++++
fs/cifs/file.c | 8 ++--
fs/cifs/smb2file.c | 4 +-
fs/cifs/transport.c | 2 +-
fs/jffs2/super.c | 3 +-
fs/ocfs2/localalloc.c | 9 ++++-
fs/pstore/ram_core.c | 5 +++
include/linux/sunrpc/svc.h | 5 ++-
mm/slab.c | 6 ++-
net/bridge/br_netfilter.c | 2 +-
net/can/gw.c | 30 +++++++++++++--
net/core/sock.c | 1 +
net/ipv6/datagram.c | 1 +
net/packet/af_packet.c | 4 +-
net/sctp/ipv6.c | 5 +--
net/sctp/protocol.c | 4 +-
net/sunrpc/rpcb_clnt.c | 8 ++++
net/sunrpc/svc.c | 10 +++--
net/sunrpc/svc_xprt.c | 5 ++-
net/sunrpc/svcsock.c | 2 +-
scripts/kconfig/zconf.l | 2 +
security/selinux/ss/policydb.c | 3 +-
security/yama/yama_lsm.c | 4 +-
sound/firewire/bebob/bebob.c | 2 +-
tools/perf/util/parse-events.c | 2 +-
tools/perf/util/svghelper.c | 2 +-
62 files changed, 366 insertions(+), 105 deletions(-)
>>> The only minor annoyance I'm experiencing now, is a large amount of debug output from something in kernel log when audio is played on the system:
>>> writing to lpe: 00000000: 01 01 01 01 00 00 08 00 ff ff ff ff 55 00 00 00 ............U...
>>> writing to lpe: 00000000: 01 01 01 01 00 00 1a 00 ff ff ff ff 75 00 12 00 ............u...
>>> ...
>> That's enabled via dynamic debug so that's rather a configuration issue
>> than a kernel problem?
> Do you have any suggestions on how to disable it?
>
> My kernel is compiled without DYNAMIC_DEBUG, DEBUG_FS and other debug features, so I don't understand why all this debug output is flooding the kernel log.
>
> It's a minor issue, but it would be nice to get rid of it.
I can confirm that this happens without DYNAMIC_DEBUG, and somehow
changing the log level doesn't seem to matter. I tried changing the
console log as a kernel parameter or with playing
/proc/sys/kernel/printk, no luck. weird.
On 1/24/19 11:16 PM, Mogens Jensen wrote:
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Tuesday, January 22, 2019 7:27 PM, Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com> wrote:
>
>> On 1/20/19 11:55 PM, Mogens Jensen wrote:
>>
>>> The only minor annoyance I'm experiencing now, is a large amount of debug output from something in kernel log when audio is played on the system:
>>> writing to lpe: 00000000: 01 01 01 01 00 00 08 00 ff ff ff ff 55 00 00 00 ............U...
>>> writing to lpe: 00000000: 01 01 01 01 00 00 1a 00 ff ff ff ff 75 00 12 00 ............u...
>>> ...
>> That's enabled via dynamic debug so that's rather a configuration issue
>> than a kernel problem?
> Do you have any suggestions on how to disable it?
>
> My kernel is compiled without DYNAMIC_DEBUG, DEBUG_FS and other debug features, so I don't understand why all this debug output is flooding the kernel log.
>
> It's a minor issue, but it would be nice to get rid of it.
I don't see it so it's definitively a config issue. I use
make defconfig
scripts/kconfig/merge_config.sh .config base-defconfig sst-defconfig
hdaudio-codecs-defconfig
with all 3 defconfigs fetched from https://github.com/thesofproject/kconfig
This is a note to let you know that I've just added the patch titled
debugfs: fix debugfs_rename parameter checking
to my driver-core git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
in the driver-core-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From d88c93f090f708c18195553b352b9f205e65418f Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Date: Wed, 23 Jan 2019 11:27:02 +0100
Subject: debugfs: fix debugfs_rename parameter checking
debugfs_rename() needs to check that the dentries passed into it really
are valid, as sometimes they are not (i.e. if the return value of
another debugfs call is passed into this one.) So fix this up by
properly checking if the two parent directories are errors (they are
allowed to be NULL), and if the dentry to rename is not NULL or an
error.
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
fs/debugfs/inode.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index 13b01351dd1c..41ef452c1fcf 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -787,6 +787,13 @@ struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
struct dentry *dentry = NULL, *trap;
struct name_snapshot old_name;
+ if (IS_ERR(old_dir))
+ return old_dir;
+ if (IS_ERR(new_dir))
+ return new_dir;
+ if (IS_ERR_OR_NULL(old_dentry))
+ return old_dentry;
+
trap = lock_rename(new_dir, old_dir);
/* Source or destination directories don't exist? */
if (d_really_is_negative(old_dir) || d_really_is_negative(new_dir))
--
2.20.1