Commit 72b8654
wifi: ath11k: fix use after free in ath11k_dp_rx_msdu_coalesce()
In ath11k_dp_rx_msdu_coalesce() the loop uses ->is_continuation after
the dev_kfree_skb_any(). This can cause a use after free kfence.
Use flag for caching is_continuation for use after the
dev_kfree_skb_any().
Fixes: d5c6515 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Willmar Knikker <willmar@met-dubbel-l.nl>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Link: https://patch.msgid.link/20260505171709.547274-1-willmar@met-dubbel-l.nl
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>1 parent 2a2451a commit 72b8654
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1761 | 1761 | | |
1762 | 1762 | | |
1763 | 1763 | | |
| 1764 | + | |
1764 | 1765 | | |
1765 | 1766 | | |
1766 | 1767 | | |
| |||
1810 | 1811 | | |
1811 | 1812 | | |
1812 | 1813 | | |
1813 | | - | |
| 1814 | + | |
| 1815 | + | |
1814 | 1816 | | |
1815 | 1817 | | |
1816 | 1818 | | |
| |||
1828 | 1830 | | |
1829 | 1831 | | |
1830 | 1832 | | |
1831 | | - | |
| 1833 | + | |
1832 | 1834 | | |
1833 | 1835 | | |
1834 | 1836 | | |
| |||
0 commit comments