1. 12 Feb, 2023 13 commits
  2. 06 Feb, 2023 1 commit
  3. 05 Feb, 2023 8 commits
    • Linus Torvalds's avatar
      Linux 6.2-rc7 · 4ec5183e
      Linus Torvalds authored
      4ec5183e
    • Linus Torvalds's avatar
      Merge tag 'usb-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · c608f6b5
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB fixes that resolve some reported problems.
        These include:
      
         - gadget driver fixes
      
         - dwc3 driver fix
      
         - typec driver fix
      
         - MAINTAINERS file update.
      
        All of these have been in linux-next with no reported problems"
      
      * tag 'usb-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usb: typec: ucsi: Don't attempt to resume the ports before they exist
        usb: gadget: udc: do not clear gadget driver.bus
        usb: gadget: f_uac2: Fix incorrect increment of bNumEndpoints
        usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait
        usb: dwc3: qcom: enable vbus override when in OTG dr-mode
        MAINTAINERS: Add myself as UVC Gadget Maintainer
      c608f6b5
    • Linus Torvalds's avatar
      Merge tag 'tty-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · dc0ce181
      Linus Torvalds authored
      Pull tty/serial driver fixes from Greg KH:
       "Here are some small serial and vt fixes. These include:
      
         - 8250 driver fixes relating to dma issues
      
         - stm32 serial driver fix for threaded irqs
      
         - vc_screen bugfix for reported problems.
      
        All have been in linux-next for a while with no reported problems"
      
      * tag 'tty-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
        serial: 8250_dma: Fix DMA Rx rearm race
        serial: 8250_dma: Fix DMA Rx completion race
        serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler
      dc0ce181
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · d3feaff4
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are a number of small char/misc/whatever driver fixes. They
        include:
      
         - IIO driver fixes for some reported problems
      
         - nvmem driver fixes
      
         - fpga driver fixes
      
         - debugfs memory leak fix in the hv_balloon and irqdomain code
           (irqdomain change was acked by the maintainer)
      
        All have been in linux-next with no reported problems"
      
      * tag 'char-misc-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (33 commits)
        kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup()
        HV: hv_balloon: fix memory leak with using debugfs_lookup()
        nvmem: qcom-spmi-sdam: fix module autoloading
        nvmem: core: fix return value
        nvmem: core: fix cell removal on error
        nvmem: core: fix device node refcounting
        nvmem: core: fix registration vs use race
        nvmem: core: fix cleanup after dev_set_name()
        nvmem: core: remove nvmem_config wp_gpio
        nvmem: core: initialise nvmem->id early
        nvmem: sunxi_sid: Always use 32-bit MMIO reads
        nvmem: brcm_nvram: Add check for kzalloc
        iio: imu: fxos8700: fix MAGN sensor scale and unit
        iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN
        iio: imu: fxos8700: fix failed initialization ODR mode assignment
        iio: imu: fxos8700: fix incorrect ODR mode readback
        iio: light: cm32181: Fix PM support on system with 2 I2C resources
        iio: hid: fix the retval in gyro_3d_capture_sample
        iio: hid: fix the retval in accel_3d_capture_sample
        iio: imu: st_lsm6dsx: fix build when CONFIG_IIO_TRIGGERED_BUFFER=m
        ...
      d3feaff4
    • Linus Torvalds's avatar
      Merge tag 'fbdev-for-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev · 870c3a9a
      Linus Torvalds authored
      Pull fbdev fixes from Helge Deller:
      
       - fix fbcon to prevent fonts bigger than 32x32 pixels to avoid
         overflows reported by syzbot
      
       - switch omapfb to use kstrtobool()
      
       - switch some fbdev drivers to use the backlight helpers
      
      * tag 'fbdev-for-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev:
        fbcon: Check font dimension limits
        fbdev: omapfb: Use kstrtobool() instead of strtobool()
        fbdev: fbmon: fix function name in kernel-doc
        fbdev: atmel_lcdfb: Rework backlight status updates
        fbdev: riva: Use backlight helper
        fbdev: omapfb: panel-dsi-cm: Use backlight helper
        fbdev: nvidia: Use backlight helper
        fbdev: mx3fb: Use backlight helper
        fbdev: radeon: Use backlight helper
        fbdev: atyfb: Use backlight helper
        fbdev: aty128fb: Use backlight helper
      870c3a9a
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v6.2_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9e482602
      Linus Torvalds authored
      Pull x86 fix from Borislav Petkov:
      
       - Prevent the compiler from reordering accesses to debug regs which
         could cause a #VC exception in SEV-ES guests at the wrong place in
         the NMI handling path
      
      * tag 'x86_urgent_for_v6.2_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/debug: Fix stack recursion caused by wrongly ordered DR7 accesses
      9e482602
    • Linus Torvalds's avatar
      Merge tag 'perf_urgent_for_v6.2_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · de506eec
      Linus Torvalds authored
      Pull perf fix from Borislav Petkov:
      
       - Lock the proper critical section when dealing with perf event context
      
      * tag 'perf_urgent_for_v6.2_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf: Fix perf_event_pmu_context serialization
      de506eec
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.2-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 837c07cf
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
       "It's a bit of a big batch for rc6, but just because I didn't send any
        fixes the last week or two while I was on vacation, next week should
        be quieter:
      
         - Fix a few objtool warnings since we recently enabled objtool.
      
         - Fix a deadlock with the hash MMU vs perf record.
      
         - Fix perf profiling of asynchronous interrupt handlers.
      
         - Revert the IMC PMU nest_init_lock to being a mutex.
      
         - Two commits fixing problems with the kexec_file FDT size
           estimation.
      
         - Two commits fixing problems with strict RWX vs kernels running at
           non-zero.
      
         - Reconnect tlb_flush() to hash__tlb_flush()
      
        Thanks to Kajol Jain, Nicholas Piggin, Sachin Sant Sathvika Vasireddy,
        and Sourabh Jain"
      
      * tag 'powerpc-6.2-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/64s: Reconnect tlb_flush() to hash__tlb_flush()
        powerpc/kexec_file: Count hot-pluggable memory in FDT estimate
        powerpc/64s/radix: Fix RWX mapping with relocated kernel
        powerpc/64s/radix: Fix crash with unaligned relocated kernel
        powerpc/kexec_file: Fix division by zero in extra size estimation
        powerpc/imc-pmu: Revert nest_init_lock to being a mutex
        powerpc/64: Fix perf profiling asynchronous interrupt handlers
        powerpc/64s: Fix local irq disable when PMIs are disabled
        powerpc/kvm: Fix unannotated intra-function call warning
        powerpc/85xx: Fix unannotated intra-function call warning
      837c07cf
  4. 04 Feb, 2023 7 commits
  5. 03 Feb, 2023 11 commits
    • Linus Torvalds's avatar
      Merge tag 'block-6.2-2023-02-03' of git://git.kernel.dk/linux · 0136d86b
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "A bit bigger than I'd like at this point, but mostly a bunch of little
        fixes. In detail:
      
         - NVMe pull request via Christoph:
             - Fix a missing queue put in nvmet_fc_ls_create_association
               (Amit Engel)
             - Clear queue pointers on tag_set initialization failure
               (Maurizio Lombardi)
             - Use workqueue dedicated to authentication (Shin'ichiro
               Kawasaki)
      
         - Fix for an overflow in ublk (Liu)
      
         - Fix for leaking a queue reference in block cgroups (Ming)
      
         - Fix for a use-after-free in BFQ (Yu)"
      
      * tag 'block-6.2-2023-02-03' of git://git.kernel.dk/linux:
        blk-cgroup: don't update io stat for root cgroup
        nvme-auth: use workqueue dedicated to authentication
        nvme: clear the request_queue pointers on failure in nvme_alloc_io_tag_set
        nvme: clear the request_queue pointers on failure in nvme_alloc_admin_tag_set
        nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association
        block: Fix the blk_mq_destroy_queue() documentation
        block: ublk: extending queue_size to fix overflow
        block, bfq: fix uaf for bfqq in bic_set_bfqq()
      0136d86b
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-6.2-rc7' of https://github.com/ceph/ceph-client · 7b753a90
      Linus Torvalds authored
      Pull ceph fix from Ilya Dryomov:
       "A safeguard to prevent the kernel client from further damaging the
        filesystem after running into a case of an invalid snap trace.
      
        The root cause of this metadata corruption is still being investigated
        but it appears to be stemming from the MDS. As such, this is the best
        we can do for now"
      
      * tag 'ceph-for-6.2-rc7' of https://github.com/ceph/ceph-client:
        ceph: blocklist the kclient when receiving corrupted snap trace
        ceph: move mount state enum to super.h
      7b753a90
    • Linus Torvalds's avatar
      Merge tag 'efi-fixes-for-v6.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi · a0880c33
      Linus Torvalds authored
      Pull EFI fixes from Ard Biesheuvel:
      
       - handle potential mremap() failure gracefully
      
       - don't reject EFI memory attributes table version 2
      
      * tag 'efi-fixes-for-v6.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi:
        efi: fix potential NULL deref in efi_mem_reserve_persistent
        efi: Accept version 2 of memory attributes table
      a0880c33
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · a30df1ea
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A build fix to avoid static branches in cpu_relax(), which greatly
         inflates the jump tables and breaks at least
         CONFIG_CC_OPTIMIZE_FOR_SIZE=y.
      
       - A fix for a kernel panic when probing impossible instruction
         positions.
      
       - A fix to disable unwind tables, which are enabled by default for
         GCC-13 and result in unhandled relocations in modules.
      
      * tag 'riscv-for-linus-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: disable generation of unwind tables
        riscv: kprobe: Fixup kernel panic when probing an illegal position
        riscv: Fix build with CONFIG_CC_OPTIMIZE_FOR_SIZE=y
      a30df1ea
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2023-02-03' of git://anongit.freedesktop.org/drm/drm · bffede38
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "A few more fixes this week, a bit more spread out though.
      
        We have a bunch of nouveau regression and stabilisation fixes, along
        with usual amdgpu, and i915. Otherwise just some minor misc ones:
      
        dma-fence:
         - fix signaling bit for private fences
      
        panel:
         - boe-tv101wum-nl6 disable fix
      
        nouveau:
         - gm20b acr regression fix
         - tu102 scrub status fix
         - tu102 wait for firmware fix
      
        i915:
         - Fixes for potential use-after-free and double-free
         - GuC locking and refcount fixes
         - Display's reference clock value fix
      
        amdgpu:
         - GC11 fixes
         - DCN 3.1.4 fixes
         - NBIO 4.3 fix
         - DCN 3.2 fixes
         - Properly handle additional cases where DCN is not supported
         - SMU13 fixes
      
        vc4:
         - fix CEC adapter names
      
        ssd130x:
         - fix display init regression"
      
      * tag 'drm-fixes-2023-02-03' of git://anongit.freedesktop.org/drm/drm: (23 commits)
        drm/amd/display: Properly handle additional cases where DCN is not supported
        drm/amdgpu: Enable vclk dclk node for gc11.0.3
        drm/amd: Fix initialization for nbio 4.3.0
        drm/amdgpu: enable HDP SD for gfx 11.0.3
        drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11
        drm/amd/display: Reset DMUB mailbox SW state after HW reset
        drm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2
        drm/amd/display: Adjust downscaling limits for dcn314
        drm/amd/display: Add missing brackets in calculation
        drm/amdgpu: update wave data type to 3 for gfx11
        drm/panel: boe-tv101wum-nl6: Ensure DSI writes succeed during disable
        drm/nouveau/acr/gm20b: regression fixes
        drm/nouveau/fb/tu102-: fix register used to determine scrub status
        drm/nouveau/devinit/tu102-: wait for GFW_BOOT_PROGRESS == COMPLETED
        drm/i915/adlp: Fix typo for reference clock
        drm/i915: Fix potential bit_17 double-free
        drm/i915: Fix up locking around dumping requests lists
        drm/i915: Fix request ref counting during error capture & debugfs dump
        drm/i915/guc: Fix locking when searching for a hung request
        drm/i915: Avoid potential vm use-after-free
        ...
      bffede38
    • Linus Torvalds's avatar
      Merge tag 'mm-hotfixes-stable-2023-02-02-19-24-2' of... · 0c272a1d
      Linus Torvalds authored
      Merge tag 'mm-hotfixes-stable-2023-02-02-19-24-2' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull misc fixes from Andrew Morton:
       "25 hotfixes, mainly for MM.  13 are cc:stable"
      
      * tag 'mm-hotfixes-stable-2023-02-02-19-24-2' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (26 commits)
        mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath()
        Kconfig.debug: fix the help description in SCHED_DEBUG
        mm/swapfile: add cond_resched() in get_swap_pages()
        mm: use stack_depot_early_init for kmemleak
        Squashfs: fix handling and sanity checking of xattr_ids count
        sh: define RUNTIME_DISCARD_EXIT
        highmem: round down the address passed to kunmap_flush_on_unmap()
        migrate: hugetlb: check for hugetlb shared PMD in node migration
        mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps
        mm/MADV_COLLAPSE: catch !none !huge !bad pmd lookups
        Revert "mm: kmemleak: alloc gray object for reserved region with direct map"
        freevxfs: Kconfig: fix spelling
        maple_tree: should get pivots boundary by type
        .mailmap: update e-mail address for Eugen Hristev
        mm, mremap: fix mremap() expanding for vma's with vm_ops->close()
        squashfs: harden sanity check in squashfs_read_xattr_id_table
        ia64: fix build error due to switch case label appearing next to declaration
        mm: multi-gen LRU: fix crash during cgroup migration
        Revert "mm: add nodes= arg to memory.reclaim"
        zsmalloc: fix a race with deferred_handles storing
        ...
      0c272a1d
    • Anton Gusev's avatar
      efi: fix potential NULL deref in efi_mem_reserve_persistent · 966d47e1
      Anton Gusev authored
      When iterating on a linked list, a result of memremap is dereferenced
      without checking it for NULL.
      
      This patch adds a check that falls back on allocating a new page in
      case memremap doesn't succeed.
      
      Found by Linux Verification Center (linuxtesting.org) with SVACE.
      
      Fixes: 18df7577 ("efi/memreserve: deal with memreserve entries in unmapped memory")
      Signed-off-by: default avatarAnton Gusev <aagusev@ispras.ru>
      [ardb: return -ENOMEM instead of breaking out of the loop]
      Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
      966d47e1
    • Greg Kroah-Hartman's avatar
      kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup() · d83d7ed2
      Greg Kroah-Hartman authored
      When calling debugfs_lookup() the result must have dput() called on it,
      otherwise the memory will leak over time.  To make things simpler, just
      call debugfs_lookup_and_remove() instead which handles all of the logic
      at once.
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: stable <stable@kernel.org>
      Reviewed-by: default avatarMarc Zyngier <maz@kernel.org>
      Link: https://lore.kernel.org/r/20230202151554.2310273-1-gregkh@linuxfoundation.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d83d7ed2
    • Greg Kroah-Hartman's avatar
      HV: hv_balloon: fix memory leak with using debugfs_lookup() · 6dfb0771
      Greg Kroah-Hartman authored
      When calling debugfs_lookup() the result must have dput() called on it,
      otherwise the memory will leak over time.  To make things simpler, just
      call debugfs_lookup_and_remove() instead which handles all of the logic
      at once.
      
      Cc: "K. Y. Srinivasan" <kys@microsoft.com>
      Cc: Haiyang Zhang <haiyangz@microsoft.com>
      Cc: Wei Liu <wei.liu@kernel.org>
      Cc: Dexuan Cui <decui@microsoft.com>
      Fixes: d180e0a1 ("Drivers: hv: Create debugfs file with hyper-v balloon usage information")
      Cc: stable <stable@kernel.org>
      Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
      Link: https://lore.kernel.org/r/20230202140918.2289522-1-gregkh@linuxfoundation.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6dfb0771
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.2-2023-02-01' of... · f1a9e82a
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.2-2023-02-01' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      
      amd-drm-fixes-6.2-2023-02-01:
      
      amdgpu:
      - GC11 fixes
      - DCN 3.1.4 fixes
      - NBIO 4.3 fix
      - DCN 3.2 fixes
      - Properly handle additional cases where DCN is not supported
      - SMU13 fixes
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230202042309.24144-1-alexander.deucher@amd.com
      f1a9e82a
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2023-02-02' of... · 74d6c8ea
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2023-02-02' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Fixes for potential use-after-free and double-free (Rob)
      - GuC locking and refcount fixes (John)
      - Display's reference clock value fix (Chaitanya)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/Y9u5pHjOYcxzS5Z7@intel.com
      74d6c8ea