From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev, Namjae Jeon <linkinjeon@kernel.org>,
Steve French <stfrench@microsoft.com>
Subject: [PATCH 6.1 087/164] ksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdr
Date: Wed, 12 Apr 2023 10:33:29 +0200 [thread overview]
Message-ID: <20230412082840.424568625@linuxfoundation.org> (raw)
In-Reply-To: <20230412082836.695875037@linuxfoundation.org>
From: Namjae Jeon <linkinjeon@kernel.org>
commit dc8289f912387c3bcfbc5d2db29c8947fa207c11 upstream.
When smb1 mount fails, KASAN detect slab-out-of-bounds in
init_smb2_rsp_hdr like the following one.
For smb1 negotiate(56bytes) , init_smb2_rsp_hdr() for smb2 is called.
The issue occurs while handling smb1 negotiate as smb2 server operations.
Add smb server operations for smb1 (get_cmd_val, init_rsp_hdr,
allocate_rsp_buf, check_user_session) to handle smb1 negotiate so that
smb2 server operation does not handle it.
[ 411.400423] CIFS: VFS: Use of the less secure dialect vers=1.0 is
not recommended unless required for access to very old servers
[ 411.400452] CIFS: Attempting to mount \\192.168.45.139\homes
[ 411.479312] ksmbd: init_smb2_rsp_hdr : 492
[ 411.479323] ==================================================================
[ 411.479327] BUG: KASAN: slab-out-of-bounds in
init_smb2_rsp_hdr+0x1e2/0x1f4 [ksmbd]
[ 411.479369] Read of size 16 at addr ffff888488ed0734 by task kworker/14:1/199
[ 411.479379] CPU: 14 PID: 199 Comm: kworker/14:1 Tainted: G
OE 6.1.21 #3
[ 411.479386] Hardware name: ASUSTeK COMPUTER INC. Z10PA-D8
Series/Z10PA-D8 Series, BIOS 3801 08/23/2019
[ 411.479390] Workqueue: ksmbd-io handle_ksmbd_work [ksmbd]
[ 411.479425] Call Trace:
[ 411.479428] <TASK>
[ 411.479432] dump_stack_lvl+0x49/0x63
[ 411.479444] print_report+0x171/0x4a8
[ 411.479452] ? kasan_complete_mode_report_info+0x3c/0x200
[ 411.479463] ? init_smb2_rsp_hdr+0x1e2/0x1f4 [ksmbd]
[ 411.479497] kasan_report+0xb4/0x130
[ 411.479503] ? init_smb2_rsp_hdr+0x1e2/0x1f4 [ksmbd]
[ 411.479537] kasan_check_range+0x149/0x1e0
[ 411.479543] memcpy+0x24/0x70
[ 411.479550] init_smb2_rsp_hdr+0x1e2/0x1f4 [ksmbd]
[ 411.479585] handle_ksmbd_work+0x109/0x760 [ksmbd]
[ 411.479616] ? _raw_spin_unlock_irqrestore+0x50/0x50
[ 411.479624] ? smb3_encrypt_resp+0x340/0x340 [ksmbd]
[ 411.479656] process_one_work+0x49c/0x790
[ 411.479667] worker_thread+0x2b1/0x6e0
[ 411.479674] ? process_one_work+0x790/0x790
[ 411.479680] kthread+0x177/0x1b0
[ 411.479686] ? kthread_complete_and_exit+0x30/0x30
[ 411.479692] ret_from_fork+0x22/0x30
[ 411.479702] </TASK>
Fixes: 39b291b86b59 ("ksmbd: return unsupported error on smb1 mount")
Cc: stable@vger.kernel.org
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
fs/ksmbd/server.c | 5 -
fs/ksmbd/smb2pdu.c | 3 -
fs/ksmbd/smb_common.c | 138 +++++++++++++++++++++++++++++++++++++++-----------
fs/ksmbd/smb_common.h | 2
4 files changed, 111 insertions(+), 37 deletions(-)
--- a/fs/ksmbd/server.c
+++ b/fs/ksmbd/server.c
@@ -289,10 +289,7 @@ static int queue_ksmbd_work(struct ksmbd
work->request_buf = conn->request_buf;
conn->request_buf = NULL;
- if (ksmbd_init_smb_server(work)) {
- ksmbd_free_work_struct(work);
- return -EINVAL;
- }
+ ksmbd_init_smb_server(work);
ksmbd_conn_enqueue_request(work);
atomic_inc(&conn->r_count);
--- a/fs/ksmbd/smb2pdu.c
+++ b/fs/ksmbd/smb2pdu.c
@@ -235,9 +235,6 @@ int init_smb2_neg_rsp(struct ksmbd_work
struct smb2_negotiate_rsp *rsp;
struct ksmbd_conn *conn = work->conn;
- if (conn->need_neg == false)
- return -EINVAL;
-
*(__be32 *)work->response_buf =
cpu_to_be32(conn->vals->header_size);
--- a/fs/ksmbd/smb_common.c
+++ b/fs/ksmbd/smb_common.c
@@ -283,20 +283,121 @@ err_out:
return BAD_PROT_ID;
}
-int ksmbd_init_smb_server(struct ksmbd_work *work)
+#define SMB_COM_NEGOTIATE_EX 0x0
+
+/**
+ * get_smb1_cmd_val() - get smb command value from smb header
+ * @work: smb work containing smb header
+ *
+ * Return: smb command value
+ */
+static u16 get_smb1_cmd_val(struct ksmbd_work *work)
{
- struct ksmbd_conn *conn = work->conn;
+ return SMB_COM_NEGOTIATE_EX;
+}
- if (conn->need_neg == false)
+/**
+ * init_smb1_rsp_hdr() - initialize smb negotiate response header
+ * @work: smb work containing smb request
+ *
+ * Return: 0 on success, otherwise -EINVAL
+ */
+static int init_smb1_rsp_hdr(struct ksmbd_work *work)
+{
+ struct smb_hdr *rsp_hdr = (struct smb_hdr *)work->response_buf;
+ struct smb_hdr *rcv_hdr = (struct smb_hdr *)work->request_buf;
+
+ /*
+ * Remove 4 byte direct TCP header.
+ */
+ *(__be32 *)work->response_buf =
+ cpu_to_be32(sizeof(struct smb_hdr) - 4);
+
+ rsp_hdr->Command = SMB_COM_NEGOTIATE;
+ *(__le32 *)rsp_hdr->Protocol = SMB1_PROTO_NUMBER;
+ rsp_hdr->Flags = SMBFLG_RESPONSE;
+ rsp_hdr->Flags2 = SMBFLG2_UNICODE | SMBFLG2_ERR_STATUS |
+ SMBFLG2_EXT_SEC | SMBFLG2_IS_LONG_NAME;
+ rsp_hdr->Pid = rcv_hdr->Pid;
+ rsp_hdr->Mid = rcv_hdr->Mid;
+ return 0;
+}
+
+/**
+ * smb1_check_user_session() - check for valid session for a user
+ * @work: smb work containing smb request buffer
+ *
+ * Return: 0 on success, otherwise error
+ */
+static int smb1_check_user_session(struct ksmbd_work *work)
+{
+ unsigned int cmd = work->conn->ops->get_cmd_val(work);
+
+ if (cmd == SMB_COM_NEGOTIATE_EX)
return 0;
- init_smb3_11_server(conn);
+ return -EINVAL;
+}
+
+/**
+ * smb1_allocate_rsp_buf() - allocate response buffer for a command
+ * @work: smb work containing smb request
+ *
+ * Return: 0 on success, otherwise -ENOMEM
+ */
+static int smb1_allocate_rsp_buf(struct ksmbd_work *work)
+{
+ work->response_buf = kmalloc(MAX_CIFS_SMALL_BUFFER_SIZE,
+ GFP_KERNEL | __GFP_ZERO);
+ work->response_sz = MAX_CIFS_SMALL_BUFFER_SIZE;
+
+ if (!work->response_buf) {
+ pr_err("Failed to allocate %u bytes buffer\n",
+ MAX_CIFS_SMALL_BUFFER_SIZE);
+ return -ENOMEM;
+ }
- if (conn->ops->get_cmd_val(work) != SMB_COM_NEGOTIATE)
- conn->need_neg = false;
return 0;
}
+static struct smb_version_ops smb1_server_ops = {
+ .get_cmd_val = get_smb1_cmd_val,
+ .init_rsp_hdr = init_smb1_rsp_hdr,
+ .allocate_rsp_buf = smb1_allocate_rsp_buf,
+ .check_user_session = smb1_check_user_session,
+};
+
+static int smb1_negotiate(struct ksmbd_work *work)
+{
+ return ksmbd_smb_negotiate_common(work, SMB_COM_NEGOTIATE);
+}
+
+static struct smb_version_cmds smb1_server_cmds[1] = {
+ [SMB_COM_NEGOTIATE_EX] = { .proc = smb1_negotiate, },
+};
+
+static void init_smb1_server(struct ksmbd_conn *conn)
+{
+ conn->ops = &smb1_server_ops;
+ conn->cmds = smb1_server_cmds;
+ conn->max_cmds = ARRAY_SIZE(smb1_server_cmds);
+}
+
+void ksmbd_init_smb_server(struct ksmbd_work *work)
+{
+ struct ksmbd_conn *conn = work->conn;
+ __le32 proto;
+
+ if (conn->need_neg == false)
+ return;
+
+ proto = *(__le32 *)((struct smb_hdr *)work->request_buf)->Protocol;
+ if (proto == SMB1_PROTO_NUMBER)
+ init_smb1_server(conn);
+ else
+ init_smb3_11_server(conn);
+}
+
int ksmbd_populate_dot_dotdot_entries(struct ksmbd_work *work, int info_level,
struct ksmbd_file *dir,
struct ksmbd_dir_info *d_info,
@@ -444,20 +545,10 @@ static int smb_handle_negotiate(struct k
ksmbd_debug(SMB, "Unsupported SMB1 protocol\n");
- /*
- * Remove 4 byte direct TCP header, add 2 byte bcc and
- * 2 byte DialectIndex.
- */
- *(__be32 *)work->response_buf =
- cpu_to_be32(sizeof(struct smb_hdr) - 4 + 2 + 2);
+ /* Add 2 byte bcc and 2 byte DialectIndex. */
+ inc_rfc1001_len(work->response_buf, 4);
neg_rsp->hdr.Status.CifsError = STATUS_SUCCESS;
- neg_rsp->hdr.Command = SMB_COM_NEGOTIATE;
- *(__le32 *)neg_rsp->hdr.Protocol = SMB1_PROTO_NUMBER;
- neg_rsp->hdr.Flags = SMBFLG_RESPONSE;
- neg_rsp->hdr.Flags2 = SMBFLG2_UNICODE | SMBFLG2_ERR_STATUS |
- SMBFLG2_EXT_SEC | SMBFLG2_IS_LONG_NAME;
-
neg_rsp->hdr.WordCount = 1;
neg_rsp->DialectIndex = cpu_to_le16(work->conn->dialect);
neg_rsp->ByteCount = 0;
@@ -474,23 +565,12 @@ int ksmbd_smb_negotiate_common(struct ks
ksmbd_debug(SMB, "conn->dialect 0x%x\n", conn->dialect);
if (command == SMB2_NEGOTIATE_HE) {
- struct smb2_hdr *smb2_hdr = smb2_get_msg(work->request_buf);
-
- if (smb2_hdr->ProtocolId != SMB2_PROTO_NUMBER) {
- ksmbd_debug(SMB, "Downgrade to SMB1 negotiation\n");
- command = SMB_COM_NEGOTIATE;
- }
- }
-
- if (command == SMB2_NEGOTIATE_HE) {
ret = smb2_handle_negotiate(work);
- init_smb2_neg_rsp(work);
return ret;
}
if (command == SMB_COM_NEGOTIATE) {
if (__smb2_negotiate(conn)) {
- conn->need_neg = true;
init_smb3_11_server(conn);
init_smb2_neg_rsp(work);
ksmbd_debug(SMB, "Upgrade to SMB2 negotiation\n");
--- a/fs/ksmbd/smb_common.h
+++ b/fs/ksmbd/smb_common.h
@@ -427,7 +427,7 @@ bool ksmbd_smb_request(struct ksmbd_conn
int ksmbd_lookup_dialect_by_id(__le16 *cli_dialects, __le16 dialects_count);
-int ksmbd_init_smb_server(struct ksmbd_work *work);
+void ksmbd_init_smb_server(struct ksmbd_work *work);
struct ksmbd_kstat;
int ksmbd_populate_dot_dotdot_entries(struct ksmbd_work *work,
next prev parent reply other threads:[~2023-04-12 8:42 UTC|newest]
Thread overview: 173+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 8:32 [PATCH 6.1 000/164] 6.1.24-rc1 review Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 001/164] dm cache: Add some documentation to dm-cache-background-tracker.h Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 002/164] dm integrity: Remove bi_sector thats only used by commented debug code Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 003/164] dm: change "unsigned" to "unsigned int" Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 004/164] dm: fix improper splitting for abnormal bios Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 005/164] KVM: arm64: PMU: Align chained counter implementation with architecture pseudocode Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 006/164] KVM: arm64: PMU: Distinguish between 64bit counter and 64bit overflow Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 007/164] KVM: arm64: PMU: Sanitise PMCR_EL0.LP on first vcpu run Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 008/164] KVM: arm64: PMU: Dont save PMCR_EL0.{C,P} for the vCPU Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 009/164] gpio: GPIO_REGMAP: select REGMAP instead of depending on it Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 010/164] Drivers: vmbus: Check for channel allocation before looking up relids Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 011/164] ASoC: SOF: ipc4: Ensure DSP is in D0I0 during sof_ipc4_set_get_data() Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 012/164] pwm: Make .get_state() callback return an error code Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 013/164] pwm: hibvt: Explicitly set .polarity in .get_state() Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 014/164] pwm: cros-ec: " Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 015/164] pwm: iqs620a: " Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 016/164] pwm: sprd: " Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 017/164] pwm: meson: " Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 018/164] ASoC: codecs: lpass: fix the order or clks turn off during suspend Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 019/164] KVM: s390: pv: fix external interruption loop not always detected Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 020/164] wifi: mac80211: fix the size calculation of ieee80211_ie_len_eht_cap() Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 021/164] wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 022/164] net: qrtr: Fix a refcount bug in qrtr_recvmsg() Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 023/164] net: phylink: add phylink_expects_phy() method Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 024/164] net: stmmac: check if MAC needs to attach to a PHY Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 025/164] net: stmmac: remove redundant fixup to support fixed-link mode Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 026/164] l2tp: generate correct module alias strings Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 027/164] wifi: brcmfmac: Fix SDIO suspend/resume regression Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 028/164] NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGAL Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 029/164] nfsd: call op_release, even when op_func returns an error Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 030/164] icmp: guard against too small mtu Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 031/164] ALSA: hda/hdmi: Preserve the previous PCM device upon re-enablement Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 032/164] net: dont let netpoll invoke NAPI if in xmit context Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 033/164] net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 034/164] sctp: check send stream number after wait_for_sndbuf Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 035/164] net: qrtr: Do not do DEL_SERVER broadcast after DEL_CLIENT Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 036/164] ipv6: Fix an uninit variable access bug in __ip6_make_skb() Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 037/164] platform/x86: think-lmi: Fix memory leak when showing current settings Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 038/164] platform/x86: think-lmi: Fix memory leaks when parsing ThinkStation WMI strings Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 039/164] platform/x86: think-lmi: Clean up display of current_value on Thinkstation Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 040/164] gpio: davinci: Do not clear the bank intr enable bit in save_context Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 041/164] gpio: davinci: Add irq chip flag to skip set wake Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 042/164] net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 043/164] net: stmmac: fix up RX flow hash indirection table when setting channels Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 044/164] sunrpc: only free unix grouplist after RCU settles Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 045/164] NFSD: callback request does not use correct credential for AUTH_SYS Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 046/164] ice: fix wrong fallback logic for FDIR Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 047/164] ice: Reset FDIR counter in FDIR init stage Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 048/164] raw: use net_hash_mix() in hash function Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 049/164] raw: Fix NULL deref in raw_get_next() Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 050/164] ping: Fix potentail NULL deref for /proc/net/icmp Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 051/164] ethtool: reset #lanes when lanes is omitted Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 052/164] netlink: annotate lockless accesses to nlk->max_recvmsg_len Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 053/164] gve: Secure enough bytes in the first TX desc for all TCP pkts Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 054/164] arm64: compat: Work around uninitialized variable warning Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 055/164] net: stmmac: check fwnode for phy device before scanning for phy Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 056/164] cxl/pci: Fix CDAT retrieval on big endian Greg Kroah-Hartman
2023-04-12 8:32 ` [PATCH 6.1 057/164] cxl/pci: Handle truncated CDAT header Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 058/164] cxl/pci: Handle truncated CDAT entries Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 059/164] cxl/pci: Handle excessive CDAT length Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 060/164] PCI/DOE: Silence WARN splat with CONFIG_DEBUG_OBJECTS=y Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 061/164] PCI/DOE: Fix memory leak " Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 062/164] usb: xhci: tegra: fix sleep in atomic call Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 063/164] xhci: Free the command allocated for setting LPM if we return early Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 064/164] xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 065/164] usb: cdnsp: Fixes error: uninitialized symbol len Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 066/164] usb: dwc3: pci: add support for the Intel Meteor Lake-S Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 067/164] USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 068/164] usb: typec: altmodes/displayport: Fix configure initial pin assignment Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 069/164] USB: serial: option: add Telit FE990 compositions Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 070/164] USB: serial: option: add Quectel RM500U-CN modem Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 071/164] drivers: iio: adc: ltc2497: fix LSB shift Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 072/164] iio: adis16480: select CONFIG_CRC32 Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 073/164] iio: adc: qcom-spmi-adc5: Fix the channel name Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 074/164] iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 075/164] iio: dac: cio-dac: Fix max DAC write value check for 12-bit Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 076/164] iio: buffer: correctly return bytes written in output buffers Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 077/164] iio: buffer: make sure O_NONBLOCK is respected Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 078/164] iio: light: cm32181: Unregister second I2C client if present Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 079/164] tty: serial: sh-sci: Fix transmit end interrupt handler Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 080/164] tty: serial: sh-sci: Fix Rx on RZ/G2L SCI Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 081/164] tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 082/164] nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 083/164] nilfs2: fix sysfs interface lifetime Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 084/164] dt-bindings: serial: renesas,scif: Fix 4th IRQ for 4-IRQ SCIFs Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 085/164] serial: 8250: Prevent starting up DMA Rx on THRI interrupt Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 086/164] ksmbd: do not call kvmalloc() with __GFP_NORETRY | __GFP_NO_WARN Greg Kroah-Hartman
2023-04-12 8:33 ` Greg Kroah-Hartman [this message]
2023-04-12 8:33 ` [PATCH 6.1 088/164] ALSA: hda/realtek: Add quirk for Clevo X370SNW Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 089/164] ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 090/164] x86/acpi/boot: Correct acpi_is_processor_usable() check Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 091/164] x86/ACPI/boot: Use FADT version to check support for online capable Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 092/164] KVM: x86: Clear "has_error_code", not "error_code", for RM exception injection Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 093/164] KVM: nVMX: Do not report error code when synthesizing VM-Exit from Real Mode Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 094/164] mm: kfence: fix PG_slab and memcg_data clearing Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 095/164] mm: kfence: fix handling discontiguous page Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 096/164] coresight: etm4x: Do not access TRCIDR1 for identification Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 097/164] coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 098/164] counter: 104-quad-8: Fix race condition between FLAG and CNTR reads Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 099/164] counter: 104-quad-8: Fix Synapse action reported for Index signals Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 100/164] blk-mq: directly poll requests Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 101/164] iio: adc: ad7791: fix IRQ flags Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 102/164] io_uring: fix return value when removing provided buffers Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 103/164] io_uring: fix memory leak " Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 104/164] scsi: qla2xxx: Fix memory leak in qla2x00_probe_one() Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 105/164] scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param() Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 106/164] nvme: fix discard support without oncs Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 107/164] cifs: sanitize paths in cifs_update_super_prepath Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 108/164] block: ublk: make sure that block size is set correctly Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 109/164] block: dont set GD_NEED_PART_SCAN if scan partition failed Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 110/164] perf/core: Fix the same task check in perf_event_set_output Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 111/164] ftrace: Mark get_lock_parent_ip() __always_inline Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 112/164] ftrace: Fix issue that direct->addr not restored in modify_ftrace_direct() Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 113/164] fs: drop peer group ids under namespace lock Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 114/164] can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 115/164] can: isotp: fix race between isotp_sendsmg() and isotp_release() Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 116/164] can: isotp: isotp_ops: fix poll() to not report false EPOLLOUT events Greg Kroah-Hartman
2023-04-12 8:33 ` [PATCH 6.1 117/164] can: isotp: isotp_recvmsg(): use sock_recv_cmsgs() to get SOCK_RXQ_OVFL infos Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 118/164] ACPI: video: Add auto_detect arg to __acpi_video_get_backlight_type() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 119/164] ACPI: video: Make acpi_backlight=video work independent from GPU driver Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 120/164] ACPI: video: Add acpi_backlight=video quirk for Apple iMac14,1 and iMac14,2 Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 121/164] ACPI: video: Add acpi_backlight=video quirk for Lenovo ThinkPad W530 Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 122/164] net: stmmac: Add queue reset into stmmac_xdp_open() function Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 123/164] tracing/synthetic: Fix races on freeing last_cmd Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 124/164] tracing/timerlat: Notify new max thread latency Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 125/164] tracing/osnoise: Fix notify new tracing_max_latency Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 126/164] tracing: Free error logs of tracing instances Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 127/164] ASoC: hdac_hdmi: use set_stream() instead of set_tdm_slots() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 128/164] tracing/synthetic: Make lastcmd_mutex static Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 129/164] zsmalloc: document freeable stats Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 130/164] mm: vmalloc: avoid warn_alloc noise caused by fatal signal Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 131/164] wifi: mt76: ignore key disable commands Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 132/164] ublk: read any SQE values upfront Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 133/164] drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 134/164] drm/nouveau/disp: Support more modes by checking with lower bpc Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 135/164] drm/i915: Fix context runtime accounting Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 136/164] drm/i915: fix race condition UAF in i915_perf_add_config_ioctl Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 137/164] ring-buffer: Fix race while reader and writer are on the same page Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 138/164] mm/swap: fix swap_info_struct race between swapoff and get_swap_pages() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 139/164] mm/hugetlb: fix uffd wr-protection for CoW optimization path Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 140/164] maple_tree: fix get wrong data_end in mtree_lookup_walk() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 141/164] maple_tree: fix a potential concurrency bug in RCU mode Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 142/164] blk-throttle: Fix that bps of child could exceed bps limited in parent Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 143/164] drm/amd/display: Clear MST topology if it fails to resume Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 144/164] drm/amdgpu: for S0ix, skip SDMA 5.x+ suspend/resume Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 145/164] drm/amdgpu: skip psp suspend for IMU enabled ASICs mode2 reset Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 146/164] drm/display/dp_mst: Handle old/new payload states in drm_dp_remove_payload() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 147/164] drm/i915/dp_mst: Fix payload removal during output disabling Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 148/164] drm/bridge: lt9611: Fix PLL being unable to lock Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 149/164] drm/i915: Use _MMIO_PIPE() for SKL_BOTTOM_COLOR Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 150/164] drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 151/164] mm: take a page reference when removing device exclusive entries Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 152/164] maple_tree: remove GFP_ZERO from kmem_cache_alloc() and kmem_cache_alloc_bulk() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 153/164] maple_tree: fix potential rcu issue Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 154/164] maple_tree: reduce user error potential Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 155/164] maple_tree: fix handle of invalidated state in mas_wr_store_setup() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 156/164] maple_tree: fix mas_prev() and mas_find() state handling Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 157/164] maple_tree: be more cautious about dead nodes Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 158/164] maple_tree: refine ma_state init from mas_start() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 159/164] maple_tree: detect dead nodes in mas_start() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 160/164] maple_tree: fix freeing of nodes in rcu mode Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 161/164] maple_tree: remove extra smp_wmb() from mas_dead_leaves() Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 162/164] maple_tree: add smp_rmb() to dead node detection Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 163/164] maple_tree: add RCU lock checking to rcu callback functions Greg Kroah-Hartman
2023-04-12 8:34 ` [PATCH 6.1 164/164] mm: enable maple tree RCU mode by default Greg Kroah-Hartman
2023-04-12 12:52 ` [PATCH 6.1 000/164] 6.1.24-rc1 review Conor Dooley
2023-04-12 18:06 ` Florian Fainelli
2023-04-12 19:39 ` Shuah Khan
2023-04-12 21:38 ` Guenter Roeck
2023-04-13 2:03 ` Bagas Sanjaya
2023-04-13 2:17 ` Slade Watkins
2023-04-13 9:30 ` Naresh Kamboju
2023-04-13 12:16 ` Ron Economos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230412082840.424568625@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=linkinjeon@kernel.org \
--cc=patches@lists.linux.dev \
--cc=stable@vger.kernel.org \
--cc=stfrench@microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox