# CVE-2023-53616: jfs: fix invalid free of JFS\_IP(ipimap)-\>i\_imap in diUnmount

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2025-10-04T15:44:23.056Z
- **Modified:** 2026-08-05T09:15:09.391Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c3c0f0ddd851b3fa3e9d3450bbcd561f4f850469; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 114ea3cb13ab25f7178cb60283adb93d2f96dad7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5873df0195124be2f357de11bfd473ead4f90ed8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 756747d4b439e3e1159282ae89f17eefebbe9b25; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ef7311101ca43dd73b45bca7a30ac72d9535ff87; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4de3a603010e0ca334487de24c6aab0777b7f808; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 88484bde6f12126616b38e43b6c00edcd941f615; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6e2bda2c192d0244b5a78b787ef20aa10cb319b7
- Anyone running Linux 2.6.12

## Description

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

jfs: fix invalid free of JFS\_IP(ipimap)-\>i\_imap in diUnmount

syzbot found an invalid-free in diUnmount:

BUG: KASAN: double-free in slab\_free mm/slub.c:3661 \[inline\]
BUG: KASAN: double-free in \_\_kmem\_cache\_free+0x71/0x110 mm/slub.c:3674
Free of addr ffff88806f410000 by task syz-executor131/3632

 CPU: 0 PID: 3632 Comm: syz-executor131 Not tainted 6.1.0-rc7-syzkaller-00012-gca57f02295f1 \#0
 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
 Call Trace:
  \<TASK\>
  \_\_dump\_stack lib/dump\_stack.c:88 \[inline\]
  dump\_stack\_lvl+0x1b1/0x28e lib/dump\_stack.c:106
  print\_address\_description+0x74/0x340 mm/kasan/report.c:284
  print\_report+0x107/0x1f0 mm/kasan/report.c:395
  kasan\_report\_invalid\_free+0xac/0xd0 mm/kasan/report.c:460
  \_\_\_\_kasan\_slab\_free+0xfb/0x120
  kasan\_slab\_free include/linux/kasan.h:177 \[inline\]
  slab\_free\_hook mm/slub.c:1724 \[inline\]
  slab\_free\_freelist\_hook+0x12e/0x1a0 mm/slub.c:1750
  slab\_free mm/slub.c:3661 \[inline\]
  \_\_kmem\_cache\_free+0x71/0x110 mm/slub.c:3674
  diUnmount+0xef/0x100 fs/jfs/jfs\_imap.c:195
  jfs\_umount+0x108/0x370 fs/jfs/jfs\_umount.c:63
  jfs\_put\_super+0x86/0x190 fs/jfs/super.c:194
  generic\_shutdown\_super+0x130/0x310 fs/super.c:492
  kill\_block\_super+0x79/0xd0 fs/super.c:1428
  deactivate\_locked\_super+0xa7/0xf0 fs/super.c:332
  cleanup\_mnt+0x494/0x520 fs/namespace.c:1186
  task\_work\_run+0x243/0x300 kernel/task\_work.c:179
  exit\_task\_work include/linux/task\_work.h:38 \[inline\]
  do\_exit+0x664/0x2070 kernel/exit.c:820
  do\_group\_exit+0x1fd/0x2b0 kernel/exit.c:950
  \_\_do\_sys\_exit\_group kernel/exit.c:961 \[inline\]
  \_\_se\_sys\_exit\_group kernel/exit.c:959 \[inline\]
  \_\_x64\_sys\_exit\_group+0x3b/0x40 kernel/exit.c:959
  do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
  do\_syscall\_64+0x3d/0xb0 arch/x86/entry/common.c:80
  entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd
\[...\]

JFS\_IP(ipimap)-\>i\_imap is not setting to NULL after free in diUnmount.
If jfs\_remount() free JFS\_IP(ipimap)-\>i\_imap but then failed at diMount().
JFS\_IP(ipimap)-\>i\_imap will be freed once again.
Fix this problem by setting JFS\_IP(ipimap)-\>i\_imap to NULL after free.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c3c0f0ddd851b3fa3e9d3450bbcd561f4f850469; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 114ea3cb13ab25f7178cb60283adb93d2f96dad7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5873df0195124be2f357de11bfd473ead4f90ed8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 756747d4b439e3e1159282ae89f17eefebbe9b25; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ef7311101ca43dd73b45bca7a30ac72d9535ff87; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4de3a603010e0ca334487de24c6aab0777b7f808; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 88484bde6f12126616b38e43b6c00edcd941f615; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6e2bda2c192d0244b5a78b787ef20aa10cb319b7 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 6e2bda2c192d0244b5a78b787ef20aa10cb319b7 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53616.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c3c0f0ddd851b3fa3e9d3450bbcd561f4f850469; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 114ea3cb13ab25f7178cb60283adb93d2f96dad7; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5873df0195124be2f357de11bfd473ead4f90ed8; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 114ea3cb13ab25f7178cb60283adb93d2f96dad7, Linux 5873df0195124be2f357de11bfd473ead4f90ed8, Linux 756747d4b439e3e1159282ae89f17eefebbe9b25, Linux 4de3a603010e0ca334487de24c6aab0777b7f808, Linux 88484bde6f12126616b38e43b6c00edcd941f615, Linux 6e2bda2c192d0244b5a78b787ef20aa10cb319b7

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-2023-53616 being exploited?

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

### How serious is CVE-2023-53616?

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

### Which versions are affected by CVE-2023-53616?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c3c0f0ddd851b3fa3e9d3450bbcd561f4f850469; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 114ea3cb13ab25f7178cb60283adb93d2f96dad7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5873df0195124be2f357de11bfd473ead4f90ed8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 756747d4b439e3e1159282ae89f17eefebbe9b25; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ef7311101ca43dd73b45bca7a30ac72d9535ff87; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4de3a603010e0ca334487de24c6aab0777b7f808; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 88484bde6f12126616b38e43b6c00edcd941f615; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6e2bda2c192d0244b5a78b787ef20aa10cb319b7; Linux 2.6.12.

### Is there a fix for CVE-2023-53616?

Yes. Fixed in Linux 114ea3cb13ab25f7178cb60283adb93d2f96dad7, Linux 5873df0195124be2f357de11bfd473ead4f90ed8, Linux 756747d4b439e3e1159282ae89f17eefebbe9b25, Linux 4de3a603010e0ca334487de24c6aab0777b7f808, Linux 88484bde6f12126616b38e43b6c00edcd941f615, Linux 6e2bda2c192d0244b5a78b787ef20aa10cb319b7. Upgrade Linux to 6e2bda2c192d0244b5a78b787ef20aa10cb319b7 or later.

### How do I check if I'm affected by CVE-2023-53616?

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/c3c0f0ddd851b3fa3e9d3450bbcd561f4f850469>
- patch: <https://git.kernel.org/stable/c/114ea3cb13ab25f7178cb60283adb93d2f96dad7>
- patch: <https://git.kernel.org/stable/c/5873df0195124be2f357de11bfd473ead4f90ed8>
- patch: <https://git.kernel.org/stable/c/756747d4b439e3e1159282ae89f17eefebbe9b25>
- patch: <https://git.kernel.org/stable/c/ef7311101ca43dd73b45bca7a30ac72d9535ff87>
- patch: <https://git.kernel.org/stable/c/4de3a603010e0ca334487de24c6aab0777b7f808>
- patch: <https://git.kernel.org/stable/c/88484bde6f12126616b38e43b6c00edcd941f615>
- patch: <https://git.kernel.org/stable/c/6e2bda2c192d0244b5a78b787ef20aa10cb319b7>

## 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-2023-53616>

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