> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Emil Tantilov
> Sent: Thursday, November 20, 2025 4:12 PM
> To: [email protected]
> Cc: [email protected]; Loktionov, Aleksandr
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Nguyen, Anthony L
> <[email protected]>; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]; [email protected]; Hay, Joshua
> A <[email protected]>; Chittim, Madhu <[email protected]>;
> Lobakin, Aleksander <[email protected]>; Zaremba, Larysa
> <[email protected]>; [email protected]
> Subject: [Intel-wired-lan] [PATCH iwl-net v2 4/5] idpf: fix memory leak in
> idpf_vc_core_deinit()
>
> Make sure to free hw->lan_regs. Reported by kmemleak during reset:
>
> unreferenced object 0xff1b913d02a936c0 (size 96):
> comm "kworker/u258:14", pid 2174, jiffies 4294958305
> hex dump (first 32 bytes):
> 00 00 00 c0 a8 ba 2d ff 00 00 00 00 00 00 00 00 ......-.........
> 00 00 40 08 00 00 00 00 00 00 25 b3 a8 ba 2d ff ..@.......%...-.
> backtrace (crc 36063c4f):
> __kmalloc_noprof+0x48f/0x890
> idpf_vc_core_init+0x6ce/0x9b0 [idpf]
> idpf_vc_event_task+0x1fb/0x350 [idpf]
> process_one_work+0x226/0x6d0
> worker_thread+0x19e/0x340
> kthread+0x10f/0x250
> ret_from_fork+0x251/0x2b0
> ret_from_fork_asm+0x1a/0x30
>
> Fixes: 6aa53e861c1a ("idpf: implement get LAN MMIO memory regions")
> Signed-off-by: Emil Tantilov <[email protected]>
> Reviewed-by: Aleksandr Loktionov <[email protected]>
> Reviewed-by: Joshua Hay <[email protected]>
> ---
> 2.37.3
Tested-by: Samuel Salin <[email protected]>