Re: [PATCH net] llc: fix skb leak in llc_build_and_send_ui_pkt()

2019-05-28 Thread David Miller
From: Eric Dumazet Date: Mon, 27 May 2019 17:35:52 -0700 > If llc_mac_hdr_init() returns an error, we must drop the skb > since no llc_build_and_send_ui_pkt() caller will take care of this. ... > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") > Signed-off-by: Eric Dumazet > Reported-by: syzbot Appl

[PATCH net] llc: fix skb leak in llc_build_and_send_ui_pkt()

2019-05-27 Thread Eric Dumazet
If llc_mac_hdr_init() returns an error, we must drop the skb since no llc_build_and_send_ui_pkt() caller will take care of this. BUG: memory leak unreferenced object 0x8881202b6800 (size 2048): comm "syz-executor907", pid 7074, jiffies 4294943781 (age 8.590s) hex dump (first 32 bytes):