This is the start of the stable review cycle for the 4.14.262 release.
There are 22 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 Wed, 12 Jan 2022 07:18:05 +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.14.262-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.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.14.262-rc1
wolfgang huang <huangjinhui(a)kylinos.cn>
mISDN: change function names to avoid conflicts
yangxingwu <xingwu.yang(a)gmail.com>
net: udp: fix alignment problem in udp4_seq_show()
William Zhao <wizhao(a)redhat.com>
ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
Lixiaokeng <lixiaokeng(a)huawei.com>
scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown()
David Ahern <dsahern(a)kernel.org>
ipv6: Do cleanup if attribute validation fails in multipath route
David Ahern <dsahern(a)kernel.org>
ipv6: Continue processing multipath route even if gateway attribute is invalid
Hangyu Hua <hbh25y(a)gmail.com>
phonet: refcount leak in pep_sock_accep
Thomas Toye <thomas(a)toye.io>
rndis_host: support Hytera digital radios
Nathan Chancellor <nathan(a)kernel.org>
power: reset: ltc2952: Fix use of floating point literals
Darrick J. Wong <djwong(a)kernel.org>
xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
Eric Dumazet <edumazet(a)google.com>
sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc
David Ahern <dsahern(a)kernel.org>
ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route
David Ahern <dsahern(a)kernel.org>
ipv6: Check attribute length for RTA_GATEWAY in multipath route
Jedrzej Jagielski <jedrzej.jagielski(a)intel.com>
i40e: Fix incorrect netdev's real number of RX/TX queues
Di Zhu <zhudi2(a)huawei.com>
i40e: fix use-after-free in i40e_sync_filters_subtask()
Tom Rix <trix(a)redhat.com>
mac80211: initialize variable have_higher_than_11mbit
Leon Romanovsky <leonro(a)nvidia.com>
RDMA/core: Don't infoleak GRH fields
Pavel Skripkin <paskripkin(a)gmail.com>
ieee802154: atusb: fix uninit value in atusb_set_extended_addr
Parav Pandit <parav(a)nvidia.com>
virtio_pci: Support surprise removal of virtio pci device
Naveen N. Rao <naveen.n.rao(a)linux.vnet.ibm.com>
tracing: Tag trace_percpu_buffer as a percpu pointer
Naveen N. Rao <naveen.n.rao(a)linux.vnet.ibm.com>
tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()
Takashi Iwai <tiwai(a)suse.de>
Bluetooth: btusb: Apply QCA Rome patches for some ATH3012 models
-------------
Diffstat:
Makefile | 4 +--
drivers/bluetooth/btusb.c | 32 +++++++++++++----
drivers/infiniband/core/uverbs_marshall.c | 2 +-
drivers/isdn/mISDN/core.c | 6 ++--
drivers/isdn/mISDN/core.h | 4 +--
drivers/isdn/mISDN/layer1.c | 4 +--
drivers/net/ethernet/intel/i40e/i40e_main.c | 56 +++++++++++++++++++++++++----
drivers/net/ieee802154/atusb.c | 10 +++---
drivers/net/usb/rndis_host.c | 5 +++
drivers/power/reset/ltc2952-poweroff.c | 4 +--
drivers/scsi/libiscsi.c | 6 ++--
drivers/virtio/virtio_pci_common.c | 7 ++++
fs/xfs/xfs_ioctl.c | 3 +-
kernel/trace/trace.c | 6 ++--
net/ipv4/udp.c | 2 +-
net/ipv6/ip6_vti.c | 2 ++
net/ipv6/route.c | 28 +++++++++++++--
net/mac80211/mlme.c | 2 +-
net/phonet/pep.c | 1 +
net/sched/sch_qfq.c | 6 ++--
20 files changed, 146 insertions(+), 44 deletions(-)
On Tue, Jan 11, 2022 at 10:23:29PM +0800, Naohiro Aota wrote:
> The checkpatch.pl in 5.10.90 fails to parse the line as shown
> above. That is fixed in commit fccaebf00e60 ("checkpatch: improve
> email parsing") in the current tree.
Thanks, I have sent a new v3 with the correct cc.
Sincerely thanks,
Jiang
In linux-stable-5.15.13, this file has been removed and combined
to `drivers/ata/pata_platform.c` without this bug.
But in the older LTS kernels, like 5.10.90, this bug still exists.
As the possible failure of the devres_alloc(), the devm_ioremap() and
devm_ioport_map() may return NULL pointer.
And then, the 'base' and 'alt_base' are used in plat_ide_setup_ports().
Therefore, it should be better to add the check in order to avoid the
dereference of the NULL pointer.
Actually, it introduced the bug from commit 8cb1f567f4c0
("ide: Platform IDE driver") and we can know from the commit message
that it tended to be similar to the `drivers/ata/pata_platform.c`.
But actually, even the first time pata_platform was built,
commit a20c9e820864 ("[PATCH] ata: Generic platform_device libata driver"),
there was no the bug, as there was a check after the ioremap().
So possibly the bug was caused by ide itself.
Fixes: 8cb1f567f4c0 ("ide: Platform IDE driver")
Cc: stable(a)vger.kernel.org # 5.10
Signed-off-by: Jiasheng Jiang <jiasheng(a)iscas.ac.cn>
---
Changelog
v1 -> v2
* Change 1. Correct the fixes tag and commit message.
v2 -> v3
* Change 1. Correct the code.
---
drivers/ide/ide_platform.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/ide/ide_platform.c b/drivers/ide/ide_platform.c
index 91639fd6c276..5500c5afb3ca 100644
--- a/drivers/ide/ide_platform.c
+++ b/drivers/ide/ide_platform.c
@@ -85,6 +85,10 @@ static int plat_ide_probe(struct platform_device *pdev)
alt_base = devm_ioport_map(&pdev->dev,
res_alt->start, resource_size(res_alt));
}
+ if (!base || !alt_base) {
+ ret = -ENOMEM;
+ goto out;
+ }
memset(&hw, 0, sizeof(hw));
plat_ide_setup_ports(&hw, base, alt_base, pdata, res_irq->start);
--
2.25.1
On Sun, Jan 09, 2022 at 04:53:39PM +0800, Damien Le Moal wrote:
>>>> Cc: stable(a)vger.kernel.org#5.10
>>>
>>> Please keep the space before the #
>>>
>>> Cc: stable(a)vger.kernel.org #5.10
>>
>> Actually, I added the space before, but the when I use the tool
>> 'scripts/checkpatch.pl' to check my format, it told me a warning
>> that it should not have space.
>>
>> The warning is as follow:
>> WARNING: email address 'stable(a)vger.kernel.org #5.10' might be
>> better as 'stable(a)vger.kernel.org#5.10'
>
> Cc: stable(a)vger.kernel.org # 5.10
>
> Should work.
I used 'scripts/checkpatch.pl' to check it, giving me the warning again.
The warning is as follow:
WARNING: email address 'stable(a)vger.kernel.org # 5.10' might be better as
'stable(a)vger.kernel.org# 5.10'
And if I use the 'stable(a)vger.kernel.org# 5.10', warning too.
The warning is as follow:
WARNING: email address 'stable(a)vger.kernel.org# 5.10' might be better as
'stable(a)vger.kernel.org#5.10'
It seems that the only non-warning format is 'stable(a)vger.kernel.org#5.10'.
Sincerely thanks,
Jiang