CVE-2026-63945

Bluetooth: ISO: serialize iso_sock_clear_timer with socket lock

State
Published
Severity
7.8 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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

Bluetooth: ISO: serialize iso_sock_clear_timer with socket lock

iso_sock_close() calls iso_sock_clear_timer() before acquiring lock_sock(sk).

iso_sock_clear_timer() reads iso_pi(sk)->conn twice without the socket lock held:

if (!iso_pi(sk)->conn) return; cancel_delayed_work(&iso_pi(sk)->conn->timeout_work);

Concurrently, iso_conn_del() executes under lock_sock(sk) and calls iso_chan_del(), which sets iso_pi(sk)->conn to NULL and may result in the final reference to the connection being dropped:

CPU0 CPU1 ---- ---- iso_sock_clear_timer() if (conn != NULL) ... lock_sock(sk) iso_chan_del() iso_pi(sk)->conn = NULL cancel_delayed_work(conn) /* NULL deref or UAF */

iso_pi(sk)->conn is not stable across the unlock window, causing a NULL pointer dereference or use-after-free.

Serialize iso_sock_clear_timer() with the socket lock by moving it inside lock_sock()/release_sock(), matching the pattern used in iso_conn_del() and all other call sites.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
LinuxLinux
  • ccf74f2390d60a2f9a75ef496d2564abb478f46a to before d9cbf7144ec589a3f0cc91f74a1a1af2d2b14afaAffected
  • ccf74f2390d60a2f9a75ef496d2564abb478f46a to before 35f68f36d9883d56dec21cf85f7556d4657fc393Affected
  • ccf74f2390d60a2f9a75ef496d2564abb478f46a to before 996c2104d0726a8fe584f85b3d6327197374a348Affected
  • ccf74f2390d60a2f9a75ef496d2564abb478f46a to before bc08c15746f25f41dd0508b25780d1e84acbb2efAffected
  • ccf74f2390d60a2f9a75ef496d2564abb478f46a to before 51cb9dcfdf9a1bccf312ab2ae4b62db629f7dcd5Affected
  • ccf74f2390d60a2f9a75ef496d2564abb478f46a to before 4b5f8e608749b7e8fa386c6e4301cf9272595859Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.