linux-stable/drivers/hid
Basavaraj Natikar 88a04049c0 HID: amd_sfh: Fix potential NULL pointer dereference
The cl_data field of a privdata must be allocated and updated before
using in amd_sfh_hid_client_init() function.

Hence handling NULL pointer cl_data accordingly.

Fixes: d46ef750ed ("HID: amd_sfh: Fix potential NULL pointer dereference")
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2021-09-27 10:00:43 +02:00
..
amd-sfh-hid HID: amd_sfh: Fix potential NULL pointer dereference 2021-09-27 10:00:43 +02:00
i2c-hid Merge branch 'for-5.15/goodix' into for-linus 2021-09-01 22:01:27 +02:00
intel-ish-hid Merge 5.14-rc5 into driver-core-next 2021-08-09 09:03:47 +02:00
surface-hid HID: surface-hid: Fix get-report request 2021-06-15 10:54:51 +02:00
usbhid Merge branch 'for-5.15/core' into for-linus 2021-09-01 22:00:06 +02:00
hid-a4tech.c HID: a4tech: use A4_2WHEEL_MOUSE_HACK_B8 for A4TECH NB-95 2021-05-05 14:29:13 +02:00
hid-accutouch.c
hid-alps.c Merge branch 'for-5.13/warnings' into for-linus 2021-04-29 21:47:22 +02:00
hid-apple.c HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS 2021-09-15 16:44:10 +02:00
hid-appleir.c HID: appleir: Use devm_kzalloc() instead of kzalloc() 2020-03-13 17:33:11 +01:00
hid-asus.c HID: asus: Prevent Claymore sending suspend event 2021-08-20 14:50:41 +02:00
hid-aureal.c
hid-axff.c
hid-belkin.c
hid-betopff.c HID: betop: fix slab-out-of-bounds Write in betop_probe 2021-09-15 16:31:21 +02:00
hid-bigbenff.c HID: hid-bigbenff: fix race condition for scheduled work during removal 2020-02-18 14:43:51 +01:00
hid-cherry.c
hid-chicony.c HID: chicony: Add Wireless Radio Control feature for Chicony devices 2021-01-14 13:13:24 +01:00
hid-cmedia.c HID: cmedia: add support for HS-100B mute button 2021-07-28 11:51:07 +02:00
hid-core.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
hid-corsair.c
hid-cougar.c HID: cougar: Constify cougar_id_table 2020-08-17 11:38:49 +02:00
hid-cp2112.c HID cp2112: fix support for multiple gpiochips 2021-03-08 14:55:31 +01:00
hid-creative-sb0540.c
hid-cypress.c HID: cypress: Support Varmilo Keyboards' media hotkeys 2020-10-23 13:23:44 +02:00
hid-debug.c Merge branch 'for-5.14/core' into for-linus 2021-06-30 09:03:51 +02:00
hid-dr.c
hid-elan.c HID: elan: Remove elan_mute_led_get_brigtness() 2021-04-07 12:46:33 +02:00
hid-elecom.c HID: elecom: drop stray comment 2020-11-25 17:40:23 +01:00
hid-elo.c HID: elo: update the reference count of the usb device structure 2021-08-20 14:22:28 +02:00
hid-emsff.c
hid-ezkey.c
hid-ft260.c HID: ft260: fix device removal due to USB disconnect 2021-07-29 12:38:32 +02:00
hid-gaff.c
hid-gembird.c
hid-generic.c
hid-gfrm.c
hid-glorious.c HID: Add driver fixing Glorious PC Gaming Race mouse report descriptor 2020-03-18 13:36:21 +01:00
hid-google-hammer.c HID: google: Add of_match table to Whiskers switch device. 2021-05-05 14:34:41 +02:00
hid-gt683r.c HID: gt683r: add missing MODULE_DEVICE_TABLE 2021-05-27 15:40:34 +02:00
hid-gyration.c
hid-holtek-kbd.c
hid-holtek-mouse.c
hid-holtekff.c
hid-hyperv.c HID: hyperv: Use VMBUS_RING_SIZE() for ringbuffer sizes 2020-09-28 08:57:28 +00:00
hid-icade.c
hid-ids.h Merge branch 'for-5.15/sony' into for-linus 2021-09-01 22:03:18 +02:00
hid-input.c HID: input: do not report stylus battery state as "full" 2021-07-15 20:55:30 +02:00
hid-ite.c HID: lg-g15 + ite: Add MODULE_AUTHOR 2021-05-05 14:39:24 +02:00
hid-jabra.c
hid-kensington.c
hid-keytouch.c
hid-kye.c HID: hid-kye: Fix incorrect function name for kye_tablet_enable() 2021-04-07 18:46:20 +02:00
hid-lcpower.c
hid-led.c
hid-lenovo.c HID: lenovo: Add support for Thinkpad X1 Tablet Thin keyboard 2021-04-07 12:48:20 +02:00
hid-lg-g15.c HID: lg-g15 + ite: Add MODULE_AUTHOR 2021-05-05 14:39:24 +02:00
hid-lg.c HID: logitech-dj: Handle newer quad/bt2.0 receivers in HID proxy mode 2021-03-08 11:05:50 +01:00
hid-lg.h
hid-lg2ff.c
hid-lg3ff.c
hid-lg4ff.c
hid-lg4ff.h
hid-lgff.c
hid-logitech-dj.c Merge branch 'for-5.14/multitouch' into for-linus 2021-06-30 09:15:15 +02:00
hid-logitech-hidpp.c HID: logitech-hidpp: battery: provide CAPACITY property for newer devices 2021-08-20 14:32:39 +02:00
hid-macally.c HID: macally: Constify macally_id_table 2020-08-17 11:38:49 +02:00
hid-magicmouse.c HID: magicmouse: high-resolution scroll threshold 2021-07-15 21:16:39 +02:00
hid-maltron.c
hid-mcp2221.c HID: mcp2221: Fix GPIO output handling 2020-11-05 11:16:53 +01:00
hid-mf.c HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter 2020-11-25 14:30:33 +01:00
hid-microsoft.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid 2020-09-02 12:55:46 -07:00
hid-monterey.c
hid-multitouch.c HID: multitouch: Disable event reporting on suspend when the device is not a wakeup-source 2021-06-25 14:02:59 +02:00
hid-nti.c
hid-ntrig.c
hid-ortek.c
hid-penmount.c
hid-petalynx.c
hid-picolcd.h
hid-picolcd_backlight.c
hid-picolcd_cir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
hid-picolcd_core.c HID: hid-picolcd_core: Remove unused variable 'ret' 2021-04-07 18:46:20 +02:00
hid-picolcd_debugfs.c
hid-picolcd_fb.c Merge branch 'for-5.7/appleir' into for-linus 2020-04-01 12:26:12 +02:00
hid-picolcd_lcd.c
hid-picolcd_leds.c
hid-pl.c
hid-plantronics.c HID: plantronics: Workaround for double volume key presses 2021-03-08 11:08:58 +01:00
hid-playstation.c HID: playstation: add DualSense player LED support. 2021-02-18 17:41:51 +01:00
hid-primax.c
hid-prodikeys.c
hid-quirks.c HID: thrustmaster: clean up Makefile and adapt quirks 2021-08-20 14:53:54 +02:00
hid-redragon.c
hid-retrode.c
hid-rmi.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2020-10-23 16:16:31 -07:00
hid-roccat-arvo.c HID: displays: convert sysfs sprintf/snprintf family to sysfs_emit 2021-02-05 10:16:45 +01:00
hid-roccat-arvo.h
hid-roccat-common.c
hid-roccat-common.h
hid-roccat-isku.c
hid-roccat-isku.h
hid-roccat-kone.c Merge branch 'for-5.9/upstream-fixes' into for-linus 2020-10-15 20:41:43 +02:00
hid-roccat-kone.h
hid-roccat-koneplus.c
hid-roccat-koneplus.h
hid-roccat-konepure.c
hid-roccat-kovaplus.c
hid-roccat-kovaplus.h
hid-roccat-lua.c
hid-roccat-lua.h
hid-roccat-pyra.c
hid-roccat-pyra.h
hid-roccat-ryos.c
hid-roccat-savu.c
hid-roccat-savu.h
hid-roccat.c
hid-saitek.c
hid-samsung.c
hid-semitek.c HID: semitek: new driver for GK6X series keyboards 2021-05-05 14:21:08 +02:00
hid-sensor-custom.c HID: hid-sensor-custom: Process failure of sensor_hub_set_feature() 2021-05-26 12:36:46 +02:00
hid-sensor-hub.c HID: hid-sensor-hub: Return error for hid_set_field() failure 2021-05-05 14:36:18 +02:00
hid-sjoy.c
hid-sony.c Merge branch 'for-5.15/sony' into for-linus 2021-09-01 22:03:18 +02:00
hid-speedlink.c
hid-steam.c HID: steam: fixes race in handling device list. 2020-06-19 09:21:21 +02:00
hid-steelseries.c
hid-sunplus.c
hid-thrustmaster.c HID: thrustmaster: Fix memory leak in thrustmaster_interrupts() 2021-08-20 14:24:57 +02:00
hid-tivo.c
hid-tmff.c
hid-topseed.c
hid-twinhan.c
hid-u2fzero.c HID: u2fzero: ignore incomplete packets without data 2021-09-22 09:31:18 +02:00
hid-uclogic-core.c HID: uclogic: Improve support for Trust Panora 2021-01-08 14:05:48 +01:00
hid-uclogic-params.c HID: hid-uclogic-params: Ensure function names are present and correct in kernel-doc headers 2021-04-07 18:46:20 +02:00
hid-uclogic-params.h
hid-uclogic-rdesc.c HID: hid-uclogic-rdesc: Kernel-doc is for functions and structs 2021-04-07 18:46:20 +02:00
hid-uclogic-rdesc.h
hid-udraw-ps3.c HID: udraw-ps3: Replace HTTP links with HTTPS ones 2020-07-20 12:24:41 +02:00
hid-viewsonic.c
hid-vivaldi.c HID: add vivaldi HID driver 2020-09-30 22:44:26 +02:00
hid-waltop.c
hid-wiimote-core.c HID: wiimote: remove h from printk format specifier 2021-01-07 10:14:58 +01:00
hid-wiimote-debug.c
hid-wiimote-modules.c HID: Wiimote: Treat the d-pad as an analogue stick 2020-06-19 14:17:22 +02:00
hid-wiimote.h HID: Wiimote: Treat the d-pad as an analogue stick 2020-06-19 14:17:22 +02:00
hid-xinmo.c
hid-zpff.c
hid-zydacron.c
hidraw.c HID: hidraw: Add additional hidraw input/output report ioctls. 2020-11-27 15:48:31 +01:00
Kconfig Merge branch 'for-5.15/sony' into for-linus 2021-09-01 22:03:18 +02:00
Makefile HID: thrustmaster: clean up Makefile and adapt quirks 2021-08-20 14:53:54 +02:00
uhid.c
wacom.h
wacom_sys.c HID: wacom: Short-circuit processing of touch when it is disabled 2021-07-28 11:45:40 +02:00
wacom_wac.c HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs 2021-09-15 17:20:15 +02:00
wacom_wac.h HID: wacom: Short-circuit processing of touch when it is disabled 2021-07-28 11:45:40 +02:00