Skip to content

md/bitmap: fix memory leak of temporary bitmap

Sasha Levin alsa-devel amd-gfx ath10k cluster-devel dmaengine dri-devel linux-arm-kernel linux-arm-msm linux-block linux-bluetooth linux-can linux-crypto linux-fbdev linux-input linux-kselftest linux-media linux-mediatek linux-mmc linux-pm linux-raid linux-renesas-soc linux-s390 linux-samsung-soc linux-scsi linux-spi linux-usb linux-wireless linux-xfs linuxppc-dev lkml lvs-devel netdev netfilter-devel reiserfs-devel stable virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest111 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/111md/bitmap: fix memory leak of temporary bitmapdrivers/md/md-bitmap.c drivers/md/md-cluster.c+3 -10 replies
2/111block: ratelimit handle_bad_sector() messageblock/blk-core.c+4 -50 replies
3/111x86/dumpstack: Fix misleading instruction pointer error messagearch/x86/kernel/dumpstack.c+2 -10 replies
4/111crypto: ccp - fix error handlingdrivers/crypto/ccp/ccp-ops.c+1 -10 replies
5/111x86/asm: Replace __force_order with a memory clobberarch/x86/boot/compressed/pgtable_64.c arch/x86/include/asm/special_insns.h arch/x86/kernel/cpu/common.c+17 -240 replies
6/111x86/mce: Add Skylake quirk for patrol scrub reported errorsarch/x86/kernel/cpu/mce/severity.c+26 -20 replies
7/111media: firewire: fix memory leakdrivers/media/firewire/firedtv-fw.c+4 -20 replies
8/111media: ati_remote: sanity check for both endpointsdrivers/media/rc/ati_remote.c+4 -00 replies
9/111media: st-delta: Fix reference count leak in delta_run_workdrivers/media/platform/sti/delta/delta-v4l2.c+3 -10 replies
10/111media: sti: Fix reference count leaksdrivers/media/platform/sti/hva/hva-hw.c+2 -00 replies
11/111media: exynos4-is: Fix several reference count leaks due to pm_runtime_get_syncdrivers/media/platform/exynos4-is/fimc-isp.c drivers/media/platform/exynos4-is/fimc-lite.c+4 -20 replies
12/111media: exynos4-is: Fix a reference count leak due to pm_runtime_get_syncdrivers/media/platform/exynos4-is/media-dev.c+3 -10 replies
13/111media: exynos4-is: Fix a reference count leakdrivers/media/platform/exynos4-is/mipi-csis.c+3 -10 replies
14/111media: vsp1: Fix runtime PM imbalance on errordrivers/media/platform/vsp1/vsp1_drv.c+8 -30 replies
15/111media: platform: s3c-camif: Fix runtime PM imbalance on errordrivers/media/platform/s3c-camif/camif-core.c+2 -30 replies
16/111media: platform: sti: hva: Fix runtime PM imbalance on errordrivers/media/platform/sti/hva/hva-hw.c+1 -10 replies
17/111media: bdisp: Fix runtime PM imbalance on errordrivers/media/platform/sti/bdisp/bdisp-v4l2.c+1 -20 replies
18/111media: media/pci: prevent memory leak in bttv_probedrivers/media/pci/bt8xx/bttv-driver.c+10 -30 replies
19/111x86/mce: Annotate mce_rd/wrmsrl() with noinstrarch/x86/kernel/cpu/mce/core.c+21 -60 replies
20/111crypto: hisilicon - fixed memory allocation errordrivers/crypto/hisilicon/sec2/sec_crypto.c+12 -40 replies
21/111spi: fsi: Fix clock running too fastdrivers/spi/spi-fsi.c+1 -10 replies
22/111blk-mq: always allow reserved allocation in hctx_may_queueblock/blk-mq-tag.c block/blk-mq.c+5 -30 replies
23/111x86/mce: Make mce_rdmsrl() panic on an inaccessible MSRarch/x86/kernel/cpu/mce/core.c arch/x86/kernel/cpu/mce/internal.h+70 -120 replies
24/111media: rcar_drif: Fix fwnode reference leak when parsing DTdrivers/media/platform/rcar_drif.c+5 -110 replies
25/111media: uvcvideo: Ensure all probed info is returned to v4l2drivers/media/usb/uvc/uvc_v4l2.c+30 -00 replies
26/111seccomp: kill process instead of thread for unknown actionskernel/seccomp.c+4 -42 replies
27/111mmc: sdio: Check for CISTPL_VERS_1 buffer sizedrivers/mmc/core/sdio_cis.c+3 -00 replies
28/111media: saa7134: avoid a shift overflowdrivers/media/pci/saa7134/saa7134-tvaudio.c+2 -10 replies
29/111media: atomisp: fix memleak in ia_css_stream_createdrivers/staging/media/atomisp/pci/sh_css.c+1 -10 replies
30/111media: venus: fixes for list corruptiondrivers/media/platform/qcom/venus/vdec.c+8 -20 replies
31/111notifier: Fix broken error handling patterninclude/linux/notifier.h kernel/cpu_pm.c kernel/notifier.c +6 more+147 -1400 replies
32/111fs: dlm: fix configfs memory leakfs/dlm/config.c+3 -00 replies
33/111media: venus: core: Fix error handling in probedrivers/media/platform/qcom/venus/core.c+10 -50 replies
34/111media: venus: core: Fix runtime PM imbalance in venus_probedrivers/media/platform/qcom/venus/core.c+4 -10 replies
35/111ipv6/icmp: l3mdev: Perform icmp error route lookup on source device routing table (v2)net/ipv6/icmp.c net/ipv6/ip6_output.c+5 -47 replies
36/111ntfs: add check for mft record size in superblockfs/ntfs/inode.c+6 -00 replies
37/111ip_gre: set dev->hard_header_len and dev->needed_headroom properlynet/ipv4/ip_gre.c+11 -40 replies
38/111mac80211: handle lack of sband->bitrates in ratesnet/mac80211/cfg.c net/mac80211/sta_info.c+6 -10 replies
39/111staging: wfx: fix handling of MMIC errordrivers/staging/wfx/data_rx.c+1 -10 replies
40/111libbpf: Close map fd if init map slots failedtools/lib/bpf/libbpf.c+34 -210 replies
41/111bpf: Use raw_spin_trylock() for pcpu_freelist_push/pop in NMIkernel/bpf/percpu_freelist.c kernel/bpf/percpu_freelist.h+97 -50 replies
42/111PM: hibernate: remove the bogus call to get_gendisk() in software_resume()kernel/power/hibernate.c+0 -110 replies
43/111scsi: mvumi: Fix error return in mvumi_io_attach()drivers/scsi/mvumi.c+1 -00 replies
44/111scsi: target: core: Add CONTROL field for trace eventsinclude/scsi/scsi_common.h include/trace/events/target.h+13 -60 replies
45/111mic: vop: copy data to kernel space then write to io memorydrivers/misc/mic/vop/vop_vringh.c+14 -60 replies
46/111misc: vop: add round_up(x,4) for vring_size to avoid kernel panicdrivers/misc/mic/vop/vop_main.c drivers/misc/mic/vop/vop_vringh.c samples/mic/mpssd/mpssd.c+5 -50 replies
47/111usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Socdrivers/usb/dwc3/core.c drivers/usb/dwc3/core.h+32 -00 replies
48/111usb: gadget: function: printer: fix use-after-free in __lock_acquiredrivers/usb/gadget/function/f_printer.c+14 -20 replies
49/111rtw88: pci: Power cycle device during shutdowndrivers/net/wireless/realtek/rtw88/pci.c+2 -00 replies
50/111udf: Limit sparing table sizefs/udf/super.c+6 -00 replies
51/111udf: Avoid accessing uninitialized data on failed inode readfs/udf/inode.c+14 -110 replies
52/111rtw88: increse the size of rx buffer sizedrivers/net/wireless/realtek/rtw88/pci.h+2 -20 replies
53/111selftests/bpf: Fix overflow tests to reflect iter size increasetools/testing/selftests/bpf/prog_tests/bpf_iter.c+7 -70 replies
54/111USB: cdc-acm: handle broken union descriptorsdrivers/usb/class/cdc-acm.c+12 -04 replies
55/111mt76: mt7915: do not do any work in napi poll after calling napi_complete_done()drivers/net/wireless/mediatek/mt76/mt7915/dma.c+3 -60 replies
56/111usb: dwc3: simple: add support for Hikey 970drivers/usb/dwc3/dwc3-of-simple.c+1 -00 replies
57/111habanalabs: cast to u64 before shift > 31 bitsdrivers/misc/habanalabs/gaudi/gaudi.c drivers/misc/habanalabs/goya/goya.c+10 -60 replies
58/111can: flexcan: flexcan_chip_stop(): add error handling and propagate error valuedrivers/net/can/flexcan.c+28 -60 replies
59/111HID: multitouch: Lenovo X1 Tablet Gen3 trackpoint and buttonsdrivers/hid/hid-ids.h drivers/hid/hid-multitouch.c+7 -00 replies
60/111ath9k: hif_usb: fix race condition between usb_get_urb() and usb_kill_anchored_urbs()drivers/net/wireless/ath/ath9k/hif_usb.c+19 -00 replies
61/111drm/panfrost: add Amlogic GPU integration quirksdrivers/gpu/drm/panfrost/panfrost_drv.c+11 -00 replies
62/111drm/panfrost: add amlogic reset quirk callbackdrivers/gpu/drm/panfrost/panfrost_gpu.c drivers/gpu/drm/panfrost/panfrost_gpu.h drivers/gpu/drm/panfrost/panfrost_regs.h+17 -00 replies
63/111drm/panfrost: add support for vendor quirkdrivers/gpu/drm/panfrost/panfrost_device.h drivers/gpu/drm/panfrost/panfrost_gpu.c+7 -00 replies
64/111bpf: Limit caller's stack depth 256 for subprogs with tailcallsinclude/linux/bpf_verifier.h kernel/bpf/verifier.c+30 -00 replies
65/111dma-direct: Fix potential NULL pointer dereferenceinclude/linux/dma-direct.h kernel/dma/mapping.c+11 -30 replies
66/111misc: rtsx: Fix memory leak in rtsx_pci_probedrivers/misc/cardreader/rtsx_pcr.c+3 -10 replies
67/111reiserfs: only call unlock_new_inode() if I_NEWfs/reiserfs/inode.c+2 -10 replies
68/111opp: Prevent memory leak in dev_pm_opp_attach_genpd()drivers/opp/core.c+6 -00 replies
69/111xfs: make sure the rt allocator doesn't run off the endfs/xfs/xfs_rtalloc.c+11 -00 replies
70/111usb: ohci: Default to per-port over-current protectiondrivers/usb/host/ohci-hcd.c+10 -60 replies
71/111drm: fix double free for gbo in drm_gem_vram_init and drm_gem_vram_createdrivers/gpu/drm/drm_gem_vram_helper.c+16 -120 replies
72/111Bluetooth: Only mark socket zapped after unlockingnet/bluetooth/l2cap_sock.c+4 -30 replies
73/111drm/msm/a6xx: fix a potential overflow issuedrivers/gpu/drm/msm/adreno/a6xx_gpu_state.c+1 -10 replies
74/111drm/xlnx: Use devm_drm_dev_allocdrivers/gpu/drm/xlnx/zynqmp_dpsub.c+6 -210 replies
75/111iomap: fix WARN_ON_ONCE() from unprivileged usersfs/iomap/direct-io.c+10 -00 replies
76/111scsi: ibmvfc: Fix error return in ibmvfc_probe()drivers/scsi/ibmvscsi/ibmvfc.c+1 -00 replies
77/111scsi: qla2xxx: Warn if done() or free() are called on an already freed srbdrivers/scsi/qla2xxx/qla_init.c drivers/scsi/qla2xxx/qla_inline.h+15 -00 replies
78/111selftests/bpf: Fix test_sysctl_loop{1, 2} failure due to clang changetools/testing/selftests/bpf/progs/test_sysctl_loop1.c tools/testing/selftests/bpf/progs/test_sysctl_loop2.c+4 -40 replies
79/111soundwire: cadence: fix race condition between suspend and Slave device alertsdrivers/soundwire/cadence_master.c drivers/soundwire/cadence_master.h+24 -10 replies
80/111brcmsmac: fix memory leak in wlc_phy_attach_lcnphydrivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c+3 -10 replies
81/111rtl8xxxu: prevent potential memory leakdrivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c+9 -10 replies
82/111Fix use after free in get_capset_info callback.drivers/gpu/drm/virtio/virtgpu_kms.c drivers/gpu/drm/virtio/virtgpu_vq.c+9 -30 replies
83/111HID: ite: Add USB id match for Acer One S1003 keyboard dockdrivers/hid/hid-ids.h drivers/hid/hid-ite.c+5 -00 replies
84/111scsi: qedf: Return SUCCESS if stale rport is encountereddrivers/scsi/qedf/qedf_main.c+1 -10 replies
85/111scsi: qedi: Mark all connections for recovery on link down eventdrivers/scsi/qedi/qedi_main.c+10 -00 replies
86/111scsi: qedi: Protect active command list to avoid list corruptiondrivers/scsi/qedi/qedi_fw.c drivers/scsi/qedi/qedi_iscsi.c+10 -00 replies
87/111scsi: qedi: Fix list_del corruption while removing active I/Odrivers/scsi/qedi/qedi_fw.c+11 -40 replies
88/111fbmem: add margin check to fb_check_caps()drivers/video/fbdev/core/fbmem.c+4 -00 replies
89/111tty: ipwireless: fix error handlingdrivers/tty/ipwireless/network.c drivers/tty/ipwireless/tty.c+3 -30 replies
90/111drm/amd/display: Fix a list corruptiondrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+1 -02 replies
91/111Bluetooth: btusb: Fix memleak in btusb_mtk_submit_wmt_recv_urbdrivers/bluetooth/btusb.c+1 -00 replies
92/111ipvs: Fix uninit-value in do_ip_vs_set_ctl()net/netfilter/ipvs/ip_vs_ctl.c+4 -30 replies
93/111reiserfs: Fix memory leak in reiserfs_parse_options()fs/reiserfs/super.c+4 -40 replies
94/111s390/qeth: strictly order bridge address eventsdrivers/s390/net/qeth_core.h drivers/s390/net/qeth_l2_main.c drivers/s390/net/qeth_l2_sys.c+52 -80 replies
95/111mwifiex: don't call del_timer_sync() on uninitialized timerdrivers/net/wireless/marvell/mwifiex/usb.c+2 -10 replies
96/111ALSA: hda/ca0132 - Add AE-7 microphone selection commands.sound/pci/hda/patch_ca0132.c+21 -10 replies
97/111ALSA: hda/ca0132 - Add new quirk ID for SoundBlaster AE-7.sound/pci/hda/patch_ca0132.c+2 -00 replies
98/111ASoC: SOF: Add topology filename override based on dmi data matchsound/soc/sof/intel/hda.c sound/soc/sof/sof-pci-dev.c+31 -10 replies
99/111ASoC: Intel: sof_rt5682: override quirk data for tgl_max98373_rt5682sound/soc/intel/boards/sof_rt5682.c+13 -00 replies
100/111scsi: smartpqi: Avoid crashing kernel for controller issuesdrivers/scsi/smartpqi/smartpqi.h drivers/scsi/smartpqi/smartpqi_init.c+68 -350 replies
101/111brcm80211: fix possible memleak in brcmf_proto_msgbuf_attachdrivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c+2 -00 replies
102/111usb: core: Solve race condition in anchor cleanup functionsdrivers/usb/core/urb.c+54 -350 replies
103/111soundwire: intel: reinitialize IP+DSP in .prepare(), but only when resumingdrivers/soundwire/cadence_master.h drivers/soundwire/intel.c+74 -10 replies
104/111scsi: ufs: ufs-qcom: Fix race conditions caused by ufs_qcom_testbus_config()drivers/scsi/ufs/ufs-qcom.c+0 -50 replies
105/111drm/amd/display: Screen corruption on dual displays (DP+USB-C)drivers/gpu/drm/amd/display/dc/core/dc.c drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c+7 -10 replies
106/111dmaengine: dw: Add DMA-channels mask cell supportdrivers/dma/dw/core.c drivers/dma/dw/of.c include/linux/platform_data/dma-dw.h+11 -20 replies
107/111dmaengine: dw: Activate FIFO-mode for memory peripherals onlydrivers/dma/dw/dw.c+1 -10 replies
108/111drm/hisilicon: Code refactoring for hibmc_drv_dedrivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h+15 -420 replies
109/111drm/amd/display: Disconnect pipe separetely when disable pipe splitdrivers/gpu/drm/amd/display/dc/core/dc.c drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h +5 more+174 -00 replies
110/111drm/panfrost: perfcnt: fix ref count leak in panfrost_perfcnt_enable_lockeddrivers/gpu/drm/panfrost/panfrost_perfcnt.c+7 -30 replies
111/111ath10k: check idx validity in __ath10k_htt_rx_ring_fill_n()drivers/net/wireless/ath/ath10k/htt_rx.c+8 -00 replies

Reviews trailers per patch

48 of 111 patches have a Reviewed-by or Acked-by.

PatchDan CarpenterJulian AnastasovSimon HormanAlexandra WinterChristoph HellwigKieran BinghamLaurent PinchartHannes ReineckeTony Luck[email protected]Anton Altaparmakov[email protected]Willem de BruijnXie HeMike ChristieSteven PriceAlyssa RosenzweigAlan SternThomas ZimmermannManish MandlikHyun KwonRanjani SridharanRander WangJaroslav KyselaAndrii NakryikoFeifei XuNicholas KazlauskasRodrigo SiqueiraGuennadi LiakhovetskiOliver NeukumAndy ShevchenkoAric CyrQingqing ZhuoTyrel DatwylerHongwu SuAvri AltmanBean HuoAsutosh DasScott TeelScott BeneshPrasad MunirathnamMartin WilckBrian NorrisGanapathi BhatDavid SterbaDarrick J. WongArun EasiKonrad Rzeszutek WilkDaniel Caujolle-BertMartin KaFai LauDavid AhernBjorn AnderssonRafael J. WysockiFritz KoenigFabien DessenneSylwester NawrockiKees CookMiguel OjedaNathan ChancellorSedat DilekJohn Allen
1/111
2/111R-b
3/111
4/111A-b
5/111R-b R-b T-b T-b
6/111
7/111
8/111
9/111
10/111
11/111
12/111
13/111
14/111R-b R-b
15/111R-b
16/111
17/111R-b
18/111
19/111
20/111
21/111
22/111R-b R-b
23/111R-b
24/111
25/111
26/111
27/111
28/111
29/111
30/111R-b
31/111A-b
32/111
33/111R-b
34/111
35/111R-b
36/111T-b A-b
37/111Reported-and-tested-by A-b A-b
38/111
39/111
40/111A-b
41/111A-b
42/111
43/111
44/111R-b
45/111
46/111
47/111
48/111
49/111
50/111
51/111
52/111
53/111
54/111A-b T-b
55/111
56/111
57/111
58/111
59/111
60/111
61/111R-b R-b
62/111R-b R-b
63/111R-b R-b
64/111
65/111R-b
66/111
67/111
68/111
69/111R-b
70/111A-b
71/111R-b
72/111R-b
73/111
74/111R-b
75/111R-b R-b
76/111A-b
77/111R-b R-b
78/111A-b
79/111R-b R-b A-b
80/111
81/111
82/111
83/111
84/111
85/111
86/111
87/111
88/111R-b
89/111A-b
90/111A-b
91/111
92/111A-b R-b
93/111
94/111R-b
95/111R-b A-b
96/111
97/111
98/111R-b
99/111R-b
100/111R-b R-b R-b R-b
101/111
102/111A-b A-b
103/111
104/111R-b R-b R-b R-b
105/111R-b A-b
106/111
107/111R-b
108/111R-b
109/111R-b A-b
110/111A-b
111/111

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 61 reviewers.

Read the v1 thread