linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux 6.5-rc3
@ 2023-07-23 22:37 Linus Torvalds
  2023-07-24 12:26 ` Build regressions/improvements in v6.5-rc3 Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Linus Torvalds @ 2023-07-23 22:37 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Things continue to look pretty normal - there's nothing here that
would seem to stand out, with both the commit counts and the diffs
looking pretty much normal for rc3.

We've got the usual driver updates being about half the diff  (with
gpu, networking and sound drivers dominating as always). The other
half is a pretty random mixed bag of small fixes all over - core
networking, some tooling header updates, various filesystem fixes,
some minor architecture fixes...

Full shortlog appended,

              Linus

---

Ahmed Zaki (3):
      iavf: use internal state to free traffic IRQs
      iavf: fix a deadlock caused by rtnl and driver's lock circular
dependencies
      iavf: fix reset task race with iavf_remove()

Alan Stern (1):
      net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb

Alex Deucher (2):
      drm/amdgpu/pm: make gfxclock consistent for sienna cichlid
      drm/amdgpu/pm: make mclk consistent for smu 13.0.7

Alexander Duyck (1):
      bpf, arm64: Fix BTI type used for freplace attached functions

Alexander Sverdlin (2):
      tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
      tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes

Alexey Dobriyan (1):
      kbuild: flatten KBUILD_CFLAGS

Andrew Donnellan (1):
      Revert "powerpc/64s: Remove support for ELFv1 little endian userspace"

Andrzej Hajda (1):
      drm/i915/perf: add sentinel to xehp_oa_b_counters

Andy Shevchenko (1):
      Bluetooth: MGMT: Use correct address for memcpy()

Arnaldo Carvalho de Melo (11):
      tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
      tools headers UAPI: Sync files changed by new cachestat syscall
with the kernel sources
      tools headers uapi: Sync linux/fcntl.h with the kernel sources
      tools headers UAPI: Sync linux/kvm.h with the kernel sources
      tools include UAPI: Sync linux/mount.h copy with the kernel sources
      tools headers UAPI: Sync linux/prctl.h with the kernel sources
      perf beauty: Update copy of linux/socket.h with the kernel sources
      tools include UAPI: Sync linux/vhost.h with the kernel sources
      tools include UAPI: Sync the sound/asound.h copy with the kernel sources
      tools headers arm64: Sync arm64's cputype.h with the kernel sources
      perf test task_exit: No need for a cycles event to check if we
get an PERF_RECORD_EXIT

Arnd Bergmann (2):
      accel/habanalabs: add more debugfs stub helpers
      Bluetooth: coredump: fix building with coredump disabled

Aurabindo Pillai (2):
      drm/amd/display: export some optc function for reuse
      drm/amd/display: add DCN301 specific logic for OTG programming

Baoquan He (1):
      of: make OF_EARLY_FLATTREE depend on HAS_IOMEM

Bartosz Golaszewski (1):
      gpio: mvebu: fix irq domain leak

Ben Skeggs (3):
      drm/nouveau/i2c: fix number of aux event slots
      drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts
      drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP

Benjamin Gray (2):
      powerpc/kasan: Disable KCOV in KASAN code
      gen_compile_commands: add assembly files to compilation database

Bernd Schubert (1):
      fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT

Candice Li (1):
      drm/amdgpu: Allow the initramfs generator to include psp_13_0_6_ta

Chen Lin (1):
      ring-buffer: Do not swap cpu_buffer during resize process

Chengming Zhou (2):
      blk-mq: delete dead struct blk_mq_hw_ctx->queued field
      blk-iocost: skip empty flush bio in iocost

Christian Hesse (2):
      tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 12th gen
      tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 13th gen

Christoffer Sandberg (1):
      ALSA: hda/realtek: Add quirk for Clevo NS70AU

Christoph Hellwig (4):
      btrfs: be a bit more careful when setting mirror_num_ret in
btrfs_map_block
      iomap: fix a regression for partial write errors
      iomap: micro optimize the ki_pos assignment in iomap_file_buffered_write
      btrfs: fix ordered extent split error handling in btrfs_dio_submit_io

Christophe Leroy (1):
      Revert "powerpc/bug: Provide better flexibility to
WARN_ON/__WARN_FLAGS() with asm goto"

Claudio Imbrenda (2):
      KVM: s390: pv: simplify shutdown and fix race
      KVM: s390: pv: fix index value of replaced ASCE

Colin Ian King (3):
      selftests: ALSA: Fix fclose on an already fclosed file pointer
      selftests/mm: mkdirty: fix incorrect position of #endif
      fbdev: kyro: make some const read-only arrays static and reduce type size

Damien Le Moal (1):
      ata: pata_parport: Add missing protocol modules description

Dan Carpenter (5):
      accel/qaic: tighten bounds checking in encode_message()
      accel/qaic: tighten bounds checking in decode_message()
      accel/qaic: Add consistent integer overflow checks
      accel/qaic: Fix a leak in map_user_pages()
      ASoC: SOF: ipc3-dtrace: uninitialized data in
dfsentry_trace_filter_write()

Daniel Golle (2):
      net: ethernet: mtk_eth_soc: handle probe deferral
      net: ethernet: mtk_eth_soc: always mtk_get_ib1_pkt_type

Daniel Miess (1):
      drm/amd/display: Prevent vtotal from being set to 0

Daniel Vetter (1):
      drm/atomic: Fix potential use-after-free in nonblocking commits

Darrick J. Wong (3):
      xfs: convert flex-array declarations in struct xfs_attrlist*
      xfs: convert flex-array declarations in xfs attr leaf blocks
      xfs: convert flex-array declarations in xfs attr shortform objects

David Jeffery (1):
      sbitmap: fix batching wakeup

Derek Fang (1):
      ASoC: rt5640: Fix the issue of speaker noise

Ding Hui (2):
      iavf: Fix use-after-free in free_netdev
      iavf: Fix out-of-bounds when setting channels on remove

Douglas Anderson (1):
      Bluetooth: hci_sync: Avoid use-after-free in dbg for
hci_remove_adv_monitor()

Eric Dumazet (13):
      tcp: annotate data-races around tcp_rsk(req)->txhash
      tcp: annotate data-races around tcp_rsk(req)->ts_recent
      tcp: annotate data-races around tp->tcp_tx_delay
      tcp: annotate data-races around tp->tsoffset
      tcp: annotate data-races around tp->keepalive_time
      tcp: annotate data-races around tp->keepalive_intvl
      tcp: annotate data-races around tp->keepalive_probes
      tcp: annotate data-races around icsk->icsk_syn_retries
      tcp: annotate data-races around tp->linger2
      tcp: annotate data-races around rskq_defer_accept
      tcp: annotate data-races around tp->notsent_lowat
      tcp: annotate data-races around icsk->icsk_user_timeout
      tcp: annotate data-races around fastopenq.max_qlen

Eric Whitney (1):
      ext4: correct inline offset when handling xattrs in inode body

Fabio Estevam (1):
      ASoC: fsl_sai: Revert "ASoC: fsl_sai: Enable MCTL_MCLK_EN bit
for master mode"

Fedor Ross (1):
      can: mcp251xfd: __mcp251xfd_chip_set_mode(): increase poll timeout

Filipe Manana (6):
      btrfs: fix use-after-free of new block group that became unused
      btrfs: zoned: fix memory leak after finding block group with super blocks
      btrfs: fix double iput() on inode after an error during orphan cleanup
      btrfs: fix iput() on error pointer after error during orphan cleanup
      btrfs: use irq safe locking when running and adding delayed iputs
      btrfs: fix warning when putting transaction with qgroups enabled
after abort

Florian Bezdeka (1):
      tpm/tpm_tis: Disable interrupts for Lenovo L590 devices

Florian Kauer (1):
      igc: Prevent garbled TX queue with XDP ZEROCOPY

Florian Westphal (3):
      netfilter: nf_tables: fix spurious set element insertion failure
      netfilter: nf_tables: can't schedule in nft_chain_validate
      netfilter: nft_set_pipapo: fix improper element removal

Geert Uytterhoeven (1):
      ASoC: codecs: SND_SOC_WCD934X should select REGMAP_IRQ

Geetha sowjanya (1):
      octeontx2-pf: Dont allocate BPIDs for LBK interfaces

Georg Müller (2):
      perf probe: Add test for regression introduced by switch to
die_get_decl_file()
      perf probe: Read DWARF files from the correct CU

Guchun Chen (5):
      drm/amdgpu/vkms: relax timer deactivation by hrtimer_try_to_cancel
      drm/amdgpu: Allocate root PD on correct partition
      drm/amdgpu: fix slab-out-of-bounds issue in amdgpu_vm_pt_create
      drm/amdgpu/vm: use the same xcp_id from root PD
      drm/amdgpu: use a macro to define no xcp partition case

Guenter Roeck (1):
      regmap: Disable locking for RBTREE and MAPLE unit tests

Hans de Goede (1):
      gpio: tps68470: Make tps68470_gpio_output() always set the initial value

Harald Freudenberger (1):
      s390/zcrypt: fix reply buffer calculations for CCA replies

Haren Myneni (1):
      powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close

Heiner Kallweit (3):
      r8169: fix ASPM-related problem for chip version 42 and 43
      r8169: revert 2ab19de62d67 ("r8169: remove ASPM restrictions now
that ASPM is disabled during NAPI poll")
      Revert "r8169: disable ASPM during NAPI poll"

Helge Deller (2):
      io_uring: Fix io_uring mmap() by using architecture-provided
get_unmapped_area()
      ia64: mmap: Consider pgoff when searching for free mapping

Ian Rogers (2):
      libsubcmd: Avoid SEGV/use-after-free when commands aren't excluded
      perf parse-events: Avoid SEGV if PMU lookup fails for legacy cache terms

Ido Schimmel (1):
      vrf: Fix lockdep splat in output path

James Clark (1):
      perf build: Fix library not found error when using CSLIBS

Jani Nikula (1):
      Revert "drm/i915: use localized __diag_ignore_all() instead of per file"

Jarkko Sakkinen (1):
      tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation

Jens Axboe (1):
      io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq

Jerry Snitselaar (1):
      tpm: return false from tpm_amd_is_rng_defective on non-x86 platforms

Jiapeng Chong (1):
      security: keys: Modify mismatched function name

Jiri Slaby (SUSE) (7):
      vgacon: switch vgacon_scrolldelta() and vgacon_restore_screen()
      vgacon: remove unneeded forward declarations
      vgacon: remove unused xpos from vgacon_set_cursor_size()
      vgacon: let vgacon_doresize() return void
      vgacon: cache vc_cell_height in vgacon_cursor()
      sticon: make sticon_set_def_font() void and remove op parameter
      fbcon: remove unused display (p) from fbcon_redraw()

Jocelyn Falempe (2):
      drm/client: Fix memory leak in drm_client_target_cloned
      drm/client: Fix memory leak in drm_client_modeset_probe

Johan Hovold (15):
      ASoC: codecs: wcd938x: fix codec initialisation race
      ASoC: codecs: wcd938x: fix mbhc impedance loglevel
      ASoC: codecs: wcd938x: drop inline keywords
      ASoC: codecs: wcd938x: use dev_printk() for impedance logging
      ASoC: codecs: wcd934x: demote impedance printk
      ASoC: codecs: wcd934x: drop inline keywords
      ASoC: codecs: wcd938x: fix soundwire initialisation race
      ASoC: codecs: wcd938x: fix missing mbhc init error handling
      ASoC: qdsp6: audioreach: fix topology probe deferral
      ASoC: codecs: wcd938x: fix missing clsh ctrl error handling
      ASoC: codecs: wcd938x: fix resource leaks on component remove
      ASoC: codecs: wcd934x: fix resource leaks on component remove
      ASoC: codecs: wcd-mbhc-v2: fix resource leaks on component remove
      ASoC: topology: suppress probe deferral errors
      ASoC: core: suppress probe deferral errors

John Fastabend (1):
      mailmap: Add entry for old intel email

John Hubbard (2):
      selftests/riscv: fix potential build failure during the "emit_tests" step
      selftests/arm64: fix build failure during the "emit_tests" step

Josef Bacik (2):
      btrfs: fix race between balance and cancel/pause
      btrfs: set_page_extent_mapped after read_folio in btrfs_cont_expand

Kailang Yang (1):
      ALSA: hda/realtek - remove 3k pull low procedure

Krzysztof Kozlowski (1):
      dt-bindings: hwmon: moortec,mr75203: fix multipleOf for coefficients

Kumar Kartikeya Dwivedi (3):
      bpf: Fix subprog idx logic in check_max_stack_depth
      bpf: Repeat check_max_stack_depth for async callbacks
      selftests/bpf: Add more tests for check_max_stack_depth bug

Kuniyuki Iwashima (6):
      bridge: Add extack warning when enabling STP in netns.
      Revert "tcp: avoid the lookup process failing to get sk in ehash table"
      llc: Check netns in llc_dgram_match().
      llc: Check netns in llc_estab_match() and llc_listener_match().
      llc: Don't drop packet from non-root netns.
      Revert "bridge: Add extack warning when enabling STP in netns."

Liam R. Howlett (3):
      mm/mlock: fix vma iterator conversion of apply_vma_lock_flags()
      maple_tree: fix 32 bit mas_next testing
      maple_tree: fix node allocation testing on 32 bit

Lino Sanfilippo (1):
      tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQs

Linus Torvalds (1):
      Linux 6.5-rc3

Linus Walleij (1):
      dsa: mv88e6xxx: Do a final check before timing out

Luka Guzenko (1):
      ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx

Marc Kleine-Budde (2):
      can: gs_usb: gs_can_open(): improve error handling
      can: gs_usb: fix time stamp counter initialization

Marc Zyngier (4):
      KVM: arm64: timers: Use CNTHCTL_EL2 when setting non-CNTKCTL_EL1 bits
      KVM: arm64: Disable preemption in kvm_arch_hardware_enable()
      arm64: Fix HFGxTR_EL2 field naming
      KVM: arm64: vgic-v4: Make the doorbell request robust w.r.t preemption

Marcin Szycik (3):
      iavf: Wait for reset in callbacks which trigger it
      Revert "iavf: Detach device during reset task"
      Revert "iavf: Do not restart Tx queues after reset task failure"

Mario Limonciello (2):
      ASoC: amd: ps: Fix extraneous error messages
      drm/amd: Use amdgpu_device_pcie_dynamic_switching_supported() for SMU7

Mark Brown (5):
      net: dsa: ar9331: Use explict flags for regmap single read/write
      regmap: Drop initial version of maximum transfer length fixes
      regmap: Account for register length in SMBus I/O limits
      regcache: Push async I/O request down into the rbtree cache
      arm64/fpsimd: Ensure SME storage is allocated after SVE VL changes

Martin Fuzzey (1):
      regulator: da9063: fix null pointer deref with partial DT config

Martin Kaiser (2):
      fbdev: imxfb: warn about invalid left/right margin
      fbdev: imxfb: switch to DEFINE_SIMPLE_DEV_PM_OPS

Martin Povišer (1):
      MAINTAINERS: Redo addition of ssm3515 to APPLE SOUND

Mastan Katragadda (1):
      ASoC: SOF: amd: add revision check for sending sha dma completion command

Matthias Reichl (1):
      ASoC: hdmi-codec: fix channel info for compressed formats

Matthieu Baerts (3):
      selftests: tc: set timeout to 15 minutes
      selftests: tc: add 'ct' action kconfig dep
      selftests: tc: add ConnTrack procfs kconfig

Matus Gajdos (1):
      ASoC: fsl_sai: Disable bit clock with transmitter

Mauricio Faria de Oliveira (2):
      loop: deprecate autoloading callback loop_probe()
      loop: do not enforce max_loop hard limit by (new) default

Michal Swiatkowski (1):
      ice: prevent NULL pointer deref during reload

Miguel Ojeda (2):
      prctl: move PR_GET_AUXV out of PR_MCE_KILL
      kbuild: rust: avoid creating temporary files

Miklos Szeredi (3):
      fuse: add feature flag for expire-only
      fuse: revalidate: don't invalidate if interrupted
      fuse: ioctl: translate ENOSYS in outarg

Minjie Du (1):
      tools: timers: fix freq average calculation

Mohamed Khalfella (1):
      tracing/histograms: Return an error if we fail to add histogram
to hist_vars list

Mostafa Saleh (1):
      KVM: arm64: Add missing BTI instructions

Nathan Chancellor (1):
      ASoC: cs35l45: Select REGMAP_IRQ

Nicholas Kazlauskas (1):
      drm/amd/display: Keep PHY active for DP displays on DCN31

Nikhil V (1):
      arm64: mm: Make hibernation aware of KFENCE

Ojaswin Mujoo (2):
      ext4: fix off by one issue in ext4_mb_choose_next_group_best_avail()
      ext4: fix rbtree traversal bug in ext4_mb_use_preallocated

Oliver Upton (2):
      KVM: arm64: Correctly handle page aging notifiers for unaligned memslot
      KVM: arm64: Correctly handle RES0 bits PMEVTYPER<n>_EL0.evtCount

Ondrej Mosnacek (1):
      io_uring: don't audit the capability check in io_uring_create()

Pablo Neira Ayuso (2):
      netfilter: nf_tables: skip bound chain in netns release path
      netfilter: nf_tables: skip bound chain on rule flush

Pauli Virtanen (4):
      Bluetooth: use RCU for hci_conn_params and iterate safely in hci_sync
      Bluetooth: hci_event: call disconnect callback before deleting conn
      Bluetooth: ISO: fix iso_conn related locking and validity issues
      Bluetooth: SCO: fix sco_conn related locking and validity issues

Peijie Shao (1):
      tpm_tis_spi: Release chip select when flow control fails

Peng Zhang (1):
      maple_tree: set the node limit when creating a new root node

Peter Ujfalusi (1):
      tpm: tpm_tis: Disable interrupts *only* for AEON UPX-i11

Petr Oros (1):
      ice: Unregister netdev and devlink_port only once

Petr Pavlu (1):
      keys: Fix linking a duplicate key to a keyring's assoc_array

Qu Wenruo (1):
      btrfs: raid56: always verify the P/Q contents for scrub

Rafael J. Wysocki (3):
      Revert "intel_idle: Add __init annotation to
matchup_vm_state_with_baremetal()"
      Revert "intel_idle: Add a "Long HLT" C1 state for the VM guest mode"
      Revert "intel_idle: Add support for using intel_idle in a VM
guest using just hlt"

Randy Dunlap (11):
      kconfig: gconfig: drop the Show Debug Info help text
      kconfig: gconfig: correct program name in help text
      net: bonding: remove kernel-doc comment marker
      net: cfg802154: fix kernel-doc notation warnings
      codel: fix kernel-doc notation warnings
      devlink: fix kernel-doc notation warnings
      inet: frags: eliminate kernel-doc warning
      net: llc: fix kernel-doc notation warnings
      net: NSH: fix kernel-doc notation warning
      pie: fix kernel-doc notation warning
      rsi: remove kernel-doc comment marker

Ricardo Cañuelo (1):
      selftests/mincore: fix skip condition for check_huge_pages test

Rob Herring (5):
      ASoC: dt-bindings: audio-graph-card2: Drop incomplete example
      of: Preserve "of-display" device name for compatibility
      fbdev: Explicitly include correct DT includes
      dt-bindings: serial: Remove obsolete cavium-uart.txt
      dt-bindings: serial: Remove obsolete nxp,lpc1850-uart.txt

Rohit kumar (1):
      ASoC: dt-bindings: Update maintainer email id

Ross Lagerwall (1):
      blk-mq: Fix stall due to recursive flush plug

Russell Currey (1):
      powerpc/crypto: Add gitignore for generated P10 AES/GCM .S files

Ryan Roberts (1):
      selftests/mm: give scripts execute permission

Sameer Pujar (1):
      ASoC: rt5640: Fix sleep in atomic context

Sandipan Das (1):
      perf vendor events amd: Fix large metrics

Shannon Nelson (1):
      mailmap: add entries for past lives

Sheetal (2):
      ASoC: tegra: Fix AMX byte map
      ASoC: tegra: Fix ADX byte map

Shuming Fan (1):
      ASoC: rt5645: check return value after reading device id

Shyam Prasad N (1):
      cifs: allow dumping keys for directories too

Siddh Raman Pant (1):
      Bluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link

Simon Ser (1):
      drm/amd/display: only accept async flips for fast updates

Srinivas Kandagatla (4):
      ASoC: qdsp6: q6apm: use dai link pcm id as pcm device number
      ASoC: qcom: q6afe-dai: fix Display Port Playback stream name
      ASoC: codecs: wcd938x: fix dB range for HPHL and HPHR
      ASoC: qcom: q6apm: do not close GPR port before closing graph

Srinivasan Shanmugam (1):
      drm/amd/display: Clean up errors & warnings in amdgpu_dm.c

Steve French (1):
      cifs: update internal module version number for cifs.ko

Subbaraya Sundeep (1):
      octeontx2-pf: mcs: Generate hash key using ecb(aes)

Sudeep Holla (1):
      KVM: arm64: Handle kvm_arm_init failure correctly in finalize_pkvm

Sven Schnelle (1):
      s390/mm: fix per vma lock fault handling

Taimur Hassan (1):
      drm/amd/display: check TG is non-null before checking if enabled

Takashi Iwai (2):
      ALSA: seq: Fix memory leak at error path in snd_seq_create_port()
      selftests: ALSA: Add test-pcmtest-driver to .gitignore

Tanmay Patil (1):
      net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field()

Thomas Petazzoni (1):
      ASoC: cs42l51: fix driver to properly autoload with automatic
module loading

Thomas Richter (1):
      perf build: Fix broken feature check for libtracefs due to
external lib changes

Tomasz Moń (1):
      Bluetooth: btusb: Fix bluetooth on Intel Macbook 2014

Tristram Ha (1):
      net: dsa: microchip: correct KSZ8795 static MAC table access

Uwe Kleine-König (4):
      ALSA: pcmtest: Convert to platform remove callback returning void
      ALSA: pcmtest: Don't use static storage to track per device data
      powerpc/512x: lpbfifo: Convert to platform remove callback returning void
      gpio: mvebu: Make use of devm_pwmchip_add

Valentin David (1):
      tpm: Do not remap from ACPI resources again for Pluton TPM

Victor Nogueira (5):
      net: sched: cls_matchall: Undo tcf_bind_filter in case of
failure after mall_set_parms
      net: sched: cls_u32: Undo tcf_bind_filter if u32_replace_hw_knode
      net: sched: cls_u32: Undo refcount decrement in case update failed
      net: sched: cls_bpf: Undo tcf_bind_filter in case of an error
      net: sched: cls_flower: Undo tcf_bind_filter in case of an error

Vijendar Mukunda (6):
      ASoC: amd: ps: add comments for DMA irq bits mapping
      ASoC: amd: ps: add fix for dma irq mask for rx streams for SDW0 instance
      ASoC: amd: ps: fix for position register set for AUDIO0 RX stream
      ASoC: amd: ps: add comments for DMA register mapping
      ASoC: amd: ps: fix byte count return value for invalid SoundWire
manager instance
      ASoC: amd: acp: fix for invalid dai id handling in acp_get_byte_count()

Ville Syrjälä (1):
      dma-buf/dma-resv: Stop leaking on krealloc() failure

Vitaly Rodionov (2):
      ALSA: hda/realtek: Fix generic fixup definition for cs35l41 amp
      ALSA: hda/realtek: Add support for DELL Oasis 13/14/16 laptops

Vladimir Oltean (1):
      net: phy: prevent stale pointer dereference in phy_init()

Wang Ming (4):
      bna: Remove error checking for debugfs_create_dir()
      net: ethernet: Remove repeating expression
      net: ipv4: Use kfree_sensitive instead of kfree
      s390/crypto: use kfree_sensitive() instead of kfree()

Wayne Lin (1):
      drm/amd/display: Add polling method to handle MST reply packet

Xiang Chen (1):
      KVM: arm64: Fix the name of sys_reg_desc related to PMU

Yan Zhai (1):
      gso: fix dodgy bit handling for GSO_UDP_L4

Yangtao Li (4):
      fbdev: imxfb: Removed unneeded release_mem_region
      fbdev: imxfb: Convert to devm_kmalloc_array()
      fbdev: imxfb: Convert to devm_platform_ioremap_resource()
      fbdev: imxfb: remove unneeded labels

Yuanjun Gong (6):
      net:ipv6: check return value of pskb_trim()
      drivers: net: fix return value check in emac_tso_csum()
      drivers:net: fix return value check in ocelot_fdma_receive_skb
      ipv4: ip_gre: fix return value check in erspan_fb_xmit()
      ipv4: ip_gre: fix return value check in erspan_xmit()
      fbdev: ep93xx-fb: fix return value check in ep93xxfb_probe

YueHaibing (2):
      can: bcm: Fix UAF in bcm_proc_show()
      tracing: Remove unused extern declaration tracing_map_set_field_descr()

Zhang Shurong (1):
      fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe

Zhang Yi (5):
      jbd2: recheck chechpointing non-dirty buffer
      jbd2: remove t_checkpoint_io_list
      jbd2: remove journal_clean_one_cp_list()
      jbd2: fix a race when checking checkpoint buffer busy
      jbd2: remove __journal_try_to_free_buffer()

Zhen Lei (1):
      arm64: vdso: Clear common make C=2 warnings

Zhihao Cheng (1):
      jbd2: Fix wrongly judgement for buffer head removing while doing
checkpoint

Zhikai Zhai (1):
      drm/amd/display: Disable MPC split by default on special asic

Ziyang Xuan (1):
      can: raw: fix receiver memory leak

zyfjeff (1):
      fuse: remove duplicate check for nodeid

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Build regressions/improvements in v6.5-rc3
  2023-07-23 22:37 Linux 6.5-rc3 Linus Torvalds
@ 2023-07-24 12:26 ` Geert Uytterhoeven
  2023-07-24 12:43   ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2023-07-24 12:26 UTC (permalink / raw)
  To: linux-kernel

Below is the list of build error/warning regressions/improvements in
v6.5-rc3[1] compared to v6.4[2].

Summarized:
  - build errors: +7/-4
  - build warnings: +43/-19

JFYI, when comparing v6.5-rc3[1] to v6.5-rc2[3], the summaries are:
  - build errors: +5/-0
  - build warnings: +9/-1

Note that there may be false regressions, as some logs are incomplete.
Still, they're build errors/warnings.

Happy fixing! ;-)

Thanks to the linux-next team for providing the build service.

[1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/6eaae198076080886b9e7d57f4ae06fa782f90ef/ (all 235 configs)
[2] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/6995e2de6891c724bfeb2db33d7b87775f913ad1/ (160 out of 235 configs)
[3] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/fdf0eaf11452d72945af31804e2a1048ee1b574c/ (161 out of 235 configs)


*** ERRORS ***

7 error regressions:
  + /kisskb/src/drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c: error: the frame size of 1392 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]:  => 1036:1
  + /kisskb/src/include/linux/fortify-string.h: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]:  => 493:25, 583:25
  + error: modpost: ".L856" [drivers/mtd/nand/raw/nand.ko] undefined!:  => N/A
  + {standard input}: Error: Missing symbol name in directive:  => 1096
  + {standard input}: Error: unknown opcode:  => 1091
  + {standard input}: Error: unknown pseudo-op: `.glo':  => 1097
  + {standard input}: Error: unrecognized symbol type "":  => 1096

4 error improvements:
  - /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c: error: the frame size of 2208 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]: 7179:1 => 
  - /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn314/display_mode_vba_314.c: error: the frame size of 2208 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]: 7224:1 => 
  - /kisskb/src/drivers/net/wireless/cisco/airo.c: error: 'status_rid.currentXmitRate' is used uninitialized [-Werror=uninitialized]: 6163:45 => 
  - {standard input}: Error: unknown pseudo-op: `.': 1118 => 


*** WARNINGS ***

43 warning regressions:
  + .config: warning: override: ARCH_RV32I changes choice state: 4833 => 4970, 4974
  + .config: warning: override: reassigning to symbol DEBUG_INFO_BTF: 3677 => 3688, 3681
  + /kisskb/src/drivers/base/regmap/regcache-maple.c: warning: 'lower_index' is used uninitialized [-Wuninitialized]:  => 113:23
  + /kisskb/src/drivers/base/regmap/regcache-maple.c: warning: 'lower_last' is used uninitialized [-Wuninitialized]:  => 113:36
  + /kisskb/src/fs/ext4/readpage.c: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=]:  => 400:1
  + /kisskb/src/fs/ext4/readpage.c: warning: the frame size of 1124 bytes is larger than 1024 bytes [-Wframe-larger-than=]:  => 400:1
  + /kisskb/src/fs/mpage.c: warning: the frame size of 1148 bytes is larger than 1024 bytes [-Wframe-larger-than=]:  => 657:1
  + modpost: WARNING: modpost: "__ashrdi3" [drivers/mtd/nand/onenand/onenand.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [drivers/char/hw_random/st-rng.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [drivers/gpio/gpio-aggregator.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [drivers/iio/pressure/mprls0025pa.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [drivers/net/phy/microchip_t1s.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [drivers/net/wireless/realtek/rtw89/rtw89_8851b.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [drivers/phy/qualcomm/phy-qcom-sgmii-eth.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [drivers/pinctrl/qcom/pinctrl-msm.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [drivers/pwm/pwm-microchip-core.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [drivers/soc/qcom/qcom_ice.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [drivers/spi/spi-rzv2m-csi.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: "__udelay" [sound/soc/loongson/snd-soc-loongson-i2s-pci.ko] has no CRC!:  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_ext_maps+0x14 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_ext_maps+0x30 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_ext_maps+0x4c (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_ext_maps+0x68 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_ext_maps+0x84 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_ext_maps+0xa0 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_ext_maps+0xbc (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_ext_maps+0xd8 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_legacy_maps+0x14 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_legacy_maps+0x30 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_legacy_maps+0x4c (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_legacy_maps+0x68 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_legacy_maps+0x84 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_legacy_maps+0xa0 (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed: section mismatch in reference: qed_mfw_legacy_maps+0xbc (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede: section mismatch in reference: qede_forced_speed_maps+0x14 (section: .data) -> qede_forced_speed_100000 (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede: section mismatch in reference: qede_forced_speed_maps+0x30 (section: .data) -> qede_forced_speed_100000 (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede: section mismatch in reference: qede_forced_speed_maps+0x4c (section: .data) -> qede_forced_speed_100000 (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede: section mismatch in reference: qede_forced_speed_maps+0x68 (section: .data) -> qede_forced_speed_100000 (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede: section mismatch in reference: qede_forced_speed_maps+0x84 (section: .data) -> qede_forced_speed_100000 (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede: section mismatch in reference: qede_forced_speed_maps+0xa0 (section: .data) -> qede_forced_speed_100000 (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede: section mismatch in reference: qede_forced_speed_maps+0xbc (section: .data) -> qede_forced_speed_100000 (section: .init.rodata):  => N/A
  + modpost: WARNING: modpost: vmlinux: section mismatch in reference: __trace_event_discard_commit+0x184 (section: .text.unlikely) -> initcall_level_names (section: .init.data):  => N/A
  + modpost: WARNING: modpost: vmlinux: section mismatch in reference: __trace_event_discard_commit+0xe0 (section: .text.unlikely) -> initcall_level_names (section: .init.data):  => N/A

19 warning improvements:
  - .config: warning: override: reassigning to symbol MIPS_CPS_NS16550_SHIFT: 14423, 14424, 14416 => 14496, 14504
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/adl_pci9118.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/amplc_pci230.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/cb_das16_cs.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/cb_pcidas.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/das800.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/mpc624.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/ni_atmio.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/ni_labpc_common.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/pcl812.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/pcl816.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/pcl818.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/comedi/drivers/rti800.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "__udelay" [drivers/net/ethernet/stmicro/stmmac/dwmac-altr-socfpga.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: "empty_zero_page" [drivers/md/dm-flakey.ko] has no CRC!: N/A => 
  - modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o: section mismatch in reference: qed_mfw_ext_maps (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata): N/A => 
  - modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o: section mismatch in reference: qed_mfw_legacy_maps (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata): N/A => 
  - modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede.o: section mismatch in reference: qede_forced_speed_maps (section: .data) -> qede_forced_speed_100000 (section: .init.rodata): N/A => 
  - modpost: WARNING: modpost: vmlinux.o: section mismatch in reference: __trace_event_discard_commit (section: .text.unlikely) -> initcall_level_names (section: .init.data): N/A => 

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build regressions/improvements in v6.5-rc3
  2023-07-24 12:26 ` Build regressions/improvements in v6.5-rc3 Geert Uytterhoeven
@ 2023-07-24 12:43   ` Geert Uytterhoeven
  2023-07-28 22:57     ` Kees Cook
  0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2023-07-24 12:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: Kees Cook, Gustavo A. R. Silva, linux-hardening, linux-wireless,
	linux-mips, linux-mtd, linux-parisc, linux-sh

On Mon, 24 Jul 2023, Geert Uytterhoeven wrote:
> JFYI, when comparing v6.5-rc3[1] to v6.5-rc2[3], the summaries are:
>  - build errors: +5/-0

   + /kisskb/src/include/linux/fortify-string.h: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]:  => 583:25, 493:25

mips-gcc13/mips-allmodconfig

Full context:

     In function 'fortify_memset_chk',
 	inlined from 'memset_io' at /kisskb/src/arch/mips/include/asm/io.h:486:2,
 	inlined from 'build_auth_frame' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:2697:2:
     /kisskb/src/include/linux/fortify-string.h:493:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
       493 |                         __write_overflow_field(p_size_field, size);
 	  |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     In function 'fortify_memcpy_chk',
 	inlined from 'memcpy_toio' at /kisskb/src/arch/mips/include/asm/io.h:494:2,
 	inlined from 'translate_frame' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:955:3,
 	inlined from 'ray_hw_xmit.constprop' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:912:12:
     /kisskb/src/include/linux/fortify-string.h:583:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
       583 |                         __write_overflow_field(p_size_field, size);
 	  |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Single-element flexible array abuse in drivers/net/wireless/legacy/rayctl.h:tx_msg.var

   + error: modpost: ".L856" [drivers/mtd/nand/raw/nand.ko] undefined!:  => N/A

parisc-gcc13/parisc-allmodconfig

   + {standard input}: Error: Missing symbol name in directive:  => 1096
   + {standard input}: Error: unrecognized symbol type "":  => 1096

sh4-gcc12/sh-allmodconfig (ICE)

   + {standard input}: Error: unknown opcode:  => 1091

sh4-gcc13/sh-allmodconfig (ICE)

> [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/6eaae198076080886b9e7d57f4ae06fa782f90ef/ (all 235 configs)
> [3] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/fdf0eaf11452d72945af31804e2a1048ee1b574c/ (161 out of 235 configs)

Gr{oetje,eeting}s,

 						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
 							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build regressions/improvements in v6.5-rc3
  2023-07-24 12:43   ` Geert Uytterhoeven
@ 2023-07-28 22:57     ` Kees Cook
  2023-08-14 16:20       ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Kees Cook @ 2023-07-28 22:57 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: linux-kernel, Gustavo A. R. Silva, linux-hardening,
	linux-wireless, linux-mips, linux-mtd, linux-parisc, linux-sh

On Mon, Jul 24, 2023 at 02:43:02PM +0200, Geert Uytterhoeven wrote:
> On Mon, 24 Jul 2023, Geert Uytterhoeven wrote:
> > JFYI, when comparing v6.5-rc3[1] to v6.5-rc2[3], the summaries are:
> >  - build errors: +5/-0
> 
>   + /kisskb/src/include/linux/fortify-string.h: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]:  => 583:25, 493:25
> 
> mips-gcc13/mips-allmodconfig
> 
> Full context:
> 
>     In function 'fortify_memset_chk',
> 	inlined from 'memset_io' at /kisskb/src/arch/mips/include/asm/io.h:486:2,
> 	inlined from 'build_auth_frame' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:2697:2:
>     /kisskb/src/include/linux/fortify-string.h:493:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
>       493 |                         __write_overflow_field(p_size_field, size);
> 	  |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     In function 'fortify_memcpy_chk',
> 	inlined from 'memcpy_toio' at /kisskb/src/arch/mips/include/asm/io.h:494:2,
> 	inlined from 'translate_frame' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:955:3,
> 	inlined from 'ray_hw_xmit.constprop' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:912:12:
>     /kisskb/src/include/linux/fortify-string.h:583:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
>       583 |                         __write_overflow_field(p_size_field, size);
> 	  |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Single-element flexible array abuse in drivers/net/wireless/legacy/rayctl.h:tx_msg.var

^^^^
is this line from you or is there a tool outputting this? Because, yes,
very true:

struct tx_msg {
    struct tib_structure tib;
    struct phy_header phy;
    struct mac_header mac;
    UCHAR  var[1];
};

I'll send a patch.

-- 
Kees Cook

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build regressions/improvements in v6.5-rc3
  2023-07-28 22:57     ` Kees Cook
@ 2023-08-14 16:20       ` Geert Uytterhoeven
  2023-08-14 19:00         ` Kees Cook
  0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2023-08-14 16:20 UTC (permalink / raw)
  To: Kees Cook
  Cc: linux-kernel, Gustavo A. R. Silva, linux-hardening,
	linux-wireless, linux-mips, linux-mtd, linux-parisc, linux-sh

Hi Kees,

On Sat, Jul 29, 2023 at 12:57 AM Kees Cook <keescook@chromium.org> wrote:
> On Mon, Jul 24, 2023 at 02:43:02PM +0200, Geert Uytterhoeven wrote:
> > On Mon, 24 Jul 2023, Geert Uytterhoeven wrote:
> > > JFYI, when comparing v6.5-rc3[1] to v6.5-rc2[3], the summaries are:
> > >  - build errors: +5/-0
> >
> >   + /kisskb/src/include/linux/fortify-string.h: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]:  => 583:25, 493:25
> >
> > mips-gcc13/mips-allmodconfig
> >
> > Full context:
> >
> >     In function 'fortify_memset_chk',
> >       inlined from 'memset_io' at /kisskb/src/arch/mips/include/asm/io.h:486:2,
> >       inlined from 'build_auth_frame' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:2697:2:
> >     /kisskb/src/include/linux/fortify-string.h:493:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
> >       493 |                         __write_overflow_field(p_size_field, size);
> >         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     In function 'fortify_memcpy_chk',
> >       inlined from 'memcpy_toio' at /kisskb/src/arch/mips/include/asm/io.h:494:2,
> >       inlined from 'translate_frame' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:955:3,
> >       inlined from 'ray_hw_xmit.constprop' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:912:12:
> >     /kisskb/src/include/linux/fortify-string.h:583:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
> >       583 |                         __write_overflow_field(p_size_field, size);
> >         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > Single-element flexible array abuse in drivers/net/wireless/legacy/rayctl.h:tx_msg.var
>
> ^^^^
> is this line from you or is there a tool outputting this? Because, yes,

It is a line from me.

(should I take it as a compliment that I start sounding like a tool? ;-)

> very true:
>
> struct tx_msg {
>     struct tib_structure tib;
>     struct phy_header phy;
>     struct mac_header mac;
>     UCHAR  var[1];
> };
>
> I'll send a patch.

Thanks, I noticed you took care while I was enjoying summer holidays ;-)

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build regressions/improvements in v6.5-rc3
  2023-08-14 16:20       ` Geert Uytterhoeven
@ 2023-08-14 19:00         ` Kees Cook
  0 siblings, 0 replies; 6+ messages in thread
From: Kees Cook @ 2023-08-14 19:00 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: linux-kernel, Gustavo A. R. Silva, linux-hardening,
	linux-wireless, linux-mips, linux-mtd, linux-parisc, linux-sh

On Mon, Aug 14, 2023 at 06:20:59PM +0200, Geert Uytterhoeven wrote:
> Hi Kees,
> 
> On Sat, Jul 29, 2023 at 12:57 AM Kees Cook <keescook@chromium.org> wrote:
> > On Mon, Jul 24, 2023 at 02:43:02PM +0200, Geert Uytterhoeven wrote:
> > > On Mon, 24 Jul 2023, Geert Uytterhoeven wrote:
> > > > JFYI, when comparing v6.5-rc3[1] to v6.5-rc2[3], the summaries are:
> > > >  - build errors: +5/-0
> > >
> > >   + /kisskb/src/include/linux/fortify-string.h: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]:  => 583:25, 493:25
> > >
> > > mips-gcc13/mips-allmodconfig
> > >
> > > Full context:
> > >
> > >     In function 'fortify_memset_chk',
> > >       inlined from 'memset_io' at /kisskb/src/arch/mips/include/asm/io.h:486:2,
> > >       inlined from 'build_auth_frame' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:2697:2:
> > >     /kisskb/src/include/linux/fortify-string.h:493:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
> > >       493 |                         __write_overflow_field(p_size_field, size);
> > >         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > >     In function 'fortify_memcpy_chk',
> > >       inlined from 'memcpy_toio' at /kisskb/src/arch/mips/include/asm/io.h:494:2,
> > >       inlined from 'translate_frame' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:955:3,
> > >       inlined from 'ray_hw_xmit.constprop' at /kisskb/src/drivers/net/wireless/legacy/ray_cs.c:912:12:
> > >     /kisskb/src/include/linux/fortify-string.h:583:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
> > >       583 |                         __write_overflow_field(p_size_field, size);
> > >         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > >
> > > Single-element flexible array abuse in drivers/net/wireless/legacy/rayctl.h:tx_msg.var
> >
> > ^^^^
> > is this line from you or is there a tool outputting this? Because, yes,
> 
> It is a line from me.
> 
> (should I take it as a compliment that I start sounding like a tool? ;-)

Heh. It was so declaratory. :) I think I was hoping there was some
analyzer that could save us the pain of manually examining these
warnings.

> 
> > very true:
> >
> > struct tx_msg {
> >     struct tib_structure tib;
> >     struct phy_header phy;
> >     struct mac_header mac;
> >     UCHAR  var[1];
> > };
> >
> > I'll send a patch.
> 
> Thanks, I noticed you took care while I was enjoying summer holidays ;-)

Awesome! Thanks for the report. :)

-- 
Kees Cook

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-14 19:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-23 22:37 Linux 6.5-rc3 Linus Torvalds
2023-07-24 12:26 ` Build regressions/improvements in v6.5-rc3 Geert Uytterhoeven
2023-07-24 12:43   ` Geert Uytterhoeven
2023-07-28 22:57     ` Kees Cook
2023-08-14 16:20       ` Geert Uytterhoeven
2023-08-14 19:00         ` Kees Cook

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).