5c10f98...
by
Pavel Skripkin <email address hidden>
on 2022-06-13
ath9k: fix use-after-free in ath9k_hif_usb_rx_cb
Syzbot reported use-after-free Read in ath9k_hif_ usb_rx_ cb() [0]. The
problem was in incorrect htc_handle- >drv_priv initialization.
Probable call trace which can trigger use-after-free:
ath9k_htc_ probe_device( )
/* htc_handle- >drv_priv = priv; */
ath9k_ htc_wait_ for_target( ) <--- Failed
ieee80211_ free_hw( ) <--- priv pointer is freed
<IRQ>
...
ath9k_hif_ usb_rx_ cb()
ath9k_ hif_usb_ rx_stream( )
RX_STAT_INC() <--- htc_handle- >drv_priv access
In order to not add fancy protection for drv_priv we can move
htc_handle- >drv_priv initialization at the end of the
ath9k_htc_ probe_device( ) and add helper macro to make
all *_STAT_* macros NULL safe, since syzbot has reported related NULL
deref in that macros [1]
Link: https:/ /syzkaller. appspot. com/bug? id=6ead44e37afb 6866ac0c7dd121b 4ce07cb665f60 [0]
Link: https:/ /syzkaller. appspot. com/bug? id=b8101ffcec10 7c0567a0cd8acbb acec91e9ee8de [1]
Fixes: fb9987d0f748 ("ath9k_htc: Support for AR9271 chipset.")
Reported- and-tested- by: <email address hidden>
Reported- and-tested- by: <email address hidden>
Signed-off-by: Pavel Skripkin <email address hidden>
Acked-by: Toke Høiland-Jørgensen <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Link: https:/ /lore.kernel. org/r/d57bbedc8 57950659bfacac0 ab48790c1eda00c 8 <email address hidden>
(cherry picked from commit 0ac4827f78c7ffe 8eef074bc010e7e 34bc22f533 linux-next)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>
4dc709b...
by
Andrea Righi
on 2022-06-27
UBUNTU: Ubuntu- unstable- 5.19.0- 6.6
Signed-off-by: Andrea Righi <email address hidden>
24df60f...
by
Andrea Righi
on 2022-06-27
UBUNTU: debian/ dkms-versions -- update from kernel-versions (main/master)
BugLink: https:/ /bugs.launchpad .net/bugs/ 1786013
Signed-off-by: Andrea Righi <email address hidden>
0d067b7...
by
Andrea Righi
on 2022-06-27
UBUNTU: link-to-tracker: update tracking bug
BugLink: https:/ /bugs.launchpad .net/bugs/ 1979948
Properties: no-test-build
Signed-off-by: Andrea Righi <email address hidden>
4b41d83...
by
Andrea Righi
on 2022-06-27
UBUNTU: [Config] update config after rebase to 5.19-rc4
Signed-off-by: Andrea Righi <email address hidden>
1a5faf7...
by
Andrea Righi
on 2022-06-27
UBUNTU: Rebase to v5.19-rc4
Ignore: yes
Signed-off-by: Andrea Righi <email address hidden>
c8c065d...
by
Andrea Righi
on 2022-06-27
UBUNTU: Start new release
Ignore: yes
Signed-off-by: Andrea Righi <email address hidden>
a300ea5...
by
Juerg Haefliger
on 2022-06-24
UBUNTU: [Packaging] final-checks: Remove useless sourcing of kernelconfig
kernelconfig only defines 'archs' but 'archs' is overwritten after the
fact so remove the uselsess sourcing. While at it, remove a stray leading
space in the following line.
Signed-off-by: Juerg Haefliger <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>
61f1414...
by
Juerg Haefliger
on 2022-06-24
UBUNTU: [Packaging] Remove 'family=ubuntu' concept
With the removal of family=ports, all that's left is family=ubuntu, so hard-
code that and drop the 'family' script and Makefile variables.
No functional changes.
Signed-off-by: Juerg Haefliger <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>
47f0fcc...
by
Andrea Righi
on 2022-06-23
UBUNTU: Ubuntu- unstable- 5.19.0- 5.5
Signed-off-by: Andrea Righi <email address hidden>