linux/drivers
Haoxiang Li d288efa2b9 fsl/fman: Free init resources on KeyGen failure in fman_init()
fman_muram_alloc() allocates initialization resources before
initializing the KeyGen block. If keygen_init() fails, the
function returns -EINVAL directly and leaves those resources
allocated. Free the initialization resources before returning
from the KeyGen failure path.

Fixes: 7472f4f281 ("fsl/fman: enable FMan Keygen")
Cc: stable@kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20260625004834.3394389-1-haoxiang_li2024@163.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
History 2026-06-30 10:52:02 +02:00
..
accel drm-next for 7.2-rc1 2026-06-17 10:21:00 +01:00
accessibility Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
acpi platform-drivers-x86 for v7.2-1 2026-06-23 08:31:33 -07:00
amba amba: use generic driver_override infrastructure 2026-05-30 22:25:23 +02:00
android Linux 7.1-rc6 2026-06-01 18:10:34 +02:00
ata ata changes for 7.2-rc1 2026-06-18 08:12:50 -07:00
atm atm: remove unused ATM PHY operations 2026-06-16 08:53:53 -07:00
auxdisplay auxdisplay: Kconfig: drop unneeded quotes in PANEL_BOOT_MESSAGE dep 2026-05-17 07:58:30 +02:00
base mm.git review status for mm-hotfixes-stable..mm-stable 2026-06-19 10:14:34 -07:00
bcma Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
block block-7.2-20260625 2026-06-25 09:56:47 -07:00
bluetooth Bluetooth: btintel_pcie: Separate coredump work from RX work 2026-06-11 14:24:42 -04:00
bus Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
cache cache: sifive_ccache: Add StarFive JH7110 SoC support 2026-05-21 11:12:00 +01:00
cdrom cdrom, scsi: sr: propagate read-only status to block layer via set_disk_ro() 2026-04-27 15:52:51 -06:00
cdx Devicetree updates for v7.2: 2026-06-17 11:54:57 -07:00
char ipmi: lots of little tweaks 2026-06-25 09:00:53 -07:00
clk soc: drivers for 7.2 2026-06-17 11:21:40 -07:00
clocksource A series of updates for the VDSO: 2026-06-15 13:57:13 +05:30
comedi Linux 7.1-rc6 2026-06-01 18:10:34 +02:00
connector Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
counter Counter updates for 7.2 2026-06-08 21:26:09 +02:00
cpufreq tracing: Updates for v7.2: 2026-06-18 20:53:00 -07:00
cpuidle powerpc updates for 7.1 2026-04-14 17:10:15 -07:00
crypto pci-v7.2-changes 2026-06-24 12:48:43 -07:00
cxl Merge branch 'for-7.2/cxl-type2-attach-region' into cxl-for-next 2026-06-12 13:47:53 -07:00
dax mm.git review status for mm-hotfixes-stable..mm-stable 2026-06-19 10:14:34 -07:00
dca treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
devfreq devfreq: change devfreq_event_class to a const struct 2026-05-22 13:28:46 +02:00
dibs dibs: Improve DIBS prompts and help texts 2026-05-18 16:53:53 -07:00
dio dio: Use tabs and avoid continuation logging in dio_init 2026-05-18 11:16:26 +02:00
dma pci-v7.2-changes 2026-06-24 12:48:43 -07:00
dma-buf drm-next for 7.2-rc1 2026-06-17 10:21:00 +01:00
dpll dpll: allow fwnode pins to attempt state change without capability bit 2026-06-13 13:24:34 -07:00
edac EDAC: Consistently define pci_device_ids using named initializers 2026-05-29 13:28:36 -07:00
eisa Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
extcon extcon: usbc-tusb320: Make typec-power-opmode optional 2026-03-20 11:20:43 +09:00
firewire firewire: core: Open-code topology list walk 2026-06-13 11:10:23 +09:00
firmware Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
fpga fpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header() 2026-06-01 12:29:40 +08:00
fsi Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fwctl fwctl: pds: Validate RPC input size before parsing 2026-05-19 10:44:32 -03:00
gnss Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
gpib Revert "gpib: cb7210: Fix region leak when request_irq fails" 2026-05-30 12:29:07 +02:00
gpio gpio: davinci: fix IRQ domain leak on devm_kzalloc failure 2026-06-23 10:44:29 +02:00
gpu mm.git review status for mm-hotfixes-stable..mm-nonmm-stable 2026-06-21 13:20:19 -07:00
greybus greybus: gb-beagleplay: bound bootloader receive buffering 2026-04-02 15:55:09 +02:00
hid tracing: Updates for v7.2: 2026-06-18 20:53:00 -07:00
hsi HSI: omap_ssi_port: remove depends on ARM 2026-04-02 22:33:44 +02:00
hte hte: tegra194: Add Tegra264 GTE support 2026-04-12 23:29:31 -07:00
hv hyperv-next for v7.2-rc1 2026-06-22 08:06:13 -07:00
hwmon platform-drivers-x86 for v7.2-1 2026-06-23 08:31:33 -07:00
hwspinlock hwspinlock: qcom: avoid uninitialized struct members 2026-06-08 21:51:12 -05:00
hwtracing Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
i2c i2c: pxa: Use named initializers for the platform_device_id array 2026-06-18 12:08:49 +02:00
i3c i3c: mipi-i3c-hci: Use named initializers for platform_device_id's .driver_data 2026-06-16 23:19:45 +02:00
idle x86/msr updates for v7.2: 2026-06-15 15:08:14 +05:30
iio Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
infiniband RDMA v7.2 merge window 2026-06-18 08:16:21 -07:00
input Merge branch 'next' into for-linus 2026-06-22 23:10:08 -07:00
interconnect Merge branch 'icc-misc' into icc-next 2026-05-22 10:41:01 +03:00
iommu hyperv-next for v7.2-rc1 2026-06-22 08:06:13 -07:00
ipack Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
irqchip Miscellaneous irqchip driver fixes: 2026-06-23 16:02:03 -07:00
leds LEDs for v7.2 2026-06-18 14:45:08 -07:00
macintosh sched/cputime: Remove superfluous and error prone kcpustat_field() parameter 2026-06-02 21:27:25 +02:00
mailbox mailbox: imx: Don't force-thread the primary handler 2026-06-20 21:18:39 -05:00
mcb Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
md block-7.2-20260625 2026-06-25 09:56:47 -07:00
media [GIT PULL for v7.2] media updates 2026-06-18 17:21:54 -07:00
memory soc: drivers for 7.2 2026-06-17 11:21:40 -07:00
memstick memstick: Constify the driver id_table 2026-05-11 16:59:43 +02:00
message Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
mfd MFD for v7.2 2026-06-18 14:26:29 -07:00
misc pci-v7.2-changes 2026-06-24 12:48:43 -07:00
mmc for-7.2/block-20260615 2026-06-16 13:02:47 +05:30
most most: usb: Use kzalloc_objs for endpoint address array 2026-04-02 17:06:09 +02:00
mtd NAND changes: 2026-06-21 12:25:17 -07:00
mux mux: describe np parameter in __devm_mux_state_get() 2026-05-11 22:33:12 +02:00
net fsl/fman: Free init resources on KeyGen failure in fman_init() 2026-06-30 10:52:02 +02:00
nfc nfc: Use named initializers for struct i2c_device_id 2026-06-11 20:24:47 +02:00
ntb pci-v7.2-changes 2026-06-24 12:48:43 -07:00
nubus nubus: Switch to dynamic root device 2026-05-18 11:16:19 +02:00
nvdimm Updates for the 7.2 release 2026-06-18 16:27:58 -07:00
nvme block-7.2-20260625 2026-06-25 09:56:47 -07:00
nvmem nvmem: core: fix use-after-free bugs in error paths 2026-06-05 17:18:58 +02:00
of Devicetree updates for v7.2: 2026-06-17 11:54:57 -07:00
opp OPP: of: Fix potential memory leak in opp_parse_supplies() 2026-05-20 13:23:37 +05:30
parisc parisc: Fix IRQ leak in LASI driver 2026-05-04 11:48:12 +02:00
parport parport: Fix race between port and client registration 2026-05-22 12:19:02 +02:00
pci pci-v7.2-changes 2026-06-24 12:48:43 -07:00
pcmcia PCMCIA fixes and cleanups for v7.1 2026-04-23 11:22:16 -07:00
peci Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
perf perf/arm-cmn: Fix DVM node events 2026-06-03 20:50:24 +01:00
phy phy-for-7.2 2026-06-23 15:41:48 -07:00
pinctrl Pin control changes for the v7.2 kernel cycle: 2026-06-18 15:03:21 -07:00
platform platform-drivers-x86 for v7.2-1 2026-06-23 08:31:33 -07:00
pmdomain pmdomain: core: fix unused variable warning with !PM_GENERIC_DOMAINS_OF 2026-06-15 21:12:35 +02:00
pnp Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
power power sequencing fixes for v7.2-rc1 2026-06-25 09:20:26 -07:00
powercap powercap: intel_rapl: Use sysfs_emit() in cpumask_show() 2026-06-01 19:55:32 +02:00
pps pps: generators: Use ktime_get_real_ts64() instead of ktime_get_snapshot() 2026-06-02 11:39:58 +02:00
ps3 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ptp bitmap updates for v7.2 2026-06-17 11:38:38 +01:00
pwm pwm: Changes for v7.2-rc1 2026-06-16 07:26:47 +05:30
rapidio mm.git review status for mm-hotfixes-stable..mm-nonmm-stable 2026-06-21 13:20:19 -07:00
ras - Fix a malformed Kconfig default for the AMD Address Translation Library 2026-06-16 05:31:01 +05:30
regulator regulator: Updates for v7.2 2026-06-16 07:50:31 +05:30
remoteproc remoteproc: qcom: pas: Drop start/stop completion from struct qcom_pas 2026-06-08 21:53:51 -05:00
resctrl arm64 updates for 7.2 2026-06-16 05:18:04 +05:30
reset reset: eyeq: drop device_set_of_node_from_dev() done by parent 2026-04-28 19:03:50 -07:00
rpmsg rpmsg update for v7.2 2026-06-20 23:31:15 -07:00
rtc rtc: rv3032: switch to using FIELD_GET_SIGNED() 2026-05-20 11:18:27 -04:00
s390 more s390 updates for 7.2 merge window 2026-06-22 07:43:48 -07:00
sbus Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
scsi mm.git review status for mm-hotfixes-stable..mm-nonmm-stable 2026-06-21 13:20:19 -07:00
sh Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
siox Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
slimbus slimbus: qcom-ngd-ctrl: Avoid ABBA on tx_lock/ctrl->lock 2026-06-05 17:19:51 +02:00
soc soc: drivers for 7.2 2026-06-17 11:21:40 -07:00
soundwire soundwire updates for 7.2 2026-06-23 13:58:38 -07:00
spi spi: Updates for v7.2 2026-06-16 07:56:47 +05:30
spmi Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ssb Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
staging Staging driver updates for 7.2-rc1 2026-06-22 12:43:16 -07:00
target Merge branch 7.1/scsi-fixes into 7.2/scsi-staging 2026-06-15 21:01:30 -04:00
tc Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tee soc: drivers for 7.2 2026-06-17 11:21:40 -07:00
thermal x86/cpu updates for v7.2: 2026-06-15 15:25:17 +05:30
thunderbolt USB/Thunderbolt driver changes for 7.2-rc1 2026-06-22 12:09:47 -07:00
tty TTY / Serial driver update for 7.2-rc1 2026-06-22 11:51:49 -07:00
ufs SCSI misc on 20260621 2026-06-21 10:29:45 -07:00
uio uio: uio_pci_generic_sva: fix double free of devm_kzalloc() memory 2026-05-22 12:19:02 +02:00
usb USB/Thunderbolt driver changes for 7.2-rc1 2026-06-22 12:09:47 -07:00
vdpa vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler 2026-06-10 02:17:00 -04:00
vfio vfio/qat: fix f_pos race in qat_vf_resume_write() 2026-06-10 14:33:05 -06:00
vhost mm.git review status for mm-hotfixes-stable..mm-nonmm-stable 2026-06-21 13:20:19 -07:00
video Backlight for v7.2 2026-06-18 14:55:20 -07:00
virt Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
virtio virtio,vhost,vdpa: features, fixes 2026-06-17 11:49:00 -07:00
w1 w1: ds2482: Use named initializers for arrays of i2c_device_data 2026-06-08 21:37:56 +02:00
watchdog watchdog updates and fixes for v7.2 2026-06-16 08:04:24 +05:30
xen Devicetree updates for v7.2: 2026-06-17 11:54:57 -07:00
zorro zorro: sysfs: Replace sprintf() by sysfs_emit() 2026-04-27 13:52:12 +02:00
Kconfig net: remove ISDN subsystem and Bluetooth CMTP 2026-04-23 10:24:02 -07:00
Makefile net: remove ISDN subsystem and Bluetooth CMTP 2026-04-23 10:24:02 -07:00