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

CVE-2022-49223

HIGH 7.8EPSS 15%

cxl/port: Hold port reference until decoder release

Mitigation

  • Upgrade Linux to 74be98774dfbc5b8b795db726bd772e735d2edd4 or later.

Who should check

  • Anyone running Linux >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 518bb96367123062b48b0a9842f2864249b565f6; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < b0022ca445d5fc4d0c89d15dcd0f855977b22c1d; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 49f2dab77a5e1354f5da6ccdc9346a8212697be2; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 74be98774dfbc5b8b795db726bd772e735d2edd4
  • Anyone running Linux 5.14

Vulnerability facts

Affected
Linux >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 518bb96367123062b48b0a9842f2864249b565f6; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < b0022ca445d5fc4d0c89d15dcd0f855977b22c1d; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 49f2dab77a5e1354f5da6ccdc9346a8212697be2; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 74be98774dfbc5b8b795db726bd772e735d2edd4; Linux 5.14
Fixed in
Linux 518bb96367123062b48b0a9842f2864249b565f6, Linux 49f2dab77a5e1354f5da6ccdc9346a8212697be2, Linux 74be98774dfbc5b8b795db726bd772e735d2edd4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-416
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: cxl/port: Hold port reference until decoder release KASAN + DEBUG_KOBJECT_RELEASE reports a potential use-after-free in cxl_decoder_release() where it goes to reference its parent, a cxl_port, to free its id back to port->decoder_ida. BUG: KASAN: use-after-free in to_cxl_port+0x18/0x90 [cxl_core] Read of size 8 at addr ffff888119270908 by task kworker/35:2/379 CPU: 35 PID: 379 Comm: kworker/35:2 Tainted: G OE 5.17.0-rc2+ #198 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015 Workqueue: events kobject_delayed_cleanup Call Trace: <TASK> dump_stack_lvl+0x59/0x73 print_address_description.constprop.0+0x1f/0x150 ? to_cxl_port+0x18/0x90 [cxl_core] kasan_report.cold+0x83/0xdf ? to_cxl_port+0x18/0x90 [cxl_core] to_cxl_port+0x18/0x90 [cxl_core] cxl_decoder_release+0x2a/0x60 [cxl_core] device_release+0x5f/0x100 kobject_cleanup+0x80/0x1c0 The device core only guarantees parent lifetime until all children are unregistered. If a child needs a parent to complete its ->release() callback that child needs to hold a reference to extend the lifetime of the parent.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 40ba17afdfabb01688c61565dbe02a916241bc05, < 518bb96367123062b48b0a9842f2864249b565f6; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < b0022ca445d5fc4d0c89d15dcd0f855977b22c1d; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 49f2dab77a5e1354f5da6ccdc9346a8212697be2; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 74be98774dfbc5b8b795db726bd772e735d2edd4—cvelist
Linux5.14—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-2022-49223. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49223.md
Affected: Linux >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 518bb96367123062b48b0a9842f2864249b565f6; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < b0022ca445d5fc4d0c89d15dcd0f855977b22c1d; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 49f2dab77a5e1354f5da6ccdc9346a8212697be2; >= 40ba17afdfabb01688c6156…
Fixed in: Linux 518bb96367123062b48b0a9842f2864249b565f6, Linux 49f2dab77a5e1354f5da6ccdc9346a8212697be2, Linux 74be98774dfbc5b8b795db726bd772e735d2edd4

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

There is no confirmed exploitation: CVE-2022-49223 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-2022-49223?

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

Which versions are affected by CVE-2022-49223?

Linux >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 518bb96367123062b48b0a9842f2864249b565f6; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < b0022ca445d5fc4d0c89d15dcd0f855977b22c1d; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 49f2dab77a5e1354f5da6ccdc9346a8212697be2; >= 40ba17afdfabb01688c61565dbe02a916241bc05, < 74be98774dfbc5b8b795db726bd772e735d2edd4; Linux 5.14.

Is there a fix for CVE-2022-49223?

Yes. Fixed in Linux 518bb96367123062b48b0a9842f2864249b565f6, Linux 49f2dab77a5e1354f5da6ccdc9346a8212697be2, Linux 74be98774dfbc5b8b795db726bd772e735d2edd4. Upgrade Linux to 74be98774dfbc5b8b795db726bd772e735d2edd4 or later.

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

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