1. 15 Sep, 2024 16 commits
  2. 14 Sep, 2024 4 commits
  3. 13 Sep, 2024 11 commits
  4. 12 Sep, 2024 9 commits
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 196145c6
      Linus Torvalds authored
      Pull clk fix from Stephen Boyd:
       "One build fix for 32-bit arches using the Qualcomm PLL driver. It's
        cheaper to use a comparison here instead of a division so we just do
        that to fix the build"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: qcom: clk-alpha-pll: Simplify the zonda_pll_adjust_l_val()
      196145c6
    • Linus Torvalds's avatar
      Merge tag 'block-6.11-20240912' of git://git.kernel.dk/linux · b8e7cd09
      Linus Torvalds authored
      Pull block fix from Jens Axboe:
       "Just a single fix for a deadlock issue that can happen if someone
        attempts to change the root disk IO scheduler with a module that
        requires loading from disk.
      
        Changing the scheduler freezes the queue while that operation is
        happening, hence causing a deadlock"
      
      * tag 'block-6.11-20240912' of git://git.kernel.dk/linux:
        block: Prevent deadlocks when switching elevators
      b8e7cd09
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v6.11-rc8' of... · fdf042df
      Linus Torvalds authored
      Merge tag 'hwmon-for-v6.11-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon fix from Guenter Roeck:
      
       - Fix clearing status register bits for chips supporting older
         PMBus versions
      
      * tag 'hwmon-for-v6.11-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (pmbus) Conditionally clear individual status bits for pmbus rev >= 1.2
      fdf042df
    • Linus Torvalds's avatar
      Merge tag 'wq-for-6.11-rc7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq · 5da02886
      Linus Torvalds authored
      Pull workqueue fix from Tejun Heo:
       "A fix for a NULL worker->pool deref bug which can be triggered when a
        worker is created and then destroyed immediately"
      
      * tag 'wq-for-6.11-rc7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
        workqueue: Clear worker->pool in the worker thread context
      5da02886
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.11-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 8581ae1e
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - Two fixes for smp_processor_id() calls in preemptible sections: one
         if the perf driver, and one in the fence.i prctl.
      
      * tag 'riscv-for-linus-6.11-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Disable preemption while handling PR_RISCV_CTX_SW_FENCEI_OFF
        drivers: perf: Fix smp_processor_id() use in preemptible code
      8581ae1e
    • Linus Torvalds's avatar
      Merge tag 'net-6.11-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 5abfdfd4
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from netfilter.
      
        There is a recently notified BT regression with no fix yet. I do not
        think a fix will land in the next week.
      
        Current release - regressions:
      
         - core: tighten bad gso csum offset check in virtio_net_hdr
      
         - netfilter: move nf flowtable bpf initialization in
           nf_flow_table_module_init()
      
         - eth: ice: stop calling pci_disable_device() as we use pcim
      
         - eth: fou: fix null-ptr-deref in GRO.
      
        Current release - new code bugs:
      
         - hsr: prevent NULL pointer dereference in hsr_proxy_announce()
      
        Previous releases - regressions:
      
         - hsr: remove seqnr_lock
      
         - netfilter: nft_socket: fix sk refcount leaks
      
         - mptcp: pm: fix uaf in __timer_delete_sync
      
         - phy: dp83822: fix NULL pointer dereference on DP83825 devices
      
         - eth: revert "virtio_net: rx enable premapped mode by default"
      
         - eth: octeontx2-af: Modify SMQ flush sequence to drop packets
      
        Previous releases - always broken:
      
         - eth: mlx5: fix bridge mode operations when there are no VFs
      
         - eth: igb: Always call igb_xdp_ring_update_tail() under Tx lock"
      
      * tag 'net-6.11-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (36 commits)
        net: netfilter: move nf flowtable bpf initialization in nf_flow_table_module_init()
        net: tighten bad gso csum offset check in virtio_net_hdr
        netlink: specs: mptcp: fix port endianness
        net: dpaa: Pad packets to ETH_ZLEN
        mptcp: pm: Fix uaf in __timer_delete_sync
        net: libwx: fix number of Rx and Tx descriptors
        net: dsa: felix: ignore pending status of TAS module when it's disabled
        net: hsr: prevent NULL pointer dereference in hsr_proxy_announce()
        selftests: mptcp: include net_helper.sh file
        selftests: mptcp: include lib.sh file
        selftests: mptcp: join: restrict fullmesh endp on 1st sf
        netfilter: nft_socket: make cgroupsv2 matching work with namespaces
        netfilter: nft_socket: fix sk refcount leaks
        MAINTAINERS: Add ethtool pse-pd to PSE NETWORK DRIVER
        dt-bindings: net: tja11xx: fix the broken binding
        selftests: net: csum: Fix checksums for packets with non-zero padding
        net: phy: dp83822: Fix NULL pointer dereference on DP83825 devices
        virtio_net: disable premapped mode by default
        Revert "virtio_net: big mode skip the unmap check"
        Revert "virtio_net: rx remove premapped failover code"
        ...
      5abfdfd4
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v6.11-7' of... · 42c5b519
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v6.11-7' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform driver fixes from Ilpo Järvinen:
      
       - asus-wmi: Disable OOBE that interferes with backlight control
      
       - panasonic-laptop: Two fixes to SINF array handling
      
      * tag 'platform-drivers-x86-v6.11-7' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
        platform/x86: asus-wmi: Disable OOBE experience on Zenbook S 16
        platform/x86: panasonic-laptop: Allocate 1 entry extra in the sinf array
        platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
      42c5b519
    • Linus Torvalds's avatar
      mm: avoid leaving partial pfn mappings around in error case · 79a61cc3
      Linus Torvalds authored
      As Jann points out, PFN mappings are special, because unlike normal
      memory mappings, there is no lifetime information associated with the
      mapping - it is just a raw mapping of PFNs with no reference counting of
      a 'struct page'.
      
      That's all very much intentional, but it does mean that it's easy to
      mess up the cleanup in case of errors.  Yes, a failed mmap() will always
      eventually clean up any partial mappings, but without any explicit
      lifetime in the page table mapping itself, it's very easy to do the
      error handling in the wrong order.
      
      In particular, it's easy to mistakenly free the physical backing store
      before the page tables are actually cleaned up and (temporarily) have
      stale dangling PTE entries.
      
      To make this situation less error-prone, just make sure that any partial
      pfn mapping is torn down early, before any other error handling.
      Reported-and-tested-by: default avatarJann Horn <jannh@google.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: Simona Vetter <simona.vetter@ffwll.ch>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      79a61cc3
    • Matthew Auld's avatar
      drm/xe/client: add missing bo locking in show_meminfo() · 94c4aa26
      Matthew Auld authored
      bo_meminfo() wants to inspect bo state like tt and the ttm resource,
      however this state can change at any point leading to stuff like NPD and
      UAF, if the bo lock is not held. Grab the bo lock when calling
      bo_meminfo(), ensuring we drop any spinlocks first. In the case of
      object_idr we now also need to hold a ref.
      
      v2 (MattB)
        - Also add xe_bo_assert_held()
      
      Fixes: 08452333 ("drm/xe: Implement fdinfo memory stats printing")
      Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
      Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
      Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
      Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
      Cc: <stable@vger.kernel.org> # v6.8+
      Reviewed-by: default avatarMatthew Brost <matthew.brost@intel.com>
      Reviewed-by: default avatarTejas Upadhyay <tejas.upadhyay@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240911155527.178910-6-matthew.auld@intel.com
      (cherry picked from commit 4f63d712fa104c3ebefcb289d1e733e86d8698c7)
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      94c4aa26