# CVE-2024-44997: net: ethernet: mtk_wed: fix use-after-free panic in mtk_wed_setup_tc_block_cb()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-09-04T19:54:42.181Z
- Modified: 2026-08-05T11:37:35.201Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: mtk_wed: fix use-after-free panic in mtk_wed_setup_tc_block_cb()

When there are multiple ap interfaces on one band and with WED on,
turning the interface down will cause a kernel panic on MT798X.

Previously, cb_priv was freed in mtk_wed_setup_tc_block() without
marking NULL,and mtk_wed_setup_tc_block_cb() didn't check the value, too.

Assign NULL after free cb_priv in mtk_wed_setup_tc_block() and check NULL
in mtk_wed_setup_tc_block_cb().

----------
Unable to handle kernel paging request at virtual address 0072460bca32b4f5
Call trace:
 mtk_wed_setup_tc_block_cb+0x4/0x38
 0xffffffc0794084bc
 tcf_block_playback_offloads+0x70/0x1e8
 tcf_block_unbind+0x6c/0xc8
...
---------

(As written by CVE List.)

## Affected

- Linux Linux: from 799684448e3e1f57257a6155541e53510488f67b before 326a89321f9d5fe399fe6f9ff7c0fc766582a6a0; from 799684448e3e1f57257a6155541e53510488f67b before b453a4bbda03aa8741279c360ac82d1c3ac33548; from 799684448e3e1f57257a6155541e53510488f67b before db1b4bedb9b97c6d34b03d03815147c04fffe8b4; 6.2 (not affected: before 6.2; from 6.6.48 up to 6.6.*; from 6.10.7 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 6.2 before 6.6.48; from 6.7 before 6.10.7; 6.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/326a89321f9d5fe399fe6f9ff7c0fc766582a6a0> (patch)
- <https://git.kernel.org/stable/c/b453a4bbda03aa8741279c360ac82d1c3ac33548> (patch)
- <https://git.kernel.org/stable/c/db1b4bedb9b97c6d34b03d03815147c04fffe8b4> (patch)

## Sources

- CVE List: [CVE-2024-44997](https://www.cve.org/CVERecord?id=CVE-2024-44997), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-44997](https://nvd.nist.gov/vuln/detail/CVE-2024-44997), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-44997 · Whole record: https://cve.day/CVE-2024-44997.json · Rebuilt by cve.day 2026-11-25T22:58:45.094Z
