CVE-2021-46969

In the Linux kernel, the following vulnerability has been resolved: bus: mhi: core: Fix invalid error returning in mhi_queue mhi_queue returns an error when the doorbell is not accessible in the current state. This can happen when the device is in non M0 state, like M3, and needs to be waken-up prior ringing the DB. This case is managed earlier by triggering an asynchronous M3 exit via controller resume/suspend callbacks, that in turn will cause M0 transition and DB update. So, since it's not an error but just delaying of doorbell update, there is no reason to return an error. This also fixes a use after free error for skb case, indeed a caller queuing skb will try to free the skb if the queueing fails, but in that case queueing has been done.
Configurations

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

08 Jan 2025, 17:19

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE CWE-416
References () https://git.kernel.org/stable/c/0ecc1c70dcd32c0f081b173a1a5d89952686f271 - () https://git.kernel.org/stable/c/0ecc1c70dcd32c0f081b173a1a5d89952686f271 - Patch
References () https://git.kernel.org/stable/c/a99b661c3187365f81026d89b1133a76cd2652b3 - () https://git.kernel.org/stable/c/a99b661c3187365f81026d89b1133a76cd2652b3 - Patch

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/0ecc1c70dcd32c0f081b173a1a5d89952686f271 - () https://git.kernel.org/stable/c/0ecc1c70dcd32c0f081b173a1a5d89952686f271 -
References () https://git.kernel.org/stable/c/a99b661c3187365f81026d89b1133a76cd2652b3 - () https://git.kernel.org/stable/c/a99b661c3187365f81026d89b1133a76cd2652b3 -

27 Feb 2024, 19:04

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-27 19:04

Updated : 2025-01-08 17:19


NVD link : CVE-2021-46969

Mitre link : CVE-2021-46969

CVE.ORG link : CVE-2021-46969


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free