# CVE-2024-46749: Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart\_flush()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-09-18T07:12:09.594Z
- **Modified:** 2026-06-17T07:55:51.410Z

## Who should check

- Anyone running Linux \>= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, \< 013dae4735d2010544d1f2121bdeb8e6c9ea171e; \>= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, \< 056e0cd381d59a9124b7c43dd715e15f56a11635; \>= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, \< c68bbf5e334b35b36ac5b9f0419f1f93f796bad1
- Anyone running Linux 6.4

## Description

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

Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart\_flush()

This adds a check before freeing the rx-\>skb in flush and close
functions to handle the kernel crash seen while removing driver after FW
download fails or before FW download completes.

dmesg log:
\[   54.634586\] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000080
\[   54.643398\] Mem abort info:
\[   54.646204\]   ESR = 0x0000000096000004
\[   54.649964\]   EC = 0x25: DABT (current EL), IL = 32 bits
\[   54.655286\]   SET = 0, FnV = 0
\[   54.658348\]   EA = 0, S1PTW = 0
\[   54.661498\]   FSC = 0x04: level 0 translation fault
\[   54.666391\] Data abort info:
\[   54.669273\]   ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
\[   54.674768\]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
\[   54.674771\]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
\[   54.674775\] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000048860000
\[   54.674780\] \[0000000000000080\] pgd=0000000000000000, p4d=0000000000000000
\[   54.703880\] Internal error: Oops: 0000000096000004 \[\#1\] PREEMPT SMP
\[   54.710152\] Modules linked in: btnxpuart(-) overlay fsl\_jr\_uio caam\_jr caamkeyblob\_desc caamhash\_desc caamalg\_desc crypto\_engine authenc libdes crct10dif\_ce polyval\_ce polyval\_generic snd\_soc\_imx\_spdif snd\_soc\_imx\_card snd\_soc\_ak5558 snd\_soc\_ak4458 caam secvio error snd\_soc\_fsl\_micfil snd\_soc\_fsl\_spdif snd\_soc\_fsl\_sai snd\_soc\_fsl\_utils imx\_pcm\_dma gpio\_ir\_recv rc\_core sch\_fq\_codel fuse
\[   54.744357\] CPU: 3 PID: 72 Comm: kworker/u9:0 Not tainted 6.6.3-otbr-g128004619037 \#2
\[   54.744364\] Hardware name: FSL i.MX8MM EVK board (DT)
\[   54.744368\] Workqueue: hci0 hci\_power\_on
\[   54.757244\] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[   54.757249\] pc : kfree\_skb\_reason+0x18/0xb0
\[   54.772299\] lr : btnxpuart\_flush+0x40/0x58 \[btnxpuart\]
\[   54.782921\] sp : ffff8000805ebca0
\[   54.782923\] x29: ffff8000805ebca0 x28: ffffa5c6cf1869c0 x27: ffffa5c6cf186000
\[   54.782931\] x26: ffff377b84852400 x25: ffff377b848523c0 x24: ffff377b845e7230
\[   54.782938\] x23: ffffa5c6ce8dbe08 x22: ffffa5c6ceb65410 x21: 00000000ffffff92
\[   54.782945\] x20: ffffa5c6ce8dbe98 x19: ffffffffffffffac x18: ffffffffffffffff
\[   54.807651\] x17: 0000000000000000 x16: ffffa5c6ce2824ec x15: ffff8001005eb857
\[   54.821917\] x14: 0000000000000000 x13: ffffa5c6cf1a02e0 x12: 0000000000000642
\[   54.821924\] x11: 0000000000000040 x10: ffffa5c6cf19d690 x9 : ffffa5c6cf19d688
\[   54.821931\] x8 : ffff377b86000028 x7 : 0000000000000000 x6 : 0000000000000000
\[   54.821938\] x5 : ffff377b86000000 x4 : 0000000000000000 x3 : 0000000000000000
\[   54.843331\] x2 : 0000000000000000 x1 : 0000000000000002 x0 : ffffffffffffffac
\[   54.857599\] Call trace:
\[   54.857601\]  kfree\_skb\_reason+0x18/0xb0
\[   54.863878\]  btnxpuart\_flush+0x40/0x58 \[btnxpuart\]
\[   54.863888\]  hci\_dev\_open\_sync+0x3a8/0xa04
\[   54.872773\]  hci\_power\_on+0x54/0x2e4
\[   54.881832\]  process\_one\_work+0x138/0x260
\[   54.881842\]  worker\_thread+0x32c/0x438
\[   54.881847\]  kthread+0x118/0x11c
\[   54.881853\]  ret\_from\_fork+0x10/0x20
\[   54.896406\] Code: a9be7bfd 910003fd f9000bf3 aa0003f3 (b940d400)
\[   54.896410\] ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, \< 013dae4735d2010544d1f2121bdeb8e6c9ea171e; \>= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, \< 056e0cd381d59a9124b7c43dd715e15f56a11635; \>= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, \< c68bbf5e334b35b36ac5b9f0419f1f93f796bad1 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-46749. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46749.md
Affected: Linux >= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, < 013dae4735d2010544d1f2121bdeb8e6c9ea171e; >= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, < 056e0cd381d59a9124b7c43dd715e15f56a11635; >= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, < c68bbf5e334b35b36ac5b9f0419f1f93f796bad1; Linux 6.4
Fixed in: Linux 013dae4735d2010544d1f2121bdeb8e6c9ea171e, Linux 056e0cd381d59a9124b7c43dd715e15f56a11635

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-46749 being exploited?

There is no confirmed exploitation: CVE-2024-46749 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-46749?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-46749?

Linux \>= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, \< 013dae4735d2010544d1f2121bdeb8e6c9ea171e; \>= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, \< 056e0cd381d59a9124b7c43dd715e15f56a11635; \>= ab3a769b4dccec2cf60f0a0700b140991bf9afc8, \< c68bbf5e334b35b36ac5b9f0419f1f93f796bad1; Linux 6.4.

### Is there a fix for CVE-2024-46749?

Yes. Fixed in Linux 013dae4735d2010544d1f2121bdeb8e6c9ea171e, Linux 056e0cd381d59a9124b7c43dd715e15f56a11635. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-46749?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/013dae4735d2010544d1f2121bdeb8e6c9ea171e>
- patch: <https://git.kernel.org/stable/c/056e0cd381d59a9124b7c43dd715e15f56a11635>
- patch: <https://git.kernel.org/stable/c/c68bbf5e334b35b36ac5b9f0419f1f93f796bad1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-46749>

HTML: <https://flawdb.com/CVE-2024-46749> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-46749>
