Linux 5.10.261
Greg Kroah-Hartman
maintainerI'm announcing the release of the 5.10.261 kernel.
All users of the 5.10 kernel series must upgrade.
The updated 5.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/admin-guide/pm/cpufreq.rst | 6 Documentation/crypto/userspace-if.rst | 31 Documentation/driver-api/pci/pci.rst | 3 Makefile | 2 arch/alpha/kernel/pci-sysfs.c | 13 arch/arm/boot/dts/am335x-sl50.dts | 4 arch/arm/mach-davinci/board-da850-evm.c | 12 arch/arm/mach-imx/cpu-imx31.c | 9 arch/arm/mach-imx/mm-imx3.c | 2 arch/arm64/boot/dts/qcom/sdm630.dtsi | 9 arch/arm64/kernel/hw_breakpoint.c | 9 arch/arm64/kvm/vgic/vgic-its.c | 15 arch/arm64/kvm/vgic/vgic.c | 11 arch/mips/dec/int-handler.S | 2 arch/mips/dec/prom/init.c | 6 arch/mips/dec/setup.c | 6 arch/mips/fw/lib/call_o32.S | 2 arch/mips/include/asm/dec/prom.h | 15 arch/mips/mm/init.c | 12 arch/mips/sgi-ip22/ip22-gio.c | 7 arch/powerpc/kexec/core_64.c | 4 arch/powerpc/perf/core-fsl-emb.c | 3 arch/powerpc/platforms/cell/spufs/file.c | 6 arch/powerpc/platforms/powernv/setup.c | 3 arch/riscv/kernel/stacktrace.c | 2 arch/sparc/kernel/led.c | 2 arch/x86/boot/compressed/acpi.c | 7 arch/x86/boot/early_serial_console.c | 11 arch/x86/events/amd/core.c | 6 arch/x86/kernel/cpu/mce/therm_throt.c | 7 arch/x86/kvm/vmx/vmx.c | 3 arch/x86/mm/numa_emulation.c | 17 arch/x86/platform/olpc/olpc-xo15-sci.c | 1 block/partitions/aix.c | 9 certs/common.c | 2 crypto/af_alg.c | 54 crypto/algif_skcipher.c | 49 crypto/asymmetric_keys/verify_pefile.c | 2 crypto/drbg.c | 4 crypto/ecc.c | 31 crypto/ecrdsa.c | 2 crypto/pcrypt.c | 4 crypto/rng.c | 11 drivers/acpi/acpi_ipmi.c | 2 drivers/acpi/nfit/core.c | 15 drivers/acpi/resource.c | 6 drivers/android/binder.c | 19 drivers/ata/pata_pxa.c | 1 drivers/ata/sata_gemini.c | 2 drivers/base/firmware_loader/main.c | 3 drivers/base/power/main.c | 6 drivers/base/property.c | 4 drivers/block/drbd/drbd_receiver.c | 5 drivers/bluetooth/bpa10x.c | 8 drivers/bluetooth/btintel.c | 105 drivers/bluetooth/btintel.h | 5 drivers/bluetooth/btrtl.c | 5 drivers/bluetooth/btusb.c | 44 drivers/bluetooth/hci_intel.c | 7 drivers/bus/mhi/host/main.c | 3 drivers/bus/sunxi-rsb.c | 3 drivers/char/hw_random/virtio-rng.c | 23 drivers/char/tlclk.c | 4 drivers/char/tpm/eventlog/tpm1.c | 4 drivers/char/tpm/tpm-dev.c | 2 drivers/char/tpm/tpmrm-dev.c | 2 drivers/clk/clk-scmi.c | 4 drivers/clk/imx/clk.c | 2 drivers/clk/qcom/a53-pll.c | 2 drivers/cpufreq/cpufreq.c | 2 drivers/cpufreq/cpufreq_conservative.c | 12 drivers/cpufreq/intel_pstate.c | 6 drivers/cpufreq/pcc-cpufreq.c | 2 drivers/crypto/amcc/crypto4xx_alg.c | 114 drivers/crypto/amcc/crypto4xx_core.c | 148 drivers/crypto/amcc/crypto4xx_core.h | 15 drivers/crypto/amcc/crypto4xx_reg_def.h | 19 drivers/crypto/amcc/crypto4xx_sa.h | 18 drivers/crypto/amcc/crypto4xx_trng.h | 2 drivers/crypto/amlogic/amlogic-gxl-core.c | 2 drivers/crypto/atmel-ecc.c | 2 drivers/crypto/atmel-sha204a.c | 29 drivers/crypto/caam/caamalg.c | 12 drivers/crypto/caam/caamalg_qi.c | 12 drivers/crypto/caam/caamalg_qi2.c | 12 drivers/crypto/caam/caamhash.c | 4 drivers/crypto/caam/key_gen.c | 4 drivers/crypto/cavium/cpt/cptvf_reqmanager.c | 4 drivers/crypto/ccp/sev-dev.c | 3 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c | 4 drivers/crypto/qat/qat_common/adf_accel_devices.h | 2 drivers/crypto/qat/qat_common/adf_aer.c | 7 drivers/crypto/qat/qat_common/adf_common_drv.h | 4 drivers/crypto/qat/qat_common/adf_isr.c | 18 drivers/crypto/qat/qat_common/adf_pf2vf_msg.c | 22 drivers/crypto/qat/qat_common/adf_sriov.c | 38 drivers/crypto/qat/qat_common/qat_asym_algs.c | 10 drivers/crypto/talitos.c | 26 drivers/dma-buf/udmabuf.c | 5 drivers/dma/dmaengine.c | 3 drivers/gpio/gpio-eic-sprd.c | 8 drivers/gpio/gpio-htc-egpio.c | 6 drivers/gpio/gpio-mvebu.c | 5 drivers/gpio/gpio-palmas.c | 19 drivers/gpio/gpio-pca953x.c | 11 drivers/gpio/gpio-timberdale.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 drivers/gpu/drm/drm_edid.c | 8 drivers/gpu/drm/i2c/sil164_drv.c | 7 drivers/gpu/drm/msm/dp/dp_display.c | 4 drivers/gpu/drm/msm/dp/dp_reg.h | 4 drivers/gpu/drm/radeon/radeon_ring.c | 4 drivers/gpu/drm/tegra/dc.c | 4 drivers/gpu/drm/tidss/tidss_kms.c | 2 drivers/gpu/host1x/bus.c | 2 drivers/hid/hid-appleir.c | 45 drivers/hid/hid-core.c | 7 drivers/hid/hid-lg-g15.c | 16 drivers/hid/hid-logitech-hidpp.c | 1 drivers/hid/hid-multitouch.c | 32 drivers/hid/hid-picolcd_core.c | 3 drivers/hid/hid-sensor-hub.c | 77 drivers/hid/wacom_sys.c | 12 drivers/hwmon/asus_atk0110.c | 3 drivers/hwmon/pmbus/adm1275.c | 2 drivers/hwmon/w83627hf.c | 4 drivers/hwmon/w83793.c | 1 drivers/hwspinlock/qcom_hwspinlock.c | 5 drivers/hwtracing/coresight/coresight-cti-platform.c | 1 drivers/hwtracing/coresight/coresight-etb10.c | 6 drivers/i2c/busses/i2c-mlxbf.c | 4 drivers/i2c/busses/i2c-mt65xx.c | 2 drivers/i2c/busses/i2c-stm32f7.c | 9 drivers/i2c/i2c-core-base.c | 82 drivers/i3c/master.c | 19 drivers/iio/accel/bmc150-accel-core.c | 2 drivers/iio/accel/kxsd9.c | 5 drivers/iio/accel/mma8452.c | 2 drivers/iio/adc/lpc32xx_adc.c | 4 drivers/iio/adc/spear_adc.c | 4 drivers/iio/adc/ti-ads124s08.c | 3 drivers/iio/chemical/scd30_core.c | 19 drivers/iio/common/Kconfig | 1 drivers/iio/common/Makefile | 1 drivers/iio/common/inv_sensors/Kconfig | 7 drivers/iio/common/inv_sensors/Makefile | 6 drivers/iio/common/inv_sensors/inv_sensors_timestamp.c | 191 drivers/iio/common/st_sensors/st_sensors_core.c | 23 drivers/iio/gyro/bmg160_core.c | 16 drivers/iio/imu/adis_trigger.c | 2 drivers/iio/imu/bmi160/bmi160_core.c | 3 drivers/iio/imu/inv_icm42600/Kconfig | 1 drivers/iio/imu/inv_icm42600/Makefile | 1 drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c | 35 drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c | 61 drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.h | 3 drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 24 drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c | 35 drivers/iio/imu/inv_icm42600/inv_icm42600_timestamp.c | 195 - drivers/iio/imu/inv_icm42600/inv_icm42600_timestamp.h | 85 drivers/iio/imu/inv_mpu6050/Kconfig | 1 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 30 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 18 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c | 83 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c | 11 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 21 drivers/iio/industrialio-event.c | 5 drivers/iio/light/al3010.c | 2 drivers/iio/light/gp2ap002.c | 2 drivers/iio/light/opt3001.c | 6 drivers/iio/light/si1133.c | 14 drivers/iio/light/veml6030.c | 8 drivers/iio/magnetometer/ak8975.c | 15 drivers/iio/orientation/hid-sensor-rotation.c | 40 drivers/iio/temperature/ltc2983.c | 5 drivers/infiniband/hw/hns/hns_roce_hem.c | 8 drivers/infiniband/hw/hns/hns_roce_main.c | 2 drivers/infiniband/hw/mlx4/mlx4_ib.h | 1 drivers/infiniband/hw/mlx4/mr.c | 9 drivers/infiniband/hw/mlx4/sysfs.c | 45 drivers/infiniband/hw/mlx5/devx.c | 30 drivers/infiniband/hw/mlx5/qp.c | 11 drivers/infiniband/sw/siw/siw_qp_rx.c | 9 drivers/infiniband/ulp/srpt/ib_srpt.c | 5 drivers/input/joystick/iforce/iforce-packets.c | 18 drivers/input/joystick/maplecontrol.c | 3 drivers/input/keyboard/maple_keyb.c | 4 drivers/input/misc/ims-pcu.c | 115 drivers/input/mouse/elan_i2c_core.c | 36 drivers/input/mouse/maplemouse.c | 9 drivers/input/rmi4/rmi_bus.c | 4 drivers/input/rmi4/rmi_f30.c | 2 drivers/input/rmi4/rmi_f3a.c | 2 drivers/input/touchscreen/goodix.c | 3 drivers/input/touchscreen/mms114.c | 2 drivers/input/touchscreen/touchwin.c | 15 drivers/iommu/amd/amd_iommu_types.h | 11 drivers/irqchip/irq-crossbar.c | 10 drivers/leds/leds-lm3601x.c | 11 drivers/leds/leds-lm3697.c | 4 drivers/leds/uleds.c | 3 drivers/md/dm-bufio.c | 4 drivers/md/dm-era-target.c | 10 drivers/md/dm-ioctl.c | 7 drivers/md/dm-log.c | 3 drivers/md/dm-stats.c | 10 drivers/md/dm-thin-metadata.c | 67 drivers/md/dm-verity-target.c | 2 drivers/media/platform/qcom/venus/helpers.c | 4 drivers/media/platform/rockchip/rga/rga-hw.c | 2 drivers/media/platform/rockchip/rga/rga-hw.h | 2 drivers/media/usb/uvc/uvc_video.c | 30 drivers/memstick/core/ms_block.c | 4 drivers/mfd/cros_ec_dev.c | 3 drivers/mfd/sm501.c | 4 drivers/mfd/tps6586x.c | 2 drivers/mmc/host/renesas_sdhi_core.c | 1 drivers/mmc/host/vub300.c | 26 drivers/mtd/devices/slram.c | 22 drivers/mtd/maps/vmu-flash.c | 1 drivers/mtd/nand/onenand/onenand_samsung.c | 7 drivers/mtd/nand/raw/fsl_ifc_nand.c | 9 drivers/mtd/nand/raw/lpc32xx_mlc.c | 12 drivers/mtd/nand/raw/lpc32xx_slc.c | 12 drivers/mtd/nand/raw/nand_base.c | 2 drivers/mtd/spi-nor/Kconfig | 1 drivers/net/bonding/bond_3ad.c | 1 drivers/net/dsa/sja1105/sja1105_ptp.c | 2 drivers/net/ethernet/amazon/ena/ena_netdev.c | 23 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 3 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c | 18 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 8 drivers/net/ethernet/freescale/fman/fman.c | 4 drivers/net/ethernet/marvell/mvneta.c | 3 drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 1 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c | 3 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 1 drivers/net/ethernet/qlogic/qede/qede_fp.c | 5 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c | 5 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h | 20 drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c | 53 drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h | 22 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c | 11 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c | 334 + drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c | 9 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h | 1 drivers/net/ethernet/sun/sungem.c | 13 drivers/net/ieee802154/ca8210.c | 9 drivers/net/macsec.c | 7 drivers/net/usb/gl620a.c | 6 drivers/net/usb/kalmia.c | 8 drivers/net/usb/lan78xx.c | 18 drivers/net/usb/net1080.c | 2 drivers/net/virtio_net.c | 3 drivers/net/wan/hdlc_ppp.c | 15 drivers/net/wireless/ath/ath9k/xmit.c | 5 drivers/net/wireless/ath/wcn36xx/smd.c | 6 drivers/net/wireless/marvell/mwifiex/join.c | 1 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c | 12 drivers/net/wireless/realtek/rtw88/pci.c | 5 drivers/nvdimm/btt.c | 14 drivers/nvme/host/core.c | 2 drivers/nvme/target/rdma.c | 18 drivers/nvme/target/tcp.c | 33 drivers/pci/Makefile | 2 drivers/pci/controller/dwc/pci-imx6.c | 5 drivers/pci/controller/dwc/pcie-designware-host.c | 2 drivers/pci/controller/mobiveil/pcie-mobiveil-host.c | 8 drivers/pci/controller/pci-host-common.c | 4 drivers/pci/controller/pcie-altera-msi.c | 2 drivers/pci/controller/pcie-altera.c | 32 drivers/pci/controller/pcie-mediatek.c | 115 drivers/pci/controller/pcie-rcar-host.c | 1 drivers/pci/controller/pcie-xilinx-nwl.c | 2 drivers/pci/pci.c | 135 drivers/pci/pci.h | 4 drivers/pci/rebar.c | 217 + drivers/pci/setup-bus.c | 100 drivers/pci/setup-res.c | 53 drivers/pinctrl/mediatek/pinctrl-mt8167.c | 2 drivers/pinctrl/mediatek/pinctrl-mt8516.c | 2 drivers/pinctrl/sunxi/pinctrl-sunxi.c | 2 drivers/platform/x86/xo15-ebook.c | 7 drivers/power/supply/charger-manager.c | 6 drivers/pwm/pwm-imx27.c | 8 drivers/rapidio/devices/tsi721.c | 3 drivers/regulator/core.c | 33 drivers/regulator/ltc3676.c | 10 drivers/reset/reset-sunxi.c | 4 drivers/rtc/rtc-abx80x.c | 3 drivers/rtc/rtc-cmos.c | 6 drivers/rtc/rtc-ds1307.c | 30 drivers/s390/char/monwriter.c | 3 drivers/s390/net/qeth_l3_main.c | 6 drivers/scsi/hpsa.c | 4 drivers/scsi/pm8001/pm8001_ctl.c | 5 drivers/scsi/scsi_scan.c | 2 drivers/scsi/scsi_transport_sas.c | 60 drivers/scsi/sg.c | 7 drivers/scsi/smartpqi/smartpqi_init.c | 2 drivers/soc/fsl/qe/qe.c | 3 drivers/soc/ti/k3-ringacc.c | 4 drivers/spi/spi-ep93xx.c | 1 drivers/spi/spi-fsl-lpspi.c | 18 drivers/spi/spi-sh-msiof.c | 10 drivers/spi/spi-uniphier.c | 4 drivers/spi/spi-xilinx.c | 11 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 6 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c | 2 drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c | 12 drivers/staging/media/atomisp/pci/sh_css.c | 1946 ++++------ drivers/staging/media/ipu3/ipu3-css-params.c | 8 drivers/staging/media/sunxi/cedrus/cedrus.c | 4 drivers/staging/most/video/video.c | 7 drivers/staging/nvec/nvec.c | 4 drivers/staging/rtl8723bs/core/rtw_ap.c | 31 drivers/staging/rtl8723bs/core/rtw_cmd.c | 96 drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 22 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c | 4 drivers/staging/rtl8723bs/core/rtw_mlme.c | 16 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 345 - drivers/staging/rtl8723bs/core/rtw_recv.c | 4 drivers/staging/rtl8723bs/core/rtw_security.c | 6 drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 14 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 34 drivers/staging/rtl8723bs/hal/odm.c | 30 drivers/staging/rtl8723bs/hal/odm.h | 3 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c | 4 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 1 drivers/staging/rtl8723bs/hal/sdio_halinit.c | 10 drivers/staging/rtl8723bs/include/hal_phy.h | 3 drivers/staging/rtl8723bs/include/ieee80211.h | 22 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | 6 drivers/staging/rtl8723bs/include/wifi.h | 1 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 118 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 41 drivers/staging/rtl8723bs/os_dep/os_intfs.c | 6 drivers/target/target_core_pr.c | 8 drivers/thermal/thermal_hwmon.c | 5 drivers/tty/serial/8250/8250_mid.c | 31 drivers/tty/serial/8250/8250_omap.c | 3 drivers/tty/serial/msm_serial.c | 3 drivers/usb/atm/ueagle-atm.c | 36 drivers/usb/class/cdc-acm.c | 3 drivers/usb/common/ulpi.c | 23 drivers/usb/core/quirks.c | 6 drivers/usb/gadget/composite.c | 5 drivers/usb/gadget/function/f_fs.c | 5 drivers/usb/gadget/function/f_printer.c | 10 drivers/usb/gadget/function/rndis.c | 20 drivers/usb/host/ehci-sched.c | 11 drivers/usb/host/fotg210-hcd.c | 6 drivers/usb/host/max3421-hcd.c | 8 drivers/usb/host/sl811-hcd.c | 1 drivers/usb/host/xhci.c | 11 drivers/usb/misc/chaoskey.c | 1 drivers/usb/misc/idmouse.c | 45 drivers/usb/misc/iowarrior.c | 21 drivers/usb/misc/ldusb.c | 38 drivers/usb/misc/legousbtower.c | 37 drivers/usb/misc/uss720.c | 5 drivers/usb/mtu3/mtu3_gadget.c | 1 drivers/usb/serial/digi_acceleport.c | 43 drivers/usb/serial/option.c | 16 drivers/usb/storage/ene_ub6250.c | 3 drivers/usb/storage/usb.c | 2 drivers/usb/typec/tcpm/tcpm.c | 7 drivers/usb/typec/ucsi/displayport.c | 7 drivers/usb/typec/ucsi/ucsi_ccg.c | 2 drivers/usb/usbip/vudc.h | 1 drivers/usb/usbip/vudc_dev.c | 4 drivers/vfio/pci/vfio_pci.c | 1 drivers/vhost/vdpa.c | 29 drivers/video/fbdev/aty/radeon_base.c | 1 drivers/video/fbdev/carminefb.c | 1 drivers/video/fbdev/core/fbcon.c | 7 drivers/video/fbdev/i740fb.c | 1 drivers/video/fbdev/nvidia/nvidia.c | 1 drivers/video/fbdev/s3fb.c | 1 drivers/video/fbdev/sm501fb.c | 16 drivers/video/fbdev/sm712.h | 2 drivers/video/fbdev/tdfxfb.c | 1 drivers/video/fbdev/tridentfb.c | 1 drivers/video/fbdev/uvesafb.c | 4 drivers/virtio/virtio_mmio.c | 26 drivers/watchdog/sprd_wdt.c | 5 drivers/xen/gntdev.c | 8 fs/afs/cell.c | 2 fs/afs/cmservice.c | 2 fs/afs/rxrpc.c | 11 fs/afs/super.c | 3 fs/afs/vl_list.c | 10 fs/btrfs/extent-tree.c | 17 fs/cifs/cifs_debug.c | 2 fs/cifs/cifsacl.c | 2 fs/cifs/cifsfs.c | 1 fs/cifs/cifsglob.h | 5 fs/cifs/cifsproto.h | 2 fs/cifs/connect.c | 17 fs/cifs/misc.c | 4 fs/cifs/netmisc.c | 2 fs/cifs/readdir.c | 6 fs/cifs/smb2maperror.c | 16 fs/cifs/smb2misc.c | 123 fs/cifs/smb2ops.c | 107 fs/cifs/smb2pdu.c | 114 fs/cifs/smb2pdu.h | 365 - fs/cifs/smb2proto.h | 4 fs/cifs/smb2transport.c | 36 fs/configfs/dir.c | 54 fs/efs/file.c | 21 fs/exfat/dir.c | 13 fs/ext4/ioctl.c | 12 fs/f2fs/checkpoint.c | 13 fs/f2fs/data.c | 29 fs/f2fs/debug.c | 2 fs/f2fs/f2fs.h | 1 fs/f2fs/file.c | 17 fs/f2fs/gc.c | 4 fs/f2fs/inode.c | 13 fs/f2fs/segment.c | 14 fs/f2fs/segment.h | 8 fs/f2fs/xattr.c | 4 fs/fs-writeback.c | 20 fs/fuse/cuse.c | 4 fs/fuse/dev.c | 2 fs/hfs/bfind.c | 2 fs/hfs/bnode.c | 56 fs/hfs/brec.c | 2 fs/hfs/btree.c | 2 fs/hfs/btree.h | 71 fs/hfs/hfs_fs.h | 83 fs/hfs/inode.c | 2 fs/hfsplus/bfind.c | 2 fs/hfsplus/bnode.c | 62 fs/hfsplus/brec.c | 2 fs/hfsplus/btree.c | 2 fs/hfsplus/hfsplus_fs.h | 40 fs/isofs/rock.c | 11 fs/lockd/svcsubs.c | 4 fs/nfs/callback_proc.c | 9 fs/nfs/dir.c | 2 fs/nfs/filelayout/filelayout.c | 2 fs/nfs/flexfilelayout/flexfilelayout.c | 33 fs/nfs/flexfilelayout/flexfilelayout.h | 16 fs/nfs/pnfs.c | 4 fs/nfsd/nfs4layouts.c | 4 fs/nfsd/nfs4recover.c | 120 fs/nfsd/nfs4state.c | 22 fs/nfsd/vfs.c | 9 fs/nilfs2/segment.c | 22 fs/ocfs2/alloc.c | 2 fs/ocfs2/aops.c | 13 fs/ocfs2/buffer_head_io.c | 7 fs/ocfs2/dlm/dlmdebug.c | 16 fs/ocfs2/dlmglue.c | 17 fs/ocfs2/inode.c | 150 fs/ocfs2/journal.c | 13 fs/ocfs2/move_extents.c | 4 fs/ocfs2/ocfs2.h | 2 fs/ocfs2/quota_local.c | 2 fs/ocfs2/stack_user.c | 10 fs/ocfs2/super.c | 2 fs/ocfs2/sysfile.c | 9 fs/orangefs/dir.c | 7 fs/proc/array.c | 6 fs/proc/base.c | 182 fs/proc/fd.c | 31 fs/proc/generic.c | 9 fs/proc/internal.h | 4 fs/proc/namespaces.c | 16 fs/proc/proc_net.c | 1 fs/smbfs_common/smb2pdu.h | 318 + fs/sysfs/file.c | 4 fs/udf/balloc.c | 5 fs/udf/super.c | 11 fs/userfaultfd.c | 14 fs/xfs/libxfs/xfs_format.h | 2 fs/xfs/libxfs/xfs_sb.c | 64 fs/xfs/libxfs/xfs_sb.h | 1 fs/xfs/xfs_dquot.c | 16 fs/xfs/xfs_log_recover.c | 6 fs/xfs/xfs_mount.c | 1 fs/xfs/xfs_mount.h | 75 fs/xfs/xfs_rtalloc.c | 3 include/crypto/drbg.h | 18 include/linux/audit.h | 8 include/linux/bitops.h | 2 include/linux/device.h | 5 include/linux/glob.h | 1 include/linux/hid-sensor-hub.h | 25 include/linux/hid.h | 29 include/linux/if_rmnet.h | 70 include/linux/iio/common/inv_sensors_timestamp.h | 94 include/linux/pci.h | 4 include/linux/platform_data/pca953x.h | 2 include/linux/skmsg.h | 22 include/net/addrconf.h | 12 include/net/bluetooth/hci.h | 5 include/net/bluetooth/l2cap.h | 2 include/net/fib_rules.h | 5 include/net/gue.h | 2 include/net/if_inet6.h | 37 include/net/ip_fib.h | 7 include/net/ip_vs.h | 3 include/net/mld.h | 3 include/net/ndisc.h | 4 include/net/rtnetlink.h | 2 include/net/sctp/sctp.h | 3 include/net/sock.h | 2 include/net/xfrm.h | 7 include/uapi/linux/if_link.h | 1 io_uring/io-wq.c | 2 kernel/audit.c | 85 kernel/bpf/verifier.c | 3 kernel/cgroup/cpuset.c | 7 kernel/cpu.c | 8 kernel/locking/rtmutex.c | 16 kernel/sched/fair.c | 2 kernel/sched/features.h | 8 kernel/time/posix-cpu-timers.c | 3 kernel/time/time.c | 2 kernel/trace/ring_buffer.c | 3 kernel/trace/trace_events_filter.c | 6 kernel/trace/trace_probe.c | 3 kernel/trace/trace_probe.h | 2 kernel/workqueue.c | 2 lib/debugobjects.c | 17 lib/glob.c | 31 lib/test_meminit.c | 2 net/6lowpan/nhc.c | 2 net/9p/trans_rdma.c | 19 net/atm/common.c | 2 net/batman-adv/distributed-arp-table.c | 30 net/batman-adv/fragmentation.c | 8 net/batman-adv/gateway_client.c | 3 net/batman-adv/main.c | 22 net/batman-adv/multicast.c | 6 net/batman-adv/routing.c | 3 net/batman-adv/soft-interface.c | 11 net/batman-adv/soft-interface.h | 2 net/batman-adv/translation-table.c | 5 net/batman-adv/types.h | 7 net/bluetooth/af_bluetooth.c | 17 net/bluetooth/bnep/core.c | 27 net/bluetooth/l2cap_core.c | 125 net/bluetooth/l2cap_sock.c | 4 net/bridge/netfilter/ebtables.c | 22 net/bridge/netfilter/nft_meta_bridge.c | 4 net/can/bcm.c | 90 net/can/isotp.c | 9 net/core/fib_rules.c | 6 net/core/filter.c | 38 net/core/lwt_bpf.c | 12 net/core/rtnetlink.c | 8 net/core/skbuff.c | 23 net/core/skmsg.c | 2 net/ieee802154/core.c | 2 net/ieee802154/header_ops.c | 9 net/ieee802154/ieee802154.h | 17 net/ieee802154/netlink.c | 36 net/ife/ife.c | 2 net/ipv4/igmp.c | 1 net/ipv4/ip_gre.c | 6 net/ipv4/ip_vti.c | 3 net/ipv4/netfilter/nf_log_ipv4.c | 4 net/ipv4/sysctl_net_ipv4.c | 10 net/ipv4/tcp_output.c | 4 net/ipv6/addrconf.c | 38 net/ipv6/addrconf_core.c | 2 net/ipv6/af_inet6.c | 2 net/ipv6/icmp.c | 4 net/ipv6/ip6_gre.c | 6 net/ipv6/ip6_vti.c | 3 net/ipv6/mcast.c | 1184 +++--- net/ipv6/netfilter.c | 4 net/ipv6/netfilter/ip6t_ah.c | 5 net/ipv6/netfilter/ip6t_hbh.c | 1 net/ipv6/netfilter/ip6t_rt.c | 3 net/ipv6/netfilter/nf_conntrack_reasm.c | 3 net/ipv6/netfilter/nf_log_ipv6.c | 4 net/ipv6/route.c | 9 net/ipv6/seg6.c | 3 net/ipv6/sit.c | 3 net/kcm/kcmsock.c | 8 net/key/af_key.c | 1 net/llc/af_llc.c | 1 net/llc/llc_conn.c | 1 net/mac80211/main.c | 3 net/mac80211/tx.c | 17 net/mac802154/iface.c | 2 net/netfilter/ipset/ip_set_core.c | 12 net/netfilter/ipvs/ip_vs_app.c | 10 net/netfilter/ipvs/ip_vs_conn.c | 4 net/netfilter/ipvs/ip_vs_core.c | 36 net/netfilter/ipvs/ip_vs_proto_sctp.c | 18 net/netfilter/ipvs/ip_vs_proto_tcp.c | 11 net/netfilter/ipvs/ip_vs_proto_udp.c | 3 net/netfilter/nf_conncount.c | 23 net/netfilter/nf_conntrack_core.c | 18 net/netfilter/nf_conntrack_irc.c | 6 net/netfilter/nf_conntrack_seqadj.c | 2 net/netfilter/nf_nat_sip.c | 9 net/netfilter/nfnetlink_cthelper.c | 4 net/netfilter/nfnetlink_osf.c | 6 net/netfilter/nft_log.c | 58 net/netfilter/nft_synproxy.c | 9 net/netfilter/xt_AUDIT.c | 58 net/netfilter/xt_cluster.c | 2 net/netfilter/xt_nat.c | 9 net/netfilter/xt_rateest.c | 2 net/netfilter/xt_u32.c | 12 net/openvswitch/conntrack.c | 2 net/psample/psample.c | 6 net/qrtr/af_qrtr.c | 2 net/sched/cls_bpf.c | 10 net/sched/sch_cake.c | 5 net/sched/sch_codel.c | 48 net/sched/sch_drr.c | 8 net/sched/sch_fq_codel.c | 41 net/sched/sch_hfsc.c | 24 net/sched/sch_hhf.c | 27 net/sched/sch_htb.c | 8 net/sched/sch_multiq.c | 2 net/sctp/diag.c | 67 net/sctp/sm_make_chunk.c | 10 net/sctp/sm_statefuns.c | 23 net/sctp/socket.c | 29 net/smc/smc_cdc.c | 15 net/socket.c | 2 net/tipc/bcast.c | 22 net/tipc/bcast.h | 2 net/tipc/bearer.c | 1 net/tipc/netlink.c | 12 net/tipc/node.c | 15 net/tipc/socket.c | 3 net/tipc/udp_media.c | 2 net/tls/tls_sw.c | 4 net/xfrm/xfrm_interface_core.c | 3 net/xfrm/xfrm_policy.c | 3 net/xfrm/xfrm_state.c | 11 net/xfrm/xfrm_user.c | 2 samples/trace_events/trace-events-sample.c | 4 scripts/kconfig/conf.c | 6 security/apparmor/domain.c | 58 security/apparmor/include/policy_unpack.h | 19 security/apparmor/label.c | 2 security/apparmor/lsm.c | 18 security/apparmor/net.c | 1 security/apparmor/policy.c | 14 security/apparmor/procattr.c | 2 security/keys/keyring.c | 2 sound/aoa/fabrics/layout.c | 6 sound/firewire/isight.c | 3 sound/pci/es1938.c | 2 sound/soc/fsl/fsl_audmix.c | 6 sound/soc/tegra/tegra210_ahub.c | 4 sound/usb/caiaq/input.c | 2 sound/usb/mixer_quirks.c | 101 sound/usb/mixer_scarlett.c | 4 sound/usb/mixer_us16x08.c | 127 tools/bpf/bpftool/net.c | 4 tools/bpf/resolve_btfids/main.c | 17 tools/include/linux/bitops.h | 2 tools/lib/api/fs/fs.c | 19 tools/perf/util/probe-finder.c | 4 tools/testing/selftests/vm/compaction_test.c | 3 tools/testing/selftests/vm/hmm-tests.c | 32 tools/usb/usbip/libsrc/usbip_common.c | 2 tools/usb/usbip/libsrc/usbip_device_driver.c | 4 tools/usb/usbip/libsrc/vhci_driver.c | 1 tools/virtio/vringh_test.c | 5 tools/vm/slabinfo.c | 4 virt/kvm/eventfd.c | 12 virt/kvm/kvm_main.c | 16 675 files changed, 8691 insertions(+), 5984 deletions(-)
Abdun Nihaal (11):
fbdev: radeon: fix potential memory leak in radeonfb_pci_register()
fbdev: i740fb: fix potential memory leak in i740fb_probe()
fbdev: s3fb: fix potential memory leak in s3_pci_probe()
fbdev: uvesafb: fix potential memory leak in uvesafb_probe()
fbdev: tdfxfb: fix potential memory leak in tdfxfb_probe()
fbdev: carminefb: fix potential memory leak in alloc_carmine_fb()
fbdev: nvidia: fix potential memory leak in nvidiafb_probe()
fbdev: tridentfb: fix potential memory leak in trident_pci_probe() nvdimm/btt: Free arenas on btt_init() error paths nvdimm/btt: Free arena sub-allocations on discover_arenas() error path
bnx2x: fix potential memory leak in bnx2x_alloc_mem_bp()
Abhishek Ojha (1):
regulator: ltc3676: Fix incorrect IRQSTAT bit offsets
Aboorva Devarajan (3):
powerpc/perf: fix preempt count underflow in fsl_emb_pmu_del powerpc/powernv: fix preempt count leak in pnv_kexec_wait_secondaries_down powerpc/kexec: fix double get_cpu() imbalance in kexec_prepare_cpus
Adam Li (1):
sched/fair: Only update stats for allowed CPUs when looking for dst group
Aditya Srivastava (2):
crypto: amcc - fix incorrect kernel-doc comment syntax in files
media: atomisp: replace boolean comparison of values with bool variables
Adrian Hunter (1):
i3c: master: Prevent reuse of dynamic address on device add failure
Ahsan Atta (1):
crypto: qat - fix restarting state leak on allocation failure
Al Viro (1):
configfs: fix lockless traversals of ->s_children
Alan Stern (1):
USB: chaoskey: Fix slab-use-after-free in chaoskey_release()
Alberto Ruiz (1):
fuse: fix device node leak in cuse_process_init_reply()
Aleksandr Nogikh (2):
ocfs2: fix circular locking dependency in ocfs2_dio_end_io_write
ieee802154: fix kernel-infoleak in dgram_recvmsg()
Aleksandrova Alyona (1):
net: dsa: sja1105: round up PTP perout pin duration
Alex Elder (4):
net: qualcomm: rmnet: simplify some byte order logic
net: qualcomm: rmnet: kill RMNET_MAP_GET_*() accessor macros
net: qualcomm: rmnet: use masks instead of C bit-fields
net: qualcomm: rmnet: don't use C bit-fields in rmnet checksum header
Alex Williamson (1):
vfio/pci: Release the VGA arbiter client on register_device() failure
Alexander Chesnokov (1):
RDMA/hns: Fix arithmetic overflow in calc_hem_config()
Alexander Lobakin (1):
bitops: make BYTES_TO_BITS() treewide-available
Alexander Potapenko (1):
lib/test_meminit: use && for bools
Alexandru Hossu (4):
staging: nvec: fix use-after-free in nvec_rx_completed()
staging: rtl8723bs: fix WEP length underflow and OOB read in OnAuth()
staging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()
staging: rtl8723bs: fix OOB reads in IE loops in issue_assocreq() and join_cmd_hdl()
Alexey Nepomnyashih (1):
xfs: fix unreachable BIGTIME check in dquot flush validation
Anastasia Tishchenko (1):
crypto: ecc - Fix carry overflow in vli multiplication
Andreas Kemnade (1):
gpios: palmas: add .get_direction() op
Andreas Kempe (1):
iio: imu: st_lsm6dsx: deselect shub page before reading whoami
Andrei Kuchynski (2):
mfd: cros_ec: Delay dev_set_drvdata() until probe success
usb: typec: ucsi: Invert DisplayPort role assignment
Andrzej Pietrasiewicz (1):
usb: gadget: function: Simplify diagnostic messaging in printer
Andy Shevchenko (3):
iio: magnetometer: ak8975: Add missed pm_runtime_put_autosuspend() call
ACPI: resource: Amend kernel-doc style
serial: 8250_mid: Disable DMA for selected platforms
Andy Yan (1):
usb: typec: tcpm: Fix VDM type for Enter Mode commands
Angela Czubak (1):
HID: add haptics page defines
Antoni Pokusinski (1):
rtc: abx80x: fix the RTC_VL_CLR clearing all status flags
Armin Wolf (1):
leds: uleds: Fix potential buffer overread
Arnaldo Carvalho de Melo (3):
tools lib api: Fix missing null termination in filename__read_int/ull() tools lib api: Fix filename__write_int() writing uninitialized stack data tools lib api: Fix mount_overload() snprintf truncation and toupper range
Arnd Bergmann (1):
staging: media: atomisp: reduce load_primary_binaries() stack usage
Arseniy Krasnov (1):
mtd: rawnand: fix condition in 'nand_select_target()'
Badhri Jagan Sridharan (1):
usb: typec: tcpm: Validate SVID index in svdm_consume_modes()
Baokun Li (1):
writeback: fix race between cgroup_writeback_umount() and inode_switch_wbs()
Bartosz Golaszewski (1):
mfd: tps6586x: Fix OF node refcount
Benjamin Coddington (1):
NFSv4: include MAY_WRITE in open permission mask for O_TRUNC
Benjamin Marzinski (1):
dm-log: fix a bitset_size overflow on 32bit machines
Bhargav Joshi (2):
irqchip/crossbar: Fix parent domain resource leak irqchip/crossbar: Use correct index in crossbar_domain_free()
Biren Pandya (2):
iio: accel: kxsd9: fix runtime PM imbalance on write_raw() error
iio: light: gp2ap002: fix runtime PM leak on read error
Bradley Morgan (1):
cpu: hotplug: Preserve per instance callback errors
Brendan Jackman (1):
tools/resolve_btfids: Fix some error messages
Breno Leitao (2):
workqueue: drop spurious '*' from print_worker_info() fn declaration arm64/hw_breakpoint: reject unaligned watchpoints that would truncate BAS
Bryam Vargas (17):
apparmor: mediate the implicit connect of TCP fast open sendmsg
f2fs: bound i_inline_xattr_size for non-inline-xattr inodes
iio: accel: bmc150: clamp the device-reported FIFO frame count
udf: validate VAT header length against the VAT inode size
udf: validate sparing table length as an entry count, not a byte count
partitions: aix: bound the pp_count scan to the ppe array
isofs: bound Rock Ridge symlink components to the SL record
exfat: bound uniname advance in exfat_find_dir_entry()
Input: synaptics-rmi4 - bound the F3A keymap to the GPIO count
Input: synaptics-rmi4 - bound the F30 keymap to the GPIO/LED count
Input: goodix - clamp the device-reported contact count
Input: iforce - bound the device-reported force-feedback effect index
Input: touchwin - reset the packet index on every complete packet
nvmet-rdma: handle inline data with a nonzero offset
scsi: target: core: Fix iSCSI ISID use-after-free in REGISTER AND MOVE net/sched: sch_multiq: Replace direct dequeue call with peek and qdisc_dequeue_peeked
orangefs: keep the readdir entry size 64-bit in fill_from_part()
Cao Guanghui (1):
dm era: fix NULL pointer dereference in metadata_open()
Carlos Llamas (2):
binder: fix UAF in binder_thread_release()
binder: fix UAF in binder_free_transaction()
Carlos Song (2):
spi: fsl-lpspi: replace dmaengine_terminate_all() with dmaengine_terminate_sync()
spi: fsl-lpspi: terminate the RX channel on TX prepare failure path
Chaitanya Kulkarni (1):
nvmet-tcp: fix race between ICReq handling and queue teardown
Chi Wang (1):
audit: Fix data races of skb_queue_len() readers on audit_queue
Chris Mason (1):
nfsd: release layout stid on setlease failure
Christian Marangi (1):
PCI: mediatek: Convert bool to single quirks entry and bitmap
Christoph Hellwig (1):
proc: rename proc_setattr to proc_nochmod_setattr
Chuck Lever (2):
lockd: Plug nlm_file leak when nlm_do_fopen() fails
lockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure
Colin Ian King (1):
iio: invensense: remove redundant initialization of variable period
Cristian Marussi (1):
clk: scmi: Fix clock rate rounding
Cássio Gabriel (5):
ALSA: usb-audio: Propagate errors in scarlett_ctl_enum_put()
ALSA: usb-audio: Propagate US-16x08 write errors in route/mix EQ-switch put callbacks
ALSA: usb-audio: Roll back quirk control caches on write errors
ALSA: usb-audio: Update Babyface Pro control caches only after successful writes
ALSA: usb-audio: Update US-16x08 EQ/comp shadow state after successful writes
Dai Ngo (1):
NFSv4/pnfs: defer return_range callbacks until after inode unlock
Dan Carpenter (3):
rapidio/tsi721: prevent a bad dereference in tsi721_db_dpc()
scsi: pm8001: Fix error code in non_fatal_log_show()
afs: Fix error code in afs_extract_vl_addrs()
Daniele Palmas (1):
net: qualcomm: rmnet: add tx packets aggregation
Danilo Krummrich (1):
driver core: use READ_ONCE() for dev->driver in dev_has_sync_state()
Darvell Long (1):
ALSA: usb-audio: avoid kobject path lookup in DualSense match
Dave Chinner (1):
xfs: reflect sb features in xfs_mount
David Carlier (1):
netfilter: nfnl_cthelper: apply per-class values when updating policies
David Howells (5):
afs: Fix netns teardown to cancel the preallocation charger
afs: Fix further netns teardown to cancel the preallocation charger
afs: Fix callback service message parsers to pass through -EAGAIN
afs: Fix vllist leak
afs: Fix unchecked-length string display in debug statement
David Laight (1):
fbdev: sm501fb: Fix buffer errors in OF binding code
Davidlohr Bueso (1):
locking/rtmutex: Skip remove_waiter() when waiter is not enqueued
Dawei Feng (4):
crypto: amlogic - avoid double cleanup in meson_crypto_probe()
net: ena: clean up XDP TX queues when regular TX setup fails
wifi: mac80211: fix memory leak in ieee80211_register_hw()
usb: free iso schedules on failed submit
Deepanshu Kartikey (1):
nilfs2: reject CLEAN_SEGMENTS ioctl with out-of-range segment numbers
Dmitry Antipov (1):
ocfs2: fix buffer head management in ocfs2_read_blocks()
Dmitry Torokhov (12):
Input: mms114 - fix multi-touch slot corruption
Input: maple_keyb - set driver data before registering input device
Input: maplemouse - set driver data before registering input device
Input: maplecontrol - set driver data before registering input device
Input: ims-pcu - fix use-after-free and double-free in disconnect
Input: ims-pcu - release data interface on disconnect
Input: ims-pcu - validate control endpoint type
Input: ims-pcu - add response length checks
Input: ims-pcu - fix DMA mapping violation in line setup
Input: ims-pcu - fix out-of-bounds read in ims_pcu_irq() debug logging
Input: ims-pcu - fix potential infinite loop in CDC union descriptor parsing
Input: ims-pcu - fix type confusion in CDC union descriptor parsing
Dmitry Vyukov (1):
firmware_loader: Fix recursive lock in device_cache_fw_images()
Douglas Anderson (1):
regulator: core: Make regulator_lock_two() logic easier to follow
Enrico Pozzobon (1):
net: usb: lan78xx: disable VLAN filter in promiscuous mode
Enzo Matsumiya (2):
smb2: small refactor in smb2_check_message()
cifs: remove unused server parameter from calc_smb_size()
Eric Biggers (5):
crypto: drbg - Fix returning success on failure in CTR_DRBG
crypto: drbg - Fix drbg_max_addtl() on 64-bit kernels
crypto: drbg - Fix the fips_enabled priority boost
crypto: af_alg - Remove zero-copy support from skcipher and aead
crypto: crypto4xx - Remove insecure and unused rng_alg
Eric Dumazet (12):
skmsg: convert struct sk_msg_sg::copy to a bitmap net/sched: sch_hfsc: annotate data-races in hfsc_dump_class_stats() net/sched: sch_htb: annotate data-races (I)
net/sched: sch_drr: annotate data-races around cl->deficit
ipv6: guard against possible NULL deref in __in6_dev_stats_get()
tipc: fix UAF in tipc_l2_send_msg()
tcp: ipv6: clamp default adverting MSS to avoid GSO_BY_FRAGS (0xFFFF)
xfrm: validate selector family and prefixlen during match
ipv6: fix skb drops in igmp6_event_query() and igmp6_event_report()
ipv6: mcast: Fix potential UAF in MLD delayed work
ipv6: fix lockdep splat in in6_dump_addrs()
ipv6: mcast: remove one synchronize_net() barrier in ipv6_mc_down()
Erich E. Hoover (1):
USB: quirks: add NO_LPM for the Samsung T5 EVO Portable SSD
Fabio Aiuto (7):
staging: rtl8723bs: split too long line
staging: rtl8723bs: remove commented out RT_ASSERT occurrences
staging: rtl8723bs: remove all 5Ghz network types
staging: rtl8723bs: remove 5Ghz code related to channel plan definition
staging: rtl8723bs: remove 5Ghz code blocks
staging: rtl8723bs: remove commented out condition
staging: rtl8723bs: remove DBG_871X log argument
Fabio Porcedda (1):
USB: serial: option: add Telit Cinterion FE990D50 compositions
Fan Wu (2):
hdlc_ppp: sync per-proto timers before freeing hdlc state
usb: typec: ucsi: ccg: Fix use-after-free of ucsi on remove
Farhad Alemi (1):
cgroup/cpuset: rebind mm mempolicy to effective_mems, not mems_allowed
Felix Gu (6):
watchdog: sprd_wdt: Remove redundant sprd_wdt_disable() on register failure
pinctrl: sunxi: fix regulator leak in sunxi_pmx_request() error path drm/tegra: dc: Fix device node reference leak in tegra_dc_has_output()
spi: ep93xx: fix double-free of zeropage on DMA setup failure
crypto: marvell/octeontx - fix DMA cleanup using wrong loop index
crypto: cavium/cpt - fix DMA cleanup using wrong loop index
Feng Wu (1):
netfilter: xt_rateest: fix u64 truncation in xt_rateest_mt()
Fernando Fernandez Mancera (7):
netfilter: nfnetlink_osf: fix mss parsing on big-endian architectures
netfilter: synproxy: protect nf_ct_seqadj_init() with conntrack lock
netfilter: nf_conncount: prevent connlimit drops for early confirmed ct
ipv6: fix error handling in disable_ipv6 sysctl
ipv6: fix error handling in ignore_routes_with_linkdown sysctl
ipv6: fix error handling in forwarding sysctl
ipv6: fix error handling in disable_policy sysctl
Filipe Manana (1):
btrfs: fix invalid pointer dereference in __btrfs_run_delayed_refs()
Florian Fuchs (2):
Input: maplemouse - fix NULL pointer dereference in open()
mtd: maps: vmu-flash: fix NULL pointer dereference in initialization
Florian Westphal (5):
netfilter: ebtables: module names must be null-terminated
netfilter: nf_conncount: callers must hold rcu read lock
netfilter: nft_meta_bridge: fix NFT_META_BRI_IIFPVID stack leak
netfilter: nf_nat_sip: reload possible stale data pointer
netfilter: ebtables: zero chainstack array
Franziska Naepelt (1):
staging: rtl8723bs: Fix space issues
Fredrik M Olsson (1):
rtc: ds1307: Fix off-by-one issue with wday for rx8130
Fushuai Wang (1):
cpufreq: intel_pstate: Sync policy->cur during CPU offline
Genjian Zhang (1):
dm thin metadata: fix superblock refcount leak on snapshot shadow failure
Georgiy Osokin (1):
HID: picolcd: prevent NULL pointer dereference in picolcd_send_and_wait()
Gerald Schaefer (1):
s390/monwriter: Reject buffer reuse with different data length
Giovanni Cabiddu (2):
crypto: qat - fix VF2PF work teardown race in adf_disable_sriov()
crypto: qat - validate RSA CRT component lengths
Gleb Markov (1):
cxgb4: Fix decode strings dump for T6 adapters
Greg Kroah-Hartman (2):
sysfs: clamp show() return value in sysfs_kf_read() Linux 5.10.261
Griffin Kroah-Hartman (2):
usb: gadget: function: rndis: add length check to response query
usb: gadget: function: rndis: add length check for header
Guangshuo Li (5):
IB/mlx4: Fix refcount leak in add_port() error path
staging: most: video: avoid double free on video register failure
smb: client: fix overflow in passthrough ioctl bounds check
gpu: host1x: Fix device reference leak in host1x_device_parse_dt() error path
mfd: sm501: Fix reference leak on failed device registration
Gui-Dong Han (1):
KEYS: Use acquire when reading state in keyring search
Guillermo Rodríguez (1):
i2c: stm32f7: truncate clock period instead of rounding it
Haoxiang Li (7):
usb: mtu3: unmap request DMA on queue failure
Input: synaptics-rmi4 - unregister function handlers on physical driver registration failure
rtc: cmos: unregister HPET IRQ handler on probe failure
scsi: hpsa: Fix DMA mapping leak on IOACCEL2 reset path
net: liquidio: fix BAR resource leak on PF number failure
fsl/fman: Free init resources on KeyGen failure in fman_init()
smb: client: Fix next buffer leak in receive_encrypted_standard()
Hengqi Chen (1):
tools/resolve_btfids: Emit warnings and patch zero id for missing symbols
Herbert Xu (2):
crypto: rng - Free default RNG on module exit
crypto: crypto4xx - Remove ahash-related code
Herman van Hazendonk (1):
iio: common: st_sensors: honour channel endianness in read_axis_data
Hui Wang (1):
ring-buffer: Fix event length with forced 8-byte alignment
Huihui Huang (1):
tracing: Prevent out-of-bounds read in glob matching
Huiwen He (1):
smb/client: preserve errors from smb2_set_sparse()
HyeongJun An (3):
ASoC: fsl: fsl_audmix: Validate written enum values
ASoC: tegra: tegra210_ahub: Validate written enum value
hwmon: (asus_atk0110) Check package count before accessing element
Hyunwoo Kim (2):
KVM: arm64: vgic: Check the interrupt is still ours before migrating it
Bluetooth: L2CAP: Fix deadlock in l2cap_conn_del()
Ian Bridges (1):
ocfs2: fix NULL h_transaction deref in ocfs2_assure_trans_credits
Ignat Korchagin (1):
ipv6: mcast: use rcu-safe version of ipv6_get_lladdr()
Ilpo Järvinen (6):
PCI: Prevent resource tree corruption when BAR resize fails
PCI: Free saved list without holding pci_bus_sem
PCI: Fix restoring BARs on BAR resize rollback path
PCI: Add kerneldoc for pci_resize_resource()
PCI: Move Resizable BAR code to rebar.c
serial: 8250_mid: Remove 8250_pci usage
Ivan Abramov (1):
ieee802154: Remove WARN_ON() in cfg802154_pernet_exit()
Jaegeuk Kim (1):
f2fs: adjust zone capacity when considering valid block count
Jaewon Yang (1):
tpm: Make the TPM character devices non-seekable
Jakob Koschel (1):
cifs: remove check of list iterator against head past the loop body
Jakub Kicinski (1):
net: psample: fix info leak in PSAMPLE_ATTR_DATA
James Kim (1):
char: tlclk: fix use-after-free in tlclk_cleanup()
James Raphael Tiovalen (1):
macsec: fix promiscuity refcount leak in macsec_dev_open()
Jann Horn (2):
proc: protect ptrace_may_access() with exec_update_lock (FD links)
proc: protect ptrace_may_access() with exec_update_lock (part 1)
Jared Baldridge (1):
usb: cdc_acm: Add quirk for Uniden BC125AT scanner
Jason Gunthorpe (1):
IB/mlx4: Fill in the access_flags if IB_MR_REREG_ACCESS is not specified
Javier Carrasco (1):
iio: light: veml6030: fix channel type when pushing events
Jean-Baptiste Maneyrol (10):
iio: imu: inv_icm42600: make timestamp module chip independent
iio: move inv_icm42600 timestamp module in common
iio: make invensense timestamp module generic
iio: imu: inv_mpu6050: use the common inv_sensors timestamp module
iio: invensense: fix timestamp glitches when switching frequency
iio: imu: inv_icm42600: stabilized timestamp in interrupt
iio: imu: inv_icm42600: fix timestamping by limiting FIFO reading
iio: imu: inv_mpu6050: fix frequency setting when chip is off
iio: invensense: fix odr switching to same value
iio: imu: inv_icm42600: fix timestamp clock period by using lower value
Jeff Layton (1):
nfsd: reset write verifier on deferred writeback errors
Jessica Zhang (2):
drm/msm/dp: fix HPD state status bit shift value drm/msm/dp: Fix the ISR_* enum values
Jiakai Xu (1):
PM: sleep: Use complete() in device_pm_sleep_init()
Jiasheng Jiang (1):
clk: imx: Add check for kcalloc
Jiayuan Chen (1):
net/sched: cls_bpf: prevent unbounded recursion in offload rollback
Jihed Chaibi (1):
ARM: dts: am335x-sl50: Fix audio bitclock and frame master endpoint
Jiri Slaby (SUSE) (1):
PCI: controller: Use dev_fwnode() instead of of_fwnode_handle()
Joanne Koong (1):
fuse: re-lock request before returning from fuse_ref_folio()
Johan Hovold (20):
i2c: core: fix irq domain leak on adapter registration failure
i2c: core: fix hang on adapter registration failure
i2c: core: fix NULL-deref on adapter registration failure
i2c: core: fix adapter debugfs creation
i2c: core: fix adapter registration race
Bluetooth: btusb: fix use-after-free on registration failure
virtio-mmio: fix device release warning on module unload
USB: idmouse: fix use-after-free on disconnect race
USB: ldusb: fix use-after-free on disconnect race
USB: iowarrior: fix use-after-free on disconnect
USB: legousbtower: fix use-after-free on disconnect race
USB: serial: digi_acceleport: fix broken rx after throttle
USB: serial: digi_acceleport: fix hard lockup on disconnect
USB: ulpi: fix memory leak on registration failure
MIPS: ip22-gio: fix gio device memory leak
MIPS: ip22-gio: fix kfree() of static object
MIPS: ip22-gio: fix device reference leak in probe
Bluetooth: btusb: fix use-after-free on marvell probe failure
Bluetooth: btusb: fix wakeup source leak on probe failure
USB: serial: digi_acceleport: fix write buffer corruption
John Johansen (1):
apparmor: fix label can not be immediately before a declaration
Joseph Qi (1):
ocfs2: fix race between ocfs2_control_install_private() and ocfs2_control_release()
Joshua Crofts (4):
iio: light: opt3001: fix missing state reset on timeout
iio: light: si1133: reset counter to prevent race condition
iio: light: si1133: prevent race condition on timeout
iio: magnetometer: ak8975: fix potential kernel stack memory leak
Jozsef Kadlecsik (1):
netfilter: ipset: fix order of kfree_rcu() and rcu_assign_pointer()
Julian Anastasov (2):
ipvs: ensure inner headers in ICMP errors are in headroom
ipvs: fix more places with wrong ipv6 transport offsets
Junrui Luo (1):
powerpc/spufs: fix out-of-bounds access in spufs_mem_mmap_access()
Keenan Dong (1):
rtmutex: Use waiter::task instead of current in remove_waiter()
Keshav Verma (1):
f2fs: fix listxattr handling of corrupted xattr entries
Kiran K (1):
Bluetooth: btintel: Fix offset calculation boot address parameter
Kiryl Shutsemau (1):
userfaultfd: gate must_wait writability check on pte_present()
Krishna chaitanya chundru (1):
bus: mhi: host: Add alignment check for event ring read pointer
Kristian Evensen (1):
net: ethernet: rmnet: Always subtract MAP header
Krzysztof Kozlowski (1):
crypto: atmel-sha204a - Mark OF related data as maybe unused
Krzysztof Wilczyński (3):
alpha/PCI: Add security_locked_down() check to pci_mmap_resource() alpha/PCI: Fix __pci_mmap_fits() overflow for zero-length BARs
proc: only bump parent nlink when registering directories
Kunihiko Hayashi (1):
spi: uniphier: Fix completion initialization order before devm_request_irq()
Kuniyuki Iwashima (3):
net: fib_rules: Don't dump dying fib_rule in fib_rules_dump().
ipv4: fib: Don't ignore error route in local/main tables.
ipv6: mcast: Replace locking comments with lockdep annotations.
Kyle Zeng (1):
ocfs2: avoid moving extents to occupied clusters
Lad Prabhakar (2):
mmc: renesas_sdhi: Add quirk entry for RZ/G2H SoC
PCI: rcar-host: Remove unused LIST_HEAD(res)
Lars Pöschel (1):
spi: xilinx: use FIFO occupancy register to determine buffer size
Lars-Peter Clausen (1):
iio: event: Fix event FIFO reset race
Laxman Acharya Padhya (1):
Bluetooth: btrtl: validate firmware patch bounds
Lee Jones (1):
HID: core: Fix OOB read in hid_get_report for numbered reports
Leon Hwang (1):
bpf: Update transport_header when encapsulating UDP tunnel in lwt
Li RongQing (3):
PCI: mediatek: Fix operator precedence in PCIE_FTS_NUM_L0 macro net/mlx5: Fix L3 tunnel entropy refcount leak
fbdev: sm712: Fix operator precedence in big_swap macro
Lianfa Weng (1):
RDMA/hns: Fix warning in poll cq direct mode
Lifeng Zheng (1):
cpufreq: conservative: Simplify frequency limit handling
Linmao Li (1):
ipv6: addrconf: bail out of dad_failure when state is no longer POSTDAD
Liviu Stan (2):
iio: temperature: ltc2983: Fix reinit_completion() called after conversion start
iio: temperature: ltc2983: Fix n_wires default bypassing rotation check
Longjun Tang (1):
virtio_net: disable cb when NAPI is busy-polled
Lothar Rubusch (1):
crypto: atmel-sha204a - fix blocking and non-blocking rng logic
Louis Scalbert (1):
bonding: 3ad: fix mux port state on oper down
Luca Leonardo Scorcia (2):
pinctrl: mediatek: mt8516: Fix Schmitt trigger register offset of pins 34-39
pinctrl: mediatek: mt8167: Fix Schmitt trigger register offset of pins 34-39
Luiz Augusto von Dentz (3):
Bluetooth: btintel: Check firmware version before download
Bluetooth: L2CAP: Fix not tracking outstanding TX ident
Bluetooth: L2CAP: Fix regressions caused by reusing ident
Lukas Wunner (1):
X.509: Fix validation of ASN.1 certificate header
Maciej W. Rozycki (3):
MIPS: Fix big-endian stack argument fetching in o32 wrapper
MIPS: DEC: Remove do_IRQ() call indirection
MIPS: DEC: Ensure 32-bit stack location for o32 prom_printf()
Madhu M (1):
usb: typec: ucsi: Pass full DP config payload in SET_NEW_CAM for DP alt mode
Maher Sanalla (1):
RDMA/mlx5: Fix undefined shift of user RQ WQE size
Mahesh Vaidya (2):
PCI: altera: Do not dispose parent IRQ mapping
PCI: altera: Fix resource leaks on probe failure
Manish Khadka (1):
HID: appleir: fix UAF on pending key_up_timer in remove()
Manivannan Sadhasivam (2):
PCI: mediatek: Use actual physical address instead of virt_to_phys()
PCI: mediatek: Fix IRQ domain leak when port fails to enable
Maoyi Xie (12):
net: ip_gre: require CAP_NET_ADMIN in the device netns for changelink
ALSA: caiaq: fix out-of-bounds read in the Traktor Kontrol S4 input parser
ALSA: firewire: isight: bound the sample count to the packet payload
HID: lg-g15: cancel pending work on remove to fix a use-after-free
net: usb: kalmia: bound RX frame length in kalmia_rx_fixup()
usb: gadget: composite: fix dead empty check in the USB_DT_OTG handler
xfrm: xfrm_interface: require CAP_NET_ADMIN in the device netns for changelink
net: sit: require CAP_NET_ADMIN in the device netns for changelink
net: ip6_vti: require CAP_NET_ADMIN in the device netns for changelink
net: ip_vti: require CAP_NET_ADMIN in the device netns for changelink
net: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink
memstick: ms_block: reject a card that reports too many blocks
Marc Zyngier (1):
KVM: Move kvm_io_bus_get_dev() locking responsibilities to callers
Marco Nenciarini (1):
PCI: Skip Resizable BAR restore on read error
Martin Kaiser (1):
tracing: probes: fix typo in a log message
Martin Wilck (2):
scsi: Revert "scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans"
scsi: smartpqi: Use shost_to_hba() in pqi_scan_finished()
Martiros Shakhzadyan (4):
media: staging: media: atomisp: Fix sh_css.c brace coding style issues
media: staging: media: atomisp: Fix the rest of sh_css.c brace issues
media: staging: media: atomisp: Replace if else clause with a ternary
media: staging: media: atomisp: Fix alignment and line length issues
Masami Hiramatsu (Google) (2):
tracing/events: Fix to check the simple_tsk_fn creation tracing/probes: Fix double addition of offset for @+FOFFSET
Matthias Feser (1):
serial: 8250_omap: clear rx_running on zero-length DMA completes
Matti Vaittinen (1):
hwmon: adm1275: Prevent reading uninitialized stack
Matvey Kovalev (1):
afs: fix NULL pointer dereference in afs_get_tree()
Mauricio Faria de Oliveira (1):
usb: atm: ueagle-atm: wait for pre-firmware load in .disconnect()
Maxime Bélair (1):
apparmor: fix potential UAF in aa_replace_profiles
Maxwell Doose (4):
iio: adc: lpc32xx: Initialize completion before requesting IRQ
iio: chemical: scd30: Cleanup initializations and fix sign-extension bug
iio: adc: spear: Initialize completion before requesting IRQ
fs: efs: remove unneeded debug prints
Michael Bommarito (13):
NFSv4/flexfiles: reject zero filehandle version count
hwrng: virtio: clamp device-reported used.len at copy_data()
udf: validate free block extents against the partition length RDMA/siw: bound Read Response placement to the RREAD length
tipc: require net admin for TIPCv2 netlink mutators
tipc: prevent snt_unacked underflow on CONN_ACK
net: qrtr: fix 32-bit integer overflow in qrtr_endpoint_post()
ocfs2: reject dinodes with non-canonical i_mode type
ocfs2: reject dinodes whose i_rdev disagrees with the file type
ocfs2: reject non-inline dinodes with i_size and zero i_clusters
ieee802154: admin-gate legacy LLSEC dump operations
ieee802154: allow legacy LLSEC ADD/DEL ops to pass strict validation
drbd: reject data replies with an out-of-range payload size
Michael Straube (1):
staging: rtl8723bs: clean up comparsions to NULL
Michal Kosiorek (1):
xfrm: defensively unhash xfrm_state lists in __xfrm_state_delete
Mike Snitzer (2):
NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS on fatal DS connect errors NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS in pg_get_mirror_count_write
Mikhail Gavrilov (1):
udmabuf: fix DMA direction mismatch in release_udmabuf()
Mikulas Patocka (6):
dm-ioctl: report an error if a device has no table
dm-bufio: fix wrong count calculation in dm_bufio_issue_discard
dm-stats: fix dm_jiffies_to_msec64
dm-stats: fix merge accounting
dm_early_create: fix freeing used table on dm_resume failure
dm-verity: increase sprintf buffer size
Ming-Hung Tsai (1):
dm thin metadata: fix metadata snapshot consistency on commit failure
Mingyu Wang (1):
fbdev: fbcon: fix out-of-bounds read in err_out of fbcon_do_set_font()
Miquel Raynal (1):
mtd: spi-nor: Drop duplicate Kconfig dependency
Muhammad Bilal (2):
Bluetooth: L2CAP: validate option length before reading conf opt value
netfilter: nf_conntrack_irc: fix parse_dcc() off-by-one OOB read
Muhammet Kaan KILINÇ (1):
crypto: algif_skcipher - force synchronous processing on trees without ctx->state
Myeonghun Pak (4):
HID: wacom: stop hardware after post-start probe failures
usb: sl811-hcd: disable controller wakeup on remove
USB: misc: uss720: unregister parport on probe failure
ata: sata_gemini: unwind clocks on IDE pinctrl errors
NeilBrown (2):
nfsd: move name lookup out of nfsd4_list_rec_dir()
nfsd: change nfs4_client_to_reclaim() to allocate data
Neill Kapron (1):
usb: gadget: f_fs: Tie read_buffer lifetime to ffs_epfile
Nickolay Goppen (1):
arm64: dts: qcom: sdm630: describe adsp_mem region properly
Nikita Zhandarovich (1):
ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work
Nilay Shroff (1):
nvme-multipath: fix flex array size in struct nvme_ns_head
Norbert Manthey (1):
smb: client: mask server-provided mode to 07777 in modefromsid
Nuno Sá (1):
dmaengine: Fix possible use after free
Nuoqi Gui (2):
bpf: Fix stack slot index in nospec checks
seg6: validate SRH length before reading fixed fields
Oliver Hartkopp (3):
can: isotp: use unconditional synchronize_rcu() in isotp_release()
can: bcm: fix lockless bound/ifindex race and silent RX_SETUP failure
can: bcm: add missing rcu list annotations and operations
Oliver Neukum (1):
usb: iowarrior: remove inherent race with minor number
Pablo Neira Ayuso (1):
netfilter: conntrack: call nf_ct_gre_keymap_destroy() if master helper is pptp
Paul Louvel (1):
crypto: talitos - use dma_sync_single_for_cpu() before reading descriptor header
Pauli Virtanen (1):
Bluetooth: ISO: exclude RFU bits from ISO_SDU_Length
Pengjie Zhang (2):
cpufreq: Documentation: fix sampling_down_factor range
cpufreq: Documentation: fix conservative governor freq_step description
Pengpeng Hou (11):
iio: adc: ti-ads124s08: Return reset GPIO lookup errors
sparc: led: avoid trimming a newline from empty writes
spi: sh-msiof: abort transfers when reset times out
gpio: mvebu: fail probe if gpiochip registration fails
gpio: htc-egpio: use managed gpiochip registration
hwmon: (w83627hf) remove VID sysfs files on error and remove
hwmon: (w83793) remove vrm sysfs file on probe failure
mtd: onenand: samsung: report DMA completion timeouts
mtd: rawnand: fsl_ifc: return errors for failed page reads
mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout
mtd: rawnand: lpc32xx_slc: fail DMA transfer on completion timeout
Phillip Varney (1):
clk: qcom: a53: Corrected frequency multiplier for 1152MHz
Prathamesh Deshpande (1):
RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference
Qianfeng Rong (1):
netfilter: ebtables: Use vmalloc_array() to improve code
Qihang (1):
gue: validate REMCSUM private option length
Qihang Tang (1):
vhost/vdpa: validate virtqueue index in mmap and fault paths
Qu Wenruo (1):
btrfs: do not trim a device which is not writeable
Rafael Beims (1):
wifi: mwifiex: fix permanently busy scans after multiple roam iterations
Rafael J. Wysocki (4):
thermal: hwmon: Fix critical temperature attribute removal x86/platform/olpc: xo15: Drop wakeup source on driver removal platform/x86: xo15-ebook: Fix wakeup source and GPE handling
ACPI: NFIT: core: Fix acpi_nfit_init() error cleanup
Ranjan Kumar (1):
Input: elan_i2c - prevent division by zero and arithmetic underflow
Ratheesh Kannoth (2):
PCI: host-common: Request bus reassignment when not probe-only
octeontx2-pf: Fix leak of SQ timestamp buffer on teardown
Renjiang Han (1):
media: qcom: venus: drop extra padding in NV12 raw size calculation
Ricardo Neri (1):
thermal: intel: Fix dangling resources on thermal_throttle_online() failure
Ricardo Ribalda (3):
media: staging: ipu3-imgu: Add range check for imgu_css_cfg_acc_stripe
media: uvcvideo: Avoid partial metadata buffers
media: uvcvideo: Fix buffer sequence in frame gaps
Ricardo Robaina (2):
audit: add audit_log_nf_skb helper function
audit: fix potential integer overflow in audit_log_n_hex()
Richard Zhu (1):
PCI: imx6: Fix IMX6SX_GPR12_PCIE_TEST_POWERDOWN handling
Rodrigo Lugathe da Conceição Alves (1):
USB: core: add USB_QUIRK_NO_LPM for VIA Labs USB 2.0 hub
Roman Vivchar (1):
i2c: mediatek: fix WRRD for SoCs without auto_restart option
Ronaldo Nunez (1):
pwm: imx27: Fix variable truncation in .apply()
Ronan Dalton (1):
rtc: ds1307: handle oscillator stop flag for ds1337/ds1339/ds3231
Ronnie Sahlberg (1):
cifs: Create a new shared file holding smb2 pdu definitions
Rosen Penev (1):
HID: logitech-hidpp: remove excess kernel-doc member in hidpp_scroll_counter
Rui Qi (1):
riscv: stacktrace: Remove bogus -0x4 offset in non-FP walk_stackframe
Ruijie Li (1):
crypto: pcrypt - restore callback for non-parallel fallback
Ruipeng Qi (1):
f2fs: fix potential deadlock in f2fs_balance_fs()
Runyu Xiao (10):
iio: imu: bmi160: add IRQF_NO_THREAD to data-ready trigger IRQ
gpio: eic-sprd: use raw_spinlock_t in the irq startup path io_uring/io-wq: re-check IO_WQ_BIT_EXIT for each linked work item
kcm: use WRITE_ONCE() when changing lower socket callbacks
netfilter: nft_synproxy: stop bypassing the priv->info snapshot
wifi: rt2x00: avoid full teardown before work setup in probe
mmc: vub300: defer reset until cmd_mutex is unlocked
iio: imu: adis: add IRQF_NO_THREAD to non-FIFO trigger IRQ
coresight: etb10: restore atomic_t for shared reading state
Bluetooth: L2CAP: cancel pending_rx_work before taking conn->lock
Ruoyu Wang (3):
apparmor: check label build before no_new_privs test
net: sungem: fix probe error cleanup
mtd: slram: remove failed entries from the device list
Ruslan Valiyev (1):
apparmor: fix use-after-free in rawdata dedup loop
Ryan Lee (1):
apparmor: grab ns lock and refresh when looking up changehat child profiles
Ryder Lee (1):
PCI: mediatek: Fix possible truncation in mtk_pcie_parse_port()
Sagi Grimberg (1):
pNFS/filelayout: fix cheking if a layout is striped
Sam Day (1):
usbip: vudc: fix NULL deref in vep_dequeue()
Samuel Holland (2):
media: cedrus: Fix failure to clean up hardware on probe failure
bus: sunxi-rsb: Always check register address validity
Samuel Moelius (3):
net/sched: hhf: clear heavy-hitter state on reset net/sched: cake: reject overhead values that underflow length dm era: fix out-of-bounds memory access for non-zero start sector
Samuel Page (1):
tipc: fix out-of-bounds read in broadcast Gap ACK blocks
Sandipan Das (1):
perf/x86/amd/core: Always use the NMI latency mitigation
Sang-Heon Jeon (1):
mm/fake-numa: fix under-allocation detection in uniform split
Sanjay Chitroda (1):
iio: accel: mma8452: handle I2C read error(s) in mma8452_read()
Sanman Pradhan (1):
xfrm: use compat translator only for u64 alignment mismatch
Sara Venkatesh (1):
RDMA/srpt: fix integer overflow in immediate data length check
Sayali Patil (2):
selftests/mm: clarify alternate unmapping in compaction_test selftests/mm: allow PUD-level entries in compound testcase of hmm tests
Sean Christopherson (4):
KVM: Replace guest-triggerable BUG_ON() in ioeventfd datamatch with get_unaligned()
KVM: VMX: Grab vmcs12 on CR8 interception update iff vCPU is in guest mode iommu/amd: Fix a stale comment about which legacy mode is user visible
crypto: ccp - Treat zero-length cert chain as query for blob lengths
Sebastian Andrzej Siewior (1):
net: Drop the lock in skb_may_tx_timestamp()
Sechang Lim (1):
bpf, sockmap: fix integer overflow in bpf_msg_pop_data() bounds check
Seungjin Bae (2):
usb: host: max3421: Fix shift-out-of-bounds in max3421_hub_control()
usb: host: max3421: Reject hub port requests for non-existent ports
Sharath Chandra Vurukala (1):
net: ethernet: rmnet: Support for ingress MAPv5 checksum offload
Shigeru Yoshida (1):
qede: fix off-by-one in BD ring consumption on build_skb failure
Shitalkumar Gandhi (2):
ieee802154: ca8210: fix cas_ctl leak on spi_async failure
ieee802154: ca8210: fix pointer truncation in kfifo on 64-bit
Shivam Kumar (1):
nvmet-tcp: check INIT_FAILED before nvmet_req_uninit in digest error path
Shoichiro Miyamoto (1):
smb: client: restrict implied bcc[0] exemption to responses without data area
Shuangpeng Bai (1):
llc: fix SAP refcount leak in llc_ui_autobind()
Siddharth Vadapalli (1):
soc: ti: k3-ringacc: Fix access mode for k3_ringacc_ring_pop_tail_io/proxy
Srinivas Pandruvada (1):
HID: sensor-hub: Add sensor_hub_input_attr_read_values() for multi-byte reads
Stepan Ionichev (3):
iio: gyro: bmg160: bail out when bandwidth/filter is not in table
iio: gyro: bmg160: wait full startup time after mode change at probe device property: fix fwnode reference leak in fwnode_graph_get_endpoint_by_id()
Stephan Gerhold (1):
serial: msm: Disable DMA for kernel console UART
Steven Rostedt (1):
sched/rt: Have RT_PUSH_IPI be default off for non PREEMPT_RT
Sunmin Jeong (1):
f2fs: fix to round down start offset of fallocate for pin file
Sven Eckelmann (14):
batman-adv: gw: acquire ethernet header only after skb realloc
batman-adv: access unicast_ttvn skb->data only after skb realloc
batman-adv: dat: acquire ARP hw source only after skb realloc
batman-adv: bla: reacquire gw address after skb realloc
batman-adv: dat: ensure accessible eth_hdr proto field
batman-adv: dat: fix tie-break for candidate selection
batman-adv: tt: avoid request storms during pending request
batman-adv: fix VLAN priority offset
batman-adv: frag: free unfragmentable packet
batman-adv: frag: fix primary_if leak on failed linearization
batman-adv: tt: prevent TVLV OOB check overflow
batman-adv: retrieve ethhdr after potential skb realloc on RX
batman-adv: ensure minimal ethernet header on TX
batman-adv: clean untagged VLAN on netdev registration failure
Sven Püschel (1):
media: rockchip: rga: fix too small buffer size
Taehee Yoo (10):
mld: convert from timer to delayed work
mld: get rid of inet6_dev->mc_lock
mld: convert ipv6_mc_socklist->sflist to RCU
mld: convert ip6_sf_list to RCU
mld: convert ifmcaddr6 to RCU
mld: add new workqueues for process mld events
mld: add mc_lock for protecting per-interface mld data
mld: change lockdep annotation for ip6_sf_socklist and ipv6_mc_socklist
net: mld: fix reference count leak in mld_{query | report}_work()
mld: fix suspicious RCU usage in __ipv6_dev_mc_dec()
Tetsuo Handa (1):
ocfs2: kill osb->system_file_mutex lock
Thomas Gleixner (1):
debugobjects: Plug race against a concurrent OOM disable
Thomas Weißschuh (1):
proc: use generic setattr() for /proc/$PID/net
Thorsten Blum (7):
crypto: caam - use print_hex_dump_devel to guard key hex dumps
crypto: caam - use print_hex_dump_devel to guard key hex dumps again
crypto: ecrdsa - fix unknown OID check in ecrdsa_param_curve x86/boot: Validate console=uart8250 baud rate to fix early boot hang x86/boot: Reject too long acpi_rsdp= values
tpm: fix event_size output in tpm1_binary_bios_measurements_show
crypto: atmel-sha204a - drop hwrng quality reduction for ATSHA204A
Tianxiang Chen (1):
cpufreq: Fix hotplug-suspend race during reboot
Timur Tabi (1):
regulator: core: regulator_lock_two() should test for EDEADLK not EDEADLOCK
Tomi Valkeinen (1):
drm/tidss: Drop extra drm_mode_config_reset() call
Tristan Madani (6):
hfs/hfsplus: zero-initialize buffer in hfs_bnode_read
wifi: rtw88: fix OOB read from firmware RX descriptor exceeding DMA buffer
wifi: ath9k: fix OOB access from firmware tx status queue ID
wifi: wcn36xx: fix OOB read from firmware count in PRINT_REG_INFO indication
ocfs2: use kzalloc for quota recovery bitmap allocation hfs/hfsplus: fix u32 overflow in check_and_correct_requested_length
Trung Nguyen (1):
HID: multitouch: fix out-of-bounds bit access on mt_io_flags
Tyler Baker (1):
usb: gadget: f_fs: initialize reset_work at allocation time
Uwe Kleine-König (5):
drm/i2c/sil164: Drop no-op remove function
leds: lm3697: Remove duplicated error reporting in .remove()
leds: lm3601x: Improve error reporting for problems during .remove()
gpio: pca953x: Make platform teardown callback return void
crypto: atmel - Drop explicit initialization of struct i2c_device_id::driver_data to 0
Viacheslav Dubeyko (1):
hfs/hfsplus: prevent getting negative values of offset/length
Victor Nogueira (3):
net/sched: sch_hfsc: Don't make class passive twice
net/sched: sch_fq_codel: Do not call qdisc_tree_reduce_backlog during peek before restoring qlen net/sched: sch_codel: Do not call qdisc_tree_reduce_backlog during peek before restoring qlen
Vidhu Sarwal (1):
iio: light: al3010: fix incorrect scale for the highest gain range
Vladimir Zapolskiy (1):
gpio: timberdale: Return -ENOMEM on dynamic memory allocation in probe
Wang Jun (1):
soc: fsl: qe: panic on ioremap() failure in qe_reset()
Wang Yan (1):
time: Fix off-by-one in compat settimeofday() usec validation
Weiming Shi (4):
crypto: asymmetric_keys - fix OOB read in pefile_digest_pe_contents bpf, sockmap: reject overflowing copy + len in bpf_msg_push_data()
Bluetooth: bpa10x: avoid OOB read of revision string in bpa10x_setup()
sctp: validate STALE_COOKIE cause length before reading staleness
WenTao Liang (2):
posix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() error path
power: supply: charger-manager: fix refcount leak in is_full_charged()
Wenjie Qi (1):
f2fs: validate orphan inode entry count
Wentao Liang (3):
mlxsw: fix refcount leak in mlxsw_sp_vrs_lpm_tree_replace() xen/gntdev: fix error handling in ioctl
ata: pata_pxa: Fix DMA channel leak on probe error
Wolfram Sang (1):
hwspinlock: qcom: avoid uninitialized struct members
Woojin Ji (1):
bpftool: Use libbpf error code for flow dissector query
Wyatt Feng (4):
net: ipv4: bound TCP reordering sysctl writes and MTU probe sizes
netfilter: xt_u32: reject invalid shift counts
netfilter: xt_cluster: reject template conntracks in hash match
netfilter: xt_nat: reject unsupported target families
Xiang Mei (10):
netfilter: nf_log: validate MAC header was set before dumping it
netfilter: ipset: fix race between dump and ip_set_list resize
netfilter: ebtables: terminate table name before find_table_lock() drm/edid: fix OOB read in drm_parse_tiled_block()
ipv6: Fix null-ptr-deref in fib6_nh_mtu_change().
usbnet: gl620a: fix out-of-bounds read in genelink_rx_fixup()
net: usb: net1080: validate packet_len before pad-byte access in rx_fixup
net: qualcomm: rmnet: validate MAP frame length before ingress parsing net/smc: fix UAF in smc_cdc_rx_handler() by pinning the socket
netfilter: nf_conntrack_reasm: guard mac_header adjustment after IPv6 defrag
Xiang Mei (Microsoft) (1):
netfilter: bridge: fix stale prevhdr pointer in br_ip6_fragment()
Xin Long (2):
sctp: validate embedded address parameter length
sctp: hold socket lock when dumping endpoints in sctp_diag
Xingjing Deng (1):
kconfig: fix potential NULL pointer dereference in conf_askvalue
Xu Rao (4):
USB: storage: include US_FL_NO_SAME in quirks mask
USB: usb-storage: ene_ub6250: restore media-ready check
scsi: sg: Report request-table problems when any status is set
usb: gadget: f_printer: take kref only for successful open
Xuanqiang Luo (2):
i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()
llc: fix SAP refcount leak when creating incoming sockets
Yadan Fan (1):
MIPS: mm: Fix out-of-bounds write in maar_res_walk()
Yichong Chen (2):
usbip: tools: support SuperSpeedPlus devices tools/mm/slabinfo: fix total_objects attribute name
Yiming Qian (1):
net: skmsg: preserve sg.copy across SG transforms
Yingchao Deng (1):
coresight: cti: Fix DT filter signals silently ignored
Yizhou Zhao (8):
6lowpan: fix NHC entry use-after-free on error path net/9p: fix race condition on rdma->state in trans_rdma.c
ipvs: pass parsed transport offset to state handlers
ipvs: use parsed transport offset in TCP state lookup
ipvs: fix PMTU for GUE/GRE tunnel ICMP errors
netfilter: nf_conncount: fix zone comparison in tuple dedup
ipvs: use parsed transport offset in SCTP state lookup
ipvs: reset full ip_vs_seq structs in ip_vs_conn_new
Yong Wang (1):
net: ife: require ETH_HLEN to be pullable in ife_decode()
Yousef Alhouseen (4):
Bluetooth: bnep: pin L2CAP connection during netdev registration
Bluetooth: fix UAF in bt_accept_dequeue()
mac802154: remove interfaces with RCU list deletion
xfs: use null daddr for unset first bad log block
Yue Haibing (1):
ipv6: mcast: Delay put pmc->idev in mld_del_delrec()
Yuho Choi (5):
cpufreq: pcc: fix use-after-free and double free in _OSC evaluation drm/radeon: fix memory leak in radeon_ring_restore() on lock failure
ARM: imx3: Fix CCM node reference leak
ARM: imx31: Fix IIM mapping leak in revision check
ACPI: IPMI: Fix message kref handling on dead device
Yun Zhou (1):
net: mvneta: re-enable percpu interrupt on resume
Yuyang Huang (1):
ipv4: igmp: remove multicast group from hash table on device destruction
Zhan Xusheng (1):
posix-cpu-timers: Use u64 multiplication in update_rlimit_cpu()
Zhang Cen (3):
ocfs2: rebase copied fsdlm LVB pointers in locking_state
ocfs2: reject FITRIM ranges shorter than a cluster ocfs2/dlm: require a ref for locking_state debugfs open
Zhang Lixu (1):
iio: hid-sensor-rotation: Fix stale or zero output when reading raw values
Zhang Yi (1):
ext4: fix LOGFLUSH shutdown ordering to allow ordered-mode data writeback
Zhao Dongdong (3):
ALSA: es1938: check snd_ctl_new1() return value
reset: sunxi: fix memory region leak on ioremap failure
ALSA: aoa: check snd_ctl_new1() return value
ZhengYuan Huang (1):
ocfs2: don't BUG_ON an invalid journal dinode
Zhengchuan Liang (1):
net: atm: reject out-of-range traffic classes in QoS validation
Zhiling Zou (1):
wifi: mac80211: free ack status frame on TX header build failure
Zhixing Chen (1):
netfilter: ip6tables: mark malformed IPv6 extension headers for hotdrop
Zihan Xi (2):
smb: client: use unaligned reads in parse_posix_ctxt()
smb: client: harden POSIX SID length parsing
Zijing Yin (1):
net: af_key: initialize alg_key_len for IPComp states
Zilin Guan (1):
media: atomisp: Fix memory leak in atomisp_fixed_pattern_table()
Zygmunt Krynicki (3):
apparmor: aa_label_alloc use aa_label_free on alloc failure
apparmor: aa_getprocattr free procattr leak on format failure
apparmor: put secmark label after secid lookup
longlong yan (1):
tools/virtio: check mmap return value in vringh_test
胡连勤 (1):
usb: xhci: Fix sleep in atomic context in xhci_free_streams()
Greg Kroah-Hartman
maintainerDocumentation/admin-guide/pm/cpufreq.rst +3 -3
@@ -499,7 +499,7 @@ This governor exposes the following tunables: of those tasks above 0 and set this attribute to 1. ``sampling_down_factor`` - Temporary multiplier, between 1 (default) and 100 inclusive, to apply to + Temporary multiplier, between 1 (default) and 100000 inclusive, to apply to the ``sampling_rate`` value if the CPU load goes above ``up_threshold``. This causes the next execution of the governor's worker routine (after
@@ -569,8 +569,8 @@ This governor exposes the following tunables: 100 (5 by default). This is how much the frequency is allowed to change in one go. Setting - it to 0 will cause the default frequency step (5 percent) to be used - and setting it to 100 effectively causes the governor to periodically + it to 0 disables frequency changes by the governor entirely and setting + it to 100 effectively causes the governor to periodically switch the frequency between the ``scaling_min_freq`` and ``scaling_max_freq`` policy limits.
Documentation/crypto/userspace-if.rst +4 -27
@@ -328,33 +328,10 @@ CRYPTO_USER_API_RNG_CAVP option: Zero-Copy Interface ------------------- -In addition to the send/write/read/recv system call family, the AF_ALG -interface can be accessed with the zero-copy interface of -splice/vmsplice. As the name indicates, the kernel tries to avoid a copy -operation into kernel space. - -The zero-copy operation requires data to be aligned at the page -boundary. Non-aligned data can be used as well, but may require more -operations of the kernel which would defeat the speed gains obtained -from the zero-copy interface. - -The system-inherent limit for the size of one zero-copy operation is 16 -pages. If more data is to be sent to AF_ALG, user space must slice the -input into segments with a maximum size of 16 pages. - -Zero-copy can be used with the following code example (a complete -working example is provided with libkcapi): - -:: - - int pipes[2]; - - pipe(pipes); - /* input data in iov */ - vmsplice(pipes[1], iov, iovlen, SPLICE_F_GIFT); - /* opfd is the file descriptor returned from accept() system call */ - splice(pipes[0], NULL, opfd, NULL, ret, 0); - read(opfd, out, outlen); +AF_ALG used to have zero-copy support, but it was removed due to it being a +frequent source of vulnerabilities. For backwards compatibility the splice() +and sendfile() system calls are still supported, but the kernel will make an +internal copy of the data before passing it to the crypto code. Setsockopt Interface
Documentation/driver-api/pci/pci.rst +3 -0
@@ -31,6 +31,9 @@ PCI Support Library .. kernel-doc:: drivers/pci/slot.c :export: +.. kernel-doc:: drivers/pci/rebar.c + :export: + .. kernel-doc:: drivers/pci/rom.c :export:
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 10 -SUBLEVEL = 260 +SUBLEVEL = 261 EXTRAVERSION = NAME = Dare mighty things
arch/alpha/kernel/pci-sysfs.c +11 -2
@@ -11,6 +11,7 @@*/ #include <linux/sched.h> +#include <linux/security.h> #include <linux/stat.h> #include <linux/slab.h> #include <linux/pci.h>
@@ -36,12 +37,16 @@ static int hose_mmap_page_range(struct pci_controller *hose,static int __pci_mmap_fits (struct pci_dev *pdev,int num,struct vm_area_struct *vma,int sparse) { +resource_size_t len =pci_resource_len (pdev, num);unsigned long nr, start, size;int shift = sparse ?5 :0 ; +if (!len) +return 0 ; + nr =vma_pages (vma); start = vma->vm_pgoff; - size = ((pci_resource_len (pdev, num) -1 ) >> (PAGE_SHIFT - shift)) +1 ; + size = ((len -1 ) >> (PAGE_SHIFT - shift)) +1 ;if (start < size && size - start >= nr)return 1 ;
@@ -69,7 +74,11 @@ static int pci_mmap_resource(struct kobject *kobj,struct resource *res = attr->private;enum pci_mmap_state mmap_type;struct pci_bus_region bar; -int i; +int i, ret; + + ret =security_locked_down (LOCKDOWN_PCI_ACCESS ); +if (ret) +return ret;for (i =0 ; i <PCI_STD_NUM_BARS ; i++)if (res == &pdev->resource[i])
arch/arm/boot/dts/am335x-sl50.dts +2 -2
@@ -557,8 +557,8 @@ cpu_endpoint: endpoint { remote-endpoint = <&codec_endpoint>; dai-format = "dsp_b"; - bitclock-master = <&codec_port>; - frame-master = <&codec_port>; + bitclock-master = <&codec_endpoint>; + frame-master = <&codec_endpoint>; bitclock-inversion; clocks = <&audio_mclk>; };
arch/arm/mach-davinci/board-da850-evm.c +4 -8
@@ -519,8 +519,8 @@ static int da850_evm_ui_expander_setup(struct i2c_client *client, unsigned gpio,return ret; } -static int da850_evm_ui_expander_teardown (struct i2c_client *client, -unsigned gpio,unsigned ngpio,void *c) +static void da850_evm_ui_expander_teardown (struct i2c_client *client, +unsigned gpio,unsigned ngpio,void *c) {platform_device_unregister (&da850_evm_ui_keys_device);
@@ -532,8 +532,6 @@ static int da850_evm_ui_expander_teardown(struct i2c_client *client,gpio_free (gpio +DA850_EVM_UI_EXP_SEL_C );gpio_free (gpio +DA850_EVM_UI_EXP_SEL_B );gpio_free (gpio +DA850_EVM_UI_EXP_SEL_A ); - -return 0 ; }/* assign the baseboard expander's GPIOs after the UI board's */
@@ -700,13 +698,11 @@ static int da850_evm_bb_expander_setup(struct i2c_client *client,return ret; } -static int da850_evm_bb_expander_teardown (struct i2c_client *client, -unsigned gpio,unsigned ngpio,void *c) +static void da850_evm_bb_expander_teardown (struct i2c_client *client, +unsigned gpio,unsigned ngpio,void *c) {platform_device_unregister (&da850_evm_bb_leds_device);platform_device_unregister (&da850_evm_bb_keys_device); - -return 0 ; }static struct pca953x_platform_data da850_evm_ui_expander_info = {
arch/arm/mach-imx/cpu-imx31.c +7 -2
@@ -36,6 +36,7 @@ static int mx31_read_cpu_rev(void)void __iomem *iim_base;struct device_node *np;u32 i, srev; +int rev =IMX_CHIP_REVISION_UNKNOWN ; np =of_find_compatible_node (NULL ,NULL ,"fsl,imx31-iim" ); iim_base =of_iomap (np,0 );
@@ -48,13 +49,17 @@ static int mx31_read_cpu_rev(void)for (i =0 ; i <ARRAY_SIZE (mx31_cpu_type); i++)if (srev == mx31_cpu_type[i].srev) { + rev = mx31_cpu_type[i].rev;imx_print_silicon_rev (mx31_cpu_type[i].name, mx31_cpu_type[i].rev); -return mx31_cpu_type[i].rev; + goto out; }imx_print_silicon_rev ("i.MX31" ,IMX_CHIP_REVISION_UNKNOWN ); -return IMX_CHIP_REVISION_UNKNOWN ; + +out: +iounmap (iim_base); +return rev; }int mx31_revision (void )
arch/arm/mach-imx/mm-imx3.c +2 -0
@@ -107,6 +107,7 @@ void __init imx31_init_early(void) arm_pm_idle = imx31_idle; np =of_find_compatible_node (NULL ,NULL ,"fsl,imx31-ccm" ); mx3_ccm_base =of_iomap (np,0 ); +of_node_put (np);BUG_ON (!mx3_ccm_base); }
@@ -156,6 +157,7 @@ void __init imx35_init_early(void) arch_ioremap_caller = imx3_ioremap_caller; np =of_find_compatible_node (NULL ,NULL ,"fsl,imx35-ccm" ); mx3_ccm_base =of_iomap (np,0 ); +of_node_put (np);BUG_ON (!mx3_ccm_base); }
arch/arm64/boot/dts/qcom/sdm630.dtsi +6 -3
@@ -391,9 +391,12 @@ venus_region: venus@9f800000 { no-map; }; - adsp_mem: adsp-region@f6000000 { - reg = <0x0 0xf6000000 0x0 0x800000>; - no-map; + adsp_mem: adsp-region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x80000000 0x0 0x80000000>; + alignment = <0x0 0x400000>; + size = <0x0 0x800000>; + reusable; }; qseecom_mem: qseecom-region@f6800000 {
arch/arm64/kernel/hw_breakpoint.c +9 -0
@@ -557,6 +557,15 @@ int hw_breakpoint_arch_parse(struct perf_event *bp,else alignment_mask =0x7 ; offset = hw->address & alignment_mask; + +/* +* BAS is an 8-bit field in WCR/BCR; the shift below would +* silently drop the high bits of ctrl.len when offset + len +* exceeds 8, programming hardware to watch fewer bytes than +* the user requested. +*/ +if (((u32 )hw->ctrl.len << offset) >ARM_BREAKPOINT_LEN_8 ) +return -EINVAL ; } hw->address &= ~alignment_mask;
arch/arm64/kvm/vgic/vgic-its.c +11 -4
@@ -704,6 +704,8 @@ struct vgic_its *vgic_msi_to_its(struct kvm *kvm, struct kvm_msi *msi)u64 address;struct kvm_io_device *kvm_io_dev;struct vgic_io_device *iodev; +struct vgic_its *its =NULL ; +int srcu_idx;if (!vgic_has_its (kvm))return ERR_PTR (-ENODEV );
@@ -713,18 +715,23 @@ struct vgic_its *vgic_msi_to_its(struct kvm *kvm, struct kvm_msi *msi) address = (u64 )msi->address_hi <<32 | msi->address_lo; + srcu_idx =srcu_read_lock (&kvm->srcu); + kvm_io_dev =kvm_io_bus_get_dev (kvm,KVM_MMIO_BUS , address);if (!kvm_io_dev) -return ERR_PTR (-EINVAL ); + goto out;if (kvm_io_dev->ops != &kvm_io_gic_ops) -return ERR_PTR (-EINVAL ); + goto out; iodev = container_of(kvm_io_dev, struct vgic_io_device, dev);if (iodev->iodev_type !=IODEV_ITS ) -return ERR_PTR (-EINVAL ); + goto out; -return iodev->its; + its = iodev->its; +out: +srcu_read_unlock (&kvm->srcu, srcu_idx); +return its ?:ERR_PTR (-EINVAL ); }/*
arch/arm64/kvm/vgic/vgic.c +6 -5
@@ -685,15 +685,16 @@ static void vgic_prune_ap_list(struct kvm_vcpu *vcpu)raw_spin_lock (&irq->irq_lock);/* -* If the affinity has been preserved, move the -* interrupt around. Otherwise, it means things have -* changed while the interrupt was unlocked, and we -* need to replay this. +* If the interrupt is still ours and its affinity has +* been preserved, move it around. Otherwise, it means +* things have changed while the interrupt was unlocked +* (it may even have been taken off the list with its +* affinity left untouched), and we need to replay this. * * In all cases, we cannot trust the list not to have * changed, so we restart from the beginning. */ -if (target_vcpu ==vgic_target_oracle (irq)) { +if (irq->vcpu == vcpu && target_vcpu ==vgic_target_oracle (irq)) {struct vgic_cpu *new_cpu = &target_vcpu->arch.vgic_cpu;list_del (&irq->ap_list);
arch/mips/dec/int-handler.S +1 -1
@@ -277,7 +277,7 @@ srlv t3,t1,t2 handle_it: - j dec_irq_dispatch + j do_IRQ nop #if defined(CONFIG_32BIT) && defined(CONFIG_MIPS_FP_SUPPORT)
arch/mips/dec/prom/init.c +5 -1
@@ -3,7 +3,7 @@* init.c: PROM library initialisation code. * * Copyright (C) 1998 Harald Koerfgen -* Copyright (C) 2002, 2004 Maciej W. Rozycki +* Copyright (C) 2002, 2004, 2026 Maciej W. Rozycki */ #include <linux/init.h> #include <linux/kernel.h>
@@ -20,6 +20,10 @@#include <asm/dec/prom.h> +#ifdef CONFIG_64BIT +unsigned long o32_stk[O32_STK_SIZE ]__initdata = {0 }; +#endif +int (*__rex_bootinit)(void );int (*__rex_bootread)(void );int (*__rex_getbitmap)(memmap *);
arch/mips/dec/setup.c +0 -6
@@ -776,9 +776,3 @@ void __init arch_init_irq(void)pr_err ("Failed to register halt interrupt\n" ); } } - -asmlinkage unsigned int dec_irq_dispatch(unsigned int irq) -{ -do_IRQ (irq); -return 0 ; -}
arch/mips/fw/lib/call_o32.S +1 -1
@@ -74,7 +74,7 @@ NESTED(call_o32, O32_FRAMESZ, ra) PTR_LA t1,6*O32_SZREG(fp) li t2,O32_ARGC-6 1: - lw t3,(t0) + ld t3,(t0) REG_ADDU t0,SZREG sw t3,(t1) REG_SUBU t2,1
arch/mips/include/asm/dec/prom.h +13 -2
@@ -4,7 +4,7 @@* * DECstation PROM interface. * -* Copyright (C) 2002 Maciej W. Rozycki +* Copyright (C) 2002, 2026 Maciej W. Rozycki * * Based on arch/mips/dec/prom/prom.h by the Anonymous. */
@@ -97,6 +97,17 @@ extern int (*__pmax_close)(int);#ifdef CONFIG_64BIT +#define O32_STK_SIZE 512 +extern unsigned long o32_stk[]; + +/* Switch the stack if outside the 32-bit address space. */ +static inline unsigned long *o32_get_stk (void ) +{ +long fp = (long )__builtin_frame_address (0 ); + +return fp != (int )fp ? o32_stk +O32_STK_SIZE :NULL ; +} +/* * On MIPS64 we have to call PROM functions via a helper * dispatcher to accommodate ABI incompatibilities.
@@ -128,7 +139,7 @@ int __DEC_PROM_O32(_prom_printf, (int (*)(char *, ...), void *, char *, ...));#define prom_getchar () _prom_getchar(__prom_getchar, NULL)#define prom_getenv (x) _prom_getenv(__prom_getenv, NULL, x) -#define prom_printf(x...) _prom_printf(__prom_printf, NULL, x) +#define prom_printf(x...) _prom_printf(__prom_printf, o32_get_stk(), x)#else /* !CONFIG_64BIT */
arch/mips/mm/init.c +8 -4
@@ -277,9 +277,15 @@ static int maar_res_walk(unsigned long start_pfn, unsigned long nr_pages, void *data) {struct maar_walk_info *wi = data; -struct maar_config *cfg = &wi->cfg[wi->num_cfg]; +struct maar_config *cfg;unsigned int maar_align; +/* Ensure we don't overflow the cfg array */ +if (WARN_ON (wi->num_cfg >=ARRAY_SIZE (wi->cfg))) +return -1 ; + + cfg = &wi->cfg[wi->num_cfg]; +/* MAAR registers hold physical addresses right shifted by 4 bits */ maar_align =BIT (MIPS_MAAR_ADDR_SHIFT +4 );
@@ -288,9 +294,7 @@ static int maar_res_walk(unsigned long start_pfn, unsigned long nr_pages, cfg->upper =ALIGN_DOWN (PFN_PHYS (start_pfn + nr_pages), maar_align) -1 ; cfg->attrs =MIPS_MAAR_S ; -/* Ensure we don't overflow the cfg array */ -if (!WARN_ON (wi->num_cfg >=ARRAY_SIZE (wi->cfg))) - wi->num_cfg++; + wi->num_cfg++;return 0 ; }
arch/mips/sgi-ip22/ip22-gio.c +2 -5
@@ -30,7 +30,6 @@ static struct {static void gio_bus_release (struct device *dev) { -kfree (dev); }static struct device gio_bus = {
@@ -101,6 +100,8 @@ int gio_device_register(struct gio_device *giodev) { giodev->dev.bus = &gio_bus_type; giodev->dev.parent = &gio_bus; + giodev->dev.release = gio_release_dev; +return device_register (&giodev->dev); }EXPORT_SYMBOL_GPL (gio_device_register);
@@ -132,13 +133,9 @@ static int gio_device_probe(struct device *dev)if (!drv->probe)return error; -gio_dev_get (gio_dev); - match =gio_match_device (drv->id_table, gio_dev);if (match) error = drv->probe (gio_dev, match); -if (error) -gio_dev_put (gio_dev);return error; }
arch/powerpc/kexec/core_64.c +1 -3
@@ -163,7 +163,7 @@ static void kexec_prepare_cpus_wait(int wait_state)int my_cpu, i, notified=-1 ;hw_breakpoint_disable (); - my_cpu =get_cpu (); + my_cpu =raw_smp_processor_id ();/* Make sure each CPU has at least made it to the state we need. * * FIXME: There is a (slim) chance of a problem if not all of the CPUs
@@ -242,8 +242,6 @@ static void kexec_prepare_cpus(void)/* after we tell the others to go down */ if (ppc_md.kexec_cpu_down) ppc_md.kexec_cpu_down(0, 0); - - put_cpu(); }#else /* ! SMP */
arch/powerpc/perf/core-fsl-emb.c +2 -1
@@ -366,9 +366,10 @@ static void fsl_emb_pmu_del(struct perf_event *event, int flags) cpuhw->n_events--; +put_cpu_var (cpu_hw_events); + out:perf_pmu_enable (event->pmu); -put_cpu_var (cpu_hw_events); }static void fsl_emb_pmu_start (struct perf_event *event,int ef_flags)
arch/powerpc/platforms/cell/spufs/file.c +4 -2
@@ -268,10 +268,12 @@ static int spufs_mem_mmap_access(struct vm_area_struct *vma,if (write && !(vma->vm_flags &VM_WRITE ))return -EACCES ; +if (offset >=LS_SIZE ) +return -EFAULT ;if (spu_acquire (ctx))return -EINTR ; -if ((offset + len) > vma->vm_end) - len = vma->vm_end - offset; +if ((offset + len) >LS_SIZE ) + len =LS_SIZE - offset; local_store = ctx->ops->get_ls (ctx);if (write)memcpy_toio (local_store + offset, buf, len);
arch/powerpc/platforms/powernv/setup.c +2 -1
@@ -362,7 +362,8 @@ static void pnv_kexec_wait_secondaries_down(void) {int my_cpu, i, notified =-1 ; - my_cpu =get_cpu (); +/* Called with interrupts disabled, so the CPU is pinned. */ + my_cpu =raw_smp_processor_id ();for_each_online_cpu (i) {uint8_t status;
arch/riscv/kernel/stacktrace.c +1 -1
@@ -96,7 +96,7 @@ void notrace walk_stackframe(struct task_struct *task,while (!kstack_end (ksp)) {if (__kernel_text_address (pc) &&unlikely (fn (pc, arg)))break ; - pc =READ_ONCE_NOCHECK (*ksp++) -0x4 ; + pc =READ_ONCE_NOCHECK (*ksp++); } }
arch/sparc/kernel/led.c +1 -1
@@ -78,7 +78,7 @@ static ssize_t led_proc_write(struct file *file, const char __user *buffer,return PTR_ERR (buf);/* work around \n when echo'ing into proc */ -if (buf[count -1 ] =='\n' ) +if (count >0 && buf[count -1 ] =='\n' ) buf[count -1 ] ='\0' ;/* before we change anything we want to stop any running timers,
arch/x86/boot/compressed/acpi.c +6 -1
@@ -288,10 +288,15 @@ static unsigned long get_cmdline_acpi_rsdp(void)char val[MAX_ADDR_LEN ] = { };int ret; - ret =cmdline_find_option ("acpi_rsdp" , val,MAX_ADDR_LEN ); + ret =cmdline_find_option ("acpi_rsdp" , val,sizeof (val));if (ret <0 )return 0 ; +if (ret >=sizeof (val)) { +warn ("acpi_rsdp= value too long; ignoring" ); +return 0 ; + } +if (boot_kstrtoul (val,16 , &addr))return 0 ;#endif
arch/x86/boot/early_serial_console.c +7 -4
@@ -117,7 +117,7 @@ static unsigned int probe_baud(int port)static void parse_console_uart8250 (void ) {char optstr[64 ], *options; -int baud =DEFAULT_BAUD ; +int baud;int port =0 ;/*
@@ -136,10 +136,13 @@ static void parse_console_uart8250(void)else return ; -if (options && (options[0 ] ==',' )) - baud =simple_strtoull (options +1 , &options,0 ); -else +if (options && (options[0 ] ==',' )) { + baud =simple_strtoull (options +1 ,NULL ,0 ); +if (!baud) + baud =DEFAULT_BAUD ; + }else { baud =probe_baud (port); + }if (port)early_serial_init (port, baud);
arch/x86/events/amd/core.c +3 -3
@@ -943,12 +943,12 @@ static int __init amd_core_pmu_init(void)u64 even_ctr_mask =0ULL ;int i; -if (!boot_cpu_has (X86_FEATURE_PERFCTR_CORE )) -return 0 ; -/* Avoid calculating the value each time in the NMI handler */ perf_nmi_window =msecs_to_jiffies (100 ); +if (!boot_cpu_has (X86_FEATURE_PERFCTR_CORE )) +return 0 ; +/* * If core performance counter extensions exists, we must use * MSR_F15H_PERF_CTL/MSR_F15H_PERF_CTR msrs. See also
arch/x86/kernel/cpu/mce/therm_throt.c +6 -1
@@ -467,8 +467,13 @@ static int thermal_throttle_online(unsigned int cpu) {struct thermal_state *state = &per_cpu (thermal_state, cpu);struct device *dev =get_cpu_device (cpu); +int err;u32 l; + err =thermal_throttle_add_dev (dev, cpu); +if (err) +return err; + state->package_throttle.level =PACKAGE_LEVEL ; state->core_throttle.level =CORE_LEVEL ;
@@ -479,7 +484,7 @@ static int thermal_throttle_online(unsigned int cpu) l =apic_read (APIC_LVTTHMR );apic_write (APIC_LVTTHMR , l & ~APIC_LVT_MASKED ); -return thermal_throttle_add_dev (dev, cpu); +return err; }static int thermal_throttle_offline (unsigned int cpu)
arch/x86/kvm/vmx/vmx.c +1 -2
@@ -6309,11 +6309,10 @@ static noinstr void vmx_l1d_flush(struct kvm_vcpu *vcpu)static void update_cr8_intercept (struct kvm_vcpu *vcpu,int tpr,int irr) { -struct vmcs12 *vmcs12 =get_vmcs12 (vcpu);int tpr_threshold;if (is_guest_mode (vcpu) && -nested_cpu_has (vmcs12,CPU_BASED_TPR_SHADOW )) +nested_cpu_has (get_vmcs12 (vcpu),CPU_BASED_TPR_SHADOW ))return ; tpr_threshold = (irr ==-1 || tpr < irr) ?0 : irr;
arch/x86/mm/numa_emulation.c +13 -4
@@ -211,7 +211,7 @@ static u64 uniform_size(u64 max_addr, u64 base, u64 hole, int nr_nodes)* Sets up fake nodes of `size' interleaved over physical nodes ranging from * `addr' to `max_addr'. * -* Returns zero on success or negative on error. +* Returns node ID of the next node on success or negative error code. */ static int __init split_nodes_size_interleave_uniform(struct numa_meminfo *ei, struct numa_meminfo *pi,
@@ -395,7 +395,7 @@ void __init numa_emulation(struct numa_meminfo *numa_meminfo, int numa_dist_cnt)if (strchr (emu_cmdline,'U' )) {nodemask_t physnode_mask = numa_nodes_parsed;unsigned long n; -int nid =0 ; +int nid =0 , nr_created; n =simple_strtoul (emu_cmdline, &emu_cmdline,0 ); ret =-1 ;
@@ -413,9 +413,18 @@ void __init numa_emulation(struct numa_meminfo *numa_meminfo, int numa_dist_cnt) n, &pi.blk[0], nid);if (ret <0 )break ; -if (ret < n) { + +/* +* If no memory was found for this physical node, +* skip the under-allocation check. +*/ +if (ret == nid) +continue ; + + nr_created = ret - nid; +if (nr_created < n) {pr_info ("%s: phys: %d only got %d of %ld nodes, failing\n" , - __func__, i, ret, n); + __func__, i, nr_created, n); ret =-1 ;break ; }
arch/x86/platform/olpc/olpc-xo15-sci.c +1 -0
@@ -185,6 +185,7 @@ static int xo15_sci_add(struct acpi_device *device)static int xo15_sci_remove (struct acpi_device *device) { +device_init_wakeup (&device->dev, false);acpi_disable_gpe (NULL , xo15_sci_gpe);acpi_remove_gpe_handler (NULL , xo15_sci_gpe, xo15_sci_gpe_handler);cancel_work_sync (&sci_work);
block/partitions/aix.c +9 -0
@@ -244,6 +244,15 @@ int aix_partition(struct parsed_partitions *state)int next_lp_ix =1 ;int lp_ix; +/* +* pvd was read into a fixed-size struct pvd whose ppe[] array +* holds ARRAY_SIZE(pvd->ppe) entries. pp_count is an +* unvalidated on-disk __be16, so clamp the scan to the array +* size to avoid walking past the allocation. +*/ +if (numpps >ARRAY_SIZE (pvd->ppe)) + numpps =ARRAY_SIZE (pvd->ppe); +for (i =0 ; i < numpps; i +=1 ) {struct ppe *p = pvd->ppe + i;unsigned int lv_ix;
certs/common.c +1 -1
@@ -20,7 +20,7 @@ int load_certificate_list(const u8 cert_list[],*/ if (end - p <4 ) goto dodgy_cert; -if (p[0 ] !=0x30 && +if (p[0 ] !=0x30 || p[1 ] !=0x82 ) goto dodgy_cert; plen = (p[2 ] <<8 ) | p[3 ];
crypto/af_alg.c +10 -44
63 lines not on this page · raw message
crypto/algif_skcipher.c +18 -31
55 lines not on this page · raw message
crypto/asymmetric_keys/verify_pefile.c +2 -0
@@ -305,6 +305,8 @@ static int pefile_digest_pe_contents(const void *pebuf, unsigned int pelen,if (pelen > hashed_bytes) { tmp = hashed_bytes + ctx->certs_size; +if (tmp <= hashed_bytes || pelen < tmp) +return -ELIBBAD ; ret =crypto_shash_update (desc, pebuf + hashed_bytes, pelen - tmp);
crypto/drbg.c +2 -2
@@ -601,7 +601,7 @@ static int drbg_ctr_generate(struct drbg_state *drbg,if (addtl && !list_empty (addtl)) { ret =drbg_ctr_update (drbg, addtl,2 );if (ret) -return 0 ; +return ret; }/* 10.2.1.5.2 step 4.1 */
@@ -2069,7 +2069,7 @@ static inline void __init drbg_fill_array(struct rng_alg *alg,* it is selected. */ if (fips_enabled) - alg->base.cra_priority +=200 ; + alg->base.cra_priority +=2000 ; alg->base.cra_ctxsize =sizeof (struct drbg_state ); alg->base.cra_module =THIS_MODULE ;
crypto/ecc.c +20 -11
@@ -364,14 +364,26 @@ static uint128_t mul_64_64(u64 left, u64 right)return result; } -static uint128_t add_128_128 (uint128_t a,uint128_t b) +/* Calculate addition with overflow checking. Returns true on wrap-around, +* false otherwise. +*/ +static bool check_add_128_128_overflow (uint128_t *result,uint128_t a, +uint128_t b) { -uint128_t result; +bool carry; - result.m_low = a.m_low + b.m_low; - result.m_high = a.m_high + b.m_high + (result.m_low < a.m_low); + result->m_low = a.m_low + b.m_low; + carry = (result->m_low < a.m_low); -return result; + result->m_high = a.m_high + b.m_high + carry; + +/* Using constant-time bitwise arithmetic to prevent timing +* side-channels. +*/ + carry = (result->m_high < a.m_high) | + ((result->m_high == a.m_high) & carry); + +return carry; } static void vli_mult(u64 *result, const u64 *left, const u64 *right,
@@ -396,9 +408,7 @@ static void vli_mult(u64 *result, const u64 *left, const u64 *right,uint128_t product; product =mul_64_64 (left[i], right[k - i]); - - r01 =add_128_128 (r01, product); - r2 += (r01.m_high < product.m_high); + r2 +=check_add_128_128_overflow (&r01, r01, product); } result[k] = r01.m_low;
@@ -421,7 +431,7 @@ static void vli_umult(u64 *result, const u64 *left, u32 right,uint128_t product; product =mul_64_64 (left[k], right); - r01 =add_128_128 (r01, product); +check_add_128_128_overflow (&r01, r01, product);/* no carry */ result[k] = r01.m_low; r01.m_low = r01.m_high;
@@ -458,8 +468,7 @@ static void vli_square(u64 *result, const u64 *left, unsigned int ndigits) product.m_low <<=1 ; } - r01 =add_128_128 (r01, product); - r2 += (r01.m_high < product.m_high); + r2 +=check_add_128_128_overflow (&r01, r01, product); } result[k] = r01.m_low;
crypto/ecrdsa.c +1 -1
@@ -153,7 +153,7 @@ int ecrdsa_param_curve(void *context, size_t hdrlen, unsigned char tag,struct ecrdsa_ctx *ctx = context; ctx->curve_oid =look_up_OID (value, vlen); -if (!ctx->curve_oid) +if (ctx->curve_oid ==OID__NR )return -EINVAL ; ctx->curve =get_curve_by_oid (ctx->curve_oid);return 0 ;
crypto/pcrypt.c +4 -0
@@ -122,6 +122,8 @@ static int pcrypt_aead_encrypt(struct aead_request *req)return -EINPROGRESS ;if (err == -EBUSY ) {/* try non-parallel mode */ +aead_request_set_callback (creq, flags, req->base.complete, + req->base.data);return crypto_aead_encrypt (creq); }
@@ -173,6 +175,8 @@ static int pcrypt_aead_decrypt(struct aead_request *req)return -EINPROGRESS ;if (err == -EBUSY ) {/* try non-parallel mode */ +aead_request_set_callback (creq, flags, req->base.complete, + req->base.data);return crypto_aead_decrypt (creq); }
crypto/rng.c +11 -0
@@ -232,5 +232,16 @@ void crypto_unregister_rngs(struct rng_alg *algs, int count) }EXPORT_SYMBOL_GPL (crypto_unregister_rngs); +static void __exit rng_exit(void) +{ +int err; + + err =crypto_del_default_rng (); +if (err) +pr_err ("Failed delete default RNG: %d\n" , err); +} + +module_exit (rng_exit); +MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("Random Number Generator" );
drivers/acpi/acpi_ipmi.c +1 -1
@@ -549,7 +549,6 @@ acpi_ipmi_space_handler(u32 function, acpi_physical_address address,return AE_TYPE ; } -acpi_ipmi_msg_get (tx_msg);mutex_lock (&driver_data.ipmi_lock);/* Do not add a tx_msg that can not be flushed. */ if (ipmi_device->dead) {
@@ -557,6 +556,7 @@ acpi_ipmi_space_handler(u32 function, acpi_physical_address address,ipmi_msg_release (tx_msg);return AE_NOT_EXIST ; } +acpi_ipmi_msg_get (tx_msg);spin_lock_irqsave (&ipmi_device->tx_msg_lock, flags);list_add_tail (&tx_msg->head, &ipmi_device->tx_msg_list);spin_unlock_irqrestore (&ipmi_device->tx_msg_lock, flags);
drivers/acpi/nfit/core.c +11 -4
@@ -3456,6 +3456,8 @@ static void acpi_nfit_unregister(void *data)struct acpi_nfit_desc *acpi_desc = data;nvdimm_bus_unregister (acpi_desc->nvdimm_bus); +/* The nvdimm_bus object may have been freed, so clear the pointer. */ + acpi_desc->nvdimm_bus =NULL ; }int acpi_nfit_init (struct acpi_nfit_desc *acpi_desc,void *data,acpi_size sz)
@@ -3680,7 +3682,10 @@ static void acpi_nfit_put_table(void *table)void acpi_nfit_shutdown (void *data) {struct acpi_nfit_desc *acpi_desc = data; -struct device *bus_dev =to_nvdimm_bus_dev (acpi_desc->nvdimm_bus); +struct device *bus_dev; + +if (!acpi_desc || !acpi_desc->nvdimm_bus) +return ;/* * Destruct under acpi_desc_lock so that nfit_handle_mce does not
@@ -3695,6 +3700,7 @@ void acpi_nfit_shutdown(void *data)mutex_unlock (&acpi_desc->init_mutex);cancel_delayed_work_sync (&acpi_desc->dwork); + bus_dev =to_nvdimm_bus_dev (acpi_desc->nvdimm_bus);/* * Bounce the nvdimm bus lock to make sure any in-flight * acpi_nfit_ars_rescan() submissions have had a chance to
@@ -3762,13 +3768,14 @@ static int acpi_nfit_add(struct acpi_device *adev) sz - sizeof(struct acpi_table_nfit));if (rc) -return rc; -return devm_add_action_or_reset (dev, acpi_nfit_shutdown, acpi_desc); +acpi_nfit_shutdown (acpi_desc); + +return rc; }static int acpi_nfit_remove (struct acpi_device *adev) { -/* see acpi_nfit_unregister */ +acpi_nfit_shutdown (dev_get_drvdata (&adev->dev));return 0 ; }
drivers/acpi/resource.c +3 -3
@@ -688,7 +688,7 @@ bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index,EXPORT_SYMBOL_GPL (acpi_dev_resource_interrupt);/** -* acpi_dev_free_resource_list - Free resource from %acpi_dev_get_resources(). +* acpi_dev_free_resource_list - Free resource from acpi_dev_get_resources(). * @list: The head of the resource list to free. */ void acpi_dev_free_resource_list (struct list_head *list)
@@ -808,7 +808,7 @@ static int __acpi_dev_get_resources(struct acpi_device *adev,* * The resultant struct resource objects are put on the list pointed to by * @list, that must be empty initially, as members of struct resource_entry -* objects. Callers of this routine should use %acpi_dev_free_resource_list() to +* objects. Callers of this routine should use acpi_dev_free_resource_list() to * free that list. * * The number of resources in the output list is returned on success, an error
@@ -846,7 +846,7 @@ static int is_memory(struct acpi_resource *ares, void *not_used)* The resultant struct resource objects are put on the list pointed to * by @list, that must be empty initially, as members of struct * resource_entry objects. Callers of this routine should use -* %acpi_dev_free_resource_list() to free that list. +* acpi_dev_free_resource_list() to free that list. * * The number of resources in the output list is returned on success, * an error code reflecting the error condition is returned otherwise.
drivers/android/binder.c +18 -1
@@ -1909,7 +1909,20 @@ static void binder_free_txn_fixups(struct binder_transaction *t)static void binder_free_transaction (struct binder_transaction *t) { -struct binder_proc *target_proc = t->to_proc; +struct binder_thread *target_thread; +struct binder_proc *target_proc; + +spin_lock (&t->lock); + target_proc = t->to_proc; + target_thread = t->to_thread; +/* +* Pin target_thread to keep target_proc alive. Undelivered +* transactions with !target_thread are safe, as target_proc +* can only be the current context there. +*/ +if (target_thread) +atomic_inc (&target_thread->tmp_ref); +spin_unlock (&t->lock);if (target_proc) {binder_inner_proc_lock (target_proc);
@@ -1917,6 +1930,10 @@ static void binder_free_transaction(struct binder_transaction *t) t->buffer->transaction =NULL ;binder_inner_proc_unlock (target_proc); } + +if (target_thread) +binder_thread_dec_tmpref (target_thread); +/* * If the transaction has no target_proc, then * t->buffer->transaction has already been cleared.
drivers/ata/pata_pxa.c +1 -0
@@ -287,6 +287,7 @@ static int pxa_ata_probe(struct platform_device *pdev) ret =dmaengine_slave_config (data->dma_chan, &config);if (ret <0 ) {dev_err (&pdev->dev,"dma configuration failed: %d\n" , ret); +dma_release_channel (data->dma_chan);return ret; }
drivers/ata/sata_gemini.c +1 -1
@@ -391,7 +391,7 @@ static int gemini_sata_probe(struct platform_device *pdev)if (sg->ide_pins) { ret =gemini_setup_ide_pins (dev);if (ret) -return ret; + goto out_unprep_clk; }dev_info (dev,"set up the Gemini IDE/SATA nexus\n" );
drivers/base/firmware_loader/main.c +2 -1
@@ -1442,9 +1442,10 @@ static void device_cache_fw_images(void)mutex_lock (&fw_lock); fwc->state =FW_LOADER_START_CACHE ; -dpm_for_each_dev (NULL , dev_cache_fw_image);mutex_unlock (&fw_lock); +dpm_for_each_dev (NULL , dev_cache_fw_image); +/* wait for completion of caching firmware for all devices */ async_synchronize_full_domain (&fw_cache_domain);
drivers/base/power/main.c +5 -1
@@ -102,7 +102,7 @@ void device_pm_sleep_init(struct device *dev) dev->power.is_noirq_suspended = false; dev->power.is_late_suspended = false;init_completion (&dev->power.completion); -complete_all (&dev->power.completion); +complete (&dev->power.completion); dev->power.wakeup =NULL ;INIT_LIST_HEAD (&dev->power.entry); }
@@ -242,6 +242,10 @@ static void dpm_wait(struct device *dev, bool async)if (!dev)return ; +/* Devices with no PM support don't use the completion. */ +if (dev->power.no_pm) +return ; +if (async || (pm_async_enabled && dev->power.async_suspend))wait_for_completion (&dev->power.completion); }
drivers/base/property.c +3 -1
@@ -1238,8 +1238,10 @@ fwnode_graph_get_endpoint_by_id(const struct fwnode_handle *fwnode,if (fwnode_ep.port != port)continue ; -if (fwnode_ep.id == endpoint) +if (fwnode_ep.id == endpoint) { +fwnode_handle_put (best_ep);return ep; + }if (!endpoint_next)continue ;
drivers/block/drbd/drbd_receiver.c +5 -0
@@ -2025,6 +2025,11 @@ static int recv_dless_read(struct drbd_peer_device *peer_device, struct drbd_req data_size -= digest_size; } +if (data_size <0 ) { +drbd_err (peer_device,"Invalid data reply size\n" ); +return -EIO ; + } +/* optimistically update recv_cnt. if receiving fails below, * we disconnect anyways, and counters will be reset. */ peer_device->device->recv_cnt += data_size>>9 ;
drivers/bluetooth/bpa10x.c +6 -2
@@ -254,9 +254,13 @@ static int bpa10x_setup(struct hci_dev *hdev)if (IS_ERR (skb))return PTR_ERR (skb); -bt_dev_info (hdev,"%s" , (char *)(skb->data +1 )); +/* Bounded print: the device controls skb->len. */ +if (skb->len >1 ) { +int len = skb->len -1 ; -hci_set_fw_info (hdev,"%s" , skb->data +1 ); +bt_dev_info (hdev,"%.*s" , len, (char *)(skb->data +1 )); +hci_set_fw_info (hdev,"%.*s" , len, skb->data +1 ); + }kfree_skb (skb);return 0 ;
drivers/bluetooth/btintel.c +85 -20
167 lines not on this page · raw message
drivers/bluetooth/btintel.h +3 -2
@@ -157,9 +157,10 @@ struct regmap *btintel_regmap_init(struct hci_dev *hdev, u16 opcode_read,int btintel_send_intel_reset (struct hci_dev *hdev,u32 boot_param);int btintel_read_boot_params (struct hci_dev *hdev,struct intel_boot_params *params); -int btintel_download_firmware (struct hci_dev *dev,const struct firmware *fw, -u32 *boot_param); +int btintel_download_firmware (struct hci_dev *dev,struct intel_version *ver, +const struct firmware *fw,u32 *boot_param);int btintel_download_firmware_newgen (struct hci_dev *hdev, +struct intel_version_tlv *ver,const struct firmware *fw,u32 *boot_param,u8 hw_variant,u8 sbe_type);
drivers/bluetooth/btrtl.c +3 -2
@@ -382,8 +382,9 @@ static int rtlbt_parse_firmware(struct hci_dev *hdev, }BT_DBG ("length=%x offset=%x index %d" , patch_length, patch_offset, i); - min_size = patch_offset + patch_length; -if (btrtl_dev->fw_len < min_size) +if (patch_length <sizeof (epatch_info->fw_version) || + patch_offset > btrtl_dev->fw_len || + patch_length > btrtl_dev->fw_len - patch_offset)return -EINVAL ;/* Copy the firmware into a new buffer and write the version at
drivers/bluetooth/btusb.c +37 -7
99 lines not on this page · raw message
drivers/bluetooth/hci_intel.c +5 -2
@@ -735,7 +735,7 @@ static int intel_setup(struct hci_uart *hu)set_bit (STATE_DOWNLOADING , &intel->flags);/* Start firmware downloading and get boot parameter */ - err =btintel_download_firmware (hdev, fw, &boot_param); + err =btintel_download_firmware (hdev, &ver, fw, &boot_param);if (err <0 ) goto done;
@@ -784,7 +784,10 @@ static int intel_setup(struct hci_uart *hu) done:release_firmware (fw); -if (err <0 ) +/* Check if there was an error and if is not -EALREADY which means the +* firmware has already been loaded. +*/ +if (err <0 && err != -EALREADY )return err;/* We need to restore the default speed before Intel reset */
drivers/bus/mhi/host/main.c +2 -1
@@ -222,7 +222,8 @@ static void mhi_del_ring_element(struct mhi_controller *mhi_cntrl,static bool is_valid_ring_ptr (struct mhi_ring *ring,dma_addr_t addr) { -return addr >= ring->iommu_base && addr < ring->iommu_base + ring->len; +return addr >= ring->iommu_base && addr < ring->iommu_base + ring->len && + !(addr & (sizeof (struct mhi_tre ) -1 )); }int mhi_destroy_device (struct device *dev,void *data)
drivers/bus/sunxi-rsb.c +3 -0
@@ -429,6 +429,9 @@ static int regmap_sunxi_rsb_reg_write(void *context, unsigned int reg,struct sunxi_rsb_ctx *ctx = context;struct sunxi_rsb_device *rdev = ctx->rdev; +if (reg >0xff ) +return -EINVAL ; +return sunxi_rsb_write (rdev->rsb, rdev->rtaddr, reg, &val, ctx->size); }
drivers/char/hw_random/virtio-rng.c +21 -2
@@ -7,6 +7,7 @@#include <asm/barrier.h> #include <linux/err.h> #include <linux/hw_random.h> +#include <linux/nospec.h> #include <linux/scatterlist.h> #include <linux/spinlock.h> #include <linux/virtio.h>
@@ -66,8 +67,26 @@ static void request_entropy(struct virtrng_info *vi)static unsigned int copy_data (struct virtrng_info *vi,void *buf,unsigned int size) { - size = min_t(unsigned int, size, vi->data_avail); -memcpy (buf, vi->data + vi->data_idx, size); +unsigned int idx, avail; + +/* +* vi->data_avail was set from the device-reported used.len and +* vi->data_idx was advanced by previous copy_data() calls. A +* malicious or buggy virtio-rng backend can drive either past +* sizeof(vi->data). Clamp at point of use and harden the index +* with array_index_nospec() so the memcpy() below cannot be +* steered into adjacent slab memory, including under +* speculation. +*/ + avail = min_t(unsigned int, vi->data_avail, sizeof(vi->data)); +if (vi->data_idx >= avail) { + vi->data_avail =0 ; +request_entropy (vi); +return 0 ; + } + size = min_t(unsigned int, size, avail - vi->data_idx); + idx =array_index_nospec (vi->data_idx,sizeof (vi->data)); +memcpy (buf, vi->data + idx, size); vi->data_idx += size; vi->data_avail -= size;if (vi->data_avail ==0 )
drivers/char/tlclk.c +4 -0
@@ -263,6 +263,7 @@ static ssize_t tlclk_read(struct file *filp, char __user *buf, size_t count, }static const struct file_operations tlclk_fops = { + .owner =THIS_MODULE , .read = tlclk_read, .open = tlclk_open, .release = tlclk_release,
@@ -852,6 +853,9 @@ static void __exit tlclk_cleanup(void)misc_deregister (&tlclk_miscdev);unregister_chrdev (tlclk_major,"telco_clock" ); + got_event =1 ; +wake_up_all (&wq); +release_region (TLCLK_BASE ,8 );del_timer_sync (&switchover_timer);kfree (alarm_events);
drivers/char/tpm/eventlog/tpm1.c +2 -2
@@ -235,12 +235,12 @@ static int tpm1_binary_bios_measurements_show(struct seq_file *m, void *v) temp_ptr = (char *) &temp_event; -for (i =0 ; i < (sizeof (struct tcpa_event ) -1 ) ; i++) +for (i =0 ; i <sizeof (struct tcpa_event ); i++)seq_putc (m, temp_ptr[i]); temp_ptr = (char *) v; -for (i = (sizeof (struct tcpa_event ) -1 ); +for (i =sizeof (struct tcpa_event ); i < (sizeof (struct tcpa_event ) + temp_event.event_size); i++)seq_putc (m, temp_ptr[i]);
drivers/char/tpm/tpm-dev.c +1 -1
@@ -36,7 +36,7 @@ static int tpm_open(struct inode *inode, struct file *file)tpm_common_open (file, chip, priv,NULL ); -return 0 ; +return nonseekable_open (inode, file); out:clear_bit (0 , &chip->is_open);
drivers/char/tpm/tpmrm-dev.c +1 -1
@@ -29,7 +29,7 @@ static int tpmrm_open(struct inode *inode, struct file *file)tpm_common_open (file, chip, &priv->priv, &priv->space); -return 0 ; +return nonseekable_open (inode, file); }static int tpmrm_release (struct inode *inode,struct file *file)
drivers/clk/clk-scmi.c +2 -2
@@ -9,9 +9,9 @@#include <linux/device.h> #include <linux/err.h> #include <linux/of.h> +#include <linux/math64.h> #include <linux/module.h> #include <linux/scmi_protocol.h> -#include <asm/div64.h> struct scmi_clk {u32 id;
@@ -59,7 +59,7 @@ static long scmi_clk_round_rate(struct clk_hw *hw, unsigned long rate, ftmp = rate - fmin; ftmp += clk->info->range.step_size -1 ;/* to round up */ -do_div (ftmp, clk->info->range.step_size); + ftmp =div64_ul (ftmp, clk->info->range.step_size);return ftmp * clk->info->range.step_size + fmin; }
drivers/clk/imx/clk.c +2 -0
@@ -173,6 +173,8 @@ void imx_register_uart_clocks(unsigned int clk_count)int i; imx_uart_clocks =kcalloc (clk_count,sizeof (struct clk *),GFP_KERNEL ); +if (!imx_uart_clocks) +return ;if (!of_stdout)return ;
drivers/clk/qcom/a53-pll.c +1 -1
@@ -18,7 +18,7 @@static const struct pll_freq_tbl a53pll_freq[] = { {998400000 ,52 ,0x0 ,0x1 ,0 }, {1094400000 ,57 ,0x0 ,0x1 ,0 }, - {1152000000 ,62 ,0x0 ,0x1 ,0 }, + {1152000000 ,60 ,0x0 ,0x1 ,0 }, {1209600000 ,63 ,0x0 ,0x1 ,0 }, {1248000000 ,65 ,0x0 ,0x1 ,0 }, {1363200000 ,71 ,0x0 ,0x1 ,0 },
drivers/cpufreq/cpufreq.c +2 -0
@@ -1872,6 +1872,7 @@ void cpufreq_suspend(void)if (!cpufreq_driver)return ; +cpus_read_lock ();if (!has_target () && !cpufreq_driver->suspend) goto suspend;
@@ -1891,6 +1892,7 @@ void cpufreq_suspend(void) suspend: cpufreq_suspended = true; +cpus_read_unlock (); }/**
drivers/cpufreq/cpufreq_conservative.c +1 -11
@@ -103,10 +103,6 @@ static unsigned int cs_dbs_update(struct cpufreq_policy *policy)if (load > dbs_data->up_threshold) { dbs_info->down_skip =0 ; -/* if we are already at full speed then break out early */ -if (requested_freq == policy->max) - goto out; - requested_freq += freq_step;if (requested_freq > policy->max) requested_freq = policy->max;
@@ -123,13 +119,7 @@ static unsigned int cs_dbs_update(struct cpufreq_policy *policy)/* Check for frequency decrease */ if (load < cs_tuners->down_threshold) { -/* -* if we cannot reduce the frequency anymore, break out early -*/ -if (requested_freq == policy->min) - goto out; - -if (requested_freq > freq_step) +if (requested_freq > policy->min + freq_step) requested_freq -= freq_step;else requested_freq = policy->min;
drivers/cpufreq/intel_pstate.c +4 -2
@@ -2355,10 +2355,12 @@ static int intel_pstate_cpu_offline(struct cpufreq_policy *policy)* from getting to lower performance levels, so force the minimum * performance on CPU offline to prevent that from happening. */ -if (hwp_active) +if (hwp_active) {intel_pstate_hwp_offline (cpu); -else + }else {intel_pstate_set_min_pstate (cpu); + policy->cur = cpu->pstate.min_pstate * cpu->pstate.scaling; + }intel_pstate_exit_perf_limits (policy);
drivers/cpufreq/pcc-cpufreq.c +2 -0
@@ -351,6 +351,8 @@ static int __init pcc_cpufreq_do_osc(acpi_handle *handle) }kfree (output.pointer); + output.pointer =NULL ; + output.length =ACPI_ALLOCATE_BUFFER ; capabilities[0 ] =0x0 ; capabilities[1 ] =0x1 ;
drivers/crypto/amcc/crypto4xx_alg.c +4 -110
145 lines not on this page · raw message
drivers/crypto/amcc/crypto4xx_core.c +10 -138
263 lines not on this page · raw message
drivers/crypto/amcc/crypto4xx_core.h +2 -13
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0-or-later */ -/** +/* * AMCC SoC PPC4xx Crypto Driver * * Copyright (c) 2008 Applied Micro Circuits Corporation.
@@ -14,11 +14,8 @@#define __CRYPTO4XX_CORE_H__#include <linux/ratelimit.h> -#include <linux/mutex.h> #include <linux/scatterlist.h> -#include <crypto/internal/hash.h> #include <crypto/internal/aead.h> -#include <crypto/internal/rng.h> #include <crypto/internal/skcipher.h> #include "crypto4xx_reg_def.h" #include "crypto4xx_sa.h"
@@ -112,7 +109,6 @@ struct crypto4xx_core_device {u32 irq;struct tasklet_struct tasklet;spinlock_t lock; -struct mutex rng_lock; };struct crypto4xx_ctx {
@@ -135,9 +131,7 @@ struct crypto4xx_alg_common {u32 type;union {struct skcipher_alg cipher; -struct ahash_alg hash;struct aead_alg aead; -struct rng_alg rng; } u; };
@@ -182,13 +176,8 @@ int crypto4xx_encrypt_noiv_block(struct skcipher_request *req);int crypto4xx_decrypt_noiv_block (struct skcipher_request *req);int crypto4xx_rfc3686_encrypt (struct skcipher_request *req);int crypto4xx_rfc3686_decrypt (struct skcipher_request *req); -int crypto4xx_sha1_alg_init (struct crypto_tfm *tfm); -int crypto4xx_hash_digest (struct ahash_request *req); -int crypto4xx_hash_final (struct ahash_request *req); -int crypto4xx_hash_update (struct ahash_request *req); -int crypto4xx_hash_init (struct ahash_request *req); -/** +/* * Note: Only use this function to copy items that is word aligned. */ static inline void crypto4xx_memcpy_swab32(u32 *dst, const void *buf,
drivers/crypto/amcc/crypto4xx_reg_def.h +4 -15
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0-or-later */ -/** +/* * AMCC SoC PPC4xx Crypto Driver * * Copyright (c) 2008 Applied Micro Circuits Corporation.
@@ -90,21 +90,10 @@#define CRYPTO4XX_BYTE_ORDER_CFG 0x000600d8#define CRYPTO4XX_ENDIAN_CFG 0x000600d8 -#define CRYPTO4XX_PRNG_STAT 0x00070000 -#define CRYPTO4XX_PRNG_STAT_BUSY 0x1#define CRYPTO4XX_PRNG_CTRL 0x00070004#define CRYPTO4XX_PRNG_SEED_L 0x00070008#define CRYPTO4XX_PRNG_SEED_H 0x0007000c - -#define CRYPTO4XX_PRNG_RES_0 0x00070020 -#define CRYPTO4XX_PRNG_RES_1 0x00070024 -#define CRYPTO4XX_PRNG_RES_2 0x00070028 -#define CRYPTO4XX_PRNG_RES_3 0x0007002C - -#define CRYPTO4XX_PRNG_LFSR_L 0x00070030 -#define CRYPTO4XX_PRNG_LFSR_H 0x00070034 - -/** +/* * Initialize CRYPTO ENGINE registers, and memory bases. */ #define PPC4XX_PDR_POLL 0x3ff
@@ -123,7 +112,7 @@#define PPC4XX_INT_TIMEOUT_CNT 0#define PPC4XX_INT_TIMEOUT_CNT_REVB 0x3FF#define PPC4XX_INT_CFG 1 -/** +/* * all follow define are ad hoc */ #define PPC4XX_RING_RETRY 100
@@ -131,7 +120,7 @@#define PPC4XX_SDR_SIZE PPC4XX_NUM_SD#define PPC4XX_GDR_SIZE PPC4XX_NUM_GD -/** +/* * Generic Security Association (SA) with all possible fields. These will * never likely used except for reference purpose. These structure format * can be not changed as the hardware expects them to be layout as defined.
drivers/crypto/amcc/crypto4xx_sa.h +9 -9
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0-or-later */ -/** +/* * AMCC SoC PPC4xx Crypto Driver * * Copyright (c) 2008 Applied Micro Circuits Corporation.
@@ -14,7 +14,7 @@#define AES_IV_SIZE 16 -/** +/* * Contents of Dynamic Security Association (SA) with all possible fields */ union dynamic_sa_contents {
@@ -122,7 +122,7 @@ union sa_command_0 {#define SA_AES_KEY_LEN_256 4#define SA_REV2 1 -/** +/* * The follow defines bits sa_command_1 * In Basic hash mode this bit define simple hash or hmac. * In IPsec mode, this bit define muting control.
@@ -172,7 +172,7 @@ struct dynamic_sa_ctl {union sa_command_1 sa_command_1; } __attribute__((packed)); -/** +/* * State Record for Security Association (SA) */ struct sa_state_record {
@@ -184,7 +184,7 @@ struct sa_state_record { }; } __attribute__((packed)); -/** +/* * Security Association (SA) for AES128 * */
@@ -213,7 +213,7 @@ struct dynamic_sa_aes192 {#define SA_AES192_LEN (sizeof(struct dynamic_sa_aes192)/4)#define SA_AES192_CONTENTS 0x3e000062 -/** +/* * Security Association (SA) for AES256 */ struct dynamic_sa_aes256 {
@@ -228,7 +228,7 @@ struct dynamic_sa_aes256 {#define SA_AES256_CONTENTS 0x3e000082#define SA_AES_CONTENTS 0x3e000002 -/** +/* * Security Association (SA) for AES128 CCM */ struct dynamic_sa_aes128_ccm {
@@ -242,7 +242,7 @@ struct dynamic_sa_aes128_ccm {#define SA_AES128_CCM_CONTENTS 0x3e000042#define SA_AES_CCM_CONTENTS 0x3e000002 -/** +/* * Security Association (SA) for AES128_GCM */ struct dynamic_sa_aes128_gcm {
@@ -258,7 +258,7 @@ struct dynamic_sa_aes128_gcm {#define SA_AES128_GCM_CONTENTS 0x3e000442#define SA_AES_GCM_CONTENTS 0x3e000402 -/** +/* * Security Association (SA) for HASH160: HMAC-SHA1 */ struct dynamic_sa_hash160 {
drivers/crypto/amcc/crypto4xx_trng.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0-or-later */ -/** +/* * AMCC SoC PPC4xx Crypto Driver * * Copyright (c) 2008 Applied Micro Circuits Corporation.
drivers/crypto/amlogic/amlogic-gxl-core.c +1 -1
@@ -275,8 +275,8 @@ static int meson_crypto_probe(struct platform_device *pdev)return 0 ; error_alg:meson_unregister_algs (mc); -error_flow:meson_free_chanlist (mc,MAXFLOW -1 ); +error_flow:clk_disable_unprepare (mc->busclk);return err; }
drivers/crypto/atmel-ecc.c +1 -1
@@ -387,7 +387,7 @@ MODULE_DEVICE_TABLE(of, atmel_ecc_dt_ids);#endif static const struct i2c_device_id atmel_ecc_id[] = { - {"atecc508a" ,0 }, + {"atecc508a" }, { } };MODULE_DEVICE_TABLE (i2c, atmel_ecc_id);
drivers/crypto/atmel-sha204a.c +18 -11
@@ -18,6 +18,12 @@#include <linux/workqueue.h> #include "atmel-i2c.h" +/* +* According to review by Bill Cox [1], the ATSHA204 has very low entropy. +* [1] https://www.metzdowd.com/pipermail/cryptography/2014-December/023858.html +*/ +static const unsigned short atsha204_quality =1 ; +static void atmel_sha204a_rng_done (struct atmel_i2c_work_data *work_data,void *areq,int status) {
@@ -47,8 +53,8 @@ static int atmel_sha204a_rng_read_nonblocking(struct hwrng *rng, void *data,if (rng->priv) { work_data = (struct atmel_i2c_work_data *)rng->priv; - max =min (sizeof (work_data->cmd.data), max); -memcpy (data, &work_data->cmd.data, max); + max =min (RANDOM_RSP_SIZE -CMD_OVERHEAD_SIZE , max); +memcpy (data, &work_data->cmd.data[RSP_DATA_IDX ], max); rng->priv =0 ; }else { work_data =kmalloc (sizeof (*work_data),GFP_ATOMIC );
@@ -86,8 +92,8 @@ static int atmel_sha204a_rng_read(struct hwrng *rng, void *data, size_t max,if (ret)return ret; - max =min (sizeof (cmd.data), max); -memcpy (data, cmd.data, max); + max =min (RANDOM_RSP_SIZE -CMD_OVERHEAD_SIZE , max); +memcpy (data, &cmd.data[RSP_DATA_IDX ], max);return max; }
@@ -96,6 +102,7 @@ static int atmel_sha204a_probe(struct i2c_client *client, const struct i2c_device_id *id) {struct atmel_i2c_client_priv *i2c_priv; +const unsigned short *quality;int ret; ret =atmel_i2c_probe (client, id);
@@ -109,11 +116,9 @@ static int atmel_sha204a_probe(struct i2c_client *client, i2c_priv->hwrng.name =dev_name (&client->dev); i2c_priv->hwrng.read = atmel_sha204a_rng_read; -/* -* According to review by Bill Cox [1], this HWRNG has very low entropy. -* [1] https://www.metzdowd.com/pipermail/cryptography/2014-December/023858.html -*/ - i2c_priv->hwrng.quality =1 ; + quality =i2c_get_match_data (client); +if (quality) + i2c_priv->hwrng.quality = *quality; ret =devm_hwrng_register (&client->dev, &i2c_priv->hwrng);if (ret)
@@ -137,14 +142,16 @@ static int atmel_sha204a_remove(struct i2c_client *client)return 0 ; } -static const struct of_device_id atmel_sha204a_dt_ids[] = { +static const struct of_device_id atmel_sha204a_dt_ids[]__maybe_unused = { + { .compatible ="atmel,atsha204" , .data = &atsha204_quality }, { .compatible ="atmel,atsha204a" , }, {/* sentinel */ } };MODULE_DEVICE_TABLE (of, atmel_sha204a_dt_ids);static const struct i2c_device_id atmel_sha204a_id[] = { - {"atsha204a" ,0 }, + {"atsha204" , (kernel_ulong_t)&atsha204_quality }, + {"atsha204a" }, {/* sentinel */ } };MODULE_DEVICE_TABLE (i2c, atmel_sha204a_id);
drivers/crypto/caam/caamalg.c +6 -6
@@ -588,7 +588,7 @@ static int aead_setkey(struct crypto_aead *aead,dev_dbg (jrdev,"keylen %d enckeylen %d authkeylen %d\n" , keys.authkeylen + keys.enckeylen, keys.enckeylen, keys.authkeylen); - print_hex_dump_debug("key in @"__stringify(__LINE__)": ", + print_hex_dump_devel("key in @"__stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );/*
@@ -624,7 +624,7 @@ static int aead_setkey(struct crypto_aead *aead,dma_sync_single_for_device (jrdev, ctx->key_dma, ctx->adata.keylen_pad + keys.enckeylen, ctx->dir); - print_hex_dump_debug("ctx.key@"__stringify(__LINE__)": ", + print_hex_dump_devel("ctx.key@"__stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , ctx->key, ctx->adata.keylen_pad + keys.enckeylen,1 );
@@ -665,7 +665,7 @@ static int gcm_setkey(struct crypto_aead *aead,if (err)return err; - print_hex_dump_debug("key in @"__stringify(__LINE__)": ", + print_hex_dump_devel("key in @"__stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );memcpy (ctx->key, key, keylen);
@@ -686,7 +686,7 @@ static int rfc4106_setkey(struct crypto_aead *aead,if (err)return err; - print_hex_dump_debug("key in @"__stringify(__LINE__)": ", + print_hex_dump_devel("key in @"__stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );memcpy (ctx->key, key, keylen);
@@ -712,7 +712,7 @@ static int rfc4543_setkey(struct crypto_aead *aead,if (err)return err; - print_hex_dump_debug("key in @"__stringify(__LINE__)": ", + print_hex_dump_devel("key in @"__stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );memcpy (ctx->key, key, keylen);
@@ -739,7 +739,7 @@ static int skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key,u32 *desc;const bool is_rfc3686 = alg->caam.rfc3686; - print_hex_dump_debug("key in @"__stringify(__LINE__)": ", + print_hex_dump_devel("key in @"__stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 ); ctx->cdata.keylen = keylen;
drivers/crypto/caam/caamalg_qi.c +6 -6
@@ -207,7 +207,7 @@ static int aead_setkey(struct crypto_aead *aead, const u8 *key,dev_dbg (jrdev,"keylen %d enckeylen %d authkeylen %d\n" , keys.authkeylen + keys.enckeylen, keys.enckeylen, keys.authkeylen); - print_hex_dump_debug("key in @" __stringify(__LINE__)": ", + print_hex_dump_devel("key in @" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );/*
@@ -243,7 +243,7 @@ static int aead_setkey(struct crypto_aead *aead, const u8 *key, ctx->adata.keylen_pad + keys.enckeylen, ctx->dir); - print_hex_dump_debug("ctx.key@" __stringify(__LINE__)": ", + print_hex_dump_devel("ctx.key@" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , ctx->key, ctx->adata.keylen_pad + keys.enckeylen,1 );
@@ -366,7 +366,7 @@ static int gcm_setkey(struct crypto_aead *aead,if (ret)return ret; - print_hex_dump_debug("key in @" __stringify(__LINE__)": ", + print_hex_dump_devel("key in @" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );memcpy (ctx->key, key, keylen);
@@ -470,7 +470,7 @@ static int rfc4106_setkey(struct crypto_aead *aead,if (ret)return ret; - print_hex_dump_debug("key in @" __stringify(__LINE__)": ", + print_hex_dump_devel("key in @" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );memcpy (ctx->key, key, keylen);
@@ -576,7 +576,7 @@ static int rfc4543_setkey(struct crypto_aead *aead,if (ret)return ret; - print_hex_dump_debug("key in @" __stringify(__LINE__)": ", + print_hex_dump_devel("key in @" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );memcpy (ctx->key, key, keylen);
@@ -626,7 +626,7 @@ static int skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key,const bool is_rfc3686 = alg->caam.rfc3686;int ret =0 ; - print_hex_dump_debug("key in @" __stringify(__LINE__)": ", + print_hex_dump_devel("key in @" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 ); ctx->cdata.keylen = keylen;
drivers/crypto/caam/caamalg_qi2.c +6 -6
@@ -294,7 +294,7 @@ static int aead_setkey(struct crypto_aead *aead, const u8 *key,dev_dbg (dev,"keylen %d enckeylen %d authkeylen %d\n" , keys.authkeylen + keys.enckeylen, keys.enckeylen, keys.authkeylen); - print_hex_dump_debug("key in @" __stringify(__LINE__)": ", + print_hex_dump_devel("key in @" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 ); ctx->adata.keylen = keys.authkeylen;
@@ -308,7 +308,7 @@ static int aead_setkey(struct crypto_aead *aead, const u8 *key,memcpy (ctx->key + ctx->adata.keylen_pad, keys.enckey, keys.enckeylen);dma_sync_single_for_device (dev, ctx->key_dma, ctx->adata.keylen_pad + keys.enckeylen, ctx->dir); - print_hex_dump_debug("ctx.key@" __stringify(__LINE__)": ", + print_hex_dump_devel("ctx.key@" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , ctx->key, ctx->adata.keylen_pad + keys.enckeylen,1 );
@@ -725,7 +725,7 @@ static int gcm_setkey(struct crypto_aead *aead, ret =aes_check_keylen (keylen);if (ret)return ret; - print_hex_dump_debug("key in @" __stringify(__LINE__)": ", + print_hex_dump_devel("key in @" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );memcpy (ctx->key, key, keylen);
@@ -821,7 +821,7 @@ static int rfc4106_setkey(struct crypto_aead *aead,if (ret)return ret; - print_hex_dump_debug("key in @" __stringify(__LINE__)": ", + print_hex_dump_devel("key in @" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );memcpy (ctx->key, key, keylen);
@@ -920,7 +920,7 @@ static int rfc4543_setkey(struct crypto_aead *aead,if (ret)return ret; - print_hex_dump_debug("key in @" __stringify(__LINE__)": ", + print_hex_dump_devel("key in @" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );memcpy (ctx->key, key, keylen);
@@ -948,7 +948,7 @@ static int skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key,u32 *desc;const bool is_rfc3686 = alg->caam.rfc3686; - print_hex_dump_debug("key in @" __stringify(__LINE__)": ", + print_hex_dump_devel("key in @" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 ); ctx->cdata.keylen = keylen;
drivers/crypto/caam/caamhash.c +2 -2
@@ -495,7 +495,7 @@ static int axcbc_setkey(struct crypto_ahash *ahash, const u8 *key, DMA_TO_DEVICE); ctx->adata.keylen = keylen; - print_hex_dump_debug("axcbc ctx.key@" __stringify(__LINE__)" : ", + print_hex_dump_devel("axcbc ctx.key@" __stringify(__LINE__)" : ",DUMP_PREFIX_ADDRESS ,16 ,4 , ctx->key, keylen,1 );return axcbc_set_sh_desc (ahash);
@@ -515,7 +515,7 @@ static int acmac_setkey(struct crypto_ahash *ahash, const u8 *key, ctx->adata.key_virt = key; ctx->adata.keylen = keylen; - print_hex_dump_debug("acmac ctx.key@" __stringify(__LINE__)" : ", + print_hex_dump_devel("acmac ctx.key@" __stringify(__LINE__)" : ",DUMP_PREFIX_ADDRESS ,16 ,4 , key, keylen,1 );return acmac_set_sh_desc (ahash);
drivers/crypto/caam/key_gen.c +2 -2
@@ -58,7 +58,7 @@ int gen_split_key(struct device *jrdev, u8 *key_out,dev_dbg (jrdev,"split keylen %d split keylen padded %d\n" , adata->keylen, adata->keylen_pad); - print_hex_dump_debug("ctx.key@" __stringify(__LINE__)": ", + print_hex_dump_devel("ctx.key@" __stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key_in, keylen,1 );if (local_max > max_keylen)
@@ -113,7 +113,7 @@ int gen_split_key(struct device *jrdev, u8 *key_out,wait_for_completion (&result.completion); ret = result.err; - print_hex_dump_debug("ctx.key@"__stringify(__LINE__)": ", + print_hex_dump_devel("ctx.key@"__stringify(__LINE__)": ",DUMP_PREFIX_ADDRESS ,16 ,4 , key_out, adata->keylen_pad,1 ); }
drivers/crypto/cavium/cpt/cptvf_reqmanager.c +2 -2
@@ -108,8 +108,8 @@ static int setup_sgio_components(struct cpt_vf *cptvf, struct buf_ptr *list, sg_cleanup:for (j =0 ; j < i; j++) {if (list[j].dma_addr) { -dma_unmap_single (&pdev->dev, list[i].dma_addr, - list[i].size,DMA_BIDIRECTIONAL ); +dma_unmap_single (&pdev->dev, list[j].dma_addr, + list[j].size,DMA_BIDIRECTIONAL ); } list[j].dma_addr =0 ;
drivers/crypto/ccp/sev-dev.c +2 -1
@@ -787,7 +787,8 @@ static int sev_ioctl_do_pdh_export(struct sev_issue_cmd *argp, bool writable)/* Userspace wants to query the certificate length. */ if (!input.pdh_cert_address || !input.pdh_cert_len || - !input.cert_chain_address) + !input.cert_chain_address || + !input.cert_chain_len) goto cmd; input_pdh_cert_address = (void __user *)input.pdh_cert_address;
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c +2 -2
@@ -157,8 +157,8 @@ static inline int setup_sgio_components(struct pci_dev *pdev, sg_cleanup:for (j =0 ; j < i; j++) {if (list[j].dma_addr) { -dma_unmap_single (&pdev->dev, list[i].dma_addr, - list[i].size,DMA_BIDIRECTIONAL ); +dma_unmap_single (&pdev->dev, list[j].dma_addr, + list[j].size,DMA_BIDIRECTIONAL ); } list[j].dma_addr =0 ;
drivers/crypto/qat/qat_common/adf_accel_devices.h +2 -0
@@ -191,6 +191,8 @@ struct adf_accel_dev {struct adf_accel_pci accel_pci_dev;union {struct { +/* prevents VF2PF handling from racing with VF state teardown */ +bool vf2pf_disabled;/* vf_info is non-zero when SR-IOV is init'ed */ struct adf_accel_vf_info *vf_info; } pf;
drivers/crypto/qat/qat_common/adf_aer.c +4 -3
@@ -116,13 +116,14 @@ static int adf_dev_aer_schedule_reset(struct adf_accel_dev *accel_dev,struct adf_reset_dev_data *reset_data;if (!adf_dev_started (accel_dev) || -test_bit (ADF_STATUS_RESTARTING , &accel_dev->status)) +test_and_set_bit (ADF_STATUS_RESTARTING , &accel_dev->status))return 0 ; -set_bit (ADF_STATUS_RESTARTING , &accel_dev->status); reset_data =kzalloc (sizeof (*reset_data),GFP_KERNEL ); -if (!reset_data) +if (!reset_data) { +clear_bit (ADF_STATUS_RESTARTING , &accel_dev->status);return -ENOMEM ; + } reset_data->accel_dev = accel_dev;init_completion (&reset_data->compl); reset_data->mode = mode;
drivers/crypto/qat/qat_common/adf_common_drv.h +4 -0
@@ -125,6 +125,7 @@ void qat_asym_algs_unregister(void);int adf_isr_resource_alloc (struct adf_accel_dev *accel_dev);void adf_isr_resource_free (struct adf_accel_dev *accel_dev); +void adf_isr_sync_ae_cluster (struct adf_accel_dev *accel_dev);int adf_vf_isr_resource_alloc (struct adf_accel_dev *accel_dev);void adf_vf_isr_resource_free (struct adf_accel_dev *accel_dev);
@@ -189,6 +190,9 @@ void adf_disable_vf2pf_interrupts(struct adf_accel_dev *accel_dev, u32 vf_mask);void adf_enable_vf2pf_interrupts (struct adf_accel_dev *accel_dev,u32 vf_mask); +void adf_enable_all_vf2pf_interrupts (struct adf_accel_dev *accel_dev, +u32 num_vfs); +void adf_disable_all_vf2pf_interrupts (struct adf_accel_dev *accel_dev);void adf_enable_pf2vf_interrupts (struct adf_accel_dev *accel_dev);void adf_disable_pf2vf_interrupts (struct adf_accel_dev *accel_dev);
drivers/crypto/qat/qat_common/adf_isr.c +18 -0
@@ -117,6 +117,24 @@ static irqreturn_t adf_msix_isr_ae(int irq, void *dev_ptr)return IRQ_NONE ; } +void adf_isr_sync_ae_cluster (struct adf_accel_dev *accel_dev) +{ +struct adf_accel_pci *pci_dev_info = &accel_dev->accel_pci_dev; +struct adf_hw_device_data *hw_data = accel_dev->hw_device; +struct msix_entry *msixe = pci_dev_info->msix_entries.entries; +u32 num_entries = pci_dev_info->msix_entries.num_entries; +u32 irq_idx; + +if (!test_bit (ADF_STATUS_IRQ_ALLOCATED , &accel_dev->status) || !msixe) +return ; + + irq_idx = num_entries >1 ? hw_data->num_banks :0 ; +if (irq_idx >= num_entries) +return ; + +synchronize_irq (msixe[irq_idx].vector); +} +static int adf_request_irqs (struct adf_accel_dev *accel_dev) {struct adf_accel_pci *pci_dev_info = &accel_dev->accel_pci_dev;
drivers/crypto/qat/qat_common/adf_pf2vf_msg.c +22 -0
@@ -40,6 +40,9 @@ void adf_enable_vf2pf_interrupts(struct adf_accel_dev *accel_dev,void __iomem *pmisc_addr = pmisc->virt_addr;u32 reg; +if (READ_ONCE (accel_dev->pf.vf2pf_disabled)) +return ; +/* Enable VF2PF Messaging Ints - VFs 1 through 16 per vf_mask[15:0] */ if (vf_mask &0xFFFF ) { reg =ADF_CSR_RD (pmisc_addr,ADF_DH895XCC_ERRMSK3 );
@@ -55,6 +58,19 @@ void adf_enable_vf2pf_interrupts(struct adf_accel_dev *accel_dev, } } +void adf_enable_all_vf2pf_interrupts (struct adf_accel_dev *accel_dev, +u32 num_vfs) +{ +u32 vf_mask; + + vf_mask =BIT_ULL (num_vfs) -1 ; +if (!vf_mask) +return ; + +WRITE_ONCE (accel_dev->pf.vf2pf_disabled, false); +adf_enable_vf2pf_interrupts (accel_dev, vf_mask); +} +void adf_disable_vf2pf_interrupts (struct adf_accel_dev *accel_dev,u32 vf_mask) {struct adf_hw_device_data *hw_data = accel_dev->hw_device;
@@ -78,6 +94,12 @@ void adf_disable_vf2pf_interrupts(struct adf_accel_dev *accel_dev, u32 vf_mask) } } +void adf_disable_all_vf2pf_interrupts (struct adf_accel_dev *accel_dev) +{ +WRITE_ONCE (accel_dev->pf.vf2pf_disabled, true); +adf_disable_vf2pf_interrupts (accel_dev,GENMASK (31 ,0 )); +} +static int __adf_iov_putmsg (struct adf_accel_dev *accel_dev,u32 msg,u8 vf_nr) {struct adf_accel_pci *pci_info = &accel_dev->accel_pci_dev;
drivers/crypto/qat/qat_common/adf_sriov.c +30 -8
@@ -44,16 +44,27 @@ static void adf_iov_send_resp(struct work_struct *work) {struct adf_pf2vf_resp *pf2vf_resp = container_of(work, struct adf_pf2vf_resp, pf2vf_resp_work); +struct adf_accel_vf_info *vf_info = pf2vf_resp->vf_info; +struct adf_accel_dev *accel_dev = vf_info->accel_dev; -adf_vf2pf_req_hndl (pf2vf_resp->vf_info); +if (READ_ONCE (accel_dev->pf.vf2pf_disabled)) + goto out; + +adf_vf2pf_req_hndl (vf_info); + +out:kfree (pf2vf_resp); }static void adf_vf2pf_bh_handler (void *data) {struct adf_accel_vf_info *vf_info = (struct adf_accel_vf_info *)data; +struct adf_accel_dev *accel_dev = vf_info->accel_dev;struct adf_pf2vf_resp *pf2vf_resp; +if (READ_ONCE (accel_dev->pf.vf2pf_disabled)) +return ; + pf2vf_resp =kzalloc (sizeof (*pf2vf_resp),GFP_ATOMIC );if (!pf2vf_resp)return ;
@@ -63,6 +74,12 @@ static void adf_vf2pf_bh_handler(void *data)queue_work (pf2vf_resp_wq, &pf2vf_resp->pf2vf_resp_work); } +static void adf_flush_pf2vf_resp_wq (void ) +{ +if (pf2vf_resp_wq) +flush_workqueue (pf2vf_resp_wq); +} +static int adf_enable_sriov (struct adf_accel_dev *accel_dev) {struct pci_dev *pdev =accel_to_pci_dev (accel_dev);
@@ -105,7 +122,7 @@ static int adf_enable_sriov(struct adf_accel_dev *accel_dev) }/* Enable VF to PF interrupts for all VFs */ -adf_enable_vf2pf_interrupts (accel_dev,GENMASK_ULL (totalvfs -1 ,0 )); +adf_enable_all_vf2pf_interrupts (accel_dev, totalvfs);/* * Due to the hardware design, when SR-IOV and the ring arbiter
@@ -142,8 +159,16 @@ void adf_disable_sriov(struct adf_accel_dev *accel_dev)pci_disable_sriov (accel_to_pci_dev (accel_dev)); -/* Disable VF to PF interrupts */ -adf_disable_vf2pf_interrupts (accel_dev,0xFFFFFFFF ); +/* Block VF2PF work and disable VF to PF interrupts */ +adf_disable_all_vf2pf_interrupts (accel_dev); +adf_isr_sync_ae_cluster (accel_dev); + +for (i =0 , vf = accel_dev->pf.vf_info; i < totalvfs; i++, vf++) { +tasklet_disable (&vf->vf2pf_bh_tasklet); +tasklet_kill (&vf->vf2pf_bh_tasklet); + } + +adf_flush_pf2vf_resp_wq ();/* Clear Valid bits in ME Thread to PCIe Function Mapping Group A */ for (i =0 ; i <ME2FUNCTION_MAP_A_NUM_REGS ; i++) {
@@ -159,11 +184,8 @@ void adf_disable_sriov(struct adf_accel_dev *accel_dev)WRITE_CSR_ME2FUNCTION_MAP_B (pmisc_addr, i, reg); } -for (i =0 , vf = accel_dev->pf.vf_info; i < totalvfs; i++, vf++) { -tasklet_disable (&vf->vf2pf_bh_tasklet); -tasklet_kill (&vf->vf2pf_bh_tasklet); +for (i =0 , vf = accel_dev->pf.vf_info; i < totalvfs; i++, vf++)mutex_destroy (&vf->pf2vf_lock); - }kfree (accel_dev->pf.vf_info); accel_dev->pf.vf_info =NULL ;
drivers/crypto/qat/qat_common/qat_asym_algs.c +5 -5
@@ -1030,7 +1030,7 @@ static void qat_rsa_setkey_crt(struct qat_rsa_ctx *ctx, struct rsa_key *rsa_key) ptr = rsa_key->p; len = rsa_key->p_sz;qat_rsa_drop_leading_zeros (&ptr, &len); -if (!len) +if (!len || len > half_key_sz) goto err; ctx->p =dma_alloc_coherent (dev, half_key_sz, &ctx->dma_p,GFP_KERNEL );if (!ctx->p)
@@ -1041,7 +1041,7 @@ static void qat_rsa_setkey_crt(struct qat_rsa_ctx *ctx, struct rsa_key *rsa_key) ptr = rsa_key->q; len = rsa_key->q_sz;qat_rsa_drop_leading_zeros (&ptr, &len); -if (!len) +if (!len || len > half_key_sz) goto free_p; ctx->q =dma_alloc_coherent (dev, half_key_sz, &ctx->dma_q,GFP_KERNEL );if (!ctx->q)
@@ -1052,7 +1052,7 @@ static void qat_rsa_setkey_crt(struct qat_rsa_ctx *ctx, struct rsa_key *rsa_key) ptr = rsa_key->dp; len = rsa_key->dp_sz;qat_rsa_drop_leading_zeros (&ptr, &len); -if (!len) +if (!len || len > half_key_sz) goto free_q; ctx->dp =dma_alloc_coherent (dev, half_key_sz, &ctx->dma_dp,GFP_KERNEL );
@@ -1064,7 +1064,7 @@ static void qat_rsa_setkey_crt(struct qat_rsa_ctx *ctx, struct rsa_key *rsa_key) ptr = rsa_key->dq; len = rsa_key->dq_sz;qat_rsa_drop_leading_zeros (&ptr, &len); -if (!len) +if (!len || len > half_key_sz) goto free_dp; ctx->dq =dma_alloc_coherent (dev, half_key_sz, &ctx->dma_dq,GFP_KERNEL );
@@ -1076,7 +1076,7 @@ static void qat_rsa_setkey_crt(struct qat_rsa_ctx *ctx, struct rsa_key *rsa_key) ptr = rsa_key->qinv; len = rsa_key->qinv_sz;qat_rsa_drop_leading_zeros (&ptr, &len); -if (!len) +if (!len || len > half_key_sz) goto free_dq; ctx->qinv =dma_alloc_coherent (dev, half_key_sz, &ctx->dma_qinv,GFP_KERNEL );
drivers/crypto/talitos.c +19 -7
@@ -320,19 +320,31 @@ static int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc,return -EINPROGRESS ; } -static __be32 get_request_hdr (struct talitos_request *request,bool is_sec1) +static __be32 get_request_hdr (struct device *dev, +struct talitos_request *request,bool is_sec1) {struct talitos_edesc *edesc; -if (!is_sec1) +if (!is_sec1) { +dma_sync_single_for_cpu (dev, request->dma_desc, +TALITOS_DESC_SIZE ,DMA_BIDIRECTIONAL ); +return request->desc->hdr; + } -if (!request->desc->next_desc) +if (!request->desc->next_desc) { +dma_sync_single_for_cpu (dev, request->dma_desc, +TALITOS_DESC_SIZE ,DMA_BIDIRECTIONAL );return request->desc->hdr1; + }else { +dma_sync_single_for_cpu (dev, +be32_to_cpu (request->desc->next_desc), +TALITOS_DESC_SIZE ,DMA_BIDIRECTIONAL ); + edesc = container_of(request->desc, struct talitos_edesc, desc); - edesc = container_of(request->desc, struct talitos_edesc, desc); - -return ((struct talitos_desc *)(edesc->buf + edesc->dma_len))->hdr1; +return ((struct talitos_desc *)(edesc->buf + edesc->dma_len)) + ->hdr1; + } }/*
@@ -356,7 +368,7 @@ static void flush_channel(struct device *dev, int ch, int error, int reset_ch)/* descriptors with their done bits set don't get the error */ rmb (); - hdr =get_request_hdr (request, is_sec1); + hdr =get_request_hdr (dev, request, is_sec1);if ((hdr &DESC_HDR_DONE ) ==DESC_HDR_DONE ) status =0 ;
drivers/dma-buf/udmabuf.c +4 -1
@@ -19,6 +19,7 @@ struct udmabuf {pgoff_t pagecount;struct page **pages;struct sg_table *sg; +enum dma_data_direction sg_dir;struct miscdevice *device; };
@@ -105,7 +106,7 @@ static void release_udmabuf(struct dma_buf *buf)pgoff_t pg;if (ubuf->sg) -put_sg_table (dev, ubuf->sg,DMA_BIDIRECTIONAL ); +put_sg_table (dev, ubuf->sg, ubuf->sg_dir);for (pg =0 ; pg < ubuf->pagecount; pg++)put_page (ubuf->pages[pg]);
@@ -125,6 +126,8 @@ static int begin_cpu_udmabuf(struct dma_buf *buf,if (IS_ERR (ubuf->sg)) { ret =PTR_ERR (ubuf->sg); ubuf->sg =NULL ; + }else { + ubuf->sg_dir = direction; } }else {dma_sync_sgtable_for_cpu (dev, ubuf->sg, direction);
drivers/dma/dmaengine.c +2 -1
@@ -906,11 +906,12 @@ void dma_release_channel(struct dma_chan *chan)mutex_lock (&dma_list_mutex);WARN_ONCE (chan->client_count !=1 ,"chan reference count %d != 1\n" , chan->client_count); -dma_chan_put (chan);/* drop PRIVATE cap enabled by __dma_request_channel() */ if (--chan->device->privatecnt ==0 )dma_cap_clear (DMA_PRIVATE , chan->device->cap_mask); +dma_chan_put (chan); +if (chan->slave) {sysfs_remove_link (&chan->dev->device.kobj,DMA_SLAVE_NAME );sysfs_remove_link (&chan->slave->kobj, chan->name);
drivers/gpio/gpio-eic-sprd.c +4 -4
@@ -94,7 +94,7 @@ struct sprd_eic {struct irq_chip intc;void __iomem *base[SPRD_EIC_MAX_BANK ];enum sprd_eic_type type; -spinlock_t lock; +raw_spinlock_t lock;int irq; };
@@ -146,7 +146,7 @@ static void sprd_eic_update(struct gpio_chip *chip, unsigned int offset,unsigned long flags;u32 tmp; -spin_lock_irqsave (&sprd_eic->lock, flags); +raw_spin_lock_irqsave (&sprd_eic->lock, flags); tmp =readl_relaxed (base + reg);if (val)
@@ -155,7 +155,7 @@ static void sprd_eic_update(struct gpio_chip *chip, unsigned int offset, tmp &= ~BIT (SPRD_EIC_BIT (offset));writel_relaxed (tmp, base + reg); -spin_unlock_irqrestore (&sprd_eic->lock, flags); +raw_spin_unlock_irqrestore (&sprd_eic->lock, flags); }static int sprd_eic_read (struct gpio_chip *chip,unsigned int offset,u16 reg)
@@ -606,7 +606,7 @@ static int sprd_eic_probe(struct platform_device *pdev)if (!sprd_eic)return -ENOMEM ; -spin_lock_init (&sprd_eic->lock); +raw_spin_lock_init (&sprd_eic->lock); sprd_eic->type = pdata->type; sprd_eic->irq =platform_get_irq (pdev,0 );
drivers/gpio/gpio-htc-egpio.c +5 -1
@@ -268,6 +268,7 @@ static int __init egpio_probe(struct platform_device *pdev)struct gpio_chip *chip;unsigned int irq, irq_end;int i; +int ret;/* Initialize ei data structure. */ ei =devm_kzalloc (&pdev->dev,sizeof (*ei),GFP_KERNEL );
@@ -331,7 +332,10 @@ static int __init egpio_probe(struct platform_device *pdev) chip->base = pdata->chip[i].gpio_base; chip->ngpio = pdata->chip[i].num_gpios; -gpiochip_add_data (chip, &ei->chip[i]); + ret =devm_gpiochip_add_data (&pdev->dev, chip, &ei->chip[i]); +if (ret) +return dev_err_probe (&pdev->dev, ret, +"failed to register gpiochip %d\n" , i); }/* Set initial pin values */
drivers/gpio/gpio-mvebu.c +4 -1
@@ -1193,7 +1193,10 @@ static int mvebu_gpio_probe(struct platform_device *pdev)BUG (); } -devm_gpiochip_add_data (&pdev->dev, &mvchip->chip, mvchip); + err =devm_gpiochip_add_data (&pdev->dev, &mvchip->chip, mvchip); +if (err) +return dev_err_probe (&pdev->dev, err, +"failed to register gpiochip\n" );/* Some MVEBU SoCs have simple PWM support for GPIO lines */ if (IS_ENABLED (CONFIG_PWM )) {
drivers/gpio/gpio-palmas.c +19 -0
@@ -118,6 +118,24 @@ static int palmas_gpio_input(struct gpio_chip *gc, unsigned offset)return ret; } +static int palmas_gpio_get_direction (struct gpio_chip *gc,unsigned int offset) +{ +struct palmas_gpio *pg =gpiochip_get_data (gc); +struct palmas *palmas = pg->palmas; +unsigned int val; +unsigned int reg; +int ret; +int gpio16 = (offset/8 ); + + offset %=8 ; + reg = (gpio16) ?PALMAS_GPIO_DATA_DIR2 :PALMAS_GPIO_DATA_DIR ; + ret =palmas_read (palmas,PALMAS_GPIO_BASE , reg, &val); +if (ret) +return ret; + +return (val &BIT (offset)) ?GPIO_LINE_DIRECTION_OUT :GPIO_LINE_DIRECTION_IN ; +} +static int palmas_gpio_to_irq (struct gpio_chip *gc,unsigned offset) {struct palmas_gpio *pg =gpiochip_get_data (gc);
@@ -166,6 +184,7 @@ static int palmas_gpio_probe(struct platform_device *pdev) palmas_gpio->gpio_chip.can_sleep = true; palmas_gpio->gpio_chip.direction_input = palmas_gpio_input; palmas_gpio->gpio_chip.direction_output = palmas_gpio_output; + palmas_gpio->gpio_chip.get_direction = palmas_gpio_get_direction; palmas_gpio->gpio_chip.to_irq = palmas_gpio_to_irq; palmas_gpio->gpio_chip.set = palmas_gpio_set; palmas_gpio->gpio_chip.get = palmas_gpio_get;
drivers/gpio/gpio-pca953x.c +3 -8
@@ -1073,20 +1073,15 @@ static int pca953x_remove(struct i2c_client *client) {struct pca953x_platform_data *pdata =dev_get_platdata (&client->dev);struct pca953x_chip *chip =i2c_get_clientdata (client); -int ret;if (pdata && pdata->teardown) { - ret = pdata->teardown (client, chip->gpio_chip.base, - chip->gpio_chip.ngpio, pdata->context); -if (ret <0 ) -dev_err (&client->dev,"teardown failed, %d\n" , ret); - }else { - ret =0 ; + pdata->teardown (client, chip->gpio_chip.base, + chip->gpio_chip.ngpio, pdata->context); }regulator_disable (chip->regulator); -return ret; +return 0 ; }#ifdef CONFIG_PM_SLEEP
drivers/gpio/gpio-timberdale.c +1 -1
@@ -228,7 +228,7 @@ static int timbgpio_probe(struct platform_device *pdev) tgpio =devm_kzalloc (dev,sizeof (*tgpio),GFP_KERNEL );if (!tgpio) -return -EINVAL ; +return -ENOMEM ; tgpio->irq_base = pdata->irq_base;
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3 -1
@@ -1141,7 +1141,9 @@ int amdgpu_device_resize_fb_bar(struct amdgpu_device *adev)pci_release_resource (adev->pdev,0 ); - r =pci_resize_resource (adev->pdev,0 , rbar_size); + r =pci_resize_resource (adev->pdev,0 , rbar_size, + (adev->asic_type >=CHIP_BONAIRE ) ?1 <<5 + :1 <<2 );if (r == -ENOSPC )DRM_INFO ("Not enough PCI address space for a large BAR." );else if (r && r != -ENOTSUPP )
drivers/gpu/drm/drm_edid.c +8 -0
@@ -5896,6 +5896,14 @@ static void drm_parse_tiled_block(struct drm_connector *connector,u8 num_v_tile, num_h_tile;struct drm_tile_group *tg; +/* tiled block payload per spec: cap 1 + topo 3 + size 4 + bezel 5 + id 9 = 22 */ +if (block->num_bytes <22 ) { +drm_dbg_kms (connector->dev, +"[CONNECTOR:%d:%s] Unexpected tiled block size %u\n" , + connector->base.id, connector->name, block->num_bytes); +return ; + } + w = tile->tile_size[0 ] | tile->tile_size[1 ] <<8 ; h = tile->tile_size[2 ] | tile->tile_size[3 ] <<8 ;
drivers/gpu/drm/i2c/sil164_drv.c +0 -7
@@ -370,12 +370,6 @@ sil164_probe(struct i2c_client *client, const struct i2c_device_id *id)return 0 ; } -static int -sil164_remove (struct i2c_client *client) -{ -return 0 ; -} -static struct i2c_client *sil164_detect_slave (struct i2c_client *client) {
@@ -427,7 +421,6 @@ MODULE_DEVICE_TABLE(i2c, sil164_ids);static struct drm_i2c_encoder_driver sil164_driver = { .i2c_driver = { .probe = sil164_probe, - .remove = sil164_remove, .driver = { .name ="sil164" , },
drivers/gpu/drm/msm/dp/dp_display.c +2 -2
@@ -34,9 +34,9 @@ enum {ISR_DISCONNECTED ,ISR_CONNECT_PENDING ,ISR_CONNECTED , -ISR_HPD_REPLUG_COUNT , +ISR_HPD_IO_GLITCH_COUNT ,ISR_IRQ_HPD_PULSE_COUNT , - ISR_HPD_LO_GLITH_COUNT, + ISR_HPD_REPLUG_COUNT, };/* event thread connection state */
drivers/gpu/drm/msm/dp/dp_reg.h +2 -2
@@ -32,8 +32,8 @@#define DP_DP_IRQ_HPD_INT_ACK (0x00000002)#define DP_DP_HPD_REPLUG_INT_ACK (0x00000004)#define DP_DP_HPD_UNPLUG_INT_ACK (0x00000008) -#define DP_DP_HPD_STATE_STATUS_BITS_MASK (0x0000000F) -#define DP_DP_HPD_STATE_STATUS_BITS_SHIFT (0x1C) +#define DP_DP_HPD_STATE_STATUS_BITS_MASK (0x00000007) +#define DP_DP_HPD_STATE_STATUS_BITS_SHIFT (0x1D)#define REG_DP_DP_HPD_INT_MASK (0x0000000C)#define DP_DP_HPD_PLUG_INT_MASK (0x00000001)
drivers/gpu/drm/radeon/radeon_ring.c +3 -1
@@ -352,8 +352,10 @@ int radeon_ring_restore(struct radeon_device *rdev, struct radeon_ring *ring,/* restore the saved ring content */ r =radeon_ring_lock (rdev, ring, size); -if (r) +if (r) { +kvfree (data);return r; + }for (i =0 ; i < size; ++i) {radeon_ring_write (ring, data[i]);
drivers/gpu/drm/tegra/dc.c +3 -1
@@ -93,8 +93,10 @@ bool tegra_dc_has_output(struct tegra_dc *dc, struct device *dev)int err;of_for_each_phandle (&it, err, np,"nvidia,outputs" ,NULL ,0 ) -if (it.node == dev->of_node) +if (it.node == dev->of_node) { +of_node_put (it.node);return true; + }return false; }
drivers/gpu/drm/tidss/tidss_kms.c +0 -2
@@ -277,8 +277,6 @@ int tidss_modeset_init(struct tidss_device *tidss)if (ret)return ret; -drm_mode_config_reset (ddev); -dev_dbg (tidss->dev,"%s done\n" , __func__);return 0 ;
drivers/gpu/host1x/bus.c +1 -1
@@ -441,7 +441,7 @@ static int host1x_device_add(struct host1x *host1x, err =host1x_device_parse_dt (device, driver);if (err <0 ) { -kfree (device); +put_device (&device->dev);return err; }
drivers/hid/hid-appleir.c +35 -10
42 lines not on this page · raw message
drivers/hid/hid-sensor-hub.c +71 -6
77 lines not on this page · raw message
drivers/hwtracing/coresight/coresight-cti-platform.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/hwtracing/coresight/coresight-etb10.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/i2c/i2c-core-base.c +52 -30
82 lines not on this page · raw message
drivers/iio/common/inv_sensors/Kconfig new file +7 -0
Lines of this file are not shown. View the raw message.
drivers/iio/common/inv_sensors/Makefile new file +6 -0
Lines of this file are not shown. View the raw message.
drivers/iio/common/inv_sensors/inv_sensors_timestamp.c new file +191 -0
191 lines not on this page · raw message
drivers/iio/common/st_sensors/st_sensors_core.c +17 -6
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c +22 -13
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c +37 -24
61 lines not on this page · raw message
drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.h +3 -0
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_core.c +19 -5
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c +22 -13
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_timestamp.c deleted +0 -195
195 lines not on this page · raw message
drivers/iio/imu/inv_icm42600/inv_icm42600_timestamp.h deleted +0 -85
85 lines not on this page · raw message
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c +23 -7
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h +8 -10
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c +8 -75
83 lines not on this page · raw message
drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c +10 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c +20 -1
Lines of this file are not shown. View the raw message.
drivers/iio/orientation/hid-sensor-rotation.c +38 -2
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_hem.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/mlx4/sysfs.c +27 -18
45 lines not on this page · raw message
drivers/input/joystick/iforce/iforce-packets.c +11 -7
Lines of this file are not shown. View the raw message.
drivers/input/misc/ims-pcu.c +101 -14
115 lines not on this page · raw message
drivers/md/dm-thin-metadata.c +21 -46
67 lines not on this page · raw message
drivers/media/platform/qcom/venus/helpers.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/rockchip/rga/rga-hw.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/rockchip/rga/rga-hw.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/mtd/nand/onenand/onenand_samsung.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/amazon/ena/ena_netdev.c +21 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c +10 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c +0 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/fman/fman.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qede/qede_fp.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h +20 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c +39 -14
53 lines not on this page · raw message
drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h +9 -13
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c +8 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c +286 -48
334 lines not on this page · raw message
drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c +7 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/join.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ralink/rt2x00/rt2x00dev.c +10 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/pci.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pcie-designware-host.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/mobiveil/pcie-mobiveil-host.c +3 -5
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pci-host-common.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-altera-msi.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-mediatek.c +75 -40
115 lines not on this page · raw message
drivers/pci/controller/pcie-rcar-host.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-xilinx-nwl.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pci/pci.c +0 -135
135 lines not on this page · raw message
drivers/pci/rebar.c new file +217 -0
217 lines not on this page · raw message
drivers/pci/setup-bus.c +70 -30
100 lines not on this page · raw message
drivers/pci/setup-res.c +0 -53
53 lines not on this page · raw message
drivers/pinctrl/mediatek/pinctrl-mt8167.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/mediatek/pinctrl-mt8516.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/scsi/scsi_transport_sas.c +12 -48
60 lines not on this page · raw message
drivers/staging/media/atomisp/pci/atomisp_cmd.c +2 -4
Lines of this file are not shown. View the raw message.
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/staging/media/atomisp/pci/sh_css.c +904 -1042
1,946 lines not on this page · raw message
drivers/staging/media/ipu3/ipu3-css-params.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/staging/media/sunxi/cedrus/cedrus.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/core/rtw_ap.c +12 -19
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/core/rtw_cmd.c +48 -48
96 lines not on this page · raw message
drivers/staging/rtl8723bs/core/rtw_ieee80211.c +4 -18
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/core/rtw_ioctl_set.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/core/rtw_mlme.c +3 -13
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +138 -207
345 lines not on this page · raw message
drivers/staging/rtl8723bs/core/rtw_recv.c +1 -3
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/core/rtw_security.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/core/rtw_wlan_util.c +3 -11
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c +0 -34
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c +1 -3
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/hal/sdio_halinit.c +0 -10
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/include/hal_phy.h +0 -3
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/include/ieee80211.h +3 -19
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h +2 -4
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/include/wifi.h +0 -1
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +60 -58
118 lines not on this page · raw message
drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +13 -28
41 lines not on this page · raw message
drivers/staging/rtl8723bs/os_dep/os_intfs.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/usb/gadget/function/f_printer.c +1 -9
Lines of this file are not shown. View the raw message.
drivers/usb/misc/idmouse.c +22 -23
45 lines not on this page · raw message
drivers/usb/serial/digi_acceleport.c +33 -10
43 lines not on this page · raw message
fs/cifs/smb2misc.c +75 -48
123 lines not on this page · raw message
fs/cifs/smb2ops.c +55 -52
107 lines not on this page · raw message
fs/cifs/smb2pdu.c +56 -58
114 lines not on this page · raw message
fs/cifs/smb2pdu.h +35 -330
365 lines not on this page · raw message
fs/configfs/dir.c +41 -13
54 lines not on this page · raw message
fs/hfs/bnode.c +29 -27
56 lines not on this page · raw message
fs/hfs/btree.h +36 -35
71 lines not on this page · raw message
fs/hfs/hfs_fs.h +49 -34
83 lines not on this page · raw message
fs/hfsplus/bnode.c +32 -30
62 lines not on this page · raw message
fs/nfs/flexfilelayout/flexfilelayout.c +33 -0
Lines of this file are not shown. View the raw message.
fs/nfs/flexfilelayout/flexfilelayout.h +16 -0
Lines of this file are not shown. View the raw message.
fs/nfsd/nfs4recover.c +50 -70
120 lines not on this page · raw message
fs/ocfs2/inode.c +148 -2
150 lines not on this page · raw message
fs/proc/base.c +82 -100
182 lines not on this page · raw message
fs/smbfs_common/smb2pdu.h new file +318 -0
318 lines not on this page · raw message
fs/xfs/libxfs/xfs_sb.c +64 -0
64 lines not on this page · raw message
fs/xfs/xfs_mount.h +75 -0
75 lines not on this page · raw message
include/linux/if_rmnet.h +45 -25
70 lines not on this page · raw message
include/linux/iio/common/inv_sensors_timestamp.h new file +94 -0
94 lines not on this page · raw message
kernel/audit.c +78 -7
85 lines not on this page · raw message
net/batman-adv/distributed-arp-table.c +28 -2
Lines of this file are not shown. View the raw message.
net/bluetooth/l2cap_core.c +92 -33
125 lines not on this page · raw message
net/can/bcm.c +67 -23
90 lines not on this page · raw message
net/ipv6/mcast.c +703 -481
1,184 lines not on this page · raw message
net/ipv6/netfilter/nf_conntrack_reasm.c +2 -1
Lines of this file are not shown. View the raw message.
net/netfilter/nft_log.c +1 -57
58 lines not on this page · raw message
net/netfilter/xt_AUDIT.c +1 -57
58 lines not on this page · raw message
net/sched/sch_codel.c +43 -5
48 lines not on this page · raw message
net/sched/sch_fq_codel.c +39 -2
41 lines not on this page · raw message
net/sctp/diag.c +32 -35
67 lines not on this page · raw message
samples/trace_events/trace-events-sample.c +4 -0
Lines of this file are not shown. View the raw message.
security/apparmor/domain.c +46 -12
58 lines not on this page · raw message
security/apparmor/include/policy_unpack.h +19 -0
Lines of this file are not shown. View the raw message.
sound/usb/mixer_quirks.c +59 -42
101 lines not on this page · raw message
sound/usb/mixer_us16x08.c +76 -51
127 lines not on this page · raw message
tools/testing/selftests/vm/compaction_test.c +3 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/vm/hmm-tests.c +24 -8
Lines of this file are not shown. View the raw message.
tools/usb/usbip/libsrc/usbip_device_driver.c +4 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.