Linux 6.3.1
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.3.1 kernel.
All users of the 6.3 kernel series must upgrade.
The updated 6.3.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.3.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 - drivers/base/dd.c | 7 ++++ drivers/gpio/gpiolib-acpi.c | 13 +++++++++ drivers/gpu/drm/drm_fb_helper.c | 3 ++ drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 9 +++++- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 5 +++ drivers/usb/serial/option.c | 6 ++++ fs/btrfs/send.c | 2 - fs/btrfs/volumes.c | 2 - fs/verity/enable.c | 17 ++++++++++++ include/linux/mmc/sdio_ids.h | 5 ++- mm/mmap.c | 2 - net/bluetooth/hci_sock.c | 9 +++++- 13 files changed, 74 insertions(+), 8 deletions(-)
Arınç ÜNAL (1):
USB: serial: option: add UNISOC vendor and TOZED LT70C product
Daniel Vetter (1):
drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
Eric Biggers (2):
fsverity: reject FS_IOC_ENABLE_VERITY on mode 3 fds
fsverity: explicitly check for buffer overflow in build_merkle_tree()
Genjian Zhang (1):
btrfs: fix uninitialized variable warnings
Greg Kroah-Hartman (1):
Linux 6.3.1
Jisoo Jang (1):
wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()
Marek Vasut (1):
wifi: brcmfmac: add Cypress 43439 SDIO ids
Ruihan Li (1):
bluetooth: Perform careful capability checks in hci_sock_ioctl()
Stephen Boyd (1):
driver core: Don't require dynamic_debug for initcall_debug probe timing
Vlastimil Babka (1):
mm/mremap: fix vm_pgoff in vma_merge() case 3
Werner Sembach (1):
gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xNU
Greg Kroah-Hartman
maintainerMakefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 3 -SUBLEVEL = 0 +SUBLEVEL = 1 EXTRAVERSION = NAME = Hurr durr I'ma ninja sloth
drivers/base/dd.c +6 -1
@@ -708,7 +708,12 @@ static int really_probe_debug(struct device *dev, struct device_driver *drv) calltime =ktime_get (); ret =really_probe (dev, drv); rettime =ktime_get (); -pr_debug ("probe of %s returned %d after %lld usecs\n" , +/* +* Don't change this to pr_debug() because that requires +* CONFIG_DYNAMIC_DEBUG and we want a simple 'initcall_debug' on the +* kernel commandline to print this all the time at the debug level. +*/ +printk (KERN_DEBUG "probe of %s returned %d after %lld usecs\n" ,dev_name (dev), ret,ktime_us_delta (rettime, calltime));return ret; }
drivers/gpio/gpiolib-acpi.c +13 -0
@@ -1617,6 +1617,19 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = { .ignore_interrupt = "AMDI0030:00@18", }, }, + { +/* +* Spurious wakeups from TP_ATTN# pin +* Found in BIOS 1.7.8 +* https://gitlab.freedesktop.org/drm/amd/-/issues/1722#note_1720627 +*/ + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "NL5xNU"), + }, + .driver_data = &(struct acpi_gpiolib_dmi_quirk ) { + .ignore_wake ="ELAN0415:00@9" , + }, + }, {/* * Spurious wakeups from TP_ATTN# pin
drivers/gpu/drm/drm_fb_helper.c +3 -0
@@ -1569,6 +1569,9 @@ int drm_fb_helper_check_var(struct fb_var_screeninfo *var,return -EINVAL ; } + var->xres_virtual = fb->width; + var->yres_virtual = fb->height; +/* * Workaround for SDL 1.2, which is known to be setting all pixel format * fields values to zero in some cases. We treat this situation as a
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +8 -1
@@ -965,6 +965,12 @@ int brcmf_sdiod_probe(struct brcmf_sdio_dev *sdiodev) .driver_data = BRCMF_FWVENDOR_ ## fw_vend \ } +#define CYW_SDIO_DEVICE (dev_id, fw_vend) \ + { \ + SDIO_DEVICE(SDIO_VENDOR_ID_CYPRESS, dev_id), \ + .driver_data = BRCMF_FWVENDOR_ ## fw_vend \ + } +/* devices we support, null terminated */ static const struct sdio_device_id brcmf_sdmmc_ids[] = {BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_43143 ,WCC ),
@@ -979,6 +985,7 @@ static const struct sdio_device_id brcmf_sdmmc_ids[] = {BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_4335_4339 ,WCC ),BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_4339 ,WCC ),BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_43430 ,WCC ), +BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_43439 ,WCC ),BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_4345 ,WCC ),BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_43455 ,WCC ), BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_4354, WCC),
@@ -986,9 +993,9 @@ static const struct sdio_device_id brcmf_sdmmc_ids[] = {BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_4359 ,WCC ),BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373 ,CYW ),BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_CYPRESS_43012 ,CYW ), -BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_CYPRESS_43439 ,CYW ),BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_CYPRESS_43752 ,CYW ),BRCMF_SDIO_DEVICE (SDIO_DEVICE_ID_BROADCOM_CYPRESS_89359 ,CYW ), + CYW_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_CYPRESS_43439, CYW), { /* end: all zeroes */ } };MODULE_DEVICE_TABLE (sdio, brcmf_sdmmc_ids);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +5 -0
@@ -6164,6 +6164,11 @@ static s32 brcmf_get_assoc_ies(struct brcmf_cfg80211_info *cfg, (struct brcmf_cfg80211_assoc_ielen_le *)cfg->extra_buf; req_len =le32_to_cpu (assoc_info->req_len); resp_len =le32_to_cpu (assoc_info->resp_len); +if (req_len >WL_EXTRA_BUF_MAX || resp_len >WL_EXTRA_BUF_MAX ) { +bphy_err (drvr,"invalid lengths in assoc info: req %u resp %u\n" , + req_len, resp_len); +return -EINVAL ; + }if (req_len) { err = brcmf_fil_iovar_data_get(ifp, "assoc_req_ies", cfg->extra_buf,
drivers/usb/serial/option.c +6 -0
@@ -595,6 +595,11 @@ static void option_instat_callback(struct urb *urb);#define SIERRA_VENDOR_ID 0x1199#define SIERRA_PRODUCT_EM9191 0x90d3 +/* UNISOC (Spreadtrum) products */ +#define UNISOC_VENDOR_ID 0x1782 +/* TOZED LT70-C based on UNISOC SL8563 uses UNISOC's vendor ID */ +#define TOZED_PRODUCT_LT70C 0x4055 +/* Device flags */ /* Highest interface number which can be used with NCTRL() and RSVD() */
@@ -2225,6 +2230,7 @@ static const struct usb_device_id option_ids[] = { { USB_DEVICE_AND_INTERFACE_INFO(OPPO_VENDOR_ID, OPPO_PRODUCT_R11, 0xff, 0xff, 0x30) }, { USB_DEVICE_AND_INTERFACE_INFO(SIERRA_VENDOR_ID, SIERRA_PRODUCT_EM9191, 0xff, 0xff, 0x30) }, { USB_DEVICE_AND_INTERFACE_INFO(SIERRA_VENDOR_ID, SIERRA_PRODUCT_EM9191, 0xff, 0, 0) }, + { USB_DEVICE_AND_INTERFACE_INFO(UNISOC_VENDOR_ID, TOZED_PRODUCT_LT70C, 0xff, 0, 0) }, { } /* Terminating entry */ };MODULE_DEVICE_TABLE (usb, option_ids);
fs/btrfs/send.c +1 -1
@@ -1875,7 +1875,7 @@ static int get_cur_inode_state(struct send_ctx *sctx, u64 ino, u64 gen,int left_ret;int right_ret;u64 left_gen; -u64 right_gen; +u64 right_gen =0 ;struct btrfs_inode_info info; ret =get_inode_info (sctx->send_root, ino, &info);
fs/btrfs/volumes.c +1 -1
@@ -2618,7 +2618,7 @@ int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_pathstruct block_device *bdev;struct super_block *sb = fs_info->sb;struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; -struct btrfs_fs_devices *seed_devices; +struct btrfs_fs_devices *seed_devices =NULL ;u64 orig_super_total_bytes;u64 orig_super_num_devices;int ret =0 ;
fs/verity/enable.c +17 -0
@@ -13,6 +13,7 @@struct block_buffer {u32 filled; +bool is_root_hash;u8 *data; };
@@ -24,6 +25,14 @@ static int hash_one_block(struct inode *inode,struct block_buffer *next = cur +1 ;int err; +/* +* Safety check to prevent a buffer overflow in case of a filesystem bug +* that allows the file size to change despite deny_write_access(), or a +* bug in the Merkle tree logic itself +*/ +if (WARN_ON_ONCE (next->is_root_hash && next->filled !=0 )) +return -EINVAL ; +/* Zero-pad the block if it's shorter than the block size. */ memset (&cur->data[cur->filled],0 , params->block_size - cur->filled);
@@ -97,6 +106,7 @@ static int build_merkle_tree(struct file *filp, } } buffers[num_levels].data = root_hash; + buffers[num_levels].is_root_hash = true;BUILD_BUG_ON (sizeof (level_offset) !=sizeof (params->level_start));memcpy (level_offset, params->level_start,sizeof (level_offset));
@@ -347,6 +357,13 @@ int fsverity_ioctl_enable(struct file *filp, const void __user *uarg) err =file_permission (filp,MAY_WRITE );if (err)return err; +/* +* __kernel_read() is used while building the Merkle tree. So, we can't +* allow file descriptors that were opened for ioctl access only, using +* the special nonstandard access mode 3. O_RDONLY only, please! +*/ +if (!(filp->f_mode &FMODE_READ )) +return -EBADF ;if (IS_APPEND (inode))return -EPERM ;
include/linux/mmc/sdio_ids.h +4 -1
@@ -74,10 +74,13 @@#define SDIO_DEVICE_ID_BROADCOM_43362 0xa962#define SDIO_DEVICE_ID_BROADCOM_43364 0xa9a4#define SDIO_DEVICE_ID_BROADCOM_43430 0xa9a6 -#define SDIO_DEVICE_ID_BROADCOM_CYPRESS_43439 0xa9af +#define SDIO_DEVICE_ID_BROADCOM_43439 0xa9af#define SDIO_DEVICE_ID_BROADCOM_43455 0xa9bf#define SDIO_DEVICE_ID_BROADCOM_CYPRESS_43752 0xaae8 +#define SDIO_VENDOR_ID_CYPRESS 0x04b4 +#define SDIO_DEVICE_ID_BROADCOM_CYPRESS_43439 0xbd3d +#define SDIO_VENDOR_ID_MARVELL 0x02df#define SDIO_DEVICE_ID_MARVELL_LIBERTAS 0x9103#define SDIO_DEVICE_ID_MARVELL_8688_WLAN 0x9104
mm/mmap.c +1 -1
@@ -978,7 +978,7 @@ struct vm_area_struct *vma_merge(struct vma_iterator *vmi, struct mm_struct *mm, vma = next;/* case 3 */ vma_start = addr; vma_end = next->vm_end; - vma_pgoff = mid->vm_pgoff; + vma_pgoff = next->vm_pgoff - pglen; err =0 ;if (mid != next) {/* case 8 */ remove = mid;
net/bluetooth/hci_sock.c +8 -1
@@ -1003,7 +1003,14 @@ static int hci_sock_ioctl(struct socket *sock, unsigned int cmd,if (hci_sock_gen_cookie (sk)) {struct sk_buff *skb; -if (capable (CAP_NET_ADMIN )) +/* Perform careful checks before setting the HCI_SOCK_TRUSTED +* flag. Make sure that not only the current task but also +* the socket opener has the required capability, since +* privileged programs can be tricked into making ioctl calls +* on HCI sockets, and the socket should not be marked as +* trusted simply because the ioctl caller is privileged. +*/ +if (sk_capable (sk,CAP_NET_ADMIN ))hci_sock_set_flag (sk,HCI_SOCK_TRUSTED );/* Send event to monitor */
Chris Clayton
Tested-byHi Greg
Quoted 55 lines · Greg Kroah-Hartman
I'm announcing the release of the 6.3.1 kernel.
All users of the 6.3 kernel series must upgrade.
The updated 6.3.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-6.3.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
------------
Makefile | 2 - drivers/base/dd.c | 7 ++++ drivers/gpio/gpiolib-acpi.c | 13 +++++++++ drivers/gpu/drm/drm_fb_helper.c | 3 ++ drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 9 +++++- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 5 +++ drivers/usb/serial/option.c | 6 ++++ fs/btrfs/send.c | 2 - fs/btrfs/volumes.c | 2 - fs/verity/enable.c | 17 ++++++++++++ include/linux/mmc/sdio_ids.h | 5 ++- mm/mmap.c | 2 - net/bluetooth/hci_sock.c | 9 +++++- 13 files changed, 74 insertions(+), 8 deletions(-)Arınç ÜNAL (1):
USB: serial: option: add UNISOC vendor and TOZED LT70C productDaniel Vetter (1):
drm/fb-helper: set x/yres_virtual indrm_fb_helper_check_varEric Biggers (2):
fsverity: rejectFS_IOC_ENABLE_VERITYon mode 3 fds
fsverity: explicitly check for buffer overflow inbuild_merkle_tree()Genjian Zhang (1):
btrfs: fix uninitialized variable warningsGreg Kroah-Hartman (1):
Linux 6.3.1Jisoo Jang (1):
wifi: brcmfmac: slab-out-of-bounds read inbrcmf_get_assoc_ies()Marek Vasut (1):
wifi: brcmfmac: add Cypress 43439 SDIO idsRuihan Li (1):
bluetooth: Perform careful capability checks inhci_sock_ioctl()
Quoted 11 lines
Stephen Boyd (1):
driver core: Don't requiredynamic_debugforinitcall_debugprobe timingVlastimil Babka (1):
mm/mremap: fixvm_pgoffinvma_merge()case 3Werner Sembach (1):
gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xNU
6.3.1 FTBFS thusly:
drivers/net/wireguard/timers.c: In function 'wg_expired_retransmit_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME' ./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'
223 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
./include/linux/dynamic_debug.h:247:9: note: in expansion of macro '__dynamic_func_call_cls'
247 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:249:9: note: in expansion of macro '_dynamic_func_call_cls'
249 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:268:9: note: in expansion of macro '_dynamic_func_call'
268 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
./include/linux/printk.h:581:9: note: in expansion of macro 'dynamic_pr_debug'
581 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
drivers/net/wireguard/timers.c:47:17: note: in expansion of macro 'pr_debug'
47 | pr_debug("%s: Handshake for peer %llu (%pISpfsc) did not complete after %d attempts, giving up\n",
| ^~~~~~~~<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME' ./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'
223 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
./include/linux/dynamic_debug.h:247:9: note: in expansion of macro '__dynamic_func_call_cls'
247 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:249:9: note: in expansion of macro '_dynamic_func_call_cls'
249 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:268:9: note: in expansion of macro '_dynamic_func_call'
268 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
./include/linux/printk.h:581:9: note: in expansion of macro 'dynamic_pr_debug'
581 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
drivers/net/wireguard/timers.c:65:17: note: in expansion of macro 'pr_debug'
65 | pr_debug("%s: Handshake for peer %llu (%pISpfsc) did not complete after %d seconds, retrying
(try %d)\n",
| ^~~~~~~~drivers/net/wireguard/timers.c: In function 'wg_expired_new_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME' ./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'
223 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
./include/linux/dynamic_debug.h:247:9: note: in expansion of macro '__dynamic_func_call_cls'
247 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:249:9: note: in expansion of macro '_dynamic_func_call_cls'
249 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:268:9: note: in expansion of macro '_dynamic_func_call'
268 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
./include/linux/printk.h:581:9: note: in expansion of macro 'dynamic_pr_debug'
581 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
drivers/net/wireguard/timers.c:95:9: note: in expansion of macro 'pr_debug'
95 | pr_debug("%s: Retrying handshake with peer %llu (%pISpfsc) because we stopped hearing back after %d
seconds\n",
| ^~~~~~~~drivers/net/wireguard/timers.c: In function 'wg_queued_expired_zero_key_material':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME' ./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'
223 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
./include/linux/dynamic_debug.h:247:9: note: in expansion of macro '__dynamic_func_call_cls'
247 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:249:9: note: in expansion of macro '_dynamic_func_call_cls'
249 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:268:9: note: in expansion of macro '_dynamic_func_call'
268 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
./include/linux/printk.h:581:9: note: in expansion of macro 'dynamic_pr_debug'
581 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
drivers/net/wireguard/timers.c:127:9: note: in expansion of macro 'pr_debug'
127 | pr_debug("%s: Zeroing out all keys for peer %llu (%pISpfsc), since we haven't received a new one in %d
seconds\n",
| ^~~~~~~~There's a patch to drivers/net/wireguard/timers.c that fixes these errors and you can find it at 2d4ee16d969c97996e80e4c9cb6de0acaff22c9f in Linus' tree.
I don't kow if it's necessary. but guess I can say:
Sorry, should have more coffee before upgrading kernels...
This FTBFS is actually on 6.1.27. I'll concentrate hard and send a reply to the correct announcement email.
Once again. sorry for the noise.
Chris
Quoted 170 lines · Chris Clayton
Hi Greg
Quoted 55 lines · Greg Kroah-Hartman
I'm announcing the release of the 6.3.1 kernel.
All users of the 6.3 kernel series must upgrade.
The updated 6.3.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-6.3.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
------------
Makefile | 2 - drivers/base/dd.c | 7 ++++ drivers/gpio/gpiolib-acpi.c | 13 +++++++++ drivers/gpu/drm/drm_fb_helper.c | 3 ++ drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 9 +++++- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 5 +++ drivers/usb/serial/option.c | 6 ++++ fs/btrfs/send.c | 2 - fs/btrfs/volumes.c | 2 - fs/verity/enable.c | 17 ++++++++++++ include/linux/mmc/sdio_ids.h | 5 ++- mm/mmap.c | 2 - net/bluetooth/hci_sock.c | 9 +++++- 13 files changed, 74 insertions(+), 8 deletions(-)Arınç ÜNAL (1):
USB: serial: option: add UNISOC vendor and TOZED LT70C productDaniel Vetter (1):
drm/fb-helper: set x/yres_virtual indrm_fb_helper_check_varEric Biggers (2):
fsverity: rejectFS_IOC_ENABLE_VERITYon mode 3 fds
fsverity: explicitly check for buffer overflow inbuild_merkle_tree()Genjian Zhang (1):
btrfs: fix uninitialized variable warningsGreg Kroah-Hartman (1):
Linux 6.3.1Jisoo Jang (1):
wifi: brcmfmac: slab-out-of-bounds read inbrcmf_get_assoc_ies()Marek Vasut (1):
wifi: brcmfmac: add Cypress 43439 SDIO idsRuihan Li (1):
bluetooth: Perform careful capability checks inhci_sock_ioctl()Quoted 11 lines
Stephen Boyd (1):
driver core: Don't requiredynamic_debugforinitcall_debugprobe timingVlastimil Babka (1):
mm/mremap: fixvm_pgoffinvma_merge()case 3Werner Sembach (1):
gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xNU6.3.1 FTBFS thusly:
drivers/net/wireguard/timers.c: In function 'wg_expired_retransmit_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ ./include/linux/dynamic_debug.h:247:9: note: in expansion of macro '__dynamic_func_call_cls' 247 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/dynamic_debug.h:249:9: note: in expansion of macro '_dynamic_func_call_cls' 249 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/dynamic_debug.h:268:9: note: in expansion of macro '_dynamic_func_call' 268 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/printk.h:581:9: note: in expansion of macro 'dynamic_pr_debug' 581 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/net/wireguard/timers.c:47:17: note: in expansion of macro 'pr_debug' 47 | pr_debug("%s: Handshake for peer %llu (%pISpfsc) did not complete after %d attempts, giving up\n", | ^~~~~~~~<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ ./include/linux/dynamic_debug.h:247:9: note: in expansion of macro '__dynamic_func_call_cls' 247 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/dynamic_debug.h:249:9: note: in expansion of macro '_dynamic_func_call_cls' 249 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/dynamic_debug.h:268:9: note: in expansion of macro '_dynamic_func_call' 268 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/printk.h:581:9: note: in expansion of macro 'dynamic_pr_debug' 581 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/net/wireguard/timers.c:65:17: note: in expansion of macro 'pr_debug' 65 | pr_debug("%s: Handshake for peer %llu (%pISpfsc) did not complete after %d seconds, retrying (try %d)\n", | ^~~~~~~~
drivers/net/wireguard/timers.c: In function 'wg_expired_new_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ ./include/linux/dynamic_debug.h:247:9: note: in expansion of macro '__dynamic_func_call_cls' 247 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/dynamic_debug.h:249:9: note: in expansion of macro '_dynamic_func_call_cls' 249 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/dynamic_debug.h:268:9: note: in expansion of macro '_dynamic_func_call' 268 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/printk.h:581:9: note: in expansion of macro 'dynamic_pr_debug' 581 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/net/wireguard/timers.c:95:9: note: in expansion of macro 'pr_debug' 95 | pr_debug("%s: Retrying handshake with peer %llu (%pISpfsc) because we stopped hearing back after %d seconds\n", | ^~~~~~~~
drivers/net/wireguard/timers.c: In function 'wg_queued_expired_zero_key_material':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ ./include/linux/dynamic_debug.h:247:9: note: in expansion of macro '__dynamic_func_call_cls' 247 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/dynamic_debug.h:249:9: note: in expansion of macro '_dynamic_func_call_cls' 249 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/dynamic_debug.h:268:9: note: in expansion of macro '_dynamic_func_call' 268 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/printk.h:581:9: note: in expansion of macro 'dynamic_pr_debug' 581 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/net/wireguard/timers.c:127:9: note: in expansion of macro 'pr_debug' 127 | pr_debug("%s: Zeroing out all keys for peer %llu (%pISpfsc), since we haven't received a new one in %d seconds\n", | ^~~~~~~~There's a patch to
drivers/net/wireguard/timers.cthat fixes these errors and you can find it at2d4ee16d969c97996e80e4c9cb6de0acaff22c9fin Linus' tree.I don't kow if it's necessary. but guess I can say:
Tested-by Chris Clayton <[email protected]>
Greg Kroah-Hartman
maintainerQuoted 1 line · Chris Clayton
6.3.1 FTBFS thusly:
What is "FTBFS"?
Quoted 7 lines
drivers/net/wireguard/timers.c: In function 'wg_expired_retransmit_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~
<snip>
Quoted 2 lines
There's a patch to
drivers/net/wireguard/timers.cthat fixes these errors and you can find it at2d4ee16d969c97996e80e4c9cb6de0acaff22c9fin Linus' tree.
Thanks for this report, we'll queue it up soon.
thanks,
greg k-h
Quoted 4 lines · Greg Kroah-Hartman
Quoted 1 line · Chris Clayton
6.3.1 FTBFS thusly:
What is "FTBFS"?
"fails to build from source".
Akemi
Greg Kroah-Hartman
maintainerQuoted 13 lines · Greg Kroah-Hartman
Quoted 1 line · Chris Clayton
6.3.1 FTBFS thusly:
What is "FTBFS"?
Quoted 7 lines
drivers/net/wireguard/timers.c: In function 'wg_expired_retransmit_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~
Quoted 6 lines
<snip>
Quoted 2 lines
There's a patch to
drivers/net/wireguard/timers.cthat fixes these errors and you can find it at2d4ee16d969c97996e80e4c9cb6de0acaff22c9fin Linus' tree.Thanks for this report, we'll queue it up soon.
Odd, that commit is in 6.2 already, so how are you applying this to 6.3.y?
Confused,
greg k-h
Quoted 6 lines · Greg Kroah-Hartman
Quoted 5 lines · Greg Kroah-Hartman
Quoted 1 line · Chris Clayton
6.3.1 FTBFS thusly:
What is "FTBFS"?
Fails to build from source
Quoted 21 lines
Quoted 8 lines
Quoted 7 lines
drivers/net/wireguard/timers.c: In function 'wg_expired_retransmit_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~Quoted 6 lines
<snip>
Quoted 2 lines
There's a patch to
drivers/net/wireguard/timers.cthat fixes these errors and you can find it at2d4ee16d969c97996e80e4c9cb6de0acaff22c9fin Linus' tree.Thanks for this report, we'll queue it up soon.
Odd, that commit is in 6.2 already, so how are you applying this to 6.3.y?
Confused,
greg k-h
Greg Kroah-Hartman
maintainerQuoted 16 lines · Greg Kroah-Hartman
Quoted 15 lines · Greg Kroah-Hartman
Quoted 1 line · Chris Clayton
6.3.1 FTBFS thusly:
What is "FTBFS"?
Quoted 7 lines
drivers/net/wireguard/timers.c: In function 'wg_expired_retransmit_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~<snip>
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
There's a patch to
drivers/net/wireguard/timers.cthat fixes these errors and you can find it at2d4ee16d969c97996e80e4c9cb6de0acaff22c9fin Linus' tree.Thanks for this report, we'll queue it up soon.
Odd, that commit is in 6.2 already, so how are you applying this to 6.3.y?
And this is only a gcc13 issue, right? So it's not a regression, it's always been there, nothing new caused it in this release from what I can tell.
Actually I don't see how this is an issue in 6.3.1 anyway, as again, the proposed fix you gave is in 6.2, so what really is happening here?
confused,
greg k-h
Hi Greg
Quoted 25 lines · Greg Kroah-Hartman
Quoted 16 lines · Greg Kroah-Hartman
Quoted 15 lines · Greg Kroah-Hartman
Quoted 1 line · Chris Clayton
6.3.1 FTBFS thusly:
What is "FTBFS"?
Quoted 7 lines
drivers/net/wireguard/timers.c: In function 'wg_expired_retransmit_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~<snip>
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
There's a patch to
drivers/net/wireguard/timers.cthat fixes these errors and you can find it at2d4ee16d969c97996e80e4c9cb6de0acaff22c9fin Linus' tree.Thanks for this report, we'll queue it up soon.
Odd, that commit is in 6.2 already, so how are you applying this to 6.3.y?
Quoted 6 lines
And this is only a gcc13 issue, right? So it's not a regression, it's always been there, nothing new caused it in this release from what I can tell.
Actually I don't see how this is an issue in 6.3.1 anyway, as again, the proposed fix you gave is in 6.2, so what really is happening here?
You seem not to have seen the email I sent shortly after my original report. In that email I apologised for the noise because, due to a caffeine deficiency, I had reported the problem against the wrong kernel version and that it actually occurs 6.1.27. gcc13 spits it out as a warning, but kernel build system is setbup to treat warnings as errors, so the build fails.
Chris
Quoted 4 lines
confused,
greg k-h
Greg Kroah-Hartman
maintainerQuoted 32 lines · Chris Clayton
Hi Greg
Quoted 29 lines · Greg Kroah-Hartman
Quoted 16 lines · Greg Kroah-Hartman
Quoted 15 lines · Greg Kroah-Hartman
Quoted 1 line · Chris Clayton
6.3.1 FTBFS thusly:
What is "FTBFS"?
Quoted 7 lines
drivers/net/wireguard/timers.c: In function 'wg_expired_retransmit_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~<snip>
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
There's a patch to
drivers/net/wireguard/timers.cthat fixes these errors and you can find it at2d4ee16d969c97996e80e4c9cb6de0acaff22c9fin Linus' tree.Thanks for this report, we'll queue it up soon.
Odd, that commit is in 6.2 already, so how are you applying this to 6.3.y?
And this is only a gcc13 issue, right? So it's not a regression, it's always been there, nothing new caused it in this release from what I can tell.
Quoted 7 lines
Quoted 2 lines
Actually I don't see how this is an issue in 6.3.1 anyway, as again, the proposed fix you gave is in 6.2, so what really is happening here?
You seem not to have seen the email I sent shortly after my original report. In that email I apologised for the noise because, due to a caffeine deficiency, I had reported the problem against the wrong kernel version and that it actually occurs 6.1.27. gcc13 spits it out as a warning, but kernel build system is setbup to treat warnings as errors, so the build fails.
Ok, but this is not a new issue, right? 6.1.26 should have had the same problem from what I can tell.
greg k-h
Quoted 36 lines · Greg Kroah-Hartman
Quoted 35 lines · Chris Clayton
Hi Greg
Quoted 31 lines · Greg Kroah-Hartman
Quoted 16 lines · Greg Kroah-Hartman
Quoted 15 lines · Greg Kroah-Hartman
Quoted 1 line · Chris Clayton
6.3.1 FTBFS thusly:
What is "FTBFS"?
Quoted 7 lines
drivers/net/wireguard/timers.c: In function 'wg_expired_retransmit_handshake':
<command-line>: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=]
<command-line>: note: in expansion of macro 'KBUILD_MODNAME'./include/linux/dynamic_debug.h:223:29: note: in expansion of macro 'pr_fmt'223 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~<snip>
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
There's a patch to
drivers/net/wireguard/timers.cthat fixes these errors and you can find it at2d4ee16d969c97996e80e4c9cb6de0acaff22c9fin Linus' tree.Thanks for this report, we'll queue it up soon.
Odd, that commit is in 6.2 already, so how are you applying this to 6.3.y?
And this is only a gcc13 issue, right? So it's not a regression, it's always been there, nothing new caused it in this release from what I can tell.
Actually I don't see how this is an issue in 6.3.1 anyway, as again, the proposed fix you gave is in 6.2, so what really is happening here?
Quoted 8 lines
Quoted 4 lines
You seem not to have seen the email I sent shortly after my original report. In that email I apologised for the noise because, due to a caffeine deficiency, I had reported the problem against the wrong kernel version and that it actually occurs 6.1.27. gcc13 spits it out as a warning, but kernel build system is setbup to treat warnings as errors, so the build fails.
Ok, but this is not a new issue, right? 6.1.26 should have had the same problem from what I can tell.
I don't know. I haven't tried to build 6.1.26 with gcc13. The commit message for the patch in Linus' tree says that this is a new warning in gcc13. The kernel build system configures gcc to treat warnings as errors so, with gcc13, the build failed and I reported the failure in the initial email of this thread. Looking at that patch submission
(https://lore.kernel.org/all/[email protected]/), it appears not to have been tagged for or copied to stable.
Once I'd realised that I had reported the problem against the wrong kernel version, I sent my apologetic email and sent a new email reporting the problem against 6.1.27. In response to that (I assume), you've queued the patch for 6.1 stable and for 5.15 and 5.10, so everything seems to be in order.
Chris
Quoted 1 line
greg k-h