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-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-cherry.c
hid-chicony.c
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-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-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-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-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-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-magicmouse.c HID: magicmouse: high-resolution scroll threshold 2021-07-15 21:16:39 +02:00
hid-maltron.c
hid-mcp2221.c
hid-mf.c
hid-microsoft.c
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
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
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-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
hid-roccat-arvo.c
hid-roccat-arvo.h
hid-roccat-common.c
hid-roccat-common.h
hid-roccat-isku.c
hid-roccat-isku.h
hid-roccat-kone.c
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-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-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-viewsonic.c
hid-vivaldi.c
hid-waltop.c
hid-wiimote-core.c
hid-wiimote-debug.c
hid-wiimote-modules.c
hid-wiimote.h
hid-xinmo.c
hid-zpff.c
hid-zydacron.c
hidraw.c
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