From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C46281581EC for ; Fri, 22 Nov 2024 17:45:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F6F9E07A5; Fri, 22 Nov 2024 17:45:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02EE9E07A5 for ; Fri, 22 Nov 2024 17:45:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1EBF333FE60 for ; Fri, 22 Nov 2024 17:45:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA9031295 for ; Fri, 22 Nov 2024 17:45:20 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1732297509.84e347f66f81e2e80e29676135f13f38d88cd91e.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:6.12 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 1001_linux-6.12.1.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 84e347f66f81e2e80e29676135f13f38d88cd91e X-VCS-Branch: 6.12 Date: Fri, 22 Nov 2024 17:45:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0f61e92b-caa7-42c5-a1d3-d7320dfbb192 X-Archives-Hash: bd454f259898d24eb2e5917bea14a2ff commit: 84e347f66f81e2e80e29676135f13f38d88cd91e Author: Mike Pagano gentoo org> AuthorDate: Fri Nov 22 17:45:09 2024 +0000 Commit: Mike Pagano gentoo org> CommitDate: Fri Nov 22 17:45:09 2024 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=84e347f6 Linux patch 6.12.1 Signed-off-by: Mike Pagano gentoo.org> 0000_README | 12 ++++++---- 1001_linux-6.12.1.patch | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 4 deletions(-) diff --git a/0000_README b/0000_README index 2f20a332..4df3304e 100644 --- a/0000_README +++ b/0000_README @@ -43,17 +43,21 @@ EXPERIMENTAL Individual Patch Descriptions: -------------------------------------------------------------------------- +Patch: 1000_linux-6.12.1.patch +From: https://www.kernel.org +Desc: Linux 6.12.1 + Patch: 1510_fs-enable-link-security-restrictions-by-default.patch From: http://sources.debian.net/src/linux/3.16.7-ckt4-3/debian/patches/debian/fs-enable-link-security-restrictions-by-default.patch/ Desc: Enable link security restrictions by default. Patch: 1700_sparc-address-warray-bound-warnings.patch -From: https://github.com/KSPP/linux/issues/109 -Desc: Address -Warray-bounds warnings +From: https://github.com/KSPP/linux/issues/109 +Desc: Address -Warray-bounds warnings Patch: 1730_parisc-Disable-prctl.patch -From: https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git -Desc: prctl: Temporarily disable prctl(PR_SET_MDWE) on parisc +From: https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git +Desc: prctl: Temporarily disable prctl(PR_SET_MDWE) on parisc Patch: 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch From: https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-marcel@holtmann.org/raw diff --git a/1001_linux-6.12.1.patch b/1001_linux-6.12.1.patch new file mode 100644 index 00000000..8eed7b47 --- /dev/null +++ b/1001_linux-6.12.1.patch @@ -0,0 +1,62 @@ +diff --git a/Makefile b/Makefile +index 68a8faff25432a..70070e64d267c1 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 6 + PATCHLEVEL = 12 +-SUBLEVEL = 0 ++SUBLEVEL = 1 + EXTRAVERSION = + NAME = Baby Opossum Posse + +diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c +index 0fac689c6350b2..13db0026dc1aad 100644 +--- a/drivers/media/usb/uvc/uvc_driver.c ++++ b/drivers/media/usb/uvc/uvc_driver.c +@@ -371,7 +371,7 @@ static int uvc_parse_format(struct uvc_device *dev, + * Parse the frame descriptors. Only uncompressed, MJPEG and frame + * based formats have frame descriptors. + */ +- while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE && ++ while (ftype && buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE && + buffer[2] == ftype) { + unsigned int maxIntervalIndex; + +diff --git a/mm/mmap.c b/mm/mmap.c +index 79d541f1502b22..4f6e566d52faa6 100644 +--- a/mm/mmap.c ++++ b/mm/mmap.c +@@ -1491,7 +1491,18 @@ static unsigned long __mmap_region(struct file *file, unsigned long addr, + vm_flags = vma->vm_flags; + goto file_expanded; + } +- vma_iter_config(&vmi, addr, end); ++ ++ /* ++ * In the unlikely even that more memory was needed, but ++ * not available for the vma merge, the vma iterator ++ * will have no memory reserved for the write we told ++ * the driver was happening. To keep up the ruse, ++ * ensure the allocation for the store succeeds. ++ */ ++ if (vmg_nomem(&vmg)) { ++ mas_preallocate(&vmi.mas, vma, ++ GFP_KERNEL|__GFP_NOFAIL); ++ } + } + + vm_flags = vma->vm_flags; +diff --git a/net/vmw_vsock/hyperv_transport.c b/net/vmw_vsock/hyperv_transport.c +index e2157e38721770..56c232cf5b0f4f 100644 +--- a/net/vmw_vsock/hyperv_transport.c ++++ b/net/vmw_vsock/hyperv_transport.c +@@ -549,6 +549,7 @@ static void hvs_destruct(struct vsock_sock *vsk) + vmbus_hvsock_device_unregister(chan); + + kfree(hvs); ++ vsk->trans = NULL; + } + + static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr)