summaryrefslogtreecommitdiffstats
path: root/patch-5.16-redhat.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2022-02-11 10:04:54 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2022-02-11 10:04:54 -0600
commit595cb283e615947a27d819edc45e8e110a6116ce (patch)
treed8b504d163b912f1e119275201696c334cbae464 /patch-5.16-redhat.patch
parentf38101bdd0124e3ae7c3116b66f7fd1cd76e5601 (diff)
downloadkernel-595cb283e615947a27d819edc45e8e110a6116ce.tar.gz
kernel-595cb283e615947a27d819edc45e8e110a6116ce.tar.xz
kernel-595cb283e615947a27d819edc45e8e110a6116ce.zip
kernel-5.16.9-0
* Fri Feb 11 2022 Justin M. Forbes <jforbes@fedoraproject.org> [5.16.9-0] - tipc: improve size validations for received domain records (Jon Maloy) Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'patch-5.16-redhat.patch')
-rw-r--r--patch-5.16-redhat.patch58
1 files changed, 2 insertions, 56 deletions
diff --git a/patch-5.16-redhat.patch b/patch-5.16-redhat.patch
index 30683c666..a748eeaa2 100644
--- a/patch-5.16-redhat.patch
+++ b/patch-5.16-redhat.patch
@@ -11,7 +11,6 @@
drivers/acpi/irq.c | 17 ++-
drivers/acpi/scan.c | 9 ++
drivers/ata/libahci.c | 18 +++
- drivers/ata/libata-core.c | 14 +--
drivers/char/ipmi/ipmi_dmi.c | 15 +++
drivers/char/ipmi/ipmi_msghandler.c | 16 ++-
drivers/char/random.c | 115 +++++++++++++++++++
@@ -32,7 +31,6 @@
drivers/nvme/host/nvme.h | 4 +
drivers/pci/quirks.c | 24 ++++
drivers/usb/core/hub.c | 7 ++
- include/linux/ata.h | 2 +-
include/linux/efi.h | 22 ++--
include/linux/lsm_hook_defs.h | 2 +
include/linux/lsm_hooks.h | 6 +
@@ -49,10 +47,10 @@
security/lockdown/lockdown.c | 1 +
security/security.c | 6 +
tools/testing/selftests/netfilter/nft_nat.sh | 5 +-
- 51 files changed, 827 insertions(+), 205 deletions(-)
+ 49 files changed, 820 insertions(+), 196 deletions(-)
diff --git a/Makefile b/Makefile
-index 0cbab4df51b9..aff665749e8b 100644
+index 1f32bb42f328..592f45010531 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,10 @@ $(if $(filter __%, $(MAKECMDGOALS)), \
@@ -448,40 +446,6 @@ index f76b8418e6fb..350e52fccc30 100644
/* wait for engine to stop. This could be as long as 500 msec */
tmp = ata_wait_register(ap, port_mmio + PORT_CMD,
PORT_CMD_LIST_ON, PORT_CMD_LIST_ON, 1, 500);
-diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
-index 1cdf8cfcc31b..94bc5dbb31e1 100644
---- a/drivers/ata/libata-core.c
-+++ b/drivers/ata/libata-core.c
-@@ -2486,23 +2486,21 @@ static void ata_dev_config_cpr(struct ata_device *dev)
- struct ata_cpr_log *cpr_log = NULL;
- u8 *desc, *buf = NULL;
-
-- if (!ata_identify_page_supported(dev,
-- ATA_LOG_CONCURRENT_POSITIONING_RANGES))
-+ if (ata_id_major_version(dev->id) < 11 ||
-+ !ata_log_supported(dev, ATA_LOG_CONCURRENT_POSITIONING_RANGES))
- goto out;
-
- /*
-- * Read IDENTIFY DEVICE data log, page 0x47
-- * (concurrent positioning ranges). We can have at most 255 32B range
-- * descriptors plus a 64B header.
-+ * Read the concurrent positioning ranges log (0x47). We can have at
-+ * most 255 32B range descriptors plus a 64B header.
- */
- buf_len = (64 + 255 * 32 + 511) & ~511;
- buf = kzalloc(buf_len, GFP_KERNEL);
- if (!buf)
- goto out;
-
-- err_mask = ata_read_log_page(dev, ATA_LOG_IDENTIFY_DEVICE,
-- ATA_LOG_CONCURRENT_POSITIONING_RANGES,
-- buf, buf_len >> 9);
-+ err_mask = ata_read_log_page(dev, ATA_LOG_CONCURRENT_POSITIONING_RANGES,
-+ 0, buf, buf_len >> 9);
- if (err_mask)
- goto out;
-
diff --git a/drivers/char/ipmi/ipmi_dmi.c b/drivers/char/ipmi/ipmi_dmi.c
index bbf7029e224b..cf7faa970dd6 100644
--- a/drivers/char/ipmi/ipmi_dmi.c
@@ -1643,24 +1607,6 @@ index ac6c5ccfe1cb..ec784479eece 100644
/* Lock the device, then check to see if we were
* disconnected while waiting for the lock to succeed. */
usb_lock_device(hdev);
-diff --git a/include/linux/ata.h b/include/linux/ata.h
-index 199e47e97d64..21292b5bbb55 100644
---- a/include/linux/ata.h
-+++ b/include/linux/ata.h
-@@ -324,12 +324,12 @@ enum {
- ATA_LOG_NCQ_NON_DATA = 0x12,
- ATA_LOG_NCQ_SEND_RECV = 0x13,
- ATA_LOG_IDENTIFY_DEVICE = 0x30,
-+ ATA_LOG_CONCURRENT_POSITIONING_RANGES = 0x47,
-
- /* Identify device log pages: */
- ATA_LOG_SECURITY = 0x06,
- ATA_LOG_SATA_SETTINGS = 0x08,
- ATA_LOG_ZONED_INFORMATION = 0x09,
-- ATA_LOG_CONCURRENT_POSITIONING_RANGES = 0x47,
-
- /* Identify device SATA settings log:*/
- ATA_LOG_DEVSLP_OFFSET = 0x30,
diff --git a/include/linux/efi.h b/include/linux/efi.h
index ef8dbc0a1522..836a5dfc6156 100644
--- a/include/linux/efi.h