Noble update: upstream stable patchset 2024-07-25

Bug #2074091 reported by Portia Stephens
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
Noble
Fix Committed
Medium
Portia Stephens

Bug Description

    SRU Justification

    Impact:
       The upstream process for stable tree updates is quite similar
       in scope to the Ubuntu SRU process, e.g., each patch has to
       demonstrably fix a bug, and each patch is vetted by upstream
       by originating either directly from a mainline/stable Linux tree or
       a minimally backported form of that patch. The following upstream
       stable patches should be included in the Ubuntu kernel:

       upstream stable patchset 2024-07-25

                Ported from the following upstream stable releases:
                        v6.6.35, v6.9.6

       from git://git.kernel.org/

wifi: mac80211: mesh: Fix leak of mesh_preq_queue objects
wifi: mac80211: Fix deadlock in ieee80211_sta_ps_deliver_wakeup()
wifi: cfg80211: fully move wiphy work to unbound workqueue
wifi: cfg80211: Lock wiphy in cfg80211_get_station
wifi: cfg80211: pmsr: use correct nla_get_uX functions
wifi: iwlwifi: mvm: don't initialize csa_work twice
wifi: iwlwifi: mvm: revert gen2 TX A-MPDU size to 64
wifi: iwlwifi: mvm: set properly mac header
wifi: iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef
wifi: iwlwifi: mvm: check n_ssids before accessing the ssids
wifi: iwlwifi: mvm: don't read past the mfuart notifcation
wifi: mac80211: correctly parse Spatial Reuse Parameter Set element
scsi: ufs: mcq: Fix error output and clean up ufshcd_mcq_abort()
RISC-V: KVM: No need to use mask when hart-index-bit is 0
RISC-V: KVM: Fix incorrect reg_subtype labels in kvm_riscv_vcpu_set_reg_isa_ext function
ax25: Fix refcount imbalance on inbound connections
ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put()
net/ncsi: Fix the multi thread manner of NCSI driver
net: phy: micrel: fix KSZ9477 PHY issues after suspend/resume
bpf: Fix a potential use-after-free in bpf_link_free()
KVM: SEV-ES: Disallow SEV-ES guests when X86_FEATURE_LBRV is absent
KVM: SEV-ES: Delegate LBR virtualization to the processor
vmxnet3: disable rx data ring on dma allocation failure
ipv6: ioam: block BH from ioam6_output()
ipv6: sr: block BH in seg6_output_core() and seg6_input_core()
net: tls: fix marking packets as decrypted
bpf: Set run context for rawtp test_run callback
octeontx2-af: Always allocate PF entries from low prioriy zone
net/smc: avoid overwriting when adjusting sock bufsizes
net: phy: Micrel KSZ8061: fix errata solution not taking effect problem
net: sched: sch_multiq: fix possible OOB write in multiq_tune()
vxlan: Fix regression when dropping packets due to invalid src addresses
tcp: count CLOSE-WAIT sockets for TCP_MIB_CURRESTAB
mptcp: count CLOSE-WAIT sockets for MPTCP_MIB_CURRESTAB
net/mlx5: Stop waiting for PCI if pci channel is offline
net/mlx5: Always stop health timer during driver removal
net/mlx5: Fix tainted pointer delete is case of flow rules creation fail
net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP
ptp: Fix error message on failed pin verification
ice: fix iteration of TLVs in Preserved Fields Area
ice: remove af_xdp_zc_qps bitmap
ice: add flag to distinguish reset from .ndo_bpf in XDP rings config
net: wwan: iosm: Fix tainted pointer delete is case of region creation fail
af_unix: Set sk->sk_state under unix_state_lock() for truly disconencted peer.
af_unix: Annodate data-races around sk->sk_state for writers.
af_unix: Annotate data-race of sk->sk_state in unix_inq_len().
af_unix: Annotate data-races around sk->sk_state in unix_write_space() and poll().
af_unix: Annotate data-race of sk->sk_state in unix_stream_connect().
af_unix: Annotate data-races around sk->sk_state in sendmsg() and recvmsg().
af_unix: Annotate data-race of sk->sk_state in unix_stream_read_skb().
af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG.
af_unix: Annotate data-races around sk->sk_sndbuf.
af_unix: Annotate data-race of net->unx.sysctl_max_dgram_qlen.
af_unix: Use unix_recvq_full_lockless() in unix_stream_connect().
af_unix: Use skb_queue_empty_lockless() in unix_release_sock().
af_unix: Use skb_queue_len_lockless() in sk_diag_show_rqlen().
af_unix: Annotate data-race of sk->sk_shutdown in sk_diag_fill().
ipv6: fix possible race in __fib6_drop_pcpu_from()
net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
selftests/mm: log a consistent test name for check_compaction
irqchip/riscv-intc: Allow large non-standard interrupt number
irqchip/riscv-intc: Introduce Andes hart-level interrupt controller
eventfs: Update all the eventfs_inodes from the events descriptor
io_uring/rsrc: don't lock while !TASK_RUNNING
io_uring: check for non-NULL file pointer in io_file_can_poll()
USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages
USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected
usb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps
usb: typec: tcpm: Ignore received Hard Reset in TOGGLING state
mei: me: release irq in mei_me_pci_resume error path
tty: n_tty: Fix buffer offsets when lookahead is used
serial: port: Don't block system suspend even if bytes are left to xmit
landlock: Fix d_parent walk
jfs: xattr: fix buffer overflow for invalid xattr
xhci: Set correct transferred length for cancelled bulk transfers
xhci: Apply reset resume quirk to Etron EJ188 xHCI host
xhci: Handle TD clearing for multiple streams case
xhci: Apply broken streams quirk to Etron EJ188 xHCI host
thunderbolt: debugfs: Fix margin debugfs node creation condition
scsi: core: Disable CDL by default
scsi: mpi3mr: Fix ATA NCQ priority support
scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory
scsi: sd: Use READ(16) when reading block zero on large capacity disks
gve: Clear napi->skb before dev_kfree_skb_any()
powerpc/uaccess: Fix build errors seen with GCC 13/14
HID: nvidia-shield: Add missing check for input_ff_create_memless
cxl/test: Add missing vmalloc.h for tools/testing/cxl/test/mem.c
cxl/region: Fix memregion leaks in devm_cxl_add_region()
cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd
cachefiles: remove requests from xarray during flushing requests
cachefiles: add spin_lock for cachefiles_ondemand_info
cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()
cachefiles: fix slab-use-after-free in cachefiles_ondemand_daemon_read()
cachefiles: remove err_put_fd label in cachefiles_ondemand_daemon_read()
cachefiles: never get a new anonymous fd if ondemand_id is valid
cachefiles: defer exposing anon_fd until after copy_to_user() succeeds
cachefiles: flush all requests after setting CACHEFILES_DEAD
selftests/ftrace: Fix to check required event file
clk: sifive: Do not register clkdevs for PRCI clocks
NFSv4.1 enforce rootpath check in fs_location query
SUNRPC: return proper error from gss_wrap_req_priv
NFS: add barriers when testing for NFS_FSDATA_BLOCKED
selftests/tracing: Fix event filter test to retry up to 10 times
nvme: fix nvme_pr_* status code parsing
drm/panel: sitronix-st7789v: Add check for of_drm_get_panel_orientation
platform/x86: dell-smbios: Fix wrong token data in sysfs
gpio: tqmx86: fix typo in Kconfig label
gpio: tqmx86: introduce shadow register for GPIO output value
gpio: tqmx86: store IRQ trigger type and unmask status separately
gpio: tqmx86: fix broken IRQ_TYPE_EDGE_BOTH interrupt type
HID: core: remove unnecessary WARN_ON() in implement()
iommu/amd: Fix sysfs leak in iommu init
iommu: Return right value in iommu_sva_bind_device()
io_uring/io-wq: Use set_bit() and test_bit() at worker->flags
io_uring/io-wq: avoid garbage value of 'match' in io_wq_enqueue()
HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode()
drm/vmwgfx: Refactor drm connector probing for display modes
drm/vmwgfx: Filter modes which exceed graphics memory
drm/vmwgfx: 3D disabled should not effect STDU memory limits
drm/vmwgfx: Remove STDU logic from generic mode_valid function
drm/vmwgfx: Don't memcmp equivalent pointers
af_unix: Annotate data-race of sk->sk_state in unix_accept().
modpost: do not warn about missing MODULE_DESCRIPTION() for vmlinux.o
net: sfp: Always call `sfp_sm_mod_remove()` on remove
net: hns3: fix kernel crash problem in concurrent scenario
net: hns3: add cond_resched() to hns3 ring buffer init process
liquidio: Adjust a NULL pointer handling path in lio_vf_rep_copy_packet
net: stmmac: dwmac-qcom-ethqos: Configure host DMA width
drm/komeda: check for error-valued pointer
drm/bridge/panel: Fix runtime warning on panel bridge release
tcp: fix race in tcp_v6_syn_recv_sock()
net dsa: qca8k: fix usages of device_get_named_child_node()
geneve: Fix incorrect inner network header offset when innerprotoinherit is set
net/mlx5e: Fix features validation check for tunneled UDP (non-VXLAN) packets
Bluetooth: L2CAP: Fix rejecting L2CAP_CONN_PARAM_UPDATE_REQ
Bluetooth: fix connection setup in l2cap_connect
netfilter: nft_inner: validate mandatory meta and payload
netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type
x86/asm: Use %c/%n instead of %P operand modifier in asm templates
x86/uaccess: Fix missed zeroing of ia32 u64 get_user() range checking
scsi: ufs: core: Quiesce request queues before checking pending cmds
net: pse-pd: Use EOPNOTSUPP error code instead of ENOTSUPP
gve: ignore nonrelevant GSO type bits when processing TSO headers
net: stmmac: replace priv->speed with the portTransmitRate from the tc-cbs parameters
block: sed-opal: avoid possible wrong address reference in read_sed_opal_key()
block: fix request.queuelist usage in flush
nvmet-passthru: propagate status from id override functions
net/ipv6: Fix the RT cache flush via sysctl using a previous delay
net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state
net: bridge: mst: fix suspicious rcu usage in br_mst_set_state
ionic: fix use after netif_napi_del()
af_unix: Read with MSG_PEEK loops if the first unread byte is OOB
bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send()
misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe()
ksmbd: move leading slash check to smb2_get_name()
ksmbd: fix missing use of get_write in in smb2_set_ea()
x86/boot: Don't add the EFI stub to targets, again
iio: adc: ad9467: fix scan type sign
iio: dac: ad5592r: fix temperature channel scaling value
iio: invensense: fix odr switching to same value
iio: imu: inv_icm42600: delete unneeded update watermark call
drivers: core: synchronize really_probe() and dev_uevent()
parisc: Try to fix random segmentation faults in package builds
ACPI: x86: Force StorageD3Enable on more products
drm/exynos/vidi: fix memory leak in .get_modes()
drm/exynos: hdmi: report safe 640x480 mode as a fallback when no EDID found
mptcp: ensure snd_una is properly initialized on connect
mptcp: pm: inc RmAddr MIB counter once per RM_ADDR ID
mptcp: pm: update add_addr counters after connect
clkdev: Update clkdev id usage to allow for longer names
irqchip/gic-v3-its: Fix potential race condition in its_vlpi_prop_update()
x86/kexec: Fix bug with call depth tracking
x86/amd_nb: Check for invalid SMN reads
perf/core: Fix missing wakeup when waiting for context reference
perf auxtrace: Fix multiple use of --itrace option
riscv: fix overlap of allocated page and PTR_ERR
tracing/selftests: Fix kprobe event name test for .isra. functions
kheaders: explicitly define file modes for archived headers
null_blk: Print correct max open zones limit in null_init_zoned_dev()
sock_map: avoid race between sock_map_close and sk_psock_put
dma-buf: handle testing kthreads creation failure
vmci: prevent speculation leaks by sanitizing event in event_deliver()
spmi: hisi-spmi-controller: Do not override device identifier
knfsd: LOOKUP can return an illegal error value
fs/proc: fix softlockup in __read_vmcore
ocfs2: use coarse time for new created files
ocfs2: fix races between hole punching and AIO+DIO
PCI: rockchip-ep: Remove wrong mask on subsys_vendor_id
dmaengine: axi-dmac: fix possible race in remove()
remoteproc: k3-r5: Wait for core0 power-up before powering up core1
remoteproc: k3-r5: Do not allow core1 to power up before core0 via sysfs
iio: adc: axi-adc: make sure AXI clock is enabled
iio: invensense: fix interrupt timestamp alignment
riscv: rewrite __kernel_map_pages() to fix sleeping in invalid context
rtla/timerlat: Simplify "no value" printing on top
rtla/auto-analysis: Replace \t with spaces
drm/i915/gt: Disarm breadcrumbs if engines are already idle
drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)
drm/i915/dpt: Make DPT object unshrinkable
drm/i915: Fix audio component initialization
intel_th: pci: Add Granite Rapids support
intel_th: pci: Add Granite Rapids SOC support
intel_th: pci: Add Sapphire Rapids SOC support
intel_th: pci: Add Meteor Lake-S support
intel_th: pci: Add Lunar Lake support
pmdomain: ti-sci: Fix duplicate PD referrals
btrfs: zoned: fix use-after-free due to race with dev replace
xfs: fix imprecise logic in xchk_btree_check_block_owner
xfs: fix scrub stats file permissions
xfs: fix SEEK_HOLE/DATA for regions with active COW extents
xfs: shrink failure needs to hold AGI buffer
xfs: ensure submit buffers on LSN boundaries in error handlers
xfs: allow sunit mount option to repair bad primary sb stripe values
xfs: don't use current->journal_info
xfs: allow cross-linking special files without project quota
swiotlb: Enforce page alignment in swiotlb_alloc()
swiotlb: Reinstate page-alignment for mappings >= PAGE_SIZE
swiotlb: extend buffer pre-padding to alloc_align_mask if necessary
tick/nohz_full: Don't abuse smp_call_function_single() in tick_setup_device()
mm/huge_memory: don't unpoison huge_zero_folio
serial: 8250_pxa: Configure tx_loadsz to match FIFO IRQ level
Revert "fork: defer linking file vma until vma is fully initialized"
remoteproc: k3-r5: Jump to error handling labels in start/stop errors
greybus: Fix use-after-free bug in gb_interface_release due to race condition.
ima: Fix use-after-free on a dentry's dname.name
serial: core: Add UPIO_UNKNOWN constant for unknown port type
serial: port: Introduce a common helper to read properties
serial: 8250_dw: Switch to use uart_read_port_properties()
serial: 8250_dw: Replace ACPI device check by a quirk
serial: 8250_dw: Don't use struct dw8250_data outside of 8250_dw
usb-storage: alauda: Check whether the media is initialized
misc: microchip: pci1xxxx: Fix a memory leak in the error handling of gp_aux_bus_probe()
i2c: at91: Fix the functionality flags of the slave-only interface
i2c: designware: Fix the functionality flags of the slave-only interface
zap_pid_ns_processes: clear TIF_NOTIFY_SIGNAL along with TIF_SIGPENDING
wifi: ath11k: fix WCN6750 firmware crash caused by 17 num_vdevs
cpufreq: amd-pstate: Unify computation of {max,min,nominal,lowest_nonlinear}_freq
cpufreq: amd-pstate: Add quirk for the pstate CPPC capabilities missing
cpufreq: amd-pstate: remove global header file
virtio_net: fix possible dim status unrecoverable
net: ethernet: mtk_eth_soc: handle dma buffer size soc specific
ice: fix reads from NVM Shadow RAM on E830 and E825-C devices
ice: map XDP queues to vectors in ice_vsi_map_rings_to_vectors()
x86/cpu: Get rid of an unnecessary local variable in get_cpu_address_sizes()
x86/cpu: Provide default cache line size if not enumerated
selftests/mm: ksft_exit functions do not return
selftests/mm: compaction_test: fix bogus test success and reduce probability of OOM-killer invocation
.editorconfig: remove trim_trailing_whitespace option
kcov, usb: disable interrupts in kcov_remote_start_usb_softirq
ata: libata-scsi: Set the RMB bit only for removable media devices
powerpc/85xx: fix compile error without CONFIG_CRASH_DUMP
kselftest/alsa: Ensure _GNU_SOURCE is defined
thermal: core: Do not fail cdev registration because of invalid initial state
Bluetooth: hci_sync: Fix not using correct handle
net/sched: initialize noop_qdisc owner
tcp: use signed arithmetic in tcp_rtx_probe0_timed_out()
drm/nouveau: don't attempt to schedule hpd_work on headless cards
drm/xe/xe_gt_idle: use GT forcewake domain assertion
drm/xe: flush engine buffers before signalling user fence on all engines
drm/xe: Remove mem_access from guc_pc calls
drm/xe: move disable_c6 call
bnxt_en: Cap the size of HWRM_PORT_PHY_QCFG forwarded response
iio: imu: bmi323: Fix trigger notification in case of error
iio: pressure: bmp280: Fix BMP580 temperature reading
iio: temperature: mlx90635: Fix ERR_PTR dereference in mlx90635_probe()
thermal: ACPI: Invalidate trip points with temperature of 0 or below
x86/mm/numa: Use NUMA_NO_NODE when calling memblock_set_node()
memblock: make memblock_set_node() also warn about use of MAX_NUMNODES
perf script: Show also errors for --insn-trace option
wifi: cfg80211: validate HE operation element parsing
wifi: rtlwifi: Ignore IEEE80211_CONF_CHANGE_RETRY_LIMITS
locking/atomic: scripts: fix ${atomic}_sub_and_test() kerneldoc
ata: ahci: Do not apply Intel PCS quirk on Intel Alder Lake
ata: libata-core: Add ATA_HORKAGE_NOLPM for Apacer AS340
ata: libata-core: Add ATA_HORKAGE_NOLPM for Crucial CT240BX500SSD1
ata: libata-core: Add ATA_HORKAGE_NOLPM for AMD Radeon S3 SSD
kexec: fix the unexpected kexec_dprintk() macro
ocfs2: update inode fsync transaction id in ocfs2_unlink and ocfs2_link
dm-integrity: set discard_granularity to logical block size
drm/bridge: aux-hpd-bridge: correct devm_drm_dp_hpd_bridge_add() stub
iio: temperature: mcp9600: Fix temperature reading for negative values
drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2
riscv: force PAGE_SIZE linear mapping if debug_pagealloc is enabled
drm/xe: Properly handle alloc_guc_id() failure
wifi: iwlwifi: mvm: support iwl_dev_tx_power_cmd_v8
wifi: iwlwifi: mvm: fix a crash on 7265
mei: vsc: Fix wrong invocation of ACPI SID method
UBUNTU: Upstream stable to v6.6.35, v6.9.6

Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: kernel-stable-tracking-bug
Changed in linux (Ubuntu):
status: Confirmed → Invalid
Changed in linux (Ubuntu Noble):
assignee: nobody → Portia Stephens (portias)
importance: Undecided → Medium
status: New → In Progress
description: updated
Changed in linux (Ubuntu Noble):
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.