Skip to content

bpf: Call the missed btf_record_free() when map creation fails

Sasha Levin alsa-devel amd-gfx bpf dm-devel dri-devel imx intel-xe io-uring linux-arm-kernel linux-arm-msm linux-cifs linux-clk linux-ext4 linux-fbdev linux-fsdevel linux-i2c linux-i3c linux-iio linux-kselftest linux-media linux-nfs linux-pci linux-rdma linux-remoteproc linux-riscv linux-s390 linux-scsi linux-serial linux-sound linux-staging linux-usb linux-xfs lkml loongarch netdev netfilter-devel ntb nvdimm stable virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest76 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/76bpf: Call the missed btf_record_free() when map creation failskernel/bpf/syscall.c+12 -70 replies
2/76selftests/bpf: Fix ARG_PTR_TO_LONG {half-,}uninitialized testtools/testing/selftests/bpf/progs/verifier_int_ptr.c+1 -40 replies
3/76bpf: Fix a sdiv overflow issuekernel/bpf/verifier.c+89 -40 replies
4/76bpf: Check percpu map value size firstkernel/bpf/arraymap.c kernel/bpf/hashtab.c+6 -00 replies
5/76bpftool: Fix undefined behavior in qsort(NULL, 0, ...)tools/bpf/bpftool/net.c+3 -00 replies
6/76bpftool: Fix undefined behavior caused by shifting into the sign bittools/bpf/bpftool/net.c+4 -40 replies
7/76s390/boot: Compile all files with the same march flagarch/s390/boot/Makefile+5 -140 replies
8/76s390/facility: Disable compile time optimization for decompressor codearch/s390/include/asm/facility.h+4 -20 replies
9/76s390/mm: Add cond_resched() to cmm_alloc/free_pages()arch/s390/mm/cmm.c+17 -10 replies
10/76bpf, x64: Fix a jit convergence issuearch/x86/net/bpf_jit_comp.c+52 -20 replies
11/76ext4: fix i_data_sem unlock order in ext4_ind_migrate()fs/ext4/migrate.c+1 -10 replies
12/76ext4: avoid use-after-free in ext4_ext_show_leaf()fs/ext4/extents.c+4 -50 replies
13/76ext4: ext4_search_dir should return a proper errorfs/ext4/namei.c+7 -50 replies
14/76iomap: fix iomap_dio_zero() for fs bs > system page sizefs/iomap/buffered-io.c fs/iomap/direct-io.c+41 -81 reply
15/76ext4: don't set SB_RDONLY after filesystem errorsfs/ext4/super.c+5 -40 replies
16/76ext4: nested locking for xattr inodefs/ext4/xattr.c+2 -20 replies
17/76s390/cpum_sf: Remove WARN_ON_ONCE statementsarch/s390/kernel/perf_cpum_sf.c+4 -80 replies
18/76ext4: filesystems without casefold feature cannot be mounted with siphashfs/ext4/super.c+7 -00 replies
19/76s390/traps: Handle early warnings gracefullyarch/s390/kernel/early.c+15 -20 replies
20/76bpf: Prevent tail call between progs attached to different hooksinclude/linux/bpf.h kernel/bpf/core.c+19 -30 replies
21/76ktest.pl: Avoid false positives with grub2 skip regextools/testing/ktest/ktest.pl+1 -10 replies
22/76RDMA/mad: Improve handling of timed out WRs of mad agentdrivers/infiniband/core/mad.c+8 -60 replies
23/76soundwire: intel_bus_common: enable interrupts before exiting resetdrivers/soundwire/intel_bus_common.c+8 -80 replies
24/76PCI: Add function 0 DMA alias quirk for Glenfly Arise chipdrivers/pci/quirks.c include/linux/pci_ids.h sound/pci/hda/hda_intel.c+7 -10 replies
25/76RDMA/rtrs-srv: Avoid null pointer deref during path establishmentdrivers/infiniband/ulp/rtrs/rtrs-srv.c+11 -20 replies
26/76clk: bcm: bcm53573: fix OF node leak in initdrivers/clk/bcm/clk-bcm53573-ilp.c+1 -10 replies
27/76PCI: Add ACS quirk for Qualcomm SA8775Pdrivers/pci/quirks.c+2 -00 replies
28/76i2c: i801: Use a different adapter-name for IDF adaptersdrivers/i2c/busses/i2c-i801.c+8 -10 replies
29/76PCI: Mark Creative Labs EMU20k2 INTx masking as brokendrivers/pci/quirks.c+2 -00 replies
30/76i3c: master: cdns: Fix use after free vulnerability in cdns_i3c_master Driver Due to Race Conditiondrivers/i3c/master/i3c-master-cdns.c+1 -00 replies
31/76RISC-V: Don't have MAX_PHYSMEM_BITS exceed phys_addr_tarch/riscv/include/asm/sparsemem.h+1 -10 replies
32/76io_uring: check if we need to reschedule during overflow flushio_uring/io_uring.c+15 -00 replies
33/76ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race conditiondrivers/ntb/hw/mscc/ntb_hw_switchtec.c+1 -00 replies
34/76mfd: intel_soc_pmic_chtwc: Make Lenovo Yoga Tab 3 X90F DMI match less strictdrivers/mfd/intel_soc_pmic_chtwc.c+0 -10 replies
35/76mfd: intel-lpss: Add Intel Arrow Lake-H LPSS PCI IDsdrivers/mfd/intel-lpss-pci.c+13 -00 replies
36/76mfd: intel-lpss: Add Intel Panther Lake LPSS PCI IDsdrivers/mfd/intel-lpss-pci.c+26 -00 replies
37/76riscv: Omit optimized string routines when using KASANarch/riscv/include/asm/string.h arch/riscv/kernel/riscv_ksyms.c arch/riscv/lib/Makefile +4 more+9 -30 replies
38/76riscv: avoid Imbalance in RASarch/riscv/kernel/entry.S+2 -20 replies
39/76RDMA/mlx5: Enforce umem boundaries for explicit ODP page faultsdrivers/infiniband/hw/mlx5/odp.c+16 -90 replies
40/76PCI: qcom: Disable mirroring of DBI and iATU register space in BAR regiondrivers/pci/controller/dwc/pcie-designware.c drivers/pci/controller/dwc/pcie-designware.h drivers/pci/controller/dwc/pcie-qcom.c+61 -150 replies
41/76PCI: endpoint: Assign PCI domain number for endpoint controllersdrivers/pci/endpoint/pci-epc-core.c include/linux/pci-epc.h+16 -00 replies
42/76soundwire: cadence: re-check Peripheral status with delayed_workdrivers/soundwire/cadence_master.c drivers/soundwire/cadence_master.h drivers/soundwire/intel.h +2 more+56 -20 replies
43/76riscv/kexec_file: Fix relocation type R_RISCV_ADD16 and R_RISCV_SUB16 unknownarch/riscv/kernel/elf_kexec.c+6 -00 replies
44/76media: videobuf2-core: clear memory related fields in __vb2_plane_dmabuf_put()drivers/media/common/videobuf2/videobuf2-core.c+4 -40 replies
45/76remoteproc: imx_rproc: Use imx specific hook for find_loaded_rsc_tabledrivers/remoteproc/imx_rproc.c+12 -10 replies
46/76clk: imx: Remove CLK_SET_PARENT_GATE for DRAM mux for i.MX7Ddrivers/clk/imx/clk-imx7d.c+2 -20 replies
47/76fs: nfs: fix missing refcnt by replacing folio_set_private by folio_attach_privatefs/nfs/write.c+2 -40 replies
48/76fuse: allow O_PATH fd for FUSE_DEV_IOC_BACKING_OPENfs/fuse/passthrough.c+2 -52 replies
49/76fuse: handle idmappings properly in ->write_iter()fs/fuse/file.c+2 -10 replies
50/76serial: protect uart_port_dtr_rts() in uart_shutdown() toodrivers/tty/serial/serial_core.c+9 -70 replies
51/76usb: typec: tipd: Free IRQ only if it was requested beforedrivers/usb/typec/tipd/core.c+2 -10 replies
52/76usb: typec: ucsi: Don't truncate the readsdrivers/usb/typec/ucsi/ucsi.c drivers/usb/typec/ucsi/ucsi.h+4 -60 replies
53/76usb: chipidea: udc: enable suspend interrupt after usb resetdrivers/usb/chipidea/udc.c+7 -10 replies
54/76usb: dwc2: Adjust the timing of USB Driver Interrupt Registration in the Crashkernel Scenariodrivers/usb/dwc2/platform.c+14 -120 replies
55/76xhci: dbc: Fix STALL transfer event handlingdrivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-dbgcap.h+83 -520 replies
56/76usb: host: xhci-plat: Parse xhci-missing_cas_quirk and apply quirkdrivers/usb/host/xhci-plat.c+6 -00 replies
57/76comedi: ni_routing: tools: Check when the file could not be openeddrivers/comedi/drivers/ni_routing/tools/convert_c_to_py.c+5 -00 replies
58/76LoongArch: Fix memleak in pci_acpi_scan_root()arch/loongarch/pci/acpi.c+1 -00 replies
59/76netfilter: nf_nat: don't try nat source port reallocation for reverse dir clashnet/netfilter/nf_nat_core.c+118 -20 replies
60/76netfilter: nf_reject: Fix build warning when CONFIG_BRIDGE_NETFILTER=nnet/ipv4/netfilter/nf_reject_ipv4.c net/ipv6/netfilter/nf_reject_ipv6.c+6 -90 replies
61/76virtio_pmem: Check device status before requesting flushdrivers/nvdimm/nd_virtio.c+9 -00 replies
62/76tools/iio: Add memory allocation failure check for trigger_nametools/iio/iio_generic_buffer.c+4 -00 replies
63/76staging: vme_user: added bound check to geoiddrivers/staging/vme_user/vme_fake.c drivers/staging/vme_user/vme_tsi148.c+12 -00 replies
64/76usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.cdrivers/usb/gadget/function/uvc_v4l2.c+11 -10 replies
65/76dm vdo: don't refer to dedupe_context after releasing itdrivers/md/dm-vdo/dedupe.c+3 -00 replies
66/76driver core: bus: Fix double free in driver API bus_register()drivers/base/bus.c+2 -00 replies
67/76driver core: bus: Return -EIO instead of 0 when show/store invalid bus attributedrivers/base/bus.c+4 -20 replies
68/76scsi: lpfc: Add ELS_RSP cmd to the list of WQEs to flush in lpfc_els_flush_cmd()drivers/scsi/lpfc/lpfc_els.c+4 -30 replies
69/76scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instancedrivers/scsi/lpfc/lpfc_ct.c drivers/scsi/lpfc/lpfc_disc.h drivers/scsi/lpfc/lpfc_vport.c+55 -70 replies
70/76scsi: lpfc: Revise TRACE_EVENT log flag severities from KERN_ERR to KERN_WARNINGdrivers/scsi/lpfc/lpfc_ct.c drivers/scsi/lpfc/lpfc_els.c+64 -710 replies
71/76drm/xe/oa: Fix overflow in oa batch bufferdrivers/gpu/drm/xe/xe_bb.c+2 -10 replies
72/76drm/amdgpu: nuke the VM PD/PT shadow handlingdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +4 more+6 -2652 replies
73/76drm/amd/display: Check null pointer before dereferencing sedrivers/gpu/drm/amd/display/dc/core/dc.c+1 -10 replies
74/76fbcon: Fix a NULL pointer dereference issue in fbcon_putcsdrivers/video/fbdev/core/fbcon.c+2 -00 replies
75/76smb: client: fix UAF in async decryptionfs/smb/client/smb2ops.c fs/smb/client/smb2pdu.c+34 -190 replies
76/76fbdev: sisfb: Fix strbuf array overflowdrivers/video/fbdev/sis/sis_main.c+1 -10 replies

Reviews trailers per patch

41 of 76 patches have a Reviewed-by or Acked-by.

PatchJiri OlsaAndrii NakryikoQuentin MonnetSven SchnelleHeiko CarstensRitesh Harjani (IBM)Jan KaraOjaswin MujooHannes ReineckeDarrick J. WongDave ChinnerDaniel GomezChristian BraunerSumanth KorikkarJohn 'Warthog9' Hawley (Tenstorrent)Takashi IwaiPali RohárWolfram SangCharlie JenkinsAlexandre GhitiLogan GunthorpeAndy ShevchenkoCyril BurManivannan SadhasivamMayank RanaFrank LiLiam GirdwoodAndrew JonesTomasz FigaIuliana ProdanDaniel BalutaAbel VesaAmir GoldsteinHeikki KrogerusAbhishek Pandit-SubediPeter ChenŁukasz BartosikPankaj GuptaDan CarpenterAshutosh DixitLijo LazarAlex HungRodrigo SiqueiraDaniel Wheeler[email protected]
1/76A-b
2/76A-b
3/76A-b
4/76A-b A-b
5/76R-b
6/76A-b
7/76R-b
8/76R-b
9/76R-b
10/76
11/76R-b
12/76R-b R-b T-b
13/76
14/76R-b R-b R-b R-b
15/76R-b
16/76
17/76A-b
18/76
19/76R-b
20/76
21/76A-b
22/76
23/76
24/76R-b
25/76
26/76
27/76
28/76R-b A-b
29/76
30/76
31/76R-b R-b
32/76
33/76R-b
34/76R-b
35/76R-b
36/76R-b
37/76R-b T-b
38/76R-b
39/76
40/76R-b R-b
41/76R-b
42/76R-b
43/76R-b
44/76A-b
45/76R-b R-b
46/76R-b
47/76
48/76R-b
49/76
50/76
51/76R-b
52/76R-b
53/76A-b
54/76
55/76T-b
56/76
57/76
58/76
59/76
60/76
61/76A-b
62/76
63/76R-b
64/76
65/76
66/76
67/76
68/76
69/76
70/76
71/76R-b
72/76A-b
73/76A-b R-b T-b
74/76T-b
75/76
76/76

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

Read the v1 thread