Patches to apply to stable releases [6/17/2020]
Hi,
Please consider applying the following patches to the listed stable releases.
The following patches were found to be missing in stable releases by the Chrome OS missing patch robot. The patches meet the following criteria.
- The patch includes a Fixes: tag
Note that the Fixes: tag does not always point to the correct upstream SHA. In that case the correct upstream SHA is listed below.
- The patch referenced in the Fixes: tag has been applied to the listed stable release
- The patch has not been applied to that stable release
All patches have been applied to the listed stable releases and to at least one Chrome OS branch. Resulting images have been build- and runtime-tested (where applicable) on real hardware and with virtual hardware on kerneltests.org.
Thanks,
Guenter
---
Upstream commit ba69ead9e9e9 ("scsi: scsi_devinfo: handle non-terminated strings")
upstream: v4.15-rc4
Fixes: b8018b973c7c ("scsi: scsi_devinfo: fixup string compare")
in linux-4.4.y: ac8002f7cd0a
in linux-4.9.y: d74a350d7035
in linux-4.14.y: 13cd297f15ed
upstream: v4.15-rc1
Affected branches:
linux-4.4.y
linux-4.9.y
linux-4.14.yUpstream commit 0d0d9a388a85 ("l2tp: Allow duplicate session creation with UDP")
upstream: v5.6-rc1
Fixes: dbdbc73b4478 ("l2tp: fix duplicate session creation")
in linux-4.4.y: e613c6208242
in linux-4.9.y: d9face6fc62a
upstream: v4.11-rc6
Affected branches:
linux-4.4.y
linux-4.9.y
linux-4.14.y (already applied)
linux-4.19.y (already applied)
linux-5.4.y (already applied)Upstream commit 64611a15ca9d ("dm crypt: avoid truncating the logical block size")
upstream: v5.8-rc1
Fixes: ad6bf88a6c19 ("block: fix an integer overflow in logical block size")
in linux-4.4.y: b8cd70b724f0
in linux-4.9.y: 5dbde467ccd6
in linux-4.14.y: 0c7a7d8e62bd
in linux-4.19.y: a7f79052d1af
in linux-5.4.y: 6eed26e35cfd
upstream: v5.5-rc7
Affected branches:
linux-4.4.y (conflicts - backport needed)
linux-4.9.y (conflicts - backport needed)
linux-4.14.y
linux-4.19.y
linux-5.4.y
linux-5.6.y
linux-5.7.yUpstream commit f29801030ac6 ("e1000e: Disable TSO for buffer overrun workaround")
upstream: v5.8-rc1
Fixes: b10effb92e27 ("e1000e: fix buffer overrun while the I219 is processing DMA transactions")
in linux-4.14.y: 0f478f25d50c
upstream: v4.15-rc1
Affected branches:
linux-4.14.y
linux-4.19.y
linux-5.4.y
linux-5.6.y
linux-5.7.yUpstream commit 7c6d2ecbda83 ("net: be more gentle about silly gso requests coming from user")
upstream: v5.7
Fixes: 6dd912f82680 ("net: check untrusted gso_size at kernel entry")
in linux-4.14.y: 5c336039843d
in linux-4.19.y: 8920e8ae16a8
in linux-5.4.y: a93417dfc1b0
in linux-5.6.y: 17e1f3e32239
upstream: v5.7
Affected branches:
linux-4.14.y
linux-4.19.y
linux-5.4.y (already applied)
linux-5.6.y (already applied)Upstream commit 8418897f1bf8 ("ext4: fix error pointer dereference")
upstream: v5.8-rc1
Fixes: fb265c9cb49e ("ext4: add ext4_sb_bread() to disambiguate ENOMEM cases")
in linux-4.14.y: 9da1f6d06b7a
in linux-4.19.y: b878c8a7f08f
upstream: v5.0-rc1
Affected branches:
linux-4.14.y
linux-4.19.y
linux-5.4.y
linux-5.6.y
linux-5.7.yUpstream commit a75ca9303175 ("block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed")
upstream: v5.8-rc1
Fixes: e7bf90e5afe3 ("block/bio-integrity: fix a memory leak bug")
in linux-4.14.y: c35f5d31451f
in linux-4.19.y: af50d6a1c245
upstream: v5.3-rc1
Affected branches:
linux-4.14.y
linux-4.19.y
linux-5.4.y
linux-5.6.y
linux-5.7.yUpstream commit be32acff4380 ("scsi: ufs: Don't update urgent bkops level when toggling auto bkops")
upstream: v5.8-rc1
Fixes: 24366c2afbb0 ("scsi: ufs: Recheck bkops level if bkops is disabled")
in linux-4.14.y: c909605d73ab
in linux-4.19.y: 028a925c0540
in linux-5.4.y: 3c9edf55817a
upstream: v5.6-rc1
Affected branches:
linux-4.14.y
linux-4.19.y
linux-5.4.y
linux-5.6.y
linux-5.7.yUpstream commit 2f02fd3fa13e ("fanotify: fix ignore mask logic for events on child and on dir")
upstream: v5.8-rc1
in linux-4.9.y: 987d8ff3a2d8
in linux-4.14.y: 515160e3c4f2
in linux-4.19.y: 20663629f6ae
upstream: v4.20-rc3
Affected branches:
linux-4.9.y (conflicts - backport needed)
linux-4.14.y (conflicts - backport needed)
linux-4.19.y
linux-5.4.y (already applied)
linux-5.6.y (already applied)
linux-5.7.y (already applied)
Upstream commit 607fa205a7e4 ("ASoC: core: only convert non DPCM link to DPCM link")
upstream: v5.8-rc1
Fixes: 218fe9b7ec7f ("ASoC: soc-core: Set dpcm_playback / dpcm_capture")
in linux-4.19.y: 57f633cfe3fb
in linux-5.4.y: 5585d2a98904
upstream: v5.5-rc6
Affected branches:
linux-4.19.y
linux-5.4.y
linux-5.6.y
linux-5.7.yUpstream commit 3e5095eebe01 ("PCI: vmd: Filter resource type bits from shadow register")
upstream: v5.8-rc1
Fixes: a1a30170138c ("PCI: vmd: Fix shadow offsets to reflect spec changes")
in linux-4.19.y: 956ce989c41f
upstream: v5.4-rc1
Affected branches:
linux-4.19.y
linux-5.4.y
linux-5.6.y
linux-5.7.yUpstream commit 8a325dd06f23 ("of: Fix a refcounting bug in __of_attach_node_sysfs()")
upstream: v5.8-rc1
Fixes: 5b2c2f5a0ea3 ("of: overlay: add missing of_node_get() in __of_attach_node_sysfs")
in linux-4.19.y: 9af27fab0061
upstream: v5.0-rc1
Affected branches:
linux-4.19.y
linux-5.4.y
linux-5.6.y
linux-5.7.yUpstream commit 8bc3b5e4b70d ("xfs: clean up the error handling in xfs_swap_extents")
upstream: v5.8-rc1
Fixes: 96987eea537d ("xfs: cancel COW blocks before swapext")
in linux-4.19.y: a585ac0e767b
upstream: v4.20-rc1
Affected branches:
linux-4.19.y
linux-5.4.y
linux-5.6.y
linux-5.7.yUpstream commit fe17e6cdc0fe ("ASoC: SOF: imx8: Fix randbuild error")
upstream: v5.8-rc1
Fixes: f9ad75468453 ("ASoC: SOF: imx: fix reverse CONFIG_SND_SOC_SOF_OF dependency")
in linux-5.4.y: d98020a3fddd
upstream: v5.5-rc1
Affected branches:
linux-5.4.y
linux-5.6.y
linux-5.7.yUpstream commit 10ce77e4817f ("ALSA: usb-audio: Add duplex sound support for USB devices using implicit feedback")
upstream: v5.8-rc1
Fixes: c249177944b6 ("ALSA: usb-audio: add implicit fb quirk for MOTU M Series")
in linux-5.4.y: da2d50868e59
upstream: v5.6-rc1
Affected branches:
linux-5.4.y
linux-5.6.y
linux-5.7.yGreg Kroah-Hartman
maintainerQuoted 17 lines · Guenter Roeck
Upstream commit
64611a15ca9d("dm crypt: avoid truncating the logical block size")
upstream: v5.8-rc1Fixes: ad6bf88a6c19 ("block: fix an integer overflow in logical block size") in linux-4.4.y: b8cd70b724f0 in linux-4.9.y: 5dbde467ccd6 in linux-4.14.y: 0c7a7d8e62bd in linux-4.19.y: a7f79052d1af in linux-5.4.y: 6eed26e35cfd upstream: v5.5-rc7 Affected branches: linux-4.4.y (conflicts - backport needed) linux-4.9.y (conflicts - backport needed) linux-4.14.y linux-4.19.y linux-5.4.y linux-5.6.y linux-5.7.y
Can you provide a backport for this?
Quoted 14 lines
Upstream commit
2f02fd3fa13e("fanotify: fix ignore mask logic for events on child and on dir")
upstream: v5.8-rc1Fixes b469e7e47c8a ("fanotify: fix handling of events on child sub-directory")in linux-4.9.y:
987d8ff3a2d8
in linux-4.14.y:515160e3c4f2
in linux-4.19.y:20663629f6ae
upstream: v4.20-rc3
Affected branches:
linux-4.9.y (conflicts - backport needed)
linux-4.14.y (conflicts - backport needed)
linux-4.19.y
linux-5.4.y (already applied)
linux-5.6.y (already applied)
linux-5.7.y (already applied)
Do you have a backport?
For all other patches you listed, I've queued up the missing ones, some already got merged since you sent this out.
thanks,
greg k-h
Quoted 19 lines · Greg Kroah-Hartman
Quoted 17 lines · Guenter Roeck
Upstream commit
64611a15ca9d("dm crypt: avoid truncating the logical block size")
upstream: v5.8-rc1Fixes: ad6bf88a6c19 ("block: fix an integer overflow in logical block size") in linux-4.4.y: b8cd70b724f0 in linux-4.9.y: 5dbde467ccd6 in linux-4.14.y: 0c7a7d8e62bd in linux-4.19.y: a7f79052d1af in linux-5.4.y: 6eed26e35cfd upstream: v5.5-rc7 Affected branches: linux-4.4.y (conflicts - backport needed) linux-4.9.y (conflicts - backport needed) linux-4.14.y linux-4.19.y linux-5.4.y linux-5.6.y linux-5.7.y
Quoted 2 lines
Can you provide a backport for this?
That one is easy: 4.9.y and 4.4.y are not affected even though ad6bf88a6c19 has been applied there. Reason is that 64611a15ca9d only applies if bc9e9cf0401f1 ("dm crypt: don't decrease device limits") is in the tree. This in turn is a fix for 8f0009a22517 ("dm crypt: optionally support larger encryption sector size"). None of those is in v4.4.y/v4.9.y.
Quoted 15 lines
Quoted 14 lines
Upstream commit
2f02fd3fa13e("fanotify: fix ignore mask logic for events on child and on dir")
upstream: v5.8-rc1Fixes b469e7e47c8a ("fanotify: fix handling of events on child sub-directory")in linux-4.9.y:
987d8ff3a2d8
in linux-4.14.y:515160e3c4f2
in linux-4.19.y:20663629f6ae
upstream: v4.20-rc3
Affected branches:
linux-4.9.y (conflicts - backport needed)
linux-4.14.y (conflicts - backport needed)
linux-4.19.y
linux-5.4.y (already applied)
linux-5.6.y (already applied)
linux-5.7.y (already applied)
Quoted 2 lines
Do you have a backport?
I _think_ this doesn't apply either because it also depends on 837a393438475 ("fanotify: generalize fanotify_should_send_event()") which is not in v4.14.y and earlier, but I may be wrong. That code isn't exactly easy to understand.
Quoted 3 lines
For all other patches you listed, I've queued up the missing ones, some already got merged since you sent this out.
Thanks!
Guenter