I'm announcing the release of the 4.19.223 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
------------
Documentation/admin-guide/kernel-parameters.txt | 8
Documentation/networking/bonding.txt | 11
Makefile | 2
arch/arm/kernel/entry-armv.S | 8
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts | 2
arch/parisc/kernel/syscall.S | 2
arch/x86/include/asm/pgtable.h | 4
block/bfq-iosched.c | 287 ++++++----
block/bfq-iosched.h | 76 ++
block/bfq-wf2q.c | 56 +
drivers/char/ipmi/ipmi_msghandler.c | 21
drivers/hid/hid-holtek-mouse.c | 15
drivers/hwmon/lm90.c | 8
drivers/infiniband/hw/qib/qib_user_sdma.c | 2
drivers/input/touchscreen/atmel_mxt_ts.c | 2
drivers/net/bonding/bond_options.c | 2
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h | 2
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | 12
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c | 4
drivers/net/ethernet/sfc/falcon/rx.c | 5
drivers/net/ethernet/smsc/smc911x.c | 5
drivers/net/fjes/fjes_main.c | 5
drivers/net/hamradio/mkiss.c | 5
drivers/net/usb/lan78xx.c | 6
drivers/pinctrl/stm32/pinctrl-stm32.c | 8
drivers/spi/spi-armada-3700.c | 2
drivers/usb/gadget/function/u_ether.c | 15
fs/f2fs/xattr.c | 9
include/linux/virtio_net.h | 25
net/ax25/af_ax25.c | 4
net/netfilter/nfnetlink_log.c | 3
net/netfilter/nfnetlink_queue.c | 3
net/phonet/pep.c | 2
sound/core/jack.c | 4
sound/drivers/opl3/opl3_midi.c | 2
35 files changed, 416 insertions(+), 211 deletions(-)
Andrew Cooper (1):
x86/pkey: Fix undefined behaviour with PKRU_WD_BIT
Ard Biesheuvel (1):
ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling
Benjamin Tissoires (1):
HID: holtek: fix mouse probing
Chao Yu (1):
f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
Colin Ian King (1):
ALSA: drivers: opl3: Fix incorrect use of vp->state
Dongliang Mu (1):
spi: change clk_disable_unprepare to clk_unprepare
Fabien Dessenne (1):
pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines
Federico Motta (2):
block, bfq: improve asymmetric scenarios detection
block, bfq: fix asymmetric scenarios detection
Fernando Fernandez Mancera (1):
bonding: fix ad_actor_system option setting to default
Greg Jesionowski (1):
net: usb: lan78xx: add Allied Telesis AT29M2-AF
Greg Kroah-Hartman (1):
Linux 4.19.223
Guenter Roeck (2):
hwmon: (lm90) Fix usage of CONFIG2 register in detect function
hwmon: (lm90) Do not report 'busy' status bit as alarm
Ignacy Gawędzki (1):
netfilter: fix regression in looped (broad|multi)cast's MAC handling
Jiasheng Jiang (4):
qlcnic: potential dereference null pointer of rx_queue->page_ring
fjes: Check for error irq
drivers: net: smc911x: Check for error irq
sfc: falcon: Check null pointer of rx_queue->page_ring
John David Anglin (1):
parisc: Correct completer in lws start
José Expósito (2):
IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
Input: atmel_mxt_ts - fix double free in mxt_read_info_block
Lin Ma (3):
ax25: NPD bug when detaching AX25 device
hamradio: defer ax25 kfree after unregister_netdev
hamradio: improve the incomplete fix to avoid NPD
Marian Postevca (1):
usb: gadget: u_ether: fix race in setting MAC address in setup phase
Paolo Valente (3):
block, bfq: fix decrement of num_active_groups
block, bfq: fix queue removal from weights tree
block, bfq: fix use after free in bfq_bfqq_expire
Robert Marko (1):
arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode
Rémi Denis-Courmont (1):
phonet/pep: refuse to enable an unbound pipe
Sean Christopherson (1):
KVM: VMX: Fix stale docs for kvm-intel.emulate_invalid_guest_state
Thadeu Lima de Souza Cascardo (2):
ipmi: bail out if init_srcu_struct fails
ipmi: fix initialization when workqueue allocation fails
Willem de Bruijn (2):
net: accept UFOv6 packages in virtio_net_hdr_to_skb
net: skip virtio_net_hdr_set_proto if protocol already set
Wu Bo (1):
ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module
Xiaoke Wang (1):
ALSA: jack: Check the return value of kstrdup()
I'm announcing the release of the 4.14.260 kernel.
All users of the 4.14 kernel series must upgrade.
The updated 4.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.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
------------
Documentation/admin-guide/kernel-parameters.txt | 8 ++
Documentation/networking/bonding.txt | 11 ++--
Makefile | 2
arch/arm/kernel/entry-armv.S | 8 +-
arch/x86/include/asm/pgtable.h | 4 -
drivers/hid/hid-holtek-mouse.c | 15 +++++
drivers/hwmon/lm90.c | 8 +-
drivers/infiniband/hw/qib/qib_user_sdma.c | 2
drivers/input/touchscreen/atmel_mxt_ts.c | 2
drivers/net/bonding/bond_options.c | 2
drivers/net/can/usb/kvaser_usb.c | 41 +++++++++++++--
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h | 2
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | 12 +++-
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c | 4 +
drivers/net/ethernet/sfc/falcon/rx.c | 5 +
drivers/net/ethernet/smsc/smc911x.c | 5 +
drivers/net/fjes/fjes_main.c | 5 +
drivers/net/hamradio/mkiss.c | 5 +
drivers/net/usb/lan78xx.c | 6 ++
drivers/pinctrl/stm32/pinctrl-stm32.c | 8 +-
drivers/spi/spi-armada-3700.c | 2
drivers/usb/gadget/function/u_ether.c | 15 +----
fs/f2fs/xattr.c | 9 ++-
include/linux/virtio_net.h | 25 ++++++++-
net/ax25/af_ax25.c | 4 +
net/netfilter/nfnetlink_log.c | 3 -
net/netfilter/nfnetlink_queue.c | 3 -
net/phonet/pep.c | 2
sound/core/jack.c | 4 +
sound/drivers/opl3/opl3_midi.c | 2
30 files changed, 167 insertions(+), 57 deletions(-)
Andrew Cooper (1):
x86/pkey: Fix undefined behaviour with PKRU_WD_BIT
Ard Biesheuvel (1):
ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling
Benjamin Tissoires (1):
HID: holtek: fix mouse probing
Chao Yu (1):
f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
Colin Ian King (1):
ALSA: drivers: opl3: Fix incorrect use of vp->state
Dongliang Mu (1):
spi: change clk_disable_unprepare to clk_unprepare
Fabien Dessenne (1):
pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines
Fernando Fernandez Mancera (1):
bonding: fix ad_actor_system option setting to default
Greg Jesionowski (1):
net: usb: lan78xx: add Allied Telesis AT29M2-AF
Greg Kroah-Hartman (1):
Linux 4.14.260
Guenter Roeck (2):
hwmon: (lm90) Fix usage of CONFIG2 register in detect function
hwmon: (lm90) Do not report 'busy' status bit as alarm
Ignacy Gawędzki (1):
netfilter: fix regression in looped (broad|multi)cast's MAC handling
Jiasheng Jiang (4):
qlcnic: potential dereference null pointer of rx_queue->page_ring
fjes: Check for error irq
drivers: net: smc911x: Check for error irq
sfc: falcon: Check null pointer of rx_queue->page_ring
Jimmy Assarsson (1):
can: kvaser_usb: get CAN clock frequency from device
José Expósito (2):
IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
Input: atmel_mxt_ts - fix double free in mxt_read_info_block
Lin Ma (3):
ax25: NPD bug when detaching AX25 device
hamradio: defer ax25 kfree after unregister_netdev
hamradio: improve the incomplete fix to avoid NPD
Marian Postevca (1):
usb: gadget: u_ether: fix race in setting MAC address in setup phase
Rémi Denis-Courmont (1):
phonet/pep: refuse to enable an unbound pipe
Sean Christopherson (1):
KVM: VMX: Fix stale docs for kvm-intel.emulate_invalid_guest_state
Willem de Bruijn (2):
net: accept UFOv6 packages in virtio_net_hdr_to_skb
net: skip virtio_net_hdr_set_proto if protocol already set
Xiaoke Wang (1):
ALSA: jack: Check the return value of kstrdup()
I'm announcing the release of the 4.9.295 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.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
------------
Documentation/networking/bonding.txt | 11 ++--
Makefile | 2
arch/arm/kernel/entry-armv.S | 8 +-
arch/x86/include/asm/pgtable.h | 4 -
drivers/hid/hid-holtek-mouse.c | 15 +++++
drivers/hwmon/lm90.c | 8 +-
drivers/infiniband/hw/qib/qib_user_sdma.c | 2
drivers/net/bonding/bond_options.c | 2
drivers/net/can/usb/kvaser_usb.c | 41 +++++++++++++--
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h | 2
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | 12 +++-
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c | 4 +
drivers/net/ethernet/smsc/smc911x.c | 5 +
drivers/net/fjes/fjes_main.c | 5 +
drivers/net/hamradio/mkiss.c | 5 +
drivers/net/usb/lan78xx.c | 6 ++
net/ax25/af_ax25.c | 4 +
net/phonet/pep.c | 2
sound/core/jack.c | 4 +
sound/drivers/opl3/opl3_midi.c | 2
20 files changed, 111 insertions(+), 33 deletions(-)
Andrew Cooper (1):
x86/pkey: Fix undefined behaviour with PKRU_WD_BIT
Ard Biesheuvel (1):
ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling
Benjamin Tissoires (1):
HID: holtek: fix mouse probing
Colin Ian King (1):
ALSA: drivers: opl3: Fix incorrect use of vp->state
Fernando Fernandez Mancera (1):
bonding: fix ad_actor_system option setting to default
Greg Jesionowski (1):
net: usb: lan78xx: add Allied Telesis AT29M2-AF
Greg Kroah-Hartman (1):
Linux 4.9.295
Guenter Roeck (2):
hwmon: (lm90) Fix usage of CONFIG2 register in detect function
hwmon: (lm90) Do not report 'busy' status bit as alarm
Jiasheng Jiang (3):
qlcnic: potential dereference null pointer of rx_queue->page_ring
fjes: Check for error irq
drivers: net: smc911x: Check for error irq
Jimmy Assarsson (1):
can: kvaser_usb: get CAN clock frequency from device
José Expósito (1):
IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
Lin Ma (3):
ax25: NPD bug when detaching AX25 device
hamradio: defer ax25 kfree after unregister_netdev
hamradio: improve the incomplete fix to avoid NPD
Rémi Denis-Courmont (1):
phonet/pep: refuse to enable an unbound pipe
Xiaoke Wang (1):
ALSA: jack: Check the return value of kstrdup()
Dzień dobry,
dostrzegam możliwość współpracy z Państwa firmą.
Świadczymy kompleksową obsługę inwestycji w fotowoltaikę, która obniża koszty energii elektrycznej nawet o 90%.
Czy są Państwo zainteresowani weryfikacją wstępnych propozycji?
Pozdrawiam,
Mateusz Gawron
Make sure that finish_mount_kattr() is called after mount_kattr was
succesfully built in both the success and failure case to prevent
leaking any references we took when we built it. So far we returned
early if path lookup failed thereby risking to leak an additional
reference we took when building mount_kattr when an idmapped mount was
requested.
Cc: linux-fsdevel(a)vger.kernel.org
Cc: stable(a)vger.kernel.org
Signed-off-by: Christian Brauner <christian.brauner(a)ubuntu.com>
---
Hey Linus,
This contains a simple fix to get rid of a pointless refcount bump when
requesting an idmapped mount after we built mount_kattr but in case we
failed too lookup the target path and error out early without calling
finish_mount_kattr().
Would you be ok with applying this fix directly? I'm happy to send a pr
too of course but I wasn't sure if that was worth it as there's not much
explaining to do in the pr message for this one, I think.
This hasn't been in -next but given that it hasn't been updated in about
a week I don't think it makes much sense to delay this. The fix should
hopefully be straightforward.
Fstests and mount_setattr selftests pass without regressions
(showing only relevant tests):
SECTION -- xfs
RECREATING -- xfs on /dev/loop4
FSTYP -- xfs (debug)
PLATFORM -- Linux/x86_64 f2-vm 5.16.0-rc7-fs-mount-setattr-fixes-1a24ab33373b #33 SMP PREEMPT Thu Dec 30 15:55:39 UTC 2021
MKFS_OPTIONS -- -f -f /dev/loop5
MOUNT_OPTIONS -- /dev/loop5 /mnt/scratch
generic/633 5s ... 25s
generic/644 18s ... 14s
generic/645 80s ... 75s
generic/656 3s ... 15s
xfs/152 63s ... 70s
xfs/153 43s ... 46s
Ran: generic/633 generic/644 generic/645 generic/656 xfs/152 xfs/153
Passed all 6 tests
SECTION -- ext4
RECREATING -- ext4 on /dev/loop4
FSTYP -- ext4
PLATFORM -- Linux/x86_64 f2-vm 5.16.0-rc7-fs-mount-setattr-fixes-1a24ab33373b #33 SMP PREEMPT Thu Dec 30 15:55:39 UTC 2021
MKFS_OPTIONS -- -F -F /dev/loop5
MOUNT_OPTIONS -- -o acl,user_xattr /dev/loop5 /mnt/scratch
generic/633 25s ... 18s
generic/644 14s ... 4s
generic/645 75s ... 59s
generic/656 15s ... 8s
Ran: generic/633 generic/644 generic/645 generic/656
Passed all 4 tests
SECTION -- btrfs
RECREATING -- btrfs on /dev/loop4
FSTYP -- btrfs
PLATFORM -- Linux/x86_64 f2-vm 5.16.0-rc7-fs-mount-setattr-fixes-1a24ab33373b #33 SMP PREEMPT Thu Dec 30 15:55:39 UTC 2021
MKFS_OPTIONS -- -f /dev/loop5
MOUNT_OPTIONS -- /dev/loop5 /mnt/scratch
btrfs/245 9s ... 10s
generic/633 18s ... 21s
generic/644 4s ... 4s
generic/645 59s ... 62s
generic/656 8s ... 8s
Ran: btrfs/245 generic/633 generic/644 generic/645 generic/656
Passed all 5 tests
SECTION -- xfs
=========================
Ran: generic/633 generic/644 generic/645 generic/656 xfs/152 xfs/153
Passed all 6 tests
SECTION -- ext4
=========================
Ran: generic/633 generic/644 generic/645 generic/656
Passed all 4 tests
SECTION -- btrfs
=========================
Ran: btrfs/245 generic/633 generic/644 generic/645 generic/656
Passed all 5 tests
Thanks!
Christian
---
fs/namespace.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/fs/namespace.c b/fs/namespace.c
index 659a8f39c61a..b696543adab8 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -4263,12 +4263,11 @@ SYSCALL_DEFINE5(mount_setattr, int, dfd, const char __user *, path,
return err;
err = user_path_at(dfd, path, kattr.lookup_flags, &target);
- if (err)
- return err;
-
- err = do_mount_setattr(&target, &kattr);
+ if (!err) {
+ err = do_mount_setattr(&target, &kattr);
+ path_put(&target);
+ }
finish_mount_kattr(&kattr);
- path_put(&target);
return err;
}
base-commit: fc74e0a40e4f9fd0468e34045b0c45bba11dcbb2
--
2.30.2
The include/linux/crypto.h struct crypto_alg field cra_driver_name description
states "Unique name of the transformation provider. " ... " this contains the
name of the chip or provider and the name of the transformation algorithm."
In case of the stm32-crc driver, field cra_driver_name is identical for all
registered transformation providers and set to the name of the driver itself,
which is incorrect. This patch fixes it by assigning a unique cra_driver_name
to each registered transformation provider.
The kernel crash is triggered when the driver calls crypto_register_shashes()
which calls crypto_register_shash(), which calls crypto_register_alg(), which
calls __crypto_register_alg(), which returns -EEXIST, which is propagated
back through this call chain. Upon -EEXIST from crypto_register_shash(), the
crypto_register_shashes() starts unregistering the providers back, and calls
crypto_unregister_shash(), which calls crypto_unregister_alg(), and this is
where the BUG() triggers due to incorrect cra_refcnt.
Fixes: b51dbe90912a ("crypto: stm32 - Support for STM32 CRC32 crypto module")
Signed-off-by: Marek Vasut <marex(a)denx.de>
Cc: <stable(a)vger.kernel.org> # 4.12+
Cc: Alexandre Torgue <alexandre.torgue(a)foss.st.com>
Cc: Fabien Dessenne <fabien.dessenne(a)st.com>
Cc: Herbert Xu <herbert(a)gondor.apana.org.au>
Cc: Lionel Debieve <lionel.debieve(a)st.com>
Cc: Nicolas Toromanoff <nicolas.toromanoff(a)st.com>
Cc: linux-arm-kernel(a)lists.infradead.org
Cc: linux-stm32(a)st-md-mailman.stormreply.com
To: linux-crypto(a)vger.kernel.org
---
drivers/crypto/stm32/stm32-crc32.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/stm32/stm32-crc32.c b/drivers/crypto/stm32/stm32-crc32.c
index 75867c0b0017..be1bf39a317d 100644
--- a/drivers/crypto/stm32/stm32-crc32.c
+++ b/drivers/crypto/stm32/stm32-crc32.c
@@ -279,7 +279,7 @@ static struct shash_alg algs[] = {
.digestsize = CHKSUM_DIGEST_SIZE,
.base = {
.cra_name = "crc32",
- .cra_driver_name = DRIVER_NAME,
+ .cra_driver_name = "stm32-crc32-crc32",
.cra_priority = 200,
.cra_flags = CRYPTO_ALG_OPTIONAL_KEY,
.cra_blocksize = CHKSUM_BLOCK_SIZE,
@@ -301,7 +301,7 @@ static struct shash_alg algs[] = {
.digestsize = CHKSUM_DIGEST_SIZE,
.base = {
.cra_name = "crc32c",
- .cra_driver_name = DRIVER_NAME,
+ .cra_driver_name = "stm32-crc32-crc32c",
.cra_priority = 200,
.cra_flags = CRYPTO_ALG_OPTIONAL_KEY,
.cra_blocksize = CHKSUM_BLOCK_SIZE,
--
2.34.1