> -----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 3/5] idpf: fix memory leak in
> idpf_vport_rel()
> 
> Free vport->rx_ptype_lkup in idpf_vport_rel() to avoid leaking memory during
> a reset. Reported by kmemleak:
> 
> unreferenced object 0xff450acac838a000 (size 4096):
>   comm "kworker/u258:5", pid 7732, jiffies 4296830044
>   hex dump (first 32 bytes):
>     00 00 00 00 00 10 00 00 00 10 00 00 00 00 00 00  ................
>     00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00  ................
>   backtrace (crc 3da81902):
>     __kmalloc_cache_noprof+0x469/0x7a0
>     idpf_send_get_rx_ptype_msg+0x90/0x570 [idpf]
>     idpf_init_task+0x1ec/0x8d0 [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: 0fe45467a104 ("idpf: add create vport and netdev configuration")
> Signed-off-by: Emil Tantilov <[email protected]>
> Reviewed-by: Aleksandr Loktionov <[email protected]>
> Reviewed-by: Madhu Chittim <[email protected]>
> ---
> 2.37.3
Tested-by: Samuel Salin <[email protected]>

Reply via email to