Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 94%

A use-after-free vulnerability exists in the Linux kernel's caif_serial driver due to a race condition between the ldisc_close() function and packet… (CVE-2026-45866)

0
High
Published: 05/27/2026 (05/27/2026, 15:33:13 UTC)
Source: GCVE Database

Description

A use-after-free vulnerability exists in the Linux kernel's caif_serial driver due to a race condition between the ldisc_close() function and packet transmission. The bug occurs because the tty reference is released prematurely in ldisc_close() while the network device is still active, allowing handle_tx() to access a freed tty pointer. The issue is fixed by deferring the tty reference release to ser_release() after the network device is unregistered, preventing the use-after-free condition.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/26/2026, 22:52:06 UTC

Technical Analysis

The Linux kernel's caif_serial driver contained a use-after-free vulnerability (CVE-2026-45866) caused by a race condition between ldisc_close() and packet transmission. Specifically, tty_kref_put() was called in ldisc_close() while the network device was still active, potentially freeing the tty structure prematurely. Concurrently, handle_tx() could access the freed tty pointer, leading to a use-after-free bug. The fix involves moving the tty reference release from ldisc_close() to ser_release(), which occurs after unregister_netdevice(), ensuring the tty reference remains valid while the network device exists. This resolves the race condition and prevents the use-after-free. The vulnerability was identified and confirmed by KASAN reports and detailed kernel debugging.

Potential Impact

This vulnerability allows a use-after-free condition in the Linux kernel's caif_serial driver, which can lead to kernel memory corruption. The CVSS vector indicates high impact on confidentiality, integrity, and availability (C:H/I:H/A:H), meaning exploitation could result in full system compromise or denial of service. However, no known exploits in the wild have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves deferring the tty reference release to ser_release() after unregister_netdevice(). Until an official patch is applied, avoid using the affected caif_serial driver or apply any vendor-provided updates that address this issue. Monitor vendor advisories for the release of an official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-9834-966g-q77h
Osv Schema Version
1.4.0
Aliases
["CVE-2026-45866"]
Ecosystems
[]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a3ef7f227e9c79719036e47

Added to database: 06/26/2026, 22:06:42 UTC

Last enriched: 06/26/2026, 22:52:06 UTC

Last updated: 07/31/2026, 19:24:47 UTC

Views: 38

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses