Skip to content
Snippets Groups Projects
  1. Mar 15, 2025
  2. Mar 14, 2025
  3. Mar 13, 2025
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.14-2025-03-12' of... · 385b6432
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.14-2025-03-12' of https://gitlab.freedesktop.org/agd5f/linux
      
       into drm-fixes
      
      amd-drm-fixes-6.14-2025-03-12:
      
      amdgpu:
      - GC 12.x DCC fix
      - DC DCE 6.x fix
      - Hibernation fix
      - HPD fix
      - Backlight fixes
      - Color depth fix
      - UAF fix in hdcp_work
      - VCE 2.x fix
      - GC 12.x PTE fix
      
      amdkfd:
      - Queue eviction fix
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20250312190931.216506-1-alexander.deucher@amd.com
      385b6432
    • Ajay Kaher's avatar
      x86/vmware: Parse MP tables for SEV-SNP enabled guests under VMware hypervisors · a2ab2552
      Ajay Kaher authored
      
      Under VMware hypervisors, SEV-SNP enabled VMs are fundamentally able to boot
      without UEFI, but this regressed a year ago due to:
      
        0f4a1e80 ("x86/sev: Skip ROM range scans and validation for SEV-SNP guests")
      
      In this case, mpparse_find_mptable() has to be called to parse MP
      tables which contains the necessary boot information.
      
      [ mingo: Updated the changelog. ]
      
      Fixes: 0f4a1e80 ("x86/sev: Skip ROM range scans and validation for SEV-SNP guests")
      Co-developed-by: default avatarYe Li <ye.li@broadcom.com>
      Signed-off-by: default avatarYe Li <ye.li@broadcom.com>
      Signed-off-by: default avatarAjay Kaher <ajay.kaher@broadcom.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      Tested-by: default avatarYe Li <ye.li@broadcom.com>
      Reviewed-by: default avatarKevin Loughlin <kevinloughlin@google.com>
      Acked-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
      Link: https://lore.kernel.org/r/20250313173111.10918-1-ajay.kaher@broadcom.com
      a2ab2552
    • Linus Torvalds's avatar
      Merge tag 'net-6.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 4003c9e7
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from netfilter, bluetooth and wireless.
      
        No known regressions outstanding.
      
        Current release - regressions:
      
         - wifi: nl80211: fix assoc link handling
      
         - eth: lan78xx: sanitize return values of register read/write
           functions
      
        Current release - new code bugs:
      
         - ethtool: tsinfo: fix dump command
      
         - bluetooth: btusb: configure altsetting for HCI_USER_CHANNEL
      
         - eth: mlx5: DR, use the right action structs for STEv3
      
        Previous releases - regressions:
      
         - netfilter: nf_tables: make destruction work queue pernet
      
         - gre: fix IPv6 link-local address generation.
      
         - wifi: iwlwifi: fix TSO preparation
      
         - bluetooth: revert "bluetooth: hci_core: fix sleeping function
           called from invalid context"
      
         - ovs: revert "openvswitch: switch to per-action label counting in
           conntrack"
      
         - eth:
             - ice: fix switchdev slow-path in LAG
             - bonding: fix incorrect MAC address setting to receive NS
               messages
      
        Previous releases - always broken:
      
         - core: prevent TX of unreadable skbs
      
         - sched: prevent creation of classes with TC_H_ROOT
      
         - netfilter: nft_exthdr: fix offset with ipv4_find_option()
      
         - wifi: cfg80211: cancel wiphy_work before freeing wiphy
      
         - mctp: copy headers if cloned
      
         - phy: nxp-c45-tja11xx: add errata for TJA112XA/B
      
         - eth:
             - bnxt: fix kernel panic in the bnxt_get_queue_stats{rx | tx}
             - mlx5: bridge, fix the crash caused by LAG state check"
      
      * tag 'net-6.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (65 commits)
        net: mana: cleanup mana struct after debugfs_remove()
        net/mlx5e: Prevent bridge link show failure for non-eswitch-allowed devices
        net/mlx5: Bridge, fix the crash caused by LAG state check
        net/mlx5: Lag, Check shared fdb before creating MultiPort E-Switch
        net/mlx5: Fix incorrect IRQ pool usage when releasing IRQs
        net/mlx5: HWS, Rightsize bwc matcher priority
        net/mlx5: DR, use the right action structs for STEv3
        Revert "openvswitch: switch to per-action label counting in conntrack"
        net: openvswitch: remove misbehaving actions length check
        selftests: Add IPv6 link-local address generation tests for GRE devices.
        gre: Fix IPv6 link-local address generation.
        netfilter: nft_exthdr: fix offset with ipv4_find_option()
        selftests/tc-testing: Add a test case for DRR class with TC_H_ROOT
        net_sched: Prevent creation of classes with TC_H_ROOT
        ipvs: prevent integer overflow in do_ip_vs_get_ctl()
        selftests: netfilter: skip br_netfilter queue tests if kernel is tainted
        netfilter: nf_conncount: Fully initialize struct nf_conncount_tuple in insert_tree()
        wifi: mac80211: fix MPDU length parsing for EHT 5/6 GHz
        qlcnic: fix memory leak issues in qlcnic_sriov_common.c
        rtase: Fix improper release of ring list entries in rtase_sw_reset
        ...
      4003c9e7
    • Kent Overstreet's avatar
      dm-flakey: Fix memory corruption in optional corrupt_bio_byte feature · 57e9417f
      Kent Overstreet authored
      
      Fix memory corruption due to incorrect parameter being passed to bio_init
      
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Cc: stable@vger.kernel.org	# v6.5+
      Fixes: 1d9a9438 ("dm flakey: clone pages on write bio before corrupting them")
      57e9417f
    • Linus Torvalds's avatar
      Merge tag 'vfs-6.14-rc7.fixes' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs · 8f7617f4
      Linus Torvalds authored
      Pull vfs fixes from Christian Brauner:
      
       - Bring in an RCU pathwalk fix for afs. This is brought in as a merge
         from the vfs-6.15.shared.afs branch that needs this commit and other
         trees already depend on it.
      
       - Fix vboxfs unterminated string handling.
      
      * tag 'vfs-6.14-rc7.fixes' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs:
        vboxsf: Add __nonstring annotations for unterminated strings
        afs: Fix afs_atcell_get_link() to handle RCU pathwalk
      8f7617f4
    • Kent Overstreet's avatar
      bcachefs: bch2_get_random_u64_below() · 9c18ea7f
      Kent Overstreet authored
      
      steal the (clever) algorithm from get_random_u32_below()
      
      this fixes a bug where we were passing roundup_pow_of_two() a 64 bit
      number - we're squaring device latencies now:
      
      [  +1.681698] ------------[ cut here ]------------
      [  +0.000010] UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13
      [  +0.000011] shift exponent 64 is too large for 64-bit type 'long unsigned int'
      [  +0.000011] CPU: 1 UID: 0 PID: 196 Comm: kworker/u32:13 Not tainted 6.14.0-rc6-dave+ #10
      [  +0.000012] Hardware name: ASUS System Product Name/PRIME B460I-PLUS, BIOS 1301 07/13/2021
      [  +0.000005] Workqueue: events_unbound __bch2_read_endio [bcachefs]
      [  +0.000354] Call Trace:
      [  +0.000005]  <TASK>
      [  +0.000007]  dump_stack_lvl+0x5d/0x80
      [  +0.000018]  ubsan_epilogue+0x5/0x30
      [  +0.000008]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xe6
      [  +0.000011]  bch2_rand_range.cold+0x17/0x20 [bcachefs]
      [  +0.000231]  bch2_bkey_pick_read_device+0x547/0x920 [bcachefs]
      [  +0.000229]  __bch2_read_extent+0x1e4/0x18e0 [bcachefs]
      [  +0.000241]  ? bch2_btree_iter_peek_slot+0x3df/0x800 [bcachefs]
      [  +0.000180]  ? bch2_read_retry_nodecode+0x270/0x330 [bcachefs]
      [  +0.000230]  bch2_read_retry_nodecode+0x270/0x330 [bcachefs]
      [  +0.000230]  bch2_rbio_retry+0x1fa/0x600 [bcachefs]
      [  +0.000224]  ? bch2_printbuf_make_room+0x71/0xb0 [bcachefs]
      [  +0.000243]  ? bch2_read_csum_err+0x4a4/0x610 [bcachefs]
      [  +0.000278]  bch2_read_csum_err+0x4a4/0x610 [bcachefs]
      [  +0.000227]  ? __bch2_read_endio+0x58b/0x870 [bcachefs]
      [  +0.000220]  __bch2_read_endio+0x58b/0x870 [bcachefs]
      [  +0.000268]  ? try_to_wake_up+0x31c/0x7f0
      [  +0.000011]  ? process_one_work+0x176/0x330
      [  +0.000008]  process_one_work+0x176/0x330
      [  +0.000008]  worker_thread+0x252/0x390
      [  +0.000008]  ? __pfx_worker_thread+0x10/0x10
      [  +0.000006]  kthread+0xec/0x230
      [  +0.000011]  ? __pfx_kthread+0x10/0x10
      [  +0.000009]  ret_from_fork+0x31/0x50
      [  +0.000009]  ? __pfx_kthread+0x10/0x10
      [  +0.000008]  ret_from_fork_asm+0x1a/0x30
      [  +0.000012]  </TASK>
      [  +0.000046] ---[ end trace ]---
      
      Reported-by: default avatarRoland Vet <vet.roland@protonmail.com>
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      9c18ea7f
    • Kent Overstreet's avatar
      bcachefs: target_congested -> get_random_u32_below() · 69a5a13a
      Kent Overstreet authored
      
      get_random_u32_below() has a better algorithm than bch2_rand_range(),
      it just didn't exist at the time.
      
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      69a5a13a
    • Jens Axboe's avatar
      Merge tag 'nvme-6.14-2025-03-13' of git://git.infradead.org/nvme into block-6.14 · a9381351
      Jens Axboe authored
      Pull NVMe fixes from Keith:
      
      "nvme fixes for Linux 6.14
      
       - Concurrent pci error and hotplug handling fix (Keith)
       - Endpoint function fixes (Damien)"
      
      * tag 'nvme-6.14-2025-03-13' of git://git.infradead.org/nvme:
        nvmet: pci-epf: Do not add an IRQ vector if not needed
        nvmet: pci-epf: Set NVMET_PCI_EPF_Q_LIVE when a queue is fully created
        nvme-pci: fix stuck reset on concurrent DPC and HP
      a9381351
    • Paolo Abeni's avatar
      Merge tag 'nf-25-03-13' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf · 2409fa66
      Paolo Abeni authored
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter/IPVS fixes for net
      
      The following patchset contains Netfilter/IPVS fixes for net:
      
      1) Missing initialization of cpu and jiffies32 fields in conncount,
         from Kohei Enju.
      
      2) Skip several tests in case kernel is tainted, otherwise tests bogusly
         report failure too as they also check for tainted kernel,
         from Florian Westphal.
      
      3) Fix a hyphothetical integer overflow in do_ip_vs_get_ctl() leading
         to bogus error logs, from Dan Carpenter.
      
      4) Fix incorrect offset in ipv4 option match in nft_exthdr, from
         Alexey Kashavkin.
      
      netfilter pull request 25-03-13
      
      * tag 'nf-25-03-13' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf:
        netfilter: nft_exthdr: fix offset with ipv4_find_option()
        ipvs: prevent integer overflow in do_ip_vs_get_ctl()
        selftests: netfilter: skip br_netfilter queue tests if kernel is tainted
        netfilter: nf_conncount: Fully initialize struct nf_conncount_tuple in insert_tree()
      ====================
      
      Link: https://patch.msgid.link/20250313095636.2186-1-pablo@netfilter.org
      
      
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      2409fa66
    • Henrique Carvalho's avatar
      smb: client: Fix match_session bug preventing session reuse · 605b249e
      Henrique Carvalho authored
      
      Fix a bug in match_session() that can causes the session to not be
      reused in some cases.
      
      Reproduction steps:
      
      mount.cifs //server/share /mnt/a -o credentials=creds
      mount.cifs //server/share /mnt/b -o credentials=creds,sec=ntlmssp
      cat /proc/fs/cifs/DebugData | grep SessionId | wc -l
      
      mount.cifs //server/share /mnt/b -o credentials=creds,sec=ntlmssp
      mount.cifs //server/share /mnt/a -o credentials=creds
      cat /proc/fs/cifs/DebugData | grep SessionId | wc -l
      
      Cc: stable@vger.kernel.org
      Reviewed-by: default avatarEnzo Matsumiya <ematsumiya@suse.de>
      Signed-off-by: default avatarHenrique Carvalho <henrique.carvalho@suse.com>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      605b249e
    • Murad Masimov's avatar
      cifs: Fix integer overflow while processing closetimeo mount option · d5a30fdd
      Murad Masimov authored
      
      User-provided mount parameter closetimeo of type u32 is intended to have
      an upper limit, but before it is validated, the value is converted from
      seconds to jiffies which can lead to an integer overflow.
      
      Found by Linux Verification Center (linuxtesting.org) with SVACE.
      
      Fixes: 5efdd912 ("smb3: allow deferred close timeout to be configurable")
      Signed-off-by: default avatarMurad Masimov <m.masimov@mt-integration.ru>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      d5a30fdd
    • Murad Masimov's avatar
      cifs: Fix integer overflow while processing actimeo mount option · 64f690ee
      Murad Masimov authored
      
      User-provided mount parameter actimeo of type u32 is intended to have
      an upper limit, but before it is validated, the value is converted from
      seconds to jiffies which can lead to an integer overflow.
      
      Found by Linux Verification Center (linuxtesting.org) with SVACE.
      
      Fixes: 6d20e840 ("cifs: add attribute cache timeout (actimeo) tunable")
      Signed-off-by: default avatarMurad Masimov <m.masimov@mt-integration.ru>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      64f690ee
    • Murad Masimov's avatar
      cifs: Fix integer overflow while processing acdirmax mount option · 5b29891f
      Murad Masimov authored
      
      User-provided mount parameter acdirmax of type u32 is intended to have
      an upper limit, but before it is validated, the value is converted from
      seconds to jiffies which can lead to an integer overflow.
      
      Found by Linux Verification Center (linuxtesting.org) with SVACE.
      
      Fixes: 4c9f9481 ("cifs: Add new mount parameter "acdirmax" to allow caching directory metadata")
      Signed-off-by: default avatarMurad Masimov <m.masimov@mt-integration.ru>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      5b29891f
    • Murad Masimov's avatar
      cifs: Fix integer overflow while processing acregmax mount option · 7489161b
      Murad Masimov authored
      
      User-provided mount parameter acregmax of type u32 is intended to have
      an upper limit, but before it is validated, the value is converted from
      seconds to jiffies which can lead to an integer overflow.
      
      Found by Linux Verification Center (linuxtesting.org) with SVACE.
      
      Fixes: 57804646 ("cifs: Add new parameter "acregmax" for distinct file and directory metadata timeout")
      Signed-off-by: default avatarMurad Masimov <m.masimov@mt-integration.ru>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      7489161b
Loading