I'm announcing the release of the 5.0.13 kernel.
All users of the 5.0 kernel series must upgrade.
The updated 5.0.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.0.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/x86/include/uapi/asm/kvm.h | 1
arch/x86/kvm/vmx/nested.c | 4 -
arch/x86/kvm/x86.c | 21 ++++++
drivers/net/dsa/bcm_sf2_cfp.c | 6 +
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 53 ++++++++++------
drivers/net/phy/marvell.c | 6 +
drivers/net/wireless/ath/ath10k/mac.c | 4 -
drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | 5 +
include/net/sctp/command.h | 1
net/ipv4/ip_output.c | 1
net/ipv4/tcp_ipv4.c | 13 +++-
net/ipv4/udp_offload.c | 16 +++--
net/ipv6/ip6_fib.c | 4 -
net/ipv6/ip6_flowlabel.c | 22 ++++--
net/ipv6/route.c | 47 ++++++--------
net/l2tp/l2tp_core.c | 10 +--
net/packet/af_packet.c | 37 +++++++----
net/rxrpc/call_object.c | 32 +++++-----
net/sctp/sm_sideeffect.c | 29 ---------
net/sctp/sm_statefuns.c | 35 ++++++++---
net/tls/tls_device.c | 39 ++++++++----
net/tls/tls_device_fallback.c | 3
sound/usb/line6/driver.c | 60 +++++++++++--------
sound/usb/line6/podhd.c | 21 +++---
sound/usb/line6/toneport.c | 24 +++++--
tools/testing/selftests/net/fib_rule_tests.sh | 10 ++-
27 files changed, 308 insertions(+), 198 deletions(-)
Andrew Lunn (1):
net: phy: marvell: Fix buffer overrun with stats counters
Dan Carpenter (1):
net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
David Ahern (1):
selftests: fib_rule_tests: Fix icmp proto with ipv6
David Howells (1):
rxrpc: Fix net namespace cleanup
Eric Dumazet (6):
ipv6: fix races in ip6_dst_destroy()
ipv6/flowlabel: wait rcu grace period before put_pid()
l2ip: fix possible use-after-free
l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
tcp: add sanity tests in tcp_add_backlog()
udp: fix GRO packet of death
Greg Kroah-Hartman (3):
ALSA: line6: use dynamic buffers
iwlwifi: mvm: properly check debugfs dentry before using it
Linux 5.0.13
Hangbin Liu (1):
selftests: fib_rule_tests: print the result and return 1 if any tests failed
Jakub Kicinski (3):
net/tls: avoid NULL pointer deref on nskb->sk in fallback
net/tls: don't copy negative amounts of data in reencrypt
net/tls: fix copy to fragments in reencrypt
Jim Mattson (1):
KVM: nVMX: Fix size checks in vmx_set_nested_state
Martin KaFai Lau (1):
ipv6: A few fixes on dereferencing rt->from
Michael Chan (5):
bnxt_en: Improve multicast address setup logic.
bnxt_en: Fix possible crash in bnxt_hwrm_ring_free() under error conditions.
bnxt_en: Pass correct extended TX port statistics size to firmware.
bnxt_en: Fix statistics context reservation logic.
bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
Paolo Abeni (1):
udp: fix GRO reception in case of length mismatch
Rafael J. Wysocki (1):
ath10k: Drop WARN_ON()s that always trigger during system resume
Sean Christopherson (1):
KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
Shmulik Ladkani (1):
ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
Vasundhara Volam (1):
bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
Willem de Bruijn (3):
ipv6: invert flowlabel sharing check in process and user mode
packet: validate msg_namelen in send directly
packet: in recvmsg msg_name return at least sizeof sockaddr_ll
Xin Long (1):
sctp: avoid running the sctp state machine recursively
I'm announcing the release of the 4.19.40 kernel.
All users of the 4.19 kernel series must upgrade.
The updated 4.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.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/x86/include/uapi/asm/kvm.h | 1
arch/x86/kvm/vmx.c | 4 -
arch/x86/kvm/x86.c | 21 ++++++++-
drivers/net/dsa/bcm_sf2_cfp.c | 6 ++
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 19 ++++++--
drivers/net/phy/marvell.c | 6 +-
drivers/net/wireless/ath/ath10k/mac.c | 2
include/net/sctp/command.h | 1
net/ipv4/ip_output.c | 1
net/ipv6/ip6_fib.c | 4 -
net/ipv6/ip6_flowlabel.c | 22 ++++++---
net/ipv6/route.c | 47 ++++++++------------
net/l2tp/l2tp_core.c | 10 ++--
net/packet/af_packet.c | 24 ++++++----
net/rxrpc/call_object.c | 32 ++++++-------
net/sctp/sm_sideeffect.c | 29 ------------
net/sctp/sm_statefuns.c | 35 +++++++++++----
net/tls/tls_device.c | 39 ++++++++++++----
net/tls/tls_device_fallback.c | 3 -
sound/usb/line6/driver.c | 60 +++++++++++++++-----------
sound/usb/line6/podhd.c | 21 +++++----
sound/usb/line6/toneport.c | 24 +++++++---
tools/testing/selftests/net/fib_rule_tests.sh | 6 ++
24 files changed, 247 insertions(+), 172 deletions(-)
Andrew Lunn (1):
net: phy: marvell: Fix buffer overrun with stats counters
Dan Carpenter (1):
net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
David Howells (1):
rxrpc: Fix net namespace cleanup
Eric Dumazet (4):
ipv6: fix races in ip6_dst_destroy()
ipv6/flowlabel: wait rcu grace period before put_pid()
l2ip: fix possible use-after-free
l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
Greg Kroah-Hartman (2):
ALSA: line6: use dynamic buffers
Linux 4.19.40
Hangbin Liu (1):
selftests: fib_rule_tests: print the result and return 1 if any tests failed
Jakub Kicinski (3):
net/tls: avoid NULL pointer deref on nskb->sk in fallback
net/tls: don't copy negative amounts of data in reencrypt
net/tls: fix copy to fragments in reencrypt
Jim Mattson (1):
KVM: nVMX: Fix size checks in vmx_set_nested_state
Martin KaFai Lau (1):
ipv6: A few fixes on dereferencing rt->from
Michael Chan (2):
bnxt_en: Improve multicast address setup logic.
bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
Rafael J. Wysocki (1):
ath10k: Drop WARN_ON()s that always trigger during system resume
Sean Christopherson (1):
KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
Shmulik Ladkani (1):
ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
Vasundhara Volam (1):
bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
Willem de Bruijn (2):
ipv6: invert flowlabel sharing check in process and user mode
packet: validate msg_namelen in send directly
Xin Long (1):
sctp: avoid running the sctp state machine recursively
From: Minchan Kim <minchan(a)kernel.org>
commit e496612c5130567fc9d5f1969ca4b86665aa3cbb upstream.
Shakeel Butt reported he has observed in production systems that the job
loader gets stuck for 10s of seconds while doing a mount operation. It
turns out that it was stuck in register_shrinker() because some
unrelated job was under memory pressure and was spending time in
shrink_slab(). Machines have a lot of shrinkers registered and jobs
under memory pressure have to traverse all of those memcg-aware
shrinkers and affect unrelated jobs which want to register their own
shrinkers.
To solve the issue, this patch simply bails out slab shrinking if it is
found that someone wants to register a shrinker in parallel. A downside
is it could cause unfair shrinking between shrinkers. However, it
should be rare and we can add compilcated logic if we find it's not
enough.
[akpm(a)linux-foundation.org: tweak code comment]
Link: http://lkml.kernel.org/r/20171115005602.GB23810@bbox
Link: http://lkml.kernel.org/r/1511481899-20335-1-git-send-email-minchan@kernel.o…
Signed-off-by: Minchan Kim <minchan(a)kernel.org>
Signed-off-by: Shakeel Butt <shakeelb(a)google.com>
Reported-by: Shakeel Butt <shakeelb(a)google.com>
Tested-by: Shakeel Butt <shakeelb(a)google.com>
Acked-by: Johannes Weiner <hannes(a)cmpxchg.org>
Acked-by: Michal Hocko <mhocko(a)suse.com>
Cc: Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
Cc: Anshuman Khandual <khandual(a)linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds(a)linux-foundation.org>
[rkolchmeyer: Backported to 4.14: adjusted context]
Signed-off-by: Robert Kolchmeyer <rkolchmeyer(a)google.com>
---
Backport of commit e496612c5130567fc9d5f1969ca4b86665aa3cbb upstream.
We would like to apply this to linux-4.14.y.
I needed to change the patch context for the patch to apply to linux-4.14.y.
The actual fix remains unchanged.
mm/vmscan.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 9734e62654fa..99837e931f53 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -502,6 +502,15 @@ static unsigned long shrink_slab(gfp_t gfp_mask, int nid,
sc.nid = 0;
freed += do_shrink_slab(&sc, shrinker, nr_scanned, nr_eligible);
+ /*
+ * Bail out if someone want to register a new shrinker to
+ * prevent the regsitration from being stalled for long periods
+ * by parallel ongoing shrinking.
+ */
+ if (rwsem_is_contended(&shrinker_rwsem)) {
+ freed = freed ? : 1;
+ break;
+ }
}
up_read(&shrinker_rwsem);
--
2.21.0.593.g511ec345e18-goog