1. 14 May, 2023 3 commits
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · bb7c241f
      Linus Torvalds authored
      Pull ext4 fixes from Ted Ts'o:
       "Some ext4 bug fixes (mostly to address Syzbot reports)"
      
      * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: bail out of ext4_xattr_ibody_get() fails for any reason
        ext4: add bounds checking in get_max_inline_xattr_value_size()
        ext4: add indication of ro vs r/w mounts in the mount message
        ext4: fix deadlock when converting an inline directory in nojournal mode
        ext4: improve error recovery code paths in __ext4_remount()
        ext4: improve error handling from ext4_dirhash()
        ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled
        ext4: check iomap type only if ext4_iomap_begin() does not fail
        ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
        ext4: fix data races when using cached status extents
        ext4: avoid deadlock in fs reclaim with page writeback
        ext4: fix invalid free tracking in ext4_xattr_move_to_block()
        ext4: remove a BUG_ON in ext4_mb_release_group_pa()
        ext4: allow ext4_get_group_info() to fail
        ext4: fix lockdep warning when enabling MMP
        ext4: fix WARNING in mb_find_extent
      bb7c241f
    • Linus Torvalds's avatar
      Merge tag 'fbdev-for-6.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev · adfbf653
      Linus Torvalds authored
      Pull fbdev fixes from Helge Deller:
      
       - use after free fix in imsttfb (Zheng Wang)
      
       - fix error handling in arcfb (Zongjie Li)
      
       - lots of whitespace cleanups (Thomas Zimmermann)
      
       - add 1920x1080 modedb entry (me)
      
      * tag 'fbdev-for-6.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev:
        fbdev: stifb: Fix info entry in sti_struct on error path
        fbdev: modedb: Add 1920x1080 at 60 Hz video mode
        fbdev: imsttfb: Fix use after free bug in imsttfb_probe
        fbdev: vfb: Remove trailing whitespaces
        fbdev: valkyriefb: Remove trailing whitespaces
        fbdev: stifb: Remove trailing whitespaces
        fbdev: sa1100fb: Remove trailing whitespaces
        fbdev: platinumfb: Remove trailing whitespaces
        fbdev: p9100: Remove trailing whitespaces
        fbdev: maxinefb: Remove trailing whitespaces
        fbdev: macfb: Remove trailing whitespaces
        fbdev: hpfb: Remove trailing whitespaces
        fbdev: hgafb: Remove trailing whitespaces
        fbdev: g364fb: Remove trailing whitespaces
        fbdev: controlfb: Remove trailing whitespaces
        fbdev: cg14: Remove trailing whitespaces
        fbdev: atmel_lcdfb: Remove trailing whitespaces
        fbdev: 68328fb: Remove trailing whitespaces
        fbdev: arcfb: Fix error handling in arcfb_probe()
      adfbf653
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 046206ba
      Linus Torvalds authored
      Pull SCSI fix from James Bottomley:
       "A single small fix for the UFS driver to fix a power management
        failure"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: ufs: core: Fix I/O hang that occurs when BKOPS fails in W-LUN suspend
      046206ba
  2. 13 May, 2023 15 commits
  3. 12 May, 2023 14 commits
  4. 11 May, 2023 8 commits
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2023-05-12' of git://anongit.freedesktop.org/drm/drm · cc3c44c9
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "About the usual for this stage, bunch of amdgpu, a few i915 and a
        scattering of fixes across the board"
      
        dsc:
         - macro fixes
      
        simplefb:
         - fix VESA format
      
        scheduler:
         - timeout handling fix
      
        fbdev:
         - avoid potential out-of-bounds access in generic fbdev emulation
      
        ast:
         - improve AST2500+ compat on ARM
      
        mipi-dsi:
         - small mipi-dsi fix
      
        amdgpu:
         - VCN3 fixes
         - APUs always support PCI atomics
         - legacy power management fixes
         - DCN 3.1.4 fix
         - DCFCLK fix
         - fix several RAS irq refcount mismatches
         - GPU Reset fix
         - GFX 11.0.4 fix
      
        i915:
         - taint kernel when force_probe is used
         - NULL deref and div-by-zero fixes for display
         - GuC error capture fix for Xe devices"
      
      * tag 'drm-fixes-2023-05-12' of git://anongit.freedesktop.org/drm/drm: (24 commits)
        drm/amdgpu: change gfx 11.0.4 external_id range
        drm/amdgpu/jpeg: Remove harvest checking for JPEG3
        drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras
        drm/amd/pm: avoid potential UBSAN issue on legacy asics
        drm/i915: taint kernel when force probing unsupported devices
        drm/i915/dp: prevent potential div-by-zero
        drm/i915: Fix NULL ptr deref by checking new_crtc_state
        drm/i915/guc: Don't capture Gen8 regs on Xe devices
        drm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend
        drm/amdgpu: Fix vram recover doesn't work after whole GPU reset (v2)
        drm/amdgpu: drop gfx_v11_0_cp_ecc_error_irq_funcs
        drm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes
        drm/amd/display: Add symclk workaround during disable link output
        drm/amd/pm: parse pp_handle under appropriate conditions
        drm/amdgpu: set gfx9 onwards APU atomics support to be true
        drm/amdgpu/nv: update VCN 3 max HEVC encoding resolution
        drm/sched: Check scheduler work queue before calling timeout handling
        drm/mipi-dsi: Set the fwnode for mipi_dsi_device
        drm/nouveau/disp: More DP_RECEIVER_CAP_SIZE array fixes
        drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values
        ...
      cc3c44c9
    • Linus Torvalds's avatar
      Merge tag 'xfs-6.4-rc1-fixes' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 849a4f09
      Linus Torvalds authored
      Pull xfs bug fixes from Dave Chinner:
       "Largely minor bug fixes and cleanups, th emost important of which are
        probably the fixes for regressions in the extent allocation code:
      
         - fixes for inode garbage collection shutdown racing with work queue
           updates
      
         - ensure inodegc workers run on the CPU they are supposed to
      
         - disable counter scrubbing until we can exclusively freeze the
           filesystem from the kernel
      
         - regression fixes for new allocation related bugs
      
         - a couple of minor cleanups"
      
      * tag 'xfs-6.4-rc1-fixes' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: fix xfs_inodegc_stop racing with mod_delayed_work
        xfs: disable reaping in fscounters scrub
        xfs: check that per-cpu inodegc workers actually run on that cpu
        xfs: explicitly specify cpu when forcing inodegc delayed work to run immediately
        xfs: fix negative array access in xfs_getbmap
        xfs: don't allocate into the data fork for an unshare request
        xfs: flush dirty data and drain directios before scrubbing cow fork
        xfs: set bnobt/cntbt numrecs correctly when formatting new AGs
        xfs: don't unconditionally null args->pag in xfs_bmap_btalloc_at_eof
      849a4f09
    • Zheng Wang's avatar
      fbdev: imsttfb: Fix use after free bug in imsttfb_probe · c75f5a55
      Zheng Wang authored
      A use-after-free bug may occur if init_imstt invokes framebuffer_release
      and free the info ptr. The caller, imsttfb_probe didn't notice that and
      still keep the ptr as private data in pdev.
      
      If we remove the driver which will call imsttfb_remove to make cleanup,
      UAF happens.
      
      Fix it by return error code if bad case happens in init_imstt.
      Signed-off-by: default avatarZheng Wang <zyytlz.wz@163.com>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      c75f5a55
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.4-2023-05-11' of... · d8843eeb
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.4-2023-05-11' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      
      amdgpu:
      - VCN3 fixes
      - APUs always support PCI atomics
      - Legacy power management fixes
      - DCN 3.1.4 fix
      - DCFCLK fix
      - Fix several RAS irq refcount mismatches
      - GPU Reset fix
      - GFX 11.0.4 fix
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230511141755.7896-1-alexander.deucher@amd.com
      d8843eeb
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2023-05-11-1' of... · 9235c21c
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2023-05-11-1' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Fix to taint kernel when force_probe is used
      - Null deref and div-by-zero fixes for display
      - GuC error capture fix for Xe devices
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZFzdYV3O8lvVJ1DQ@jlahtine-mobl.ger.corp.intel.com
      9235c21c
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2023-05-11' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · dc49c3b1
      Dave Airlie authored
      drm-misc-fixes for v6.4-rc2:
      - More DSC macro fixes.
      - Small mipi-dsi fix.
      - Scheduler timeout handling fix.
      
      ---
      
      drm-misc-fixes for v6.4-rc1:
      - Fix DSC macros.
      - Fix VESA format for simplefb.
      - Prohibit potential out-of-bounds access in generic fbdev emulation.
      - Improve AST2500+ compat on ARM.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/b34135e3-2651-4e0a-a776-9b047882b1b2@linux.intel.com
      dc49c3b1
    • Linus Torvalds's avatar
      Merge tag 'dt-fixes-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt · 105131df
      Linus Torvalds authored
      Pull devicetree binding fixes from Krzysztof Kozlowski:
       "A few fixes for Devicetree bindings and related docs, all for issues
        introduced in v6.4-rc1 commits:
      
         - media/ov2685: fix number of possible data lanes, as old binding
           explicitly mentioned one data lane. This fixes dt_binding_check
           warnings like:
      
             Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: port:endpoint:data-lanes: [[1]] is too short
             From schema: Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml
      
         - PCI/fsl,imx6q: correct parsing of assigned-clocks and related
           properties and make the clocks more specific per PCI device (host
           or endpoint). This fixes dtschema limitation and dt_binding_check
           warnings like:
      
             Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.example.dtb: pcie-ep@33800000: Unevaluated properties are not allowed
             From schema: Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml
      
         - Maintainers: correct path of Apple PWM binding. This fixes
           refcheckdocs warning"
      
      * tag 'dt-fixes-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
        dt-bindings: PCI: fsl,imx6q: fix assigned-clocks warning
        MAINTAINERS: adjust file entry for ARM/APPLE MACHINE SUPPORT
        media: dt-bindings: ov2685: Correct data-lanes attribute
      105131df
    • Linus Torvalds's avatar
      Merge tag 'net-6.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 6e27831b
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from netfilter.
      
        Current release - regressions:
      
         - mtk_eth_soc: fix NULL pointer dereference
      
        Previous releases - regressions:
      
         - core:
            - skb_partial_csum_set() fix against transport header magic value
            - fix load-tearing on sk->sk_stamp in sock_recv_cmsgs().
            - annotate sk->sk_err write from do_recvmmsg()
            - add vlan_get_protocol_and_depth() helper
      
         - netlink: annotate accesses to nlk->cb_running
      
         - netfilter: always release netdev hooks from notifier
      
        Previous releases - always broken:
      
         - core: deal with most data-races in sk_wait_event()
      
         - netfilter: fix possible bug_on with enable_hooks=1
      
         - eth: bonding: fix send_peer_notif overflow
      
         - eth: xpcs: fix incorrect number of interfaces
      
         - eth: ipvlan: fix out-of-bounds caused by unclear skb->cb
      
         - eth: stmmac: Initialize MAC_ONEUS_TIC_COUNTER register"
      
      * tag 'net-6.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (31 commits)
        af_unix: Fix data races around sk->sk_shutdown.
        af_unix: Fix a data race of sk->sk_receive_queue->qlen.
        net: datagram: fix data-races in datagram_poll()
        net: mscc: ocelot: fix stat counter register values
        ipvlan:Fix out-of-bounds caused by unclear skb->cb
        docs: networking: fix x25-iface.rst heading & index order
        gve: Remove the code of clearing PBA bit
        tcp: add annotations around sk->sk_shutdown accesses
        net: add vlan_get_protocol_and_depth() helper
        net: pcs: xpcs: fix incorrect number of interfaces
        net: deal with most data-races in sk_wait_event()
        net: annotate sk->sk_err write from do_recvmmsg()
        netlink: annotate accesses to nlk->cb_running
        kselftest: bonding: add num_grat_arp test
        selftests: forwarding: lib: add netns support for tc rule handle stats get
        Documentation: bonding: fix the doc of peer_notif_delay
        bonding: fix send_peer_notif overflow
        net: ethernet: mtk_eth_soc: fix NULL pointer dereference
        selftests: nft_flowtable.sh: check ingress/egress chain too
        selftests: nft_flowtable.sh: monitor result file sizes
        ...
      6e27831b