# CVE-2024-56534: isofs: avoid memory leak in iocharset

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 15, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-12-27T14:11:17.091Z
- **Modified:** 2026-06-17T08:12:19.740Z

## Who should check

- Anyone running Linux \>= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, \< 34f090ddb3630a26e5a6b220bf3bfaf5c7b70393; \>= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, \< 0fbab266ca8000333c966f5b58cb9b9cac658573; \>= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, \< 0b5bbeee4de616a268db77e2f40f19ab010a367b
- Anyone running Linux 6.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

isofs: avoid memory leak in iocharset

A memleak was found as below:

unreferenced object 0xffff0000d10164d8 (size 8):
  comm "pool-udisksd", pid 108217, jiffies 4295408555
  hex dump (first 8 bytes):
    75 74 66 38 00 cc cc cc                          utf8....
  backtrace (crc de430d31):
    \[\<ffff800081046e6c\>\] kmemleak\_alloc+0xb8/0xc8
    \[\<ffff8000803e6c3c\>\] \_\_kmalloc\_node\_track\_caller\_noprof+0x380/0x474
    \[\<ffff800080363b74\>\] kstrdup+0x70/0xfc
    \[\<ffff80007bb3c6a4\>\] isofs\_parse\_param+0x228/0x2c0 \[isofs\]
    \[\<ffff8000804d7f68\>\] vfs\_parse\_fs\_param+0xf4/0x164
    \[\<ffff8000804d8064\>\] vfs\_parse\_fs\_string+0x8c/0xd4
    \[\<ffff8000804d815c\>\] vfs\_parse\_monolithic\_sep+0xb0/0xfc
    \[\<ffff8000804d81d8\>\] generic\_parse\_monolithic+0x30/0x3c
    \[\<ffff8000804d8bfc\>\] parse\_monolithic\_mount\_data+0x40/0x4c
    \[\<ffff8000804b6a64\>\] path\_mount+0x6c4/0x9ec
    \[\<ffff8000804b6e38\>\] do\_mount+0xac/0xc4
    \[\<ffff8000804b7494\>\] \_\_arm64\_sys\_mount+0x16c/0x2b0
    \[\<ffff80008002b8dc\>\] invoke\_syscall+0x7c/0x104
    \[\<ffff80008002ba44\>\] el0\_svc\_common.constprop.1+0xe0/0x104
    \[\<ffff80008002ba94\>\] do\_el0\_svc+0x2c/0x38
    \[\<ffff800081041108\>\] el0\_svc+0x3c/0x1b8

The opt-\>iocharset is freed inside the isofs\_fill\_super function,
But there may be situations where it's not possible to
enter this function.

For example, in the get\_tree\_bdev\_flags function,when
encountering the situation where "Can't mount, would change RO state,"
In such a case, isofs\_fill\_super will not have the opportunity
to be called,which means that opt-\>iocharset will not have the chance
to be freed,ultimately leading to a memory leak.

Let's move the memory freeing of opt-\>iocharset into
isofs\_free\_fc function.

## Affected and fixed versions

- Linux: \>= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, \< 34f090ddb3630a26e5a6b220bf3bfaf5c7b70393; \>= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, \< 0fbab266ca8000333c966f5b58cb9b9cac658573; \>= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, \< 0b5bbeee4de616a268db77e2f40f19ab010a367b (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 0b5bbeee4de616a268db77e2f40f19ab010a367b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56534. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56534.md
Affected: Linux >= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, < 34f090ddb3630a26e5a6b220bf3bfaf5c7b70393; >= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, < 0fbab266ca8000333c966f5b58cb9b9cac658573; >= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, < 0b5bbeee4de616a268db77e2f40f19ab010a367b; Linux 6.10
Fixed in: Linux 34f090ddb3630a26e5a6b220bf3bfaf5c7b70393, Linux 0fbab266ca8000333c966f5b58cb9b9cac658573, Linux 0b5bbeee4de616a268db77e2f40f19ab010a367b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56534 being exploited?

There is no confirmed exploitation: CVE-2024-56534 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-56534?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56534?

Linux \>= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, \< 34f090ddb3630a26e5a6b220bf3bfaf5c7b70393; \>= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, \< 0fbab266ca8000333c966f5b58cb9b9cac658573; \>= 1b17a46c9243e9421ee1ac6d628604bbc4ae2201, \< 0b5bbeee4de616a268db77e2f40f19ab010a367b; Linux 6.10.

### Is there a fix for CVE-2024-56534?

Yes. Fixed in Linux 34f090ddb3630a26e5a6b220bf3bfaf5c7b70393, Linux 0fbab266ca8000333c966f5b58cb9b9cac658573, Linux 0b5bbeee4de616a268db77e2f40f19ab010a367b. Upgrade Linux to 0b5bbeee4de616a268db77e2f40f19ab010a367b or later.

### How do I check if I'm affected by CVE-2024-56534?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/34f090ddb3630a26e5a6b220bf3bfaf5c7b70393>
- patch: <https://git.kernel.org/stable/c/0fbab266ca8000333c966f5b58cb9b9cac658573>
- patch: <https://git.kernel.org/stable/c/0b5bbeee4de616a268db77e2f40f19ab010a367b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56534>

HTML: <https://flawdb.com/CVE-2024-56534> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56534>
