# CVE-2022-49474: Bluetooth: fix dangling sco\_conn and use-after-free in sco\_sock\_timeout

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-02-26T02:13:16.679Z
- **Modified:** 2026-08-05T08:55:20.366Z

## Who should check

- Anyone running Linux \>= 22c66af08230a7030bdb88accffaec3424695631, \< 9de3dc09e56f8deacd2bdbf4cecb71e11a312405; \>= 0115a66ebb44bd9127ccb58cf43ed23c795eb1f0, \< 7d61dbd7311ab978d8ddac1749a758de4de00374; \>= bc4b08383046f3282b6fa58cfcef05bd13e52b93, \< 390d82733a953c1fabf3de9c9618091a7a9c90a6; \>= 5ccb04c6e1fb7b97fa2e1785b67c3a1cb3527ef7, \< 6f55fac0af3531cf60d11369454c41f5fc81ab3f; \>= 059c2c09f4b7f97711d0d8eaa0b9877f5e7d0a75, \< 36c644c63bfcaee2d3a426f45e89a9cd09799318; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 65d347cb39e2e6bd0c2a745ad7c928998ebb0162; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 537f619dea4e3fa8ed1f8f938abffe3615794bcc; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 99df16007f4bbf9abfc3478cb17d10f0d7f8906e; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 7aa1e7d15f8a5b65f67bacb100d8fc033b21efa2; 98ae477ed1540d3acbbf44d88ee237ad64275158; …
- Anyone running Linux 5.15

## Description

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

Bluetooth: fix dangling sco\_conn and use-after-free in sco\_sock\_timeout

Connecting the same socket twice consecutively in sco\_sock\_connect()
could lead to a race condition where two sco\_conn objects are created
but only one is associated with the socket. If the socket is closed
before the SCO connection is established, the timer associated with the
dangling sco\_conn object won't be canceled. As the sock object is being
freed, the use-after-free problem happens when the timer callback
function sco\_sock\_timeout() accesses the socket. Here's the call trace:

dump\_stack+0x107/0x163
? refcount\_inc+0x1c/
print\_address\_description.constprop.0+0x1c/0x47e
? refcount\_inc+0x1c/0x7b
kasan\_report+0x13a/0x173
? refcount\_inc+0x1c/0x7b
check\_memory\_region+0x132/0x139
refcount\_inc+0x1c/0x7b
sco\_sock\_timeout+0xb2/0x1ba
process\_one\_work+0x739/0xbd1
? cancel\_delayed\_work+0x13f/0x13f
? \_\_raw\_spin\_lock\_init+0xf0/0xf0
? to\_kthread+0x59/0x85
worker\_thread+0x593/0x70e
kthread+0x346/0x35a
? drain\_workqueue+0x31a/0x31a
? kthread\_bind+0x4b/0x4b
ret\_from\_fork+0x1f/0x30

## Affected and fixed versions

- Linux: \>= 22c66af08230a7030bdb88accffaec3424695631, \< 9de3dc09e56f8deacd2bdbf4cecb71e11a312405; \>= 0115a66ebb44bd9127ccb58cf43ed23c795eb1f0, \< 7d61dbd7311ab978d8ddac1749a758de4de00374; \>= bc4b08383046f3282b6fa58cfcef05bd13e52b93, \< 390d82733a953c1fabf3de9c9618091a7a9c90a6; \>= 5ccb04c6e1fb7b97fa2e1785b67c3a1cb3527ef7, \< 6f55fac0af3531cf60d11369454c41f5fc81ab3f; \>= 059c2c09f4b7f97711d0d8eaa0b9877f5e7d0a75, \< 36c644c63bfcaee2d3a426f45e89a9cd09799318; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 65d347cb39e2e6bd0c2a745ad7c928998ebb0162; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 537f619dea4e3fa8ed1f8f938abffe3615794bcc; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 99df16007f4bbf9abfc3478cb17d10f0d7f8906e; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 7aa1e7d15f8a5b65f67bacb100d8fc033b21efa2; 98ae477ed1540d3acbbf44d88ee237ad64275158; … (cvelist)
- Linux: 5.15 (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-2022-49474. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49474.md
Affected: Linux >= 22c66af08230a7030bdb88accffaec3424695631, < 9de3dc09e56f8deacd2bdbf4cecb71e11a312405; >= 0115a66ebb44bd9127ccb58cf43ed23c795eb1f0, < 7d61dbd7311ab978d8ddac1749a758de4de00374; >= bc4b08383046f3282b6fa58cfcef05bd13e52b93, < 390d82733a953c1fabf3de9c9618091a7a9c90a6; >= 5ccb04c6e1fb7b97fa2e178…
Fixed in: Linux 9de3dc09e56f8deacd2bdbf4cecb71e11a312405, Linux 7d61dbd7311ab978d8ddac1749a758de4de00374, Linux 390d82733a953c1fabf3de9c9618091a7a9c90a6, Linux 6f55fac0af3531cf60d11369454c41f5fc81ab3f, Linux 36c644c63bfcaee2d3a426f45e89a9cd09799318, Linux 65d347cb39e2e6bd0c2a745ad7c928998ebb0162, Linux 537f6…

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-2022-49474 being exploited?

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

### How serious is CVE-2022-49474?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49474?

Linux \>= 22c66af08230a7030bdb88accffaec3424695631, \< 9de3dc09e56f8deacd2bdbf4cecb71e11a312405; \>= 0115a66ebb44bd9127ccb58cf43ed23c795eb1f0, \< 7d61dbd7311ab978d8ddac1749a758de4de00374; \>= bc4b08383046f3282b6fa58cfcef05bd13e52b93, \< 390d82733a953c1fabf3de9c9618091a7a9c90a6; \>= 5ccb04c6e1fb7b97fa2e1785b67c3a1cb3527ef7, \< 6f55fac0af3531cf60d11369454c41f5fc81ab3f; \>= 059c2c09f4b7f97711d0d8eaa0b9877f5e7d0a75, \< 36c644c63bfcaee2d3a426f45e89a9cd09799318; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 65d347cb39e2e6bd0c2a745ad7c928998ebb0162; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 537f619dea4e3fa8ed1f8f938abffe3615794bcc; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 99df16007f4bbf9abfc3478cb17d10f0d7f8906e; \>= e1dee2c1de2b4dd00eb44004a4bda6326ed07b59, \< 7aa1e7d15f8a5b65f67bacb100d8fc033b21efa2; 98ae477ed1540d3acbbf44d88ee237ad64275158; …; Linux 5.15.

### Is there a fix for CVE-2022-49474?

Yes. Fixed in Linux 9de3dc09e56f8deacd2bdbf4cecb71e11a312405, Linux 7d61dbd7311ab978d8ddac1749a758de4de00374, Linux 390d82733a953c1fabf3de9c9618091a7a9c90a6, Linux 6f55fac0af3531cf60d11369454c41f5fc81ab3f, Linux 36c644c63bfcaee2d3a426f45e89a9cd09799318, Linux 65d347cb39e2e6bd0c2a745ad7c928998ebb0162, Linux 537f619dea4e3fa8ed1f8f938abffe3615794bcc, Linux 99df16007f4bbf9abfc3478cb17d10f0d7f8906e, Linux 7aa1e7d15f8a5b65f67bacb100d8fc033b21efa2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-49474?

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/9de3dc09e56f8deacd2bdbf4cecb71e11a312405>
- patch: <https://git.kernel.org/stable/c/7d61dbd7311ab978d8ddac1749a758de4de00374>
- patch: <https://git.kernel.org/stable/c/390d82733a953c1fabf3de9c9618091a7a9c90a6>
- patch: <https://git.kernel.org/stable/c/6f55fac0af3531cf60d11369454c41f5fc81ab3f>
- patch: <https://git.kernel.org/stable/c/36c644c63bfcaee2d3a426f45e89a9cd09799318>
- patch: <https://git.kernel.org/stable/c/65d347cb39e2e6bd0c2a745ad7c928998ebb0162>
- patch: <https://git.kernel.org/stable/c/537f619dea4e3fa8ed1f8f938abffe3615794bcc>
- patch: <https://git.kernel.org/stable/c/99df16007f4bbf9abfc3478cb17d10f0d7f8906e>
- patch: <https://git.kernel.org/stable/c/7aa1e7d15f8a5b65f67bacb100d8fc033b21efa2>

## 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-2022-49474>

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