From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev, Jason Andryuk <jandryuk@gmail.com>,
Peter Hutterer <peter.hutterer@who-t.net>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Jason Andryuk <jason.andryuk@amd.com>
Subject: [PATCH 6.1 103/217] Input: try trimming too long modalias strings
Date: Wed, 19 Jun 2024 14:55:46 +0200 [thread overview]
Message-ID: <20240619125600.665276022@linuxfoundation.org> (raw)
In-Reply-To: <20240619125556.491243678@linuxfoundation.org>
6.1-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
commit 0774d19038c496f0c3602fb505c43e1b2d8eed85 upstream.
If an input device declares too many capability bits then modalias
string for such device may become too long and not fit into uevent
buffer, resulting in failure of sending said uevent. This, in turn,
may prevent userspace from recognizing existence of such devices.
This is typically not a concern for real hardware devices as they have
limited number of keys, but happen with synthetic devices such as
ones created by xen-kbdfront driver, which creates devices as being
capable of delivering all possible keys, since it doesn't know what
keys the backend may produce.
To deal with such devices input core will attempt to trim key data,
in the hope that the rest of modalias string will fit in the given
buffer. When trimming key data it will indicate that it is not
complete by placing "+," sign, resulting in conversions like this:
old: k71,72,73,74,78,7A,7B,7C,7D,8E,9E,A4,AD,E0,E1,E4,F8,174,
new: k71,72,73,74,78,7A,7B,7C,+,
This should allow existing udev rules continue to work with existing
devices, and will also allow writing more complex rules that would
recognize trimmed modalias and check input device characteristics by
other means (for example by parsing KEY= data in uevent or parsing
input device sysfs attributes).
Note that the driver core may try adding more uevent environment
variables once input core is done adding its own, so when forming
modalias we can not use the entire available buffer, so we reduce
it by somewhat an arbitrary amount (96 bytes).
Reported-by: Jason Andryuk <jandryuk@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Jason Andryuk <jandryuk@gmail.com>
Link: https://lore.kernel.org/r/ZjAWMQCJdrxZkvkB@google.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>
---
drivers/input/input.c | 104 ++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 89 insertions(+), 15 deletions(-)
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -1374,19 +1374,19 @@ static int input_print_modalias_bits(cha
char name, unsigned long *bm,
unsigned int min_bit, unsigned int max_bit)
{
- int len = 0, i;
+ int bit = min_bit;
+ int len = 0;
len += snprintf(buf, max(size, 0), "%c", name);
- for (i = min_bit; i < max_bit; i++)
- if (bm[BIT_WORD(i)] & BIT_MASK(i))
- len += snprintf(buf + len, max(size - len, 0), "%X,", i);
+ for_each_set_bit_from(bit, bm, max_bit)
+ len += snprintf(buf + len, max(size - len, 0), "%X,", bit);
return len;
}
-static int input_print_modalias(char *buf, int size, struct input_dev *id,
- int add_cr)
+static int input_print_modalias_parts(char *buf, int size, int full_len,
+ struct input_dev *id)
{
- int len;
+ int len, klen, remainder, space;
len = snprintf(buf, max(size, 0),
"input:b%04Xv%04Xp%04Xe%04X-",
@@ -1395,8 +1395,48 @@ static int input_print_modalias(char *bu
len += input_print_modalias_bits(buf + len, size - len,
'e', id->evbit, 0, EV_MAX);
- len += input_print_modalias_bits(buf + len, size - len,
+
+ /*
+ * Calculate the remaining space in the buffer making sure we
+ * have place for the terminating 0.
+ */
+ space = max(size - (len + 1), 0);
+
+ klen = input_print_modalias_bits(buf + len, size - len,
'k', id->keybit, KEY_MIN_INTERESTING, KEY_MAX);
+ len += klen;
+
+ /*
+ * If we have more data than we can fit in the buffer, check
+ * if we can trim key data to fit in the rest. We will indicate
+ * that key data is incomplete by adding "+" sign at the end, like
+ * this: * "k1,2,3,45,+,".
+ *
+ * Note that we shortest key info (if present) is "k+," so we
+ * can only try to trim if key data is longer than that.
+ */
+ if (full_len && size < full_len + 1 && klen > 3) {
+ remainder = full_len - len;
+ /*
+ * We can only trim if we have space for the remainder
+ * and also for at least "k+," which is 3 more characters.
+ */
+ if (remainder <= space - 3) {
+ /*
+ * We are guaranteed to have 'k' in the buffer, so
+ * we need at least 3 additional bytes for storing
+ * "+," in addition to the remainder.
+ */
+ for (int i = size - 1 - remainder - 3; i >= 0; i--) {
+ if (buf[i] == 'k' || buf[i] == ',') {
+ strcpy(buf + i + 1, "+,");
+ len = i + 3; /* Not counting '\0' */
+ break;
+ }
+ }
+ }
+ }
+
len += input_print_modalias_bits(buf + len, size - len,
'r', id->relbit, 0, REL_MAX);
len += input_print_modalias_bits(buf + len, size - len,
@@ -1412,12 +1452,25 @@ static int input_print_modalias(char *bu
len += input_print_modalias_bits(buf + len, size - len,
'w', id->swbit, 0, SW_MAX);
- if (add_cr)
- len += snprintf(buf + len, max(size - len, 0), "\n");
-
return len;
}
+static int input_print_modalias(char *buf, int size, struct input_dev *id)
+{
+ int full_len;
+
+ /*
+ * Printing is done in 2 passes: first one figures out total length
+ * needed for the modalias string, second one will try to trim key
+ * data in case when buffer is too small for the entire modalias.
+ * If the buffer is too small regardless, it will fill as much as it
+ * can (without trimming key data) into the buffer and leave it to
+ * the caller to figure out what to do with the result.
+ */
+ full_len = input_print_modalias_parts(NULL, 0, 0, id);
+ return input_print_modalias_parts(buf, size, full_len, id);
+}
+
static ssize_t input_dev_show_modalias(struct device *dev,
struct device_attribute *attr,
char *buf)
@@ -1425,7 +1478,9 @@ static ssize_t input_dev_show_modalias(s
struct input_dev *id = to_input_dev(dev);
ssize_t len;
- len = input_print_modalias(buf, PAGE_SIZE, id, 1);
+ len = input_print_modalias(buf, PAGE_SIZE, id);
+ if (len < PAGE_SIZE - 2)
+ len += snprintf(buf + len, PAGE_SIZE - len, "\n");
return min_t(int, len, PAGE_SIZE);
}
@@ -1637,6 +1692,23 @@ static int input_add_uevent_bm_var(struc
return 0;
}
+/*
+ * This is a pretty gross hack. When building uevent data the driver core
+ * may try adding more environment variables to kobj_uevent_env without
+ * telling us, so we have no idea how much of the buffer we can use to
+ * avoid overflows/-ENOMEM elsewhere. To work around this let's artificially
+ * reduce amount of memory we will use for the modalias environment variable.
+ *
+ * The potential additions are:
+ *
+ * SEQNUM=18446744073709551615 - (%llu - 28 bytes)
+ * HOME=/ (6 bytes)
+ * PATH=/sbin:/bin:/usr/sbin:/usr/bin (34 bytes)
+ *
+ * 68 bytes total. Allow extra buffer - 96 bytes
+ */
+#define UEVENT_ENV_EXTRA_LEN 96
+
static int input_add_uevent_modalias_var(struct kobj_uevent_env *env,
struct input_dev *dev)
{
@@ -1646,9 +1718,11 @@ static int input_add_uevent_modalias_var
return -ENOMEM;
len = input_print_modalias(&env->buf[env->buflen - 1],
- sizeof(env->buf) - env->buflen,
- dev, 0);
- if (len >= (sizeof(env->buf) - env->buflen))
+ (int)sizeof(env->buf) - env->buflen -
+ UEVENT_ENV_EXTRA_LEN,
+ dev);
+ if (len >= ((int)sizeof(env->buf) - env->buflen -
+ UEVENT_ENV_EXTRA_LEN))
return -ENOMEM;
env->buflen += len;
next prev parent reply other threads:[~2024-06-19 13:31 UTC|newest]
Thread overview: 237+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-19 12:54 [PATCH 6.1 000/217] 6.1.95-rc1 review Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 001/217] wifi: mac80211: mesh: Fix leak of mesh_preq_queue objects Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 002/217] wifi: mac80211: Fix deadlock in ieee80211_sta_ps_deliver_wakeup() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 003/217] wifi: cfg80211: fully move wiphy work to unbound workqueue Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 004/217] wifi: cfg80211: Lock wiphy in cfg80211_get_station Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 005/217] wifi: cfg80211: pmsr: use correct nla_get_uX functions Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 006/217] wifi: iwlwifi: mvm: revert gen2 TX A-MPDU size to 64 Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 007/217] wifi: iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 008/217] wifi: iwlwifi: mvm: check n_ssids before accessing the ssids Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 009/217] wifi: iwlwifi: mvm: dont read past the mfuart notifcation Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 010/217] wifi: mac80211: correctly parse Spatial Reuse Parameter Set element Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 011/217] ax25: Fix refcount imbalance on inbound connections Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 012/217] ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 013/217] net/ncsi: Simplify Kconfig/dts control flow Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 014/217] net/ncsi: Fix the multi thread manner of NCSI driver Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 015/217] ipv6: ioam: block BH from ioam6_output() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 016/217] ipv6: sr: block BH in seg6_output_core() and seg6_input_core() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 017/217] bpf: Set run context for rawtp test_run callback Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 018/217] octeontx2-af: Always allocate PF entries from low prioriy zone Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 019/217] net/smc: avoid overwriting when adjusting sock bufsizes Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 020/217] net: sched: sch_multiq: fix possible OOB write in multiq_tune() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 021/217] vxlan: Fix regression when dropping packets due to invalid src addresses Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 022/217] tcp: count CLOSE-WAIT sockets for TCP_MIB_CURRESTAB Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 023/217] net/mlx5: Stop waiting for PCI up if teardown was triggered Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 024/217] net/mlx5: Stop waiting for PCI if pci channel is offline Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 025/217] net/mlx5: Split function_setup() to enable and open functions Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 026/217] net/mlx5: Always stop health timer during driver removal Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 027/217] net/mlx5: Fix tainted pointer delete is case of flow rules creation fail Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 028/217] net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 029/217] ptp: Fix error message on failed pin verification Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 030/217] ice: fix iteration of TLVs in Preserved Fields Area Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 031/217] ice: Introduce new parameters in ice_sched_node Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 032/217] ice: remove null checks before devm_kfree() calls Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 033/217] ice: remove af_xdp_zc_qps bitmap Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 034/217] net: wwan: iosm: Fix tainted pointer delete is case of region creation fail Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 035/217] af_unix: Set sk->sk_state under unix_state_lock() for truly disconencted peer Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 036/217] af_unix: Annodate data-races around sk->sk_state for writers Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 037/217] af_unix: Annotate data-race of sk->sk_state in unix_inq_len() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 038/217] af_unix: Annotate data-races around sk->sk_state in unix_write_space() and poll() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 039/217] af_unix: Annotate data-race of sk->sk_state in unix_stream_connect() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 040/217] af_unix: Annotate data-races around sk->sk_state in sendmsg() and recvmsg() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 041/217] af_unix: Annotate data-race of sk->sk_state in unix_stream_read_skb() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 042/217] af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 043/217] af_unix: Annotate data-race of net->unx.sysctl_max_dgram_qlen Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 044/217] af_unix: Use unix_recvq_full_lockless() in unix_stream_connect() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 045/217] af_unix: annotate lockless accesses to sk->sk_err Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 046/217] af_unix: Use skb_queue_empty_lockless() in unix_release_sock() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 047/217] af_unix: Use skb_queue_len_lockless() in sk_diag_show_rqlen() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 048/217] af_unix: Annotate data-race of sk->sk_shutdown in sk_diag_fill() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 049/217] ipv6: fix possible race in __fib6_drop_pcpu_from() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 050/217] Bluetooth: qca: fix invalid device address check Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 051/217] btrfs: fix wrong block_start calculation for btrfs_drop_extent_map_range() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 052/217] usb: gadget: f_fs: use io_data->status consistently Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 053/217] usb: gadget: f_fs: Fix race between aio_cancel() and AIO request complete Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 054/217] iio: accel: mxc4005: allow module autoloading via OF compatible Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 055/217] iio: accel: mxc4005: Reset chip on probe() and resume() Greg Kroah-Hartman
2024-06-19 12:54 ` [PATCH 6.1 056/217] xtensa: stacktrace: include <asm/ftrace.h> for prototype Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 057/217] xtensa: fix MAKE_PC_FROM_RA second argument Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 058/217] drm/amd/display: drop unnecessary NULL checks in debugfs Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 059/217] drm/amd/display: Fix incorrect DSC instance for MST Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 060/217] arm64: dts: qcom: sm8150: align TLMM pin configuration with DT schema Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 061/217] arm64: dts: qcom: sa8155p-adp: fix SDHC2 CD pin configuration Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 062/217] misc/pvpanic: deduplicate common code Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 063/217] misc/pvpanic-pci: register attributes via pci_driver Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 064/217] serial: sc16is7xx: replace hardcoded divisor value with BIT() macro Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 065/217] serial: sc16is7xx: fix bug in sc16is7xx_set_baud() when using prescaler Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 066/217] mmc: davinci: Dont strip remove function when driver is builtin Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 067/217] firmware: qcom_scm: disable clocks if qcom_scm_bw_enable() fails Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 068/217] HID: i2c-hid: elan: Add ili9882t timing Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 069/217] HID: i2c-hid: elan: fix reset suspend current leakage Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 070/217] i2c: add fwnode APIs Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 071/217] i2c: acpi: Unbind mux adapters before delete Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 072/217] mm, vmalloc: fix high order __GFP_NOFAIL allocations Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 073/217] mm/vmalloc: fix vmalloc which may return null if called with __GFP_NOFAIL Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 074/217] selftests/mm: compaction_test: fix incorrect write of zero to nr_hugepages Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 075/217] selftests/mm: conform test to TAP format output Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 076/217] selftests/mm: log a consistent test name for check_compaction Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 077/217] selftests/mm: compaction_test: fix bogus test success on Aarch64 Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 078/217] wifi: ath10k: fix QCOM_RPROC_COMMON dependency Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 079/217] btrfs: remove unnecessary prototype declarations at disk-io.c Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 080/217] btrfs: make btrfs_destroy_delayed_refs() return void Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 081/217] btrfs: fix leak of qgroup extent records after transaction abort Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 082/217] nilfs2: return the mapped address from nilfs_get_page() Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 083/217] nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 084/217] io_uring: check for non-NULL file pointer in io_file_can_poll() Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 085/217] USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 086/217] USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 087/217] usb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 088/217] usb: typec: tcpm: Ignore received Hard Reset in TOGGLING state Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 089/217] mei: me: release irq in mei_me_pci_resume error path Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 090/217] tty: n_tty: Fix buffer offsets when lookahead is used Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 091/217] landlock: Fix d_parent walk Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 092/217] jfs: xattr: fix buffer overflow for invalid xattr Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 093/217] xhci: Set correct transferred length for cancelled bulk transfers Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 094/217] xhci: Apply reset resume quirk to Etron EJ188 xHCI host Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 095/217] xhci: Handle TD clearing for multiple streams case Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 096/217] xhci: Apply broken streams quirk to Etron EJ188 xHCI host Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 097/217] thunderbolt: debugfs: Fix margin debugfs node creation condition Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 098/217] scsi: mpi3mr: Fix ATA NCQ priority support Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 099/217] scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 100/217] scsi: sd: Use READ(16) when reading block zero on large capacity disks Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 101/217] gve: Clear napi->skb before dev_kfree_skb_any() Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 102/217] powerpc/uaccess: Fix build errors seen with GCC 13/14 Greg Kroah-Hartman
2024-06-19 12:55 ` Greg Kroah-Hartman [this message]
2024-06-19 12:55 ` [PATCH 6.1 104/217] cxl/test: Add missing vmalloc.h for tools/testing/cxl/test/mem.c Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 105/217] cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 106/217] cachefiles: remove requests from xarray during flushing requests Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 107/217] cachefiles: introduce object ondemand state Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 108/217] cachefiles: extract ondemand info field from cachefiles_object Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 109/217] cachefiles: resend an open request if the read requests object is closed Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 110/217] cachefiles: add spin_lock for cachefiles_ondemand_info Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 111/217] cachefiles: add restore command to recover inflight ondemand read requests Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 112/217] cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd() Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 113/217] cachefiles: fix slab-use-after-free in cachefiles_ondemand_daemon_read() Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 114/217] cachefiles: remove err_put_fd label " Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 115/217] cachefiles: never get a new anonymous fd if ondemand_id is valid Greg Kroah-Hartman
2024-06-19 12:55 ` [PATCH 6.1 116/217] cachefiles: defer exposing anon_fd until after copy_to_user() succeeds Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 117/217] cachefiles: flush all requests after setting CACHEFILES_DEAD Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 118/217] selftests/ftrace: Fix to check required event file Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 119/217] clk: sifive: Do not register clkdevs for PRCI clocks Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 120/217] NFSv4.1 enforce rootpath check in fs_location query Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 121/217] SUNRPC: return proper error from gss_wrap_req_priv Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 122/217] NFS: add barriers when testing for NFS_FSDATA_BLOCKED Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 123/217] platform/x86: dell-smbios: Fix wrong token data in sysfs Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 124/217] gpio: tqmx86: fix typo in Kconfig label Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 125/217] gpio: tqmx86: remove unneeded call to platform_set_drvdata() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 126/217] gpio: tqmx86: introduce shadow register for GPIO output value Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 127/217] gpio: tqmx86: Convert to immutable irq_chip Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 128/217] gpio: tqmx86: store IRQ trigger type and unmask status separately Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 129/217] gpio: tqmx86: fix broken IRQ_TYPE_EDGE_BOTH interrupt type Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 130/217] HID: core: remove unnecessary WARN_ON() in implement() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 131/217] iommu/amd: Fix sysfs leak in iommu init Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 132/217] HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 133/217] drm/vmwgfx: Port the framebuffer code to drm fb helpers Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 134/217] drm/vmwgfx: Refactor drm connector probing for display modes Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 135/217] drm/vmwgfx: Filter modes which exceed graphics memory Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 136/217] drm/vmwgfx: 3D disabled should not effect STDU memory limits Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 137/217] drm/vmwgfx: Remove STDU logic from generic mode_valid function Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 138/217] net: sfp: Always call `sfp_sm_mod_remove()` on remove Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 139/217] net: hns3: fix kernel crash problem in concurrent scenario Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 140/217] net: hns3: add cond_resched() to hns3 ring buffer init process Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 141/217] liquidio: Adjust a NULL pointer handling path in lio_vf_rep_copy_packet Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 142/217] drm/komeda: check for error-valued pointer Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 143/217] drm/bridge/panel: Fix runtime warning on panel bridge release Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 144/217] tcp: fix race in tcp_v6_syn_recv_sock() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 145/217] geneve: Fix incorrect inner network header offset when innerprotoinherit is set Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 146/217] net/mlx5e: Fix features validation check for tunneled UDP (non-VXLAN) packets Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 147/217] Bluetooth: L2CAP: Fix rejecting L2CAP_CONN_PARAM_UPDATE_REQ Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 148/217] netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 149/217] net: pse-pd: Use EOPNOTSUPP error code instead of ENOTSUPP Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 150/217] gve: ignore nonrelevant GSO type bits when processing TSO headers Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 151/217] net: stmmac: replace priv->speed with the portTransmitRate from the tc-cbs parameters Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 152/217] nvmet-passthru: propagate status from id override functions Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 153/217] net/ipv6: Fix the RT cache flush via sysctl using a previous delay Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 154/217] net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 155/217] net: bridge: mst: fix suspicious rcu usage in br_mst_set_state Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 156/217] ionic: fix use after netif_napi_del() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 157/217] af_unix: Read with MSG_PEEK loops if the first unread byte is OOB Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 158/217] bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 159/217] misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 160/217] x86/boot: Dont add the EFI stub to targets, again Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 161/217] iio: adc: ad9467: fix scan type sign Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 162/217] iio: dac: ad5592r: fix temperature channel scaling value Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 163/217] iio: imu: inv_icm42600: delete unneeded update watermark call Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 164/217] drivers: core: synchronize really_probe() and dev_uevent() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 165/217] drm/exynos/vidi: fix memory leak in .get_modes() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 166/217] drm/exynos: hdmi: report safe 640x480 mode as a fallback when no EDID found Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 167/217] mptcp: ensure snd_una is properly initialized on connect Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 168/217] mptcp: pm: inc RmAddr MIB counter once per RM_ADDR ID Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 169/217] irqchip/gic-v3-its: Fix potential race condition in its_vlpi_prop_update() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 170/217] x86/amd_nb: Check for invalid SMN reads Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 171/217] perf/core: Fix missing wakeup when waiting for context reference Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 172/217] riscv: fix overlap of allocated page and PTR_ERR Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 173/217] tracing/selftests: Fix kprobe event name test for .isra. functions Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 174/217] null_blk: Print correct max open zones limit in null_init_zoned_dev() Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 175/217] sock_map: avoid race between sock_map_close and sk_psock_put Greg Kroah-Hartman
2024-06-19 12:56 ` [PATCH 6.1 176/217] vmci: prevent speculation leaks by sanitizing event in event_deliver() Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 177/217] spmi: hisi-spmi-controller: Do not override device identifier Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 178/217] knfsd: LOOKUP can return an illegal error value Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 179/217] fs/proc: fix softlockup in __read_vmcore Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 180/217] ocfs2: use coarse time for new created files Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 181/217] ocfs2: fix races between hole punching and AIO+DIO Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 182/217] PCI: rockchip-ep: Remove wrong mask on subsys_vendor_id Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 183/217] dmaengine: axi-dmac: fix possible race in remove() Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 184/217] remoteproc: k3-r5: Wait for core0 power-up before powering up core1 Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 185/217] remoteproc: k3-r5: Do not allow core1 to power up before core0 via sysfs Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 186/217] riscv: rewrite __kernel_map_pages() to fix sleeping in invalid context Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 187/217] drm/i915/gt: Disarm breadcrumbs if engines are already idle Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 188/217] drm/i915/dpt: Make DPT object unshrinkable Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 189/217] intel_th: pci: Add Granite Rapids support Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 190/217] intel_th: pci: Add Granite Rapids SOC support Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 191/217] intel_th: pci: Add Sapphire " Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 192/217] intel_th: pci: Add Meteor Lake-S support Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 193/217] intel_th: pci: Add Lunar Lake support Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 194/217] btrfs: zoned: introduce a zone_info struct in btrfs_load_block_group_zone_info Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 195/217] btrfs: zoned: factor out per-zone logic from btrfs_load_block_group_zone_info Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 196/217] btrfs: zoned: factor out single bg handling " Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 197/217] btrfs: zoned: factor out DUP " Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 198/217] btrfs: zoned: fix use-after-free due to race with dev replace Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 199/217] nilfs2: fix potential kernel bug due to lack of writeback flag waiting Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 200/217] tick/nohz_full: Dont abuse smp_call_function_single() in tick_setup_device() Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 201/217] mm/huge_memory: dont unpoison huge_zero_folio Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 202/217] mm/memory-failure: fix handling of dissolved but not taken off from buddy pages Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 203/217] serial: 8250_pxa: Configure tx_loadsz to match FIFO IRQ level Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 204/217] mptcp: pm: update add_addr counters after connect Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 205/217] Revert "fork: defer linking file vma until vma is fully initialized" Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 206/217] remoteproc: k3-r5: Jump to error handling labels in start/stop errors Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 207/217] cachefiles, erofs: Fix NULL deref in when cachefiles is not doing ondemand-mode Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 208/217] Bluetooth: qca: fix wcn3991 device address check Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 209/217] Bluetooth: qca: generalise " Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 210/217] greybus: Fix use-after-free bug in gb_interface_release due to race condition Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 211/217] serial: 8250_dw: fall back to poll if theres no interrupt Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 212/217] serial: core: Add UPIO_UNKNOWN constant for unknown port type Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 213/217] usb-storage: alauda: Check whether the media is initialized Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 214/217] misc: microchip: pci1xxxx: Fix a memory leak in the error handling of gp_aux_bus_probe() Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 215/217] i2c: at91: Fix the functionality flags of the slave-only interface Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 216/217] i2c: designware: " Greg Kroah-Hartman
2024-06-19 12:57 ` [PATCH 6.1 217/217] zap_pid_ns_processes: clear TIF_NOTIFY_SIGNAL along with TIF_SIGPENDING Greg Kroah-Hartman
2024-06-19 14:22 ` [PATCH 6.1 000/217] 6.1.95-rc1 review Florian Fainelli
2024-06-19 17:06 ` SeongJae Park
2024-06-19 19:52 ` Jon Hunter
2024-06-19 20:53 ` Pavel Machek
2024-06-19 21:13 ` Allen
2024-06-20 3:43 ` Kelsey Steele
2024-06-20 11:41 ` Mark Brown
2024-06-20 14:34 ` Ron Economos
2024-06-20 16:23 ` Naresh Kamboju
2024-06-20 17:32 ` Sven Joachim
2024-06-20 20:08 ` Peter Schneider
2024-06-20 21:39 ` Shuah Khan
2024-06-22 14:58 ` [PATCH 6.1 000/217] 6.1.95-rc1 review [parisc64/C3700 boot failures] Guenter Roeck
2024-06-22 15:13 ` Helge Deller
2024-06-22 15:34 ` Guenter Roeck
2024-06-22 15:49 ` Helge Deller
2024-06-22 16:37 ` Guenter Roeck
2024-06-22 17:21 ` Guenter Roeck
2024-06-23 14:28 ` Guenter Roeck
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=20240619125600.665276022@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=dmitry.torokhov@gmail.com \
--cc=jandryuk@gmail.com \
--cc=jason.andryuk@amd.com \
--cc=patches@lists.linux.dev \
--cc=peter.hutterer@who-t.net \
--cc=stable@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).