CVE-2023-52730: mmc: sdio: fix possible resource leaks in some error paths
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.25% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 1e06cf04239e202248c8fa356bf11449dc73cfbd, 30716d9f0fa1766e522cf24c8a456244e4fc9931, 5c7858adada31dbed042448cff6997dd6efc472a.
Low priority for now. Upgrade to Linux Linux 1e06cf04239e202248c8fa356bf11449dc73cfbd, 30716d9f0fa1766e522cf24c8a456244e4fc9931, 5c7858adada31dbed042448cff6997dd6efc472a or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: mmc: sdio: fix possible resource leaks in some error paths If sdio_add_func() or sdio_init_func() fails, sdio_remove_func() can not release the resources, because the sdio function is not presented in these two cases, it won't call of_node_put() or put_device(). To fix these leaks, make sdio_func_present() only control whether device_del() needs to be called or not, then always call of_node_put() and put_device(). In error case in sdio_init_func(), the reference of 'card->dev' is not get, to avoid redundant put in sdio_free_func_cis(), move the get_device() to sdio_alloc_func() and put_device() to sdio_release_func(), it can keep the get/put function be balanced. Without this patch, while doing fault inject test, it can get the following leak reports, after this fix, the leak is gone. unreferenced object 0xffff888112514000 (size 2048): comm "kworker/3:2", pid 65, jiffies 4294741614 (age 124.774s) hex dump (first 32 bytes): 00 e0 6f 12 81 88 ff ff 60 58 8d 06 81 88 ff ff ..o.....`X...... 10 40 51 12 81 88 ff ff 10 40 51 12 81 88 ff ff .@Q......@Q..... backtrace: [<000000009e5931da>] kmalloc_trace+0x21/0x110 [<000000002f839ccb>] mmc_alloc_card+0x38/0xb0 [mmc_core] [<0000000004adcbf6>] mmc_sdio_init_card+0xde/0x170 [mmc_core] [<000000007538fea0>] mmc_attach_sdio+0xcb/0x1b0 [mmc_core] [<00000000d4fdeba7>] mmc_rescan+0x54a/0x640 [mmc_core] unreferenced object 0xffff888112511000 (size 2048): comm "kworker/3:2", pid 65, jiffies 4294741623 (age 124.766s) hex dump (first 32 bytes): 00 40 51 12 81 88 ff ff e0 58 8d 06 81 88 ff ff .@Q......X...... 10 10 51 12 81 88 ff ff 10 10 51 12 81 88 ff ff ..Q.......Q..... backtrace: [<000000009e5931da>] kmalloc_trace+0x21/0x110 [<00000000fcbe706c>] sdio_alloc_func+0x35/0x100 [mmc_core] [<00000000c68f4b50>] mmc_attach_sdio.cold.18+0xb1/0x395 [mmc_core] [<00000000d4fdeba7>] mmc_rescan+0x54a/0x640 [mmc_core]
- Published
- May 21, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 16th percentile
- CWE
- CWE-401
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.33affected
- 3d10a1ba0d37c8f5fd5afcdda00613fbb8a90bf5 and later · before 92ff03c2563c9b57a027c744750f3b7d2f261c58affected · git
- 3d10a1ba0d37c8f5fd5afcdda00613fbb8a90bf5 and later · before 5c7858adada31dbed042448cff6997dd6efc472aaffected · git
- 3d10a1ba0d37c8f5fd5afcdda00613fbb8a90bf5 and later · before 761db46b29b496946046d8cb33c7ea6de6bef36eaffected · git
- 3d10a1ba0d37c8f5fd5afcdda00613fbb8a90bf5 and later · before 30716d9f0fa1766e522cf24c8a456244e4fc9931affected · git
- 3d10a1ba0d37c8f5fd5afcdda00613fbb8a90bf5 and later · before 1e06cf04239e202248c8fa356bf11449dc73cfbdaffected · git
- 3d10a1ba0d37c8f5fd5afcdda00613fbb8a90bf5 and later · before f855d31bb38d663c3ba672345d7cce9324ba3b72affected · git
- 3d10a1ba0d37c8f5fd5afcdda00613fbb8a90bf5 and later · before 605d9fb9556f8f5fb4566f4df1480f280f308dedaffected · git
- before 2.6.33not affected · semver
- 4.14.306 and later · up to and including 4.14.*not affected · semver
Affected versions · NVD (7)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel2.6.33 and later · before 4.14.306
- linux linux kernel4.15 and later · before 4.19.273
- linux linux kernel4.20 and later · before 5.4.232
- linux linux kernel5.5 and later · before 5.10.169
- linux linux kernel5.11 and later · before 5.15.95
- linux linux kernel5.16 and later · before 6.1.13
- linux linux kernel6.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.15-1 | 6.1.15-1 |
| Red Hat:rhel_eus:9.4::appstream | bpftool-debuginfo | before 0:7.3.0-427.85.1.el9_4 | 0:7.3.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debug-debuginfo | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debug-devel | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debug-devel-matched | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debuginfo | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-devel | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-devel-matched | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debug-debuginfo | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debug-devel | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debug-devel-matched | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-aarch64 | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-ppc64le | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-s390x | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-x86_64 | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-devel | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-devel-matched | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-doc | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-rt-debug-debuginfo | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-rt-debuginfo | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-tools-debuginfo | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-zfcpdump-debuginfo | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-zfcpdump-devel | before 0:5.14.0-427.85.1.el9_4 | 0:5.14.0-427.85.1.el9_4 |
+55
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2023-52707May 21, 2024 · sched/psi: Fix use-after-free in ep_remove_wait_queue()31Monitor
- ← EarlierCVE-2023-52708May 21, 2024 · mmc: mmc_spi: fix error handling in mmc_spi_probe()22Monitor
- Later →CVE-2023-52731May 21, 2024 · fbdev: Fix invalid page access after closing deferred I/O devices31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 1e06cf04239e202248c8fa356bf11449dc73cfbd | Vendor (CNA) |
| Linux Linux | 30716d9f0fa1766e522cf24c8a456244e4fc9931 | Vendor (CNA) |
| Linux Linux | 5c7858adada31dbed042448cff6997dd6efc472a | Vendor (CNA) |
| Linux Linux | 605d9fb9556f8f5fb4566f4df1480f280f308ded | Vendor (CNA) |
| Linux Linux | 761db46b29b496946046d8cb33c7ea6de6bef36e | Vendor (CNA) |
| Linux Linux | 92ff03c2563c9b57a027c744750f3b7d2f261c58 | Vendor (CNA) |
| Linux Linux | f855d31bb38d663c3ba672345d7cce9324ba3b72 | Vendor (CNA) |
| almalinux:kernel-rt | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-core | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-core | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-devel | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-kvm | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-modules | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-modules-extra | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-devel | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-kvm | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-modules | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-modules-extra | 4.18.0-553.16.1.rt7.357.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| debian:linux | 6.1.15-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:7.3.0-427.85.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-427.85.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-427.85.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-427.85.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-427.85.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-427.85.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-427.85.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-427.85.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-427.85.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-427.85.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
+2
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-401 · Missing Release of Memory after Effective LifetimeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- git.kernel.org/stable/c/30716d9f0fa1766e522cf24c8a456244e4fc9931
- git.kernel.org/stable/c/5c7858adada31dbed042448cff6997dd6efc472a
- git.kernel.org/stable/c/605d9fb9556f8f5fb4566f4df1480f280f308ded
- git.kernel.org/stable/c/761db46b29b496946046d8cb33c7ea6de6bef36e
- git.kernel.org/stable/c/92ff03c2563c9b57a027c744750f3b7d2f261c58
- git.kernel.org/stable/c/f855d31bb38d663c3ba672345d7cce9324ba3b72
Vendor advisories and official records. Exploit/PoC links are deliberately left out.