I'm announcing the release of the 5.4.154 kernel.
All users of the 5.4 kernel series must upgrade.
The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/m68k/kernel/signal.c | 88 ++++++++---------
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 3
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3
drivers/hid/hid-apple.c | 7 +
drivers/hid/wacom_wac.c | 8 +
drivers/net/ethernet/sun/Kconfig | 1
drivers/net/phy/bcm7xxx.c | 114 +++++++++++++++++++++-
drivers/scsi/ses.c | 2
drivers/scsi/virtio_scsi.c | 4
fs/ext4/inline.c | 15 --
fs/ext4/inode.c | 7 -
include/linux/sched.h | 2
include/net/pkt_sched.h | 1
net/ipv6/netfilter/ip6_tables.c | 1
net/mac80211/mesh_pathtbl.c | 5
net/mac80211/rx.c | 3
net/netfilter/nf_nat_masquerade.c | 168 +++++++++++++++++++--------------
net/sched/sch_api.c | 6 +
19 files changed, 298 insertions(+), 142 deletions(-)
Al Viro (1):
m68k: Handle arrivals of multiple signals correctly
Colin Ian King (1):
scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
Florian Fainelli (1):
net: phy: bcm7xxx: Fixed indirect MMD operations
Florian Westphal (2):
netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic
netfilter: nf_nat_masquerade: defer conntrack walk to work queue
Greg Kroah-Hartman (1):
Linux 5.4.154
Jeremy Sowden (1):
netfilter: ip6_tables: zero-initialize fragment offset
Jiapeng Chong (1):
scsi: ses: Fix unsigned comparison with less than zero
Joshua-Dickens (1):
HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs
Leslie Shi (1):
drm/amdgpu: fix gart.bo pin_count leak
MichelleJin (1):
mac80211: check return value of rhashtable_init
Mizuho Mori (1):
HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
Peter Zijlstra (1):
sched: Always inline is_percpu_thread()
Randy Dunlap (1):
net: sun: SUNVNET_COMMON should depend on INET
YueHaibing (1):
mac80211: Drop frames from invalid MAC address in ad-hoc mode
Zhang Yi (1):
ext4: correct the error path of ext4_write_inline_data_end()
王贇 (1):
net: prevent user from passing illegal stab size
I'm announcing the release of the 4.19.212 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:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/m68k/kernel/signal.c | 88 +++++++++++++++++-------------------
arch/x86/events/core.c | 1
drivers/hid/hid-apple.c | 7 ++
drivers/net/ethernet/sun/Kconfig | 1
drivers/net/phy/bcm7xxx.c | 94 +++++++++++++++++++++++++++++++++++++++
drivers/scsi/ses.c | 2
drivers/scsi/virtio_scsi.c | 4 -
include/linux/sched.h | 2
include/net/pkt_sched.h | 1
net/ipv6/netfilter/ip6_tables.c | 1
net/mac80211/mesh_pathtbl.c | 5 +-
net/mac80211/rx.c | 3 -
net/sched/sch_api.c | 6 ++
14 files changed, 164 insertions(+), 53 deletions(-)
Al Viro (1):
m68k: Handle arrivals of multiple signals correctly
Anand K Mistry (1):
perf/x86: Reset destroy callback on event init failure
Colin Ian King (1):
scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
Florian Fainelli (1):
net: phy: bcm7xxx: Fixed indirect MMD operations
Greg Kroah-Hartman (1):
Linux 4.19.212
Jeremy Sowden (1):
netfilter: ip6_tables: zero-initialize fragment offset
Jiapeng Chong (1):
scsi: ses: Fix unsigned comparison with less than zero
MichelleJin (1):
mac80211: check return value of rhashtable_init
Mizuho Mori (1):
HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
Peter Zijlstra (1):
sched: Always inline is_percpu_thread()
Randy Dunlap (1):
net: sun: SUNVNET_COMMON should depend on INET
YueHaibing (1):
mac80211: Drop frames from invalid MAC address in ad-hoc mode
王贇 (1):
net: prevent user from passing illegal stab size
I'm announcing the release of the 4.4.289 kernel.
All users of the 4.4 kernel series must upgrade.
The updated 4.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 -
arch/arm/mach-imx/pm-imx6.c | 2 +
arch/x86/kernel/cpu/perf_event.c | 1
arch/xtensa/kernel/irq.c | 2 -
drivers/hid/hid-apple.c | 7 ++++
drivers/net/ethernet/intel/i40e/i40e_main.c | 2 -
drivers/net/phy/mdio_bus.c | 7 ++++
drivers/ptp/ptp_pch.c | 1
drivers/scsi/ses.c | 2 -
drivers/scsi/virtio_scsi.c | 4 +-
drivers/usb/class/cdc-acm.c | 8 ++++
fs/nfsd/nfs4xdr.c | 19 ++++++-----
mm/gup.c | 48 +++++++++++++++++++++++-----
mm/huge_memory.c | 10 +----
mm/memory.c | 12 ++++---
net/ipv6/netfilter/ip6_tables.c | 1
net/mac80211/rx.c | 3 +
net/netlink/af_netlink.c | 14 +++++---
net/sched/sch_fifo.c | 3 +
19 files changed, 109 insertions(+), 39 deletions(-)
Anand K Mistry (1):
perf/x86: Reset destroy callback on event init failure
Andy Shevchenko (1):
ptp_pch: Load module automatically if ID matches
Colin Ian King (1):
scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
Eric Dumazet (2):
net_sched: fix NULL deref in fifo_set_limit()
netlink: annotate data races around nlk->bound
Greg Kroah-Hartman (1):
Linux 4.4.289
Jeremy Sowden (1):
netfilter: ip6_tables: zero-initialize fragment offset
Jiapeng Chong (1):
scsi: ses: Fix unsigned comparison with less than zero
Jiri Benc (1):
i40e: fix endless loop under rtnl
Johan Hovold (2):
USB: cdc-acm: fix racy tty buffer accesses
USB: cdc-acm: fix break reporting
Linus Torvalds (1):
gup: document and work around "COW can break either way" issue
Lorenzo Stoakes (1):
mm: check VMA flags to avoid invalid PROT_NONE NUMA balancing
Max Filippov (1):
xtensa: call irqchip_init only when CONFIG_USE_OF is selected
Mizuho Mori (1):
HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
Oleksij Rempel (1):
ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence
Pavel Skripkin (1):
phy: mdio: fix memory leak
Trond Myklebust (1):
nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero
YueHaibing (1):
mac80211: Drop frames from invalid MAC address in ad-hoc mode
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: b2381acd3fd9bacd2c63f53b2c610c89959b31cc
Gitweb: https://git.kernel.org/tip/b2381acd3fd9bacd2c63f53b2c610c89959b31cc
Author: Borislav Petkov <bp(a)suse.de>
AuthorDate: Fri, 15 Oct 2021 12:46:25 +02:00
Committer: Borislav Petkov <bp(a)suse.de>
CommitterDate: Sat, 16 Oct 2021 12:37:50 +02:00
x86/fpu: Mask out the invalid MXCSR bits properly
This is a fix for the fix (yeah, /facepalm).
The correct mask to use is not the negation of the MXCSR_MASK but the
actual mask which contains the supported bits in the MXCSR register.
Reported and debugged by Ville Syrjälä <ville.syrjala(a)linux.intel.com>
Fixes: d298b03506d3 ("x86/fpu: Restore the masking out of reserved MXCSR bits")
Signed-off-by: Borislav Petkov <bp(a)suse.de>
Tested-by: Ville Syrjälä <ville.syrjala(a)linux.intel.com>
Tested-by: Ser Olmy <ser.olmy(a)protonmail.com>
Cc: <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/YWgYIYXLriayyezv@intel.com
---
arch/x86/kernel/fpu/signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/fpu/signal.c b/arch/x86/kernel/fpu/signal.c
index fa17a27..831b25c 100644
--- a/arch/x86/kernel/fpu/signal.c
+++ b/arch/x86/kernel/fpu/signal.c
@@ -385,7 +385,7 @@ static int __fpu_restore_sig(void __user *buf, void __user *buf_fx,
return -EINVAL;
} else {
/* Mask invalid bits out for historical reasons (broken hardware). */
- fpu->state.fxsave.mxcsr &= ~mxcsr_feature_mask;
+ fpu->state.fxsave.mxcsr &= mxcsr_feature_mask;
}
/* Enforce XFEATURE_MASK_FPSSE when XSAVE is enabled */
Good day,
I have an investment proposal that I would like to discuss with
you. I await your urgent response so that I will explain more
regarding this awesome Investment Opportunity.
Regards,
Luis Fernandez
From: Steven Rostedt <rostedt(a)goodmis.org>
I received a build failure for a new patch I'm working on the nds32
architecture, and when I went to test it, I couldn't get to my build error,
because it failed to build with a bunch of:
Error: invalid operands (*UND* and *UND* sections) for `^'
issues with various files. Those files were temporary asm files that looked
like: kernel/.tmp_mc_fork.s
I decided to look deeper, and found that the "mc" portion of that name
stood for "mcount", and was created by the recordmcount.pl script. One that
I wrote over a decade ago. Once I knew the source of the problem, I was
able to investigate it further.
The way the recordmcount.pl script works (BTW, there's a C version that
simply modifies the ELF object) is by doing an "objdump" on the object
file. Looks for all the calls to "mcount", and creates an offset of those
locations from some global variable it can use (usually a global function
name, found with <.*>:). Creates a asm file that is a table of references
to these locations, using the found variable/function. Compiles it and
links it back into the original object file. This asm file is called
".tmp_mc_<object_base_name>.s".
The problem here is that the objdump produced by the nds32 object file,
contains things that look like:
0000159a <.L3^B1>:
159a: c6 00 beqz38 $r6, 159a <.L3^B1>
159a: R_NDS32_9_PCREL_RELA .text+0x159e
159c: 84 d2 movi55 $r6, #-14
159e: 80 06 mov55 $r0, $r6
15a0: ec 3c addi10.sp #0x3c
Where ".L3^B1 is somehow selected as the "global" variable to index off of.
Then the assembly file that holds the mcount locations looks like this:
.section __mcount_loc,"a",@progbits
.align 2
.long .L3^B1 + -5522
.long .L3^B1 + -5384
.long .L3^B1 + -5270
.long .L3^B1 + -5098
.long .L3^B1 + -4970
.long .L3^B1 + -4758
.long .L3^B1 + -4122
[...]
And when it is compiled back to an object to link to the original object,
the compile fails on the "^" symbol.
Simple solution for now, is to have the perl script ignore using function
symbols that have an "^" in the name.
Link: https://lkml.kernel.org/r/20211014143507.4ad2c0f7@gandalf.local.home
Cc: stable(a)vger.kernel.org
Acked-by: Greentime Hu <green.hu(a)gmail.com>
Fixes: fbf58a52ac088 ("nds32/ftrace: Add RECORD_MCOUNT support")
Signed-off-by: Steven Rostedt (VMware) <rostedt(a)goodmis.org>
---
scripts/recordmcount.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index 8f6b13ae46bf..7d631aaa0ae1 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -189,7 +189,7 @@ if ($arch =~ /(x86(_64)?)|(i386)/) {
$local_regex = "^[0-9a-fA-F]+\\s+t\\s+(\\S+)";
$weak_regex = "^[0-9a-fA-F]+\\s+([wW])\\s+(\\S+)";
$section_regex = "Disassembly of section\\s+(\\S+):";
-$function_regex = "^([0-9a-fA-F]+)\\s+<(.*?)>:";
+$function_regex = "^([0-9a-fA-F]+)\\s+<([^^]*?)>:";
$mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s(mcount|__fentry__)\$";
$section_type = '@progbits';
$mcount_adjust = 0;
--
2.32.0
This is the start of the stable review cycle for the 4.4.289 release.
There are 18 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, 16 Oct 2021 14:51:59 +0000.
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/v4.x/stable-review/patch-4.4.289-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.4.289-rc1
Anand K Mistry <amistry(a)google.com>
perf/x86: Reset destroy callback on event init failure
Colin Ian King <colin.king(a)canonical.com>
scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
Jiapeng Chong <jiapeng.chong(a)linux.alibaba.com>
scsi: ses: Fix unsigned comparison with less than zero
YueHaibing <yuehaibing(a)huawei.com>
mac80211: Drop frames from invalid MAC address in ad-hoc mode
Jeremy Sowden <jeremy(a)azazel.net>
netfilter: ip6_tables: zero-initialize fragment offset
Mizuho Mori <morimolymoly(a)gmail.com>
HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
Lorenzo Stoakes <lstoakes(a)gmail.com>
mm: check VMA flags to avoid invalid PROT_NONE NUMA balancing
Linus Torvalds <torvalds(a)linux-foundation.org>
gup: document and work around "COW can break either way" issue
Jiri Benc <jbenc(a)redhat.com>
i40e: fix endless loop under rtnl
Eric Dumazet <edumazet(a)google.com>
netlink: annotate data races around nlk->bound
Oleksij Rempel <o.rempel(a)pengutronix.de>
ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence
Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
ptp_pch: Load module automatically if ID matches
Eric Dumazet <edumazet(a)google.com>
net_sched: fix NULL deref in fifo_set_limit()
Pavel Skripkin <paskripkin(a)gmail.com>
phy: mdio: fix memory leak
Max Filippov <jcmvbkbc(a)gmail.com>
xtensa: call irqchip_init only when CONFIG_USE_OF is selected
Trond Myklebust <trond.myklebust(a)hammerspace.com>
nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero
Johan Hovold <johan(a)kernel.org>
USB: cdc-acm: fix break reporting
Johan Hovold <johan(a)kernel.org>
USB: cdc-acm: fix racy tty buffer accesses
-------------
Diffstat:
Makefile | 4 +--
arch/arm/mach-imx/pm-imx6.c | 2 ++
arch/x86/kernel/cpu/perf_event.c | 1 +
arch/xtensa/kernel/irq.c | 2 +-
drivers/hid/hid-apple.c | 7 +++++
drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +-
drivers/net/phy/mdio_bus.c | 7 +++++
drivers/ptp/ptp_pch.c | 1 +
drivers/scsi/ses.c | 2 +-
drivers/scsi/virtio_scsi.c | 4 +--
drivers/usb/class/cdc-acm.c | 8 +++++
fs/nfsd/nfs4xdr.c | 19 +++++++-----
mm/gup.c | 48 ++++++++++++++++++++++++-----
mm/huge_memory.c | 10 ++----
mm/memory.c | 12 +++++---
net/ipv6/netfilter/ip6_tables.c | 1 +
net/mac80211/rx.c | 3 +-
net/netlink/af_netlink.c | 14 ++++++---
net/sched/sch_fifo.c | 3 ++
19 files changed, 110 insertions(+), 40 deletions(-)