aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ksmbd
AgeCommit message (Expand)AuthorFilesLines
2023-05-24smb: move client and server files to common directory fs/smbSteve French60-31465/+0
2023-05-16ksmbd: smb2: Allow messages padded to 8byte boundaryGustav Johansson1-1/+4
2023-05-16ksmbd: allocate one more byte for implied bcc[0]Chih-Yen Chang1-1/+2
2023-05-16ksmbd: fix wrong UserName check in session_userChih-Yen Chang1-3/+2
2023-05-16ksmbd: fix global-out-of-bounds in smb2_find_context_valsChih-Yen Chang3-10/+11
2023-05-07Merge tag '6.4-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cif...Linus Torvalds1-16/+0
2023-05-05Merge tag '6.4-rc-ksmbd-server-fixes-part2' of git://git.samba.org/ksmbdLinus Torvalds11-110/+250
2023-05-03ksmbd: call rcu_barrier() in ksmbd_server_exit()Namjae Jeon1-0/+1
2023-05-03ksmbd: fix racy issue under cocurrent smb2 tree disconnectNamjae Jeon3-2/+14
2023-05-03ksmbd: fix racy issue from smb2 close and logoff with multichannelNamjae Jeon5-32/+101
2023-05-03ksmbd: not allow guest user on multichannelNamjae Jeon1-2/+9
2023-05-03ksmbd: fix deadlock in ksmbd_find_crypto_ctx()Namjae Jeon1-8/+11
2023-05-03ksmbd: block asynchronous requests when making a delay on session setupNamjae Jeon1-1/+4
2023-05-03ksmbd: destroy expired sessionsNamjae Jeon4-31/+41
2023-05-03ksmbd: fix racy issue from session setup and logoffNamjae Jeon6-49/+77
2023-05-03ksmbd: fix NULL pointer dereference in smb2_get_info_filesystem()Namjae Jeon1-0/+3
2023-05-03ksmbd: fix memleak in session setupNamjae Jeon1-0/+4
2023-05-02SMB3.1.1: correct definition for app_instance_id create contextsSteve French1-16/+0
2023-05-01Merge tag '6.4-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cif...Linus Torvalds1-33/+0
2023-04-29Merge tag '6.4-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbdLinus Torvalds4-416/+244
2023-04-28smb3: move some common open context structs to smbfs_commonSteve French1-25/+0
2023-04-28smb3: make query_on_disk_id open context consistent and move to common codeSteve French1-8/+0
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-6/+5
2023-04-24ksmbd: fix racy issue from using ->d_parent and ->d_nameNamjae Jeon4-372/+230
2023-04-24ksmbd: remove unused compression negotiate ctx packingDavid Disseldorp1-24/+2
2023-04-24ksmbd: avoid duplicate negotiate ctx offset incrementsDavid Disseldorp1-16/+10
2023-04-24ksmbd: set NegotiateContextCount once instead of every incDavid Disseldorp1-5/+5
2023-04-24Merge tag 'pull-lock_rename_child' of git://git.kernel.org/pub/scm/linux/kern...Steve French1-2/+0
2023-04-20ksmbd: remove internal.h includeNamjae Jeon1-2/+0
2023-04-13ksmbd: avoid out of bounds access in decode_preauth_ctxt()David Disseldorp1-9/+14
2023-04-03Merge 6.3-rc5 into driver-core-nextGreg Kroah-Hartman8-55/+78
2023-04-02ksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdrNamjae Jeon4-37/+111
2023-04-02ksmbd: delete asynchronous work from listNamjae Jeon4-20/+28
2023-03-29driver core: class: mark the struct class for sysfs callbacks as constantGreg Kroah-Hartman1-5/+5
2023-03-25ksmbd: remove unused is_char_allowed functionTom Rix1-18/+0
2023-03-25ksmbd: do not call kvmalloc() with __GFP_NORETRY | __GFP_NO_WARNMarios Makassikis1-4/+1
2023-03-24ksmbd: return unsupported error on smb1 mountNamjae Jeon3-30/+30
2023-03-22ksmbd: return STATUS_NOT_SUPPORTED on unsupported smb2.0 dialectNamjae Jeon1-2/+2
2023-03-22ksmbd: don't terminate inactive sessions after a few secondsNamjae Jeon4-16/+28
2023-03-22ksmbd: fix possible refcount leak in smb2_open()ChenXiaoSong1-1/+4
2023-03-22ksmbd: add low bound validation to FSCTL_QUERY_ALLOCATED_RANGESNamjae Jeon1-3/+6
2023-03-22ksmbd: add low bound validation to FSCTL_SET_ZERO_DATANamjae Jeon1-1/+1
2023-03-22ksmbd: set FILE_NAMED_STREAMS attribute in FS_ATTRIBUTE_INFORMATIONNamjae Jeon1-0/+4
2023-03-22ksmbd: fix wrong signingkey creation when encryption is AES256Namjae Jeon1-2/+3
2023-03-17drivers: remove struct module * setting from struct classGreg Kroah-Hartman1-1/+0
2023-02-22Merge tag '6.3-rc-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds2-8/+6
2023-02-22Merge tag '6.3-rc-ksmbd-fixes' of git://git.samba.org/ksmbdLinus Torvalds10-151/+98
2023-02-20smb3: Replace smb2pdu 1-element arrays with flex-arraysKees Cook2-8/+6
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds10-218/+218
2023-02-20Merge tag 'locks-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayt...Linus Torvalds3-0/+3
2023-02-19ksmbd: fix possible memory leak in smb2_lock()Hangyu Hua2-18/+15
2023-02-15ksmbd: do not allow the actual frame length to be smaller than the rfc1002 le...Namjae Jeon1-11/+10
2023-02-15ksmbd: fix wrong data area length for smb2 lock requestNamjae Jeon1-7/+3
2023-02-15ksmbd: Fix parameter name and comment mismatchJiapeng Chong1-3/+3
2023-01-30ksmbd: Fix spelling mistake "excceed" -> "exceeded"Colin Ian King1-1/+1
2023-01-30ksmbd: update Kconfig to note Kerberos support and fix indentationSteve French1-2/+6
2023-01-30ksmbd: Remove duplicated codesDawei Li1-12/+11
2023-01-30ksmbd: fix typo, syncronous->synchronousDawei Li3-5/+5
2023-01-29ksmbd: Implements sess->rpc_handle_list as xarrayDawei Li2-24/+15
2023-01-29ksmbd: Implements sess->ksmbd_chann_list as xarrayDawei Li3-68/+29
2023-01-25ksmbd: downgrade ndr version error message to debugNamjae Jeon1-4/+4
2023-01-25ksmbd: limit pdu length size according to connection statusNamjae Jeon2-4/+18
2023-01-20ksmbd: do not sign response to session request for guest loginMarios Makassikis1-0/+2
2023-01-20ksmbd: add max connections parameterNamjae Jeon4-2/+22
2023-01-19fs: port vfs{g,u}id helpers to mnt_idmapChristian Brauner4-48/+39
2023-01-19fs: port i_{g,u}id_into_vfs{g,u}id() to mnt_idmapChristian Brauner5-17/+17
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner5-109/+104
2023-01-19fs: port ->set_acl() to pass mnt_idmapChristian Brauner4-18/+21
2023-01-19fs: port ->getattr() to pass mnt_idmapChristian Brauner4-15/+16
2023-01-18fs: port vfs_*() helpers to struct mnt_idmapChristian Brauner5-27/+37
2023-01-11filelock: move file locking definitions to separate header fileJeff Layton3-0/+3
2023-01-01ksmbd: fix infinite loop in ksmbd_conn_handler_loop()Namjae Jeon2-3/+9
2023-01-01ksmbd: check nt_len to be at least CIFS_ENCPWD_SIZE in ksmbd_decode_ntlmssp_a...William Liu1-1/+2
2023-01-01ksmbd: send proper error response in smb2_tree_connect()Marios Makassikis1-2/+5
2022-12-15Merge tag '6.2-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbdLinus Torvalds5-24/+31
2022-12-14Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-10/+10
2022-12-12Merge tag 'fs.acl.rework.v6.2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-19/+20
2022-12-12Merge tag 'locks-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayt...Linus Torvalds1-1/+1
2022-12-11ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIsye xingchen1-14/+6
2022-12-11ksmbd: Fix resource leak in smb2_lock()Marios Makassikis1-0/+4
2022-12-11ksmbd: Fix resource leak in ksmbd_session_rpc_open()Xiu Jianfeng1-3/+5
2022-12-11ksmbd: replace one-element arrays with flexible-array membersGustavo A. R. Silva3-9/+9
2022-12-11ksmbd: use F_SETLK when unlocking a fileJeff Layton1-2/+2
2022-12-11ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for ...Namjae Jeon3-5/+14
2022-12-02ksmbd: replace one-element arrays with flexible-array membersGustavo A. R. Silva3-9/+9
2022-11-30ksmbd: use locks_inode_context helperJeff Layton1-1/+1
2022-11-25vfs: fix copy_file_range() averts filesystem freeze protectionAmir Goldstein1-3/+3
2022-11-01cred: Do not default to init_cred in prepare_kernel_cred()Kees Cook1-1/+1
2022-10-20ksmbd: use vfs_remove_acl()Christian Brauner1-1/+1
2022-10-20fs: rename current get acl methodChristian Brauner3-5/+5
2022-10-19fs: pass dentry to set acl methodChristian Brauner4-13/+14
2022-10-07Merge tag '6.1-rc-ksmbd-fixes' of git://git.samba.org/ksmbdLinus Torvalds24-139/+253
2022-10-06Merge tag 'pull-file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds2-17/+13
2022-10-05ksmbd: validate share name from share config responseAtte Heikkilä6-9/+29
2022-10-05ksmbd: call ib_drain_qp when disconnectedNamjae Jeon1-0/+2
2022-10-05ksmbd: make utf-8 file name comparison work in __caseless_lookup()Atte Heikkilä3-3/+20
2022-10-05ksmbd: Fix user namespace mappingMickaël Salaün1-2/+4
2022-10-05ksmbd: hide socket error message when ipv6 config is disableNamjae Jeon1-1/+2
2022-10-05ksmbd: reduce server smbdirect max send/receive segment sizesTom Talpey1-2/+2
2022-10-05ksmbd: decrease the number of SMB3 smbdirect server SGEsTom Talpey1-1/+1
2022-10-05ksmbd: Fix wrong return value and message length check in smb2_ioctl()Zhang Xiaoxu1-4/+9
2022-10-05ksmbd: set NTLMSSP_NEGOTIATE_SEAL flag to challenge blobNamjae Jeon3-1/+5
2022-10-05ksmbd: fix encryption failure issue for session logoff responseNamjae Jeon3-9/+13
2022-10-05ksmbd: fix endless loop when encryption for response failsNamjae Jeon1-3/+1
2022-10-05ksmbd: fill sids in SMB_FIND_FILE_POSIX_INFO responseNamjae Jeon1-6/+20
2022-10-05ksmbd: set file permission mode to match Samba server posix extension behaviorNamjae Jeon2-3/+3
2022-10-05ksmbd: change security id to the one samba used for posix extensionNamjae Jeon3-7/+25
2022-10-05ksmbd: casefold utf-8 share names and fix ascii lowercase conversionAtte Heikkilä10-28/+56
2022-10-05ksmbd: port to vfs{g,u}id_t and associated helpersChristian Brauner5-16/+25
2022-10-05ksmbd: fix incorrect handling of iterate_dirNamjae Jeon1-10/+4
2022-10-05ksmbd: remove generic_fillattr use in smb2_open()Namjae Jeon1-4/+5
2022-10-05ksmbd: constify struct pathAl Viro7-20/+20
2022-10-05ksmbd: don't open-code %pDAl Viro2-14/+11
2022-10-05ksmbd: don't open-code file_path()Al Viro1-2/+2
2022-08-29genetlink: start to validate reserved header bytesJakub Kicinski1-0/+1
2022-08-17Change calling conventions for filldir_tAl Viro2-17/+13
2022-08-15ksmbd: don't remove dos attribute xattr on O_TRUNC openNamjae Jeon1-9/+9
2022-08-15ksmbd: remove unnecessary generic_fillattr in smb2_openHyunchul Lee1-9/+4
2022-08-11ksmbd: request update to stale share configAtte Heikkilä5-1/+23
2022-08-11ksmbd: return STATUS_BAD_NETWORK_NAME error status if share is not configuredNamjae Jeon2-2/+3
2022-08-08Merge tag '5.20-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbdLinus Torvalds19-219/+320
2022-08-04ksmbd: fix heap-based overflow in set_ntacl_dacl()Namjae Jeon4-56/+118
2022-07-31ksmbd: prevent out of bound read for SMB2_TREE_CONNNECTHyunchul Lee1-5/+0
2022-07-31ksmbd: prevent out of bound read for SMB2_WRITEHyunchul Lee2-7/+8
2022-07-31ksmbd: fix use-after-free bug in smb2_tree_disconectNamjae Jeon1-0/+1
2022-07-31ksmbd: fix memory leak in smb2_handle_negotiateNamjae Jeon1-0/+4
2022-07-31ksmbd: fix racy issue while destroying session on multichannelNamjae Jeon12-86/+110
2022-07-31ksmbd: use wait_event instead of schedule_timeout()Namjae Jeon4-17/+33
2022-07-26ksmbd: fix kernel oops from idr_remove()Namjae Jeon2-2/+8
2022-07-26ksmbd: add channel rwlockNamjae Jeon3-2/+22
2022-07-26ksmbd: replace sessions list in connection with xarrayNamjae Jeon5-33/+21
2022-07-24ksmbd: remove unused ksmbd_share_configs_cleanup functionNamjae Jeon2-16/+0
2022-07-15acl: move idmapped mount fixup into vfs_{g,s}etxattr()Christian Brauner2-2/+2
2022-06-30vfs: fix copy_file_range() regression in cross-fs copiesAmir Goldstein2-3/+17
2022-06-25ksmbd: use vfs_llseek instead of dereferencing NULLJason A. Donenfeld1-2/+2
2022-06-23ksmbd: check invalid FileOffset and BeyondFinalZero in FSCTL_ZERO_DATANamjae Jeon1-10/+17
2022-06-23ksmbd: set the range of bytes to zero without extending file size in FSCTL_ZE...Namjae Jeon1-1/+3
2022-06-23ksmbd: remove duplicate flag set in smb2_writeHyunchul Lee1-4/+1
2022-06-11ksmbd: smbd: Remove useless license text when SPDX-License-Identifier is alre...Christophe JAILLET1-10/+0
2022-06-11ksmbd: use SOCK_NONBLOCK type for kernel_accept()Namjae Jeon1-1/+1
2022-05-27ksmbd: smbd: relax the count of sges requiredHyunchul Lee1-8/+5
2022-05-21ksmbd: fix outstanding credits related bugsHyunchul Lee3-3/+5
2022-05-21ksmbd: smbd: fix connection dropped issueHyunchul Lee1-0/+1
2022-05-21ksmbd: Fix some kernel-doc commentsYang Li1-5/+5
2022-05-21ksmbd: fix wrong smbd max read/write size checkNamjae Jeon3-14/+32
2022-05-21ksmbd: add smbd max io size parameterNamjae Jeon4-2/+18
2022-05-21ksmbd: handle smb2 query dir request for OutputBufferLength that is too smallNamjae Jeon1-1/+9
2022-05-21ksmbd: smbd: handle multiple Buffer descriptorsHyunchul Lee2-62/+107
2022-05-21ksmbd: smbd: change the return value of get_sg_listHyunchul Lee1-2/+2
2022-05-21ksmbd: smbd: simplify tracking pending packetsHyunchul Lee1-27/+7
2022-05-21ksmbd: smbd: introduce read/write credits for RDMA read/writeHyunchul Lee1-49/+71
2022-05-21ksmbd: smbd: change prototypes of RDMA read/write related functionsHyunchul Lee4-49/+51
2022-05-09ksmbd: validate length in smb2_write()Marios Makassikis1-30/+19
2022-05-09ksmbd: fix reference count leak in smb_check_perm_dacl()Xin Xiong1-0/+1
2022-04-14ksmbd: set fixed sector size to FS_SECTOR_SIZE_INFORMATIONNamjae Jeon1-4/+7
2022-04-14ksmbd: increment reference count of parent fpNamjae Jeon2-0/+3
2022-04-14ksmbd: remove filename in ksmbd_fileNamjae Jeon8-62/+42
2022-04-01Merge tag '5.18-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbdLinus Torvalds3-15/+14
2022-04-01Merge tag '5.18-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds3-591/+54
2022-03-31smb3: fix ksmbd bigendian bug in oplock break, and move its struct to smbfs_c...Steve French3-79/+6
2022-03-30ksmbd: replace usage of found with dedicated list iterator variableJakob Koschel1-11/+10
2022-03-30ksmbd: Remove a redundant zeroing of memoryChristophe JAILLET1-1/+1
2022-03-30ksmbd: shorten experimental warning on loading the moduleSteve French1-1/+1
2022-03-26smb3: move defines for query info and query fsinfo to smbfs_commonSteve French1-284/+1
2022-03-26smb3: move defines for ioctl protocol header and SMB2 sizes to smbfs_commonSteve French2-73/+3
2022-03-25[smb3] move more common protocol header definitions to smbfs_commonSteve French1-95/+0
2022-03-24Merge tag 'flexible-array-transformations-5.18-rc1' of git://git.kernel.org/p...Linus Torvalds5-10/+10
2022-03-23ksmbd: store fids as opaque u64 integersPaulo Alcantara2-72/+56
2022-03-21Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+0
2022-03-20ksmbd: use netif_is_bridge_portTobias Klauser1-2/+2
2022-02-17treewide: Replace zero-length arrays with flexible-array membersGustavo A. R. Silva5-10/+10
2022-02-04ksmbd: add support for key exchangeNamjae Jeon1-0/+27
2022-02-04ksmbd: reduce smb direct max read/write sizeNamjae Jeon1-1/+1
2022-02-04ksmbd: don't align last entry offset in smb2 query directoryNamjae Jeon2-3/+5
2022-02-04ksmbd: fix same UniqueId for dot and dotdot entriesNamjae Jeon1-1/+4
2022-02-04ksmbd: smbd: validate buffer descriptor structuresHyunchul Lee1-6/+30
2022-02-02block: remove genhd.hChristoph Hellwig1-1/+0
2022-01-23ksmbd: fix SMB 3.11 posix extension mount failureNamjae Jeon1-1/+1
2022-01-20Merge tag '5.17-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbdLinus Torvalds19-334/+429
2022-01-18ksmbd: fix guest connection failure with nautilusNamjae Jeon1-33/+29
2022-01-18ksmbd: uninitialized variable in create_socket()Dan Carpenter1-1/+2
2022-01-18ksmbd: smbd: fix missing client's memory region invalidationHyunchul Lee1-27/+46
2022-01-11Merge tag 'fs.idmapped.v5.17' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-18/+6
2022-01-10ksmbd: add smb-direct shutdownYufan Chen3-1/+19
2022-01-10ksmbd: smbd: change the default maximum read/write, receive sizeHyunchul Lee1-2/+4
2022-01-10ksmbd: smbd: create MR poolHyunchul Lee1-1/+22
2022-01-10ksmbd: add reserved room in ipc request/responseNamjae Jeon1-1/+10
2022-01-10ksmbd: smbd: call rdma_accept() under CM handlerHyunchul Lee1-43/+59
2022-01-10ksmbd: limits exceeding the maximum allowable outstanding requestsNamjae Jeon4-1/+13
2022-01-10ksmbd: move credit charge deduction under processing requestNamjae Jeon2-11/+12
2022-01-10ksmbd: add support for smb2 max credit parameterNamjae Jeon8-10/+22
2022-01-10ksmbd: set 445 port to smbdirect port by defaultNamjae Jeon2-5/+12
2022-01-10ksmbd: register ksmbd ib client with ib_register_client()Hyunchul Lee2-11/+98
2021-12-28ksmbd: Fix smb2_get_name() kernel-doc commentYang Li1-1/+1
2021-12-28ksmbd: Delete an invalid argument description in smb2_populate_readdir_entry()Yang Li1-1/+0
2021-12-28ksmbd: Fix smb2_set_info_file() kernel-doc commentYang Li1-1/+1
2021-12-28ksmbd: Fix buffer_check_err() kernel-doc commentYang Li1-0/+1
2021-12-28ksmbd: fix multi session connection failureNamjae Jeon5-29/+24
2021-12-28ksmbd: set both ipv4 and ipv6 in FSCTL_QUERY_NETWORK_INTERFACE_INFONamjae Jeon1-10/+12
2021-12-28ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFONamjae Jeon3-5/+21