linux/drivers
Christian König a5492fe27f drm/amdgpu: fix amdgpu_cs_p1_user_fence
The offset is just 32bits here so this can potentially overflow if
somebody specifies a large value. Instead reduce the size to calculate
the last possible offset.

The error handling path incorrectly drops the reference to the user
fence BO resulting in potential reference count underflow.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-08-31 16:39:28 -04:00
..
accel Linux 6.5-rc7 2023-08-24 07:26:06 +10:00
accessibility
acpi platform-drivers-x86 for v6.5-4 2023-08-13 08:50:26 -07:00
amba
android binder: fix memory leak in binder_init() 2023-08-04 15:25:01 +02:00
ata ata,scsi: do not issue START STOP UNIT on resume 2023-08-02 17:01:12 +09:00
atm
auxdisplay
base driver core: cpu: Fix the fallback cpu_show_gds() name 2023-08-11 20:36:02 +02:00
bcma
block block-6.5-2023-08-19 2023-08-19 17:31:46 +02:00
bluetooth
bus Merge branch 'omap-for-v6.5/ti-sysc' into omap-for-v6.5/fixes 2023-08-02 10:49:57 +03:00
cdrom
cdx
char tpm_tis: Opt-in interrupts 2023-08-12 02:36:28 +03:00
clk Amlogic clock fixes for v6.5 2023-07-26 11:47:57 -07:00
clocksource
comedi
connector
counter First set of Counter fixes for 6.5 2023-08-04 15:17:29 +02:00
cpufreq cpufreq: amd-pstate: fix global sysfs attribute type 2023-08-07 19:41:48 +02:00
cpuidle cpuidle: psci: Move enabling OSI mode after power domains creation 2023-08-08 16:07:01 +02:00
crypto
cxl cxl/memdev: Only show sanitize sysfs files when supported 2023-07-28 13:16:54 -06:00
dax
dca
devfreq
dio
dma dmaengine: xilinx: xdma: Fix typo 2023-08-07 00:01:41 +05:30
dma-buf Linux 6.5-rc7 2023-08-24 07:26:06 +10:00
edac
eisa
extcon
firewire
firmware Linux 6.5-rc7 2023-08-24 07:26:06 +10:00
fpga
fsi
gnss
gpio gpiolib: fix reference leaks when removing GPIO chips still in use 2023-08-16 13:35:50 +02:00
gpu drm/amdgpu: fix amdgpu_cs_p1_user_fence 2023-08-31 16:39:28 -04:00
greybus
hid HID: i2c-hid: add more DRM dependencies 2023-08-03 07:36:41 -07:00
hsi
hte
hv
hwmon hwmon: (aquacomputer_d5next) Add selective 200ms delay after sending ctrl report 2023-08-09 21:09:47 -07:00
hwspinlock
hwtracing
i2c i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue 2023-08-14 18:17:13 +02:00
i3c
idle
iio iio: cros_ec: Fix the allocation size for cros_ec_command 2023-07-29 12:21:21 +01:00
infiniband RDMA/bnxt_re: Initialize dpi_tbl_lock mutex 2023-08-10 16:35:54 -03:00
input
interconnect
iommu iommufd: Set end correctly when doing batch carry 2023-07-27 11:27:20 -03:00
ipack
irqchip - Work around an erratum on GIC700, where a race between a CPU 2023-07-30 10:59:19 -07:00
isdn mISDN: Update parameter type of dsp_cmx_send() 2023-08-03 18:08:32 -07:00
leds
macintosh
mailbox
mcb
md
media Linux 6.5-rc7 2023-08-24 07:26:06 +10:00
memory memory: tegra: make icc_set_bw return zero if BWMGR not supported 2023-07-25 22:09:20 +02:00
memstick
message
mfd
misc misc: tps6594-esm: Disable ESM for rev 1 PMIC 2023-08-04 15:52:51 +02:00
mmc mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove 2023-08-15 13:24:29 +02:00
most
mtd mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op() 2023-07-27 16:54:23 +02:00
mux
net Including fixes from ipsec and netfilter. 2023-08-18 06:52:23 +02:00
nfc
ntb
nubus
nvdimm
nvme block-6.5-2023-08-11 2023-08-11 12:14:08 -07:00
nvmem
of Linux 6.5-rc7 2023-08-24 07:26:06 +10:00
opp
parisc parisc: Move proc_mckinley_root and proc_runway_root to sba_iommu 2023-08-10 22:22:03 +02:00
parport parport: gsc: remove DMA leftover code 2023-08-03 14:40:37 +02:00
pci pci-v6.5-fixes-1 2023-08-11 09:39:17 -07:00
pcmcia
peci
perf
phy
pinctrl pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets 2023-08-10 10:48:15 +02:00
platform platform/x86: lenovo-ymc: Only bind on machines with a convertible DMI chassis-type 2023-08-13 14:50:25 +02:00
pnp
power
powercap powercap: intel_rapl: Fix a sparse warning in TPMI interface 2023-08-01 13:45:08 +02:00
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: qcom-rpmh: Fix LDO 12 regulator for PM8550 2023-08-07 15:13:27 +01:00
remoteproc
reset
rpmsg
rtc
s390 Including fixes from bpf and wireless. 2023-08-03 14:00:02 -07:00
sbus
scsi SCSI fixes on 20230813 2023-08-13 08:43:26 -07:00
sh
siox
slimbus
soc soc: aspeed: socinfo: Add kfree for kstrdup 2023-08-12 12:12:58 +02:00
soundwire
spi spi: spi-qcom-qspi: Add mem_ops to avoid PIO for badly sized reads 2023-07-26 12:47:20 +01:00
spmi
ssb
staging Linux 6.5-rc7 2023-08-24 07:26:06 +10:00
target
tc
tee
thermal powercap: intel_rapl: Fix a sparse warning in TPMI interface 2023-08-01 13:45:08 +02:00
thunderbolt thunderbolt: Fix memory leak in tb_handle_dp_bandwidth_request() 2023-08-04 16:17:47 +03:00
tty serial: core: Fix serial core port id, including multiport devices 2023-08-11 21:19:22 +02:00
ufs scsi: ufs: renesas: Fix private allocation 2023-08-07 21:34:08 -04:00
uio
usb usb: dwc3: Properly handle processing of pending events 2023-08-04 14:57:23 +02:00
vdpa pds_vdpa: fix up debugfs feature bit printing 2023-08-10 15:51:46 -04:00
vfio
vhost vhost-scsi: Rename vhost_scsi_iov_to_sgl 2023-08-10 15:24:28 -04:00
video Linux 6.5-rc7 2023-08-24 07:26:06 +10:00
virt
virtio virtio-mem: check if the config changed before fake offlining memory 2023-08-10 15:51:46 -04:00
vlynq
w1
watchdog
xen xen: speed up grant-table reclaim 2023-07-27 07:53:12 +02:00
zorro
Kconfig
Makefile