linux-stable/drivers
Harshit Mogalapalli 36f27350ff i915/perf: Fix NULL deref bugs with drm_dbg() calls
When i915 perf interface is not available dereferencing it will lead to
NULL dereferences.

As returning -ENOTSUPP is pretty clear return when perf interface is not
available.

Fixes: 2fec539112 ("i915/perf: Replace DRM_DEBUG with driver specific drm_dbg call")
Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: <stable@vger.kernel.org> # v6.0+
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231027172822.2753059-1-harshit.m.mogalapalli@oracle.com
[tursulin: added stable tag]
2023-10-30 11:00:03 +00:00
..
accel Linux 6.6-rc7 2023-10-23 18:20:06 +10:00
accessibility
acpi Merge branch 'acpi-irq' 2023-10-20 17:31:15 +02:00
amba
android
ata
atm
auxdisplay
base regmap: Fix for v6.6 2023-10-18 09:30:03 -07:00
bcma
block
bluetooth Bluetooth: btrtl: Ignore error return for hci_devcd_register() 2023-10-13 20:03:04 -07:00
bus
cache
cdrom
cdx
char
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma dmaengine fixes for v6.6 2023-10-13 08:52:57 -07:00
dma-buf
edac
eisa
extcon
firewire
firmware Final set of EFI tweaks for v6.6: 2023-10-22 07:05:28 -10:00
fpga
fsi
gnss
gpio gpiolib: acpi: Add missing memset(0) to acpi_get_gpiod_from_data() 2023-10-20 11:24:16 +02:00
gpu i915/perf: Fix NULL deref bugs with drm_dbg() calls 2023-10-30 11:00:03 +00:00
greybus
hid Linux 6.6-rc7 2023-10-23 18:20:06 +10:00
hsi
hte
hv
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband
input Input updates for v6.6-rc5 2023-10-13 23:19:16 -07:00
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md
media Linux 6.6-rc7 2023-10-23 18:20:06 +10:00
memory
memstick
message
mfd
misc
mmc
most
mtd In the raw NAND subsystem, the major fix prevents using cached reads 2023-10-20 13:12:34 -07:00
mux
net Including fixes from bluetooth, netfilter, WiFi. 2023-10-19 12:08:18 -07:00
nfc
ntb
nubus
nvdimm
nvme nvme-pci: add BOGUS_NID for Intel 0a54 device 2023-10-18 14:08:39 -07:00
nvmem
of
opp
parisc
parport
pci
pcmcia
peci
perf RISC-V Fixes for 6.6-rc6 2023-10-13 09:17:48 -07:00
phy phy fixes for 6.6 2023-10-22 07:11:10 -10:00
pinctrl Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()" 2023-10-19 10:12:48 +02:00
platform platform/mellanox: mlxbf-tmfifo: Fix a warning message 2023-10-18 15:38:09 +02:00
pmdomain
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 s390 updates for 6.6-rc7 2023-10-21 10:11:11 -07:00
sbus
scsi SCSI fixes on 20231020 2023-10-20 13:24:50 -07:00
sh
siox
slimbus
soc ARM: SoC fixes for 6.6, part 2 2023-10-12 11:52:23 -07:00
soundwire
spi
spmi
ssb
staging Linux 6.6-rc7 2023-10-23 18:20:06 +10:00
target
tc
tee ARM: SoC fixes for 6.6, part 2 2023-10-12 11:52:23 -07:00
thermal
thunderbolt thunderbolt: Fix for v6.6-rc7 2023-10-17 19:25:42 +02:00
tty
ufs
uio
usb Linux 6.6-rc7 2023-10-23 18:20:06 +10:00
vdpa
vfio
vhost
video Linux 6.6-rc7 2023-10-23 18:20:06 +10:00
virt
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile