# CVE-2024-56535: wifi: rtw89: coex: check NULL return of kmalloc in btc_fw_set_monreg()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.26%, higher than 18% of CVEs (2026-12-02)
- Published: 2024-12-27T14:11:18.174Z
- Modified: 2026-06-17T08:12:19.903Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

wifi: rtw89: coex: check NULL return of kmalloc in btc_fw_set_monreg()

kmalloc may fail, return value might be NULL and will cause
NULL pointer dereference. Add check NULL return of kmalloc in
btc_fw_set_monreg().

(As written by CVE List.)

## Affected

- Linux Linux: from b952cb0a6e2d2e6942de3f8c6a1bd985815b9550 before 051577414271961f3f4c3bff87b427924b486219; from b952cb0a6e2d2e6942de3f8c6a1bd985815b9550 before 64db1a42d98307001a48cec1b3e68ce9f905e73d; from b952cb0a6e2d2e6942de3f8c6a1bd985815b9550 before 81df5ed446b448bdc327b7c7f0b50121fc1f4aa2; 6.10 (not affected: before 6.10; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.10 before 6.11.11; from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/051577414271961f3f4c3bff87b427924b486219> (patch)
- <https://git.kernel.org/stable/c/64db1a42d98307001a48cec1b3e68ce9f905e73d> (patch)
- <https://git.kernel.org/stable/c/81df5ed446b448bdc327b7c7f0b50121fc1f4aa2> (patch)

## Sources

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

---

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