CVE-2026-72070 wifi: libertas_tf: fix use-after-free in lbtf_free_adapter()
설명
In the Linux kernel, the following vulnerability has been resolved: wifi: libertas_tf: fix use-after-free in lbtf_free_adapter() lbtf_free_adapter() calls timer_delete(&priv->command_timer), which does not wait for a running command_timer_fn() callback. lbtf_free_adapter() runs on the teardown path right before ieee80211_free_hw() frees priv, both in lbtf_remove_card() and in the probe error path. command_timer is armed by mod_timer() in lbtf_cmd() whenever a firmware command is sent. command_timer_fn() dereferences priv. If a command times out as the device is removed, command_timer_fn() runs concurrently with teardown and dereferences priv after it has been freed. This is the same use-after-free that commit 03cc8f90d053 ("wifi: libertas: fix use-after-free in lbs_free_adapter()") fixed in the sibling libertas driver. The libertas_tf variant has the identical pattern and was left unchanged. Use timer_delete_sync() so any in-flight callback completes before priv is freed.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 2.6.28
해결 버전
- 2.6.28 미만
- 5.10.266 이상
- 5.15.217 이상
- 6.1.184 이상
- 6.6.148 이상
- 6.12.101 이상
- 6.18.40 이상
- 7.1.5 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/066b59e84f90d270cc15f0370166155aca507630 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/2fba1d3b2f031a2c68e566a6d45cc5b7a8d6683d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4714e95f5d61cb9c5c7c6c4e68b618f37bc6ffcf (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9392fd5de555272449d3d8c63410ea00f8ec853a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/aa6dcd5c8dd9ba1d7d0f60093bcda41c0d6d438d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bcf7968cb97ce4312588042cf2712f04caff6d8f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bd75636681588c67006279abdb9a76a708b3ce29 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/fcff712d0e3d183843ec3916470ee6cc3455baad (새 창)