CVEvulnerability
CVE-2022-49711
7.8 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2025-02-26
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
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 configurations
• linux linux kernel (>= 4.8 < 5.10.248)
• linux linux kernel (>= 5.11 < 5.15.49)
• linux linux kernel (>= 5.16 < 5.18.6)
• linux linux kernel 5.19
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/161b68b0a728377aaa10a8e14c70e7734f3c9ff7 Patch
- https://git.kernel.org/stable/c/720ab105df7bf3eee62d2bddd41526b29d07d045 Patch
- https://git.kernel.org/stable/c/928ea98252ad75118950941683893cf904541da9 Patch
- https://git.kernel.org/stable/c/ccd1751092341ac120a961835211f9f2e3735963 Patch