CVE-2023-53670
kernel: nvme-core: fix dev_pm_qos memleak
Overview
Description
In the Linux kernel, the following vulnerability has been resolved:
nvme-core: fix dev_pm_qos memleak
Call dev_pm_qos_hide_latency_tolerance() in the error unwind patch to
avoid following kmemleak:-
blktests (master) # kmemleak-clear; ./check nvme/044;
blktests (master) # kmemleak-scan ; kmemleak-show
nvme/044 (Test bi-directional authentication) [passed]
runtime 2.111s ... 2.124s
unreferenced object 0xffff888110c46240 (size 96):
comm "nvme", pid 33461, jiffies 4345365353 (age 75.586s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<0000000069ac2cec>] kmalloc_trace+0x25/0x90
[<000000006acc66d5>] dev_pm_qos_update_user_latency_tolerance+0x6f/0x100
[<00000000cc376ea7>] nvme_init_ctrl+0x38e/0x410 [nvme_core]
[<000000007df61b4b>] 0xffffffffc05e88b3
[<00000000d152b985>] 0xffffffffc05744cb
[<00000000f04a4041>] vfs_write+0xc5/0x3c0
[<00000000f9491baf>] ksys_write+0x5f/0xe0
[<000000001c46513d>] do_syscall_64+0x3b/0x90
[<00000000ecf348fe>] entry_SYSCALL_64_after_hwframe+0x72/0xdc
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-401
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 42 fixes
Red Hat 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 9 | bpftool +106 | affected | — |
| 9 | kernel +60 | 0:5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| 9 | bpftool | 0:7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
SUSE Linux Enterprise 4 releases · 9 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | kernel-livepatch-5-14-21-150400-24-184-default | 1-150400.9.5.1 | SUSE-SU-2025:4111-1 |
| 15.4 | cluster-md-kmp-default +17 | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
| 15.4 | kernel-default-base | 5.14.21-150400.24.184.1.150400.24.94.2 | SUSE-SU-2025:4111-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-55-127-default | 1-150500.11.3.1 | SUSE-SU-2025:4320-1 |
| 15.5 | cluster-md-kmp-default +17 | 5.14.21-150500.55.127.1 | SUSE-SU-2025:4320-1 |
| 15.5 | kernel-default-base | 5.14.21-150500.55.127.1.150500.6.61.1 | SUSE-SU-2025:4320-1 |
10 more rows
SUSE Linux Enterprise Micro 5 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | kernel-rt +1 | 5.14.21-150400.15.136.1 | SUSE-SU-2025:4139-1 |
| 5.3 | kernel-default | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
| 5.3 | kernel-default-base | 5.14.21-150400.24.184.1.150400.24.94.2 | SUSE-SU-2025:4111-1 |
| 5.4 | kernel-rt +1 | 5.14.21-150400.15.136.1 | SUSE-SU-2025:4139-1 |
| 5.4 | kernel-default | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
| 5.4 | kernel-default-base | 5.14.21-150400.24.184.1.150400.24.94.2 | SUSE-SU-2025:4111-1 |
9 more rows
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-41-63-109 | 1.0-0.amzn2023 |
| 2023 | bpftool +17 | 6.1.41-63.109.amzn2023 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | linux | 6.1.52-1 |
| 13 | linux | 6.4.4-1 |
| 14 | linux | 6.4.4-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.4.4-1 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-linux | 6.1.52-1 |
| 13 | rootio-linux | 6.4.4-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-53670
- git.kernel.org https://git.kernel.org/stable/c/2ed9a89192e3192e5fea7ff6475c8722513f325e
- git.kernel.org https://git.kernel.org/stable/c/7237c26431cc78e5ec3259f4350f3dd58f6a4319
- git.kernel.org https://git.kernel.org/stable/c/7ed5cf8e6d9bfb6a78d0471317edff14f0f2b4dd
- git.kernel.org https://git.kernel.org/stable/c/e1379e067b9485e5af03399fe3f0d39bccb023ad
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025100705-CVE-2023-53670-46fe@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-53670
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-53670
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.