Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp147455rdb; Wed, 20 Dec 2023 08:26:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4l/8wTBlevWOFToybLm4ClROEb80zzunp4xACfuHPf9MKh8r1d1sfxWaStVYDkJLbNH/S X-Received: by 2002:a05:6358:89b:b0:172:fdd5:805 with SMTP id m27-20020a056358089b00b00172fdd50805mr2740751rwj.27.1703089571552; Wed, 20 Dec 2023 08:26:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703089571; cv=none; d=google.com; s=arc-20160816; b=FXdDmIIaXh7AvGLK1k1ccRcfLHLAEnowAY8OPfUxwB+qzX5RwqISpSXT/VJZnbJozq uYbEaWqotBiHTlA1NmenXIjy7/IufSdb/cM/S5e78LY+X8BpPVkF9qHb7JY8TH4NCyIm Ln8xMXWDZ23mnJ3DFijGefMWwcSWm+kgc2q79yHL3QTKWPfJ11ABv/Up1qyDr2g4sVo2 tJQ7nwoD8s/B/Xa6KQa8SessioOG+WFbn6A87H7sSbyRvzqEAL1oQtIXmS9tGgbV/C8h pS5+krOSn/tngHTmWNUSnmoQGV4cYojqaTjb4SFeCeFVN/sL7x9jlBA3eiPQer6i2C5l YpNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ljB5E8QPsbq+e8snfv4qnd4sXegVFOgUV0RbHEoeyeY=; fh=vFFszuje4ZP6QlXp6i+naNLkCItcG2Z1ZuhM8Sf4xW0=; b=qUuZgm+CsQTHpK+GYCNZuiy9DpfAaziP2fo6UKROzu6OBRbb2Z5miFl7b3vcmPD1uL gnnf5Upr0pg6H5+kduVaYQFfSaodvT0n+XjUPq3snnFxalUIlAk1fN8Da8YlQyVQhC+m EDNYniG4EbkPeQaKY7ti5qg42JerJDaNCOFKxerSoV8acVDRyYwBUxZXq7v8NEvrvfRh +SrQx7C5wZAJLDP/8sxb5olh47eF1RSxj4DqowA1fnd0Bujan6N2mXULFgvnZuWbHdL6 67ZBgqrgIG7LjOIr6HbqD20kjT7+Z0rxCw1UnIXeJdCaHrsl9nuOrJyJ6L+GFCXUiADs ynXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wPoEMt9I; spf=pass (google.com: domain of linux-kernel+bounces-7268-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7268-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a23-20020a634d17000000b005c6643c12basi1326581pgb.435.2023.12.20.08.26.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 08:26:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7268-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wPoEMt9I; spf=pass (google.com: domain of linux-kernel+bounces-7268-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7268-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C364628A513 for ; Wed, 20 Dec 2023 16:16:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43BD64BAA1; Wed, 20 Dec 2023 16:12:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wPoEMt9I" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70701495E3; Wed, 20 Dec 2023 16:12:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73F84C433C8; Wed, 20 Dec 2023 16:12:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1703088722; bh=z+kKJo9/aFLBw2osVee4R3eBrOZbQpZ8IemEluY7Uuk=; h=From:To:Cc:Subject:Date:From; b=wPoEMt9IXaG/E+iZ2z/Lu1/JeGm9RsJ9D1556/21BeMfrq+ZszokAQ8xPUsDdYq0S bj7ytn/Rn3Wd7d2e+an7X6JI/KHlORndqdZPgSlODPpBcA6HWGqnCN3l4DA66E6nIk EQYpaJ5MwbHAimHml6kdXLHngPjzUdL1z+AmOXAo= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, allen.lkml@gmail.com Subject: [PATCH 5.15 000/159] 5.15.145-rc1 review Date: Wed, 20 Dec 2023 17:07:45 +0100 Message-ID: <20231220160931.251686445@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.145-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.15.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.15.145-rc1 X-KernelTest-Deadline: 2023-12-22T16:09+00:00 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the start of the stable review cycle for the 5.15.145 release. There are 159 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 Fri, 22 Dec 2023 16:08:59 +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/v5.x/stable-review/patch-5.15.145-rc1.gz or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman Linux 5.15.145-rc1 Arnd Bergmann kasan: disable kasan_non_canonical_hook() for HW tags Francis Laniel tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols Amit Pundir Revert "drm/bridge: lt9611uxc: Switch to devm MIPI-DSI helpers" Amit Pundir Revert "drm/bridge: lt9611uxc: Register and attach our DSI device at probe" Amit Pundir Revert "drm/bridge: lt9611uxc: fix the race in the error path" Namjae Jeon ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error Namjae Jeon ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId Namjae Jeon ksmbd: release interim response after sending status pending response Namjae Jeon ksmbd: move oplock handling after unlock parent dir Namjae Jeon ksmbd: separately allocate ci per dentry Namjae Jeon ksmbd: fix possible deadlock in smb2_open Zongmin Zhou ksmbd: prevent memory leak on error return Namjae Jeon ksmbd: handle malformed smb1 message Namjae Jeon ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked() Namjae Jeon ksmbd: no need to wait for binded connection termination at logoff Namjae Jeon ksmbd: add support for surrogate pair conversion Kangjing Huang ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev() Marios Makassikis ksmbd: fix recursive locking in vfs helpers Namjae Jeon ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr() Namjae Jeon ksmbd: reorganize ksmbd_iov_pin_rsp() Cheng-Han Wu ksmbd: Remove unused field in ksmbd_user struct Namjae Jeon ksmbd: fix potential double free on smb2_read_pipe() error path Namjae Jeon ksmbd: fix Null pointer dereferences in ksmbd_update_fstate() Namjae Jeon ksmbd: fix wrong error response status by using set_smb2_rsp_status() Namjae Jeon ksmbd: fix race condition between tree conn lookup and disconnect Namjae Jeon ksmbd: fix race condition from parallel smb2 lock requests Namjae Jeon ksmbd: fix race condition from parallel smb2 logoff requests Namjae Jeon ksmbd: fix race condition with fp Namjae Jeon ksmbd: fix race condition between session lookup and expire Namjae Jeon ksmbd: check iov vector index in ksmbd_conn_write() Namjae Jeon ksmbd: return invalid parameter error response if smb2 request is invalid Namjae Jeon ksmbd: fix passing freed memory 'aux_payload_buf' Namjae Jeon ksmbd: remove unneeded mark_inode_dirty in set_info_sec() Steve French ksmbd: remove experimental warning Namjae Jeon ksmbd: add missing calling smb2_set_err_rsp() on error Namjae Jeon ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob() Yang Li ksmbd: Fix one kernel-doc comment Namjae Jeon ksmbd: reduce descriptor size if remaining bytes is less than request size Atte Heikkilä ksmbd: fix `force create mode' and `force directory mode' Namjae Jeon ksmbd: fix wrong interim response on compound Namjae Jeon ksmbd: add support for read compound Yang Yingliang ksmbd: switch to use kmemdup_nul() helper Namjae Jeon ksmbd: fix out of bounds in init_smb2_rsp_hdr() Namjae Jeon ksmbd: validate session id and tree id in compound request Namjae Jeon ksmbd: check if a mount point is crossed during path lookup Wang Ming ksmbd: Fix unsigned expression compared with zero Gustavo A. R. Silva ksmbd: Replace one-element array with flexible-array member Gustavo A. R. Silva ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect() Namjae Jeon ksmbd: add missing compound request handing in some commands Namjae Jeon ksmbd: fix out of bounds read in smb2_sess_setup Lu Hongfei ksmbd: Replace the ternary conditional operator with min() Namjae Jeon ksmbd: use kvzalloc instead of kvmalloc Lu Hongfei ksmbd: Change the return value of ksmbd_vfs_query_maximal_access to void Namjae Jeon ksmbd: return a literal instead of 'err' in ksmbd_vfs_kern_path_locked() Namjae Jeon ksmbd: use kzalloc() instead of __GFP_ZERO Namjae Jeon ksmbd: remove unused ksmbd_tree_conn_share function Namjae Jeon ksmbd: add mnt_want_write to ksmbd vfs functions Namjae Jeon ksmbd: validate smb request protocol id Namjae Jeon ksmbd: check the validation of pdu_size in ksmbd_conn_handler_loop Namjae Jeon ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR() Namjae Jeon ksmbd: fix out-of-bound read in parse_lease_state() Namjae Jeon ksmbd: fix out-of-bound read in deassemble_neg_contexts() Namjae Jeon ksmbd: call putname after using the last component Namjae Jeon ksmbd: fix UAF issue from opinfo->conn Kuan-Ting Chen ksmbd: fix multiple out-of-bounds read during context decoding Namjae Jeon ksmbd: fix uninitialized pointer read in smb2_create_link() Namjae Jeon ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename() Namjae Jeon ksmbd: fix racy issue under cocurrent smb2 tree disconnect Namjae Jeon ksmbd: fix racy issue from smb2 close and logoff with multichannel Namjae Jeon ksmbd: block asynchronous requests when making a delay on session setup Namjae Jeon ksmbd: destroy expired sessions Namjae Jeon ksmbd: fix racy issue from session setup and logoff Namjae Jeon ksmbd: fix racy issue from using ->d_parent and ->d_name Al Viro fs: introduce lock_rename_child() helper David Disseldorp ksmbd: remove unused compression negotiate ctx packing David Disseldorp ksmbd: avoid duplicate negotiate ctx offset increments David Disseldorp ksmbd: set NegotiateContextCount once instead of every inc David Disseldorp ksmbd: avoid out of bounds access in decode_preauth_ctxt() Namjae Jeon ksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdr Namjae Jeon ksmbd: delete asynchronous work from list Tom Rix ksmbd: remove unused is_char_allowed function Namjae Jeon ksmbd: fix wrong signingkey creation when encryption is AES256 Hangyu Hua ksmbd: fix possible memory leak in smb2_lock() Jiapeng Chong ksmbd: Fix parameter name and comment mismatch Colin Ian King ksmbd: Fix spelling mistake "excceed" -> "exceeded" Steve French ksmbd: update Kconfig to note Kerberos support and fix indentation Dawei Li ksmbd: Remove duplicated codes Dawei Li ksmbd: fix typo, syncronous->synchronous Dawei Li ksmbd: Implements sess->rpc_handle_list as xarray Dawei Li ksmbd: Implements sess->ksmbd_chann_list as xarray Marios Makassikis ksmbd: send proper error response in smb2_tree_connect() ye xingchen ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs Marios Makassikis ksmbd: Fix resource leak in smb2_lock() Jeff Layton ksmbd: use F_SETLK when unlocking a file Namjae Jeon ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share Gustavo A. R. Silva ksmbd: replace one-element arrays with flexible-array members Atte Heikkilä ksmbd: validate share name from share config response Namjae Jeon ksmbd: call ib_drain_qp when disconnected Atte Heikkilä ksmbd: make utf-8 file name comparison work in __caseless_lookup() Namjae Jeon ksmbd: hide socket error message when ipv6 config is disable Tom Talpey ksmbd: reduce server smbdirect max send/receive segment sizes Tom Talpey ksmbd: decrease the number of SMB3 smbdirect server SGEs Namjae Jeon ksmbd: set NTLMSSP_NEGOTIATE_SEAL flag to challenge blob Namjae Jeon ksmbd: fix encryption failure issue for session logoff response Namjae Jeon ksmbd: fill sids in SMB_FIND_FILE_POSIX_INFO response Namjae Jeon ksmbd: set file permission mode to match Samba server posix extension behavior Namjae Jeon ksmbd: change security id to the one samba used for posix extension Atte Heikkilä ksmbd: casefold utf-8 share names and fix ascii lowercase conversion Namjae Jeon ksmbd: remove generic_fillattr use in smb2_open() Al Viro ksmbd: constify struct path Al Viro ksmbd: don't open-code %pD Al Viro ksmbd: don't open-code file_path() Hyunchul Lee ksmbd: remove unnecessary generic_fillattr in smb2_open Atte Heikkilä ksmbd: request update to stale share config Namjae Jeon ksmbd: use wait_event instead of schedule_timeout() Namjae Jeon ksmbd: remove unused ksmbd_share_configs_cleanup function Hyunchul Lee ksmbd: remove duplicate flag set in smb2_write Christophe JAILLET ksmbd: smbd: Remove useless license text when SPDX-License-Identifier is already used Hyunchul Lee ksmbd: smbd: relax the count of sges required Hyunchul Lee ksmbd: smbd: fix connection dropped issue Yang Li ksmbd: Fix some kernel-doc comments Namjae Jeon ksmbd: fix wrong smbd max read/write size check Hyunchul Lee ksmbd: smbd: handle multiple Buffer descriptors Hyunchul Lee ksmbd: smbd: change the return value of get_sg_list Hyunchul Lee ksmbd: smbd: simplify tracking pending packets Hyunchul Lee ksmbd: smbd: introduce read/write credits for RDMA read/write Hyunchul Lee ksmbd: smbd: change prototypes of RDMA read/write related functions Namjae Jeon ksmbd: validate length in smb2_write() Namjae Jeon ksmbd: remove filename in ksmbd_file Steve French smb3: fix ksmbd bigendian bug in oplock break, and move its struct to smbfs_common Jakob Koschel ksmbd: replace usage of found with dedicated list iterator variable Christophe JAILLET ksmbd: Remove a redundant zeroing of memory Steve French ksmbd: shorten experimental warning on loading the module Paulo Alcantara (SUSE) ksmbd: store fids as opaque u64 integers Tobias Klauser ksmbd: use netif_is_bridge_port Namjae Jeon ksmbd: add support for key exchange Hyunchul Lee ksmbd: smbd: validate buffer descriptor structures Hyunchul Lee ksmbd: smbd: fix missing client's memory region invalidation Namjae Jeon ksmbd: add smb-direct shutdown Hyunchul Lee ksmbd: smbd: change the default maximum read/write, receive size Hyunchul Lee ksmbd: smbd: create MR pool Hyunchul Lee ksmbd: smbd: call rdma_accept() under CM handler Namjae Jeon ksmbd: set 445 port to smbdirect port by default Hyunchul Lee ksmbd: register ksmbd ib client with ib_register_client() Yang Li ksmbd: Fix smb2_get_name() kernel-doc comment Yang Li ksmbd: Delete an invalid argument description in smb2_populate_readdir_entry() Yang Li ksmbd: Fix smb2_set_info_file() kernel-doc comment Yang Li ksmbd: Fix buffer_check_err() kernel-doc comment Namjae Jeon ksmbd: set both ipv4 and ipv6 in FSCTL_QUERY_NETWORK_INTERFACE_INFO Marios Makassikis ksmbd: Remove unused fields from ksmbd_file struct definition Marios Makassikis ksmbd: Remove unused parameter from smb2_get_name() Hyunchul Lee ksmbd: use oid registry functions to decode OIDs Namjae Jeon ksmbd: change LeaseKey data type to u8 array Namjae Jeon ksmbd: remove smb2_buf_length in smb2_transform_hdr Namjae Jeon ksmbd: remove smb2_buf_length in smb2_hdr Namjae Jeon ksmbd: remove md4 leftovers Christophe JAILLET ksmbd: Remove redundant 'flush_workqueue()' calls Ralph Boehme ksmdb: use cmd helper variable in smb2_get_ksmbd_tcon() Ralph Boehme ksmbd: use ksmbd_req_buf_next() in ksmbd_verify_smb_message() ------------- Diffstat: Makefile | 4 +- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 75 +- fs/ksmbd/Kconfig | 11 +- fs/ksmbd/asn1.c | 173 +-- fs/ksmbd/auth.c | 72 +- fs/ksmbd/auth.h | 3 +- fs/ksmbd/connection.c | 169 +-- fs/ksmbd/connection.h | 92 +- fs/ksmbd/ksmbd_netlink.h | 7 +- fs/ksmbd/ksmbd_work.c | 101 +- fs/ksmbd/ksmbd_work.h | 40 +- fs/ksmbd/mgmt/share_config.c | 56 +- fs/ksmbd/mgmt/share_config.h | 36 +- fs/ksmbd/mgmt/tree_connect.c | 78 +- fs/ksmbd/mgmt/tree_connect.h | 15 +- fs/ksmbd/mgmt/user_config.h | 1 - fs/ksmbd/mgmt/user_session.c | 180 +-- fs/ksmbd/mgmt/user_session.h | 8 +- fs/ksmbd/misc.c | 94 +- fs/ksmbd/misc.h | 6 +- fs/ksmbd/oplock.c | 256 ++-- fs/ksmbd/oplock.h | 4 - fs/ksmbd/server.c | 54 +- fs/ksmbd/smb2misc.c | 4 +- fs/ksmbd/smb2ops.c | 10 +- fs/ksmbd/smb2pdu.c | 2047 ++++++++++++++-------------- fs/ksmbd/smb2pdu.h | 83 +- fs/ksmbd/smb_common.c | 176 ++- fs/ksmbd/smb_common.h | 20 +- fs/ksmbd/smbacl.c | 26 +- fs/ksmbd/smbacl.h | 8 +- fs/ksmbd/transport_ipc.c | 4 +- fs/ksmbd/transport_rdma.c | 648 ++++++--- fs/ksmbd/transport_rdma.h | 6 +- fs/ksmbd/transport_tcp.c | 9 +- fs/ksmbd/unicode.c | 191 ++- fs/ksmbd/unicode.h | 3 +- fs/ksmbd/vfs.c | 677 ++++----- fs/ksmbd/vfs.h | 56 +- fs/ksmbd/vfs_cache.c | 72 +- fs/ksmbd/vfs_cache.h | 26 +- fs/namei.c | 125 +- include/linux/kasan.h | 6 +- include/linux/namei.h | 7 + kernel/trace/trace_kprobe.c | 74 + kernel/trace/trace_probe.h | 1 + mm/kasan/report.c | 4 +- 47 files changed, 3279 insertions(+), 2539 deletions(-)