Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-54038

UNSCOREDEPSS 11%

Bluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link

Mitigation

  • Upgrade Linux to 6.4 or later.

Who should check

  • Anyone running Linux >= 06149746e7203d5ffe2d6faf9799ee36203aa8b8, < 357ab53c83a5322437fa434e9a9e3e0bafe6b383; >= 06149746e7203d5ffe2d6faf9799ee36203aa8b8, < b4066eb04bb67e7ff66e5aaab0db4a753f37eaad; f72fc94a17d45be98aecfd59c39b5b24a6a342e2; >= 6.3.8, < 6.4
  • Anyone running Linux 6.4

Vulnerability facts

Affected
Linux >= 06149746e7203d5ffe2d6faf9799ee36203aa8b8, < 357ab53c83a5322437fa434e9a9e3e0bafe6b383; >= 06149746e7203d5ffe2d6faf9799ee36203aa8b8, < b4066eb04bb67e7ff66e5aaab0db4a753f37eaad; f72fc94a17d45be98aecfd59c39b5b24a6a342e2; >= 6.3.8, < 6.4; Linux 6.4
Fixed in
Linux 357ab53c83a5322437fa434e9a9e3e0bafe6b383, Linux 6.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link hci_connect_sco currently returns NULL when there is no link (i.e. when hci_conn_link() returns NULL). sco_connect() expects an ERR_PTR in case of any error (see line 266 in sco.c). Thus, hcon set as NULL passes through to sco_conn_add(), which tries to get hcon->hdev, resulting in dereferencing a NULL pointer as reported by syzkaller. The same issue exists for iso_connect_cis() calling hci_connect_cis(). Thus, make hci_connect_sco() and hci_connect_cis() return ERR_PTR instead of NULL.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 06149746e7203d5ffe2d6faf9799ee36203aa8b8, < 357ab53c83a5322437fa434e9a9e3e0bafe6b383; >= 06149746e7203d5ffe2d6faf9799ee36203aa8b8, < b4066eb04bb67e7ff66e5aaab0db4a753f37eaad; f72fc94a17d45be98aecfd59c39b5b24a6a342e2; >= 6.3.8, < 6.4—cvelist
Linux6.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-54038. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54038.md
Affected: Linux >= 06149746e7203d5ffe2d6faf9799ee36203aa8b8, < 357ab53c83a5322437fa434e9a9e3e0bafe6b383; >= 06149746e7203d5ffe2d6faf9799ee36203aa8b8, < b4066eb04bb67e7ff66e5aaab0db4a753f37eaad; f72fc94a17d45be98aecfd59c39b5b24a6a342e2; >= 6.3.8, < 6.4; Linux 6.4
Fixed in: Linux 357ab53c83a5322437fa434e9a9e3e0bafe6b383, Linux 6.4

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.

References

FAQ

Is CVE-2023-54038 being exploited?

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

How serious is CVE-2023-54038?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2023-54038?

Linux >= 06149746e7203d5ffe2d6faf9799ee36203aa8b8, < 357ab53c83a5322437fa434e9a9e3e0bafe6b383; >= 06149746e7203d5ffe2d6faf9799ee36203aa8b8, < b4066eb04bb67e7ff66e5aaab0db4a753f37eaad; f72fc94a17d45be98aecfd59c39b5b24a6a342e2; >= 6.3.8, < 6.4; Linux 6.4.

Is there a fix for CVE-2023-54038?

Yes. Fixed in Linux 357ab53c83a5322437fa434e9a9e3e0bafe6b383, Linux 6.4. Upgrade Linux to 6.4 or later.

How do I check if I'm affected by CVE-2023-54038?

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.

Sponsors