CVE-2022-49711

bus: fsl-mc-bus: fix KASAN use-after-free in fsl_mc_bus_remove()

HIGH
7.8
CVSS Score
Published: February 26, 2025 at 02:24 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: bus: fsl-mc-bus: fix KASAN use-after-free in fsl_mc_bus_remove() In fsl_mc_bus_remove(), mc->root_mc_bus_dev->mc_io is passed to fsl_destroy_mc_io(). However, mc->root_mc_bus_dev is already freed in fsl_mc_device_remove(). Then reference to mc->root_mc_bus_dev->mc_io triggers KASAN use-after-free. To avoid the use-after-free, keep the reference to mc->root_mc_bus_dev->mc_io in a local variable and pass to fsl_destroy_mc_io(). This patch needs rework to apply to kernels older than v5.15.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.8 ≤ v < 5.10.2484.8 ≤ v < 5.18.64.8 ≤ v < 5.195.11 ≤ v < 5.15.495.16 ≤ v < 5.18.65.19 rc15.19 rc2f93627146f0e371093966ed3d44c065aa077cfb1
Vendor states this is fixed in 161b68b0a728377aaa10a8e14c70e7734f3c9ff7 (fixed)
Vendor states this is fixed in 720ab105df7bf3eee62d2bddd41526b29d07d045 (fixed)
Vendor states this is fixed in 928ea98252ad75118950941683893cf904541da9 (fixed)
Vendor states this is fixed in ccd1751092341ac120a961835211f9f2e3735963 (fixed)
Vendor states this is fixed in 4.8 (unaffected)
Vendor states this is fixed in 5.10.248 (unaffected)
Vendor states this is fixed in 5.15.49 (unaffected)
Vendor states this is fixed in 5.18.6 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card