# CVE-2024-53112: ocfs2: uncache inode which has failed entering the group

> 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, NVD) `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.32% (percentile 18, 2026-11-28)
- **Published:** 2024-12-02T13:44:44.387Z
- **Modified:** 2026-06-17T08:08:19.913Z

## Who should check

- Anyone running Linux \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< ac0cfe8ac35cf1be54131b90d114087b558777ca; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 5ae8cc0b0c027e9cab22596049bc4dd1cbc37ee4; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 28d4ed71ae0b4baedca3e85ee6d8f227ec75ebf6; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 0e04746db2ec4aec04cef5763b9d9aa32829ae2f; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 620d22598110b0d0cb97a3fcca65fc473ea86e73; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 843dfc804af4b338ead42331dd58081b428ecdf8; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< b751c50e19d66cfb7360c0b55cf17b0722252d12; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 737f34137844d6572ab7d473c998c7f977ff30eb
- Anyone running Linux 2.6.25

## Description

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

ocfs2: uncache inode which has failed entering the group

Syzbot has reported the following BUG:

kernel BUG at fs/ocfs2/uptodate.c:509!
...
Call Trace:
 \<TASK\>
 ? \_\_die\_body+0x5f/0xb0
 ? die+0x9e/0xc0
 ? do\_trap+0x15a/0x3a0
 ? ocfs2\_set\_new\_buffer\_uptodate+0x145/0x160
 ? do\_error\_trap+0x1dc/0x2c0
 ? ocfs2\_set\_new\_buffer\_uptodate+0x145/0x160
 ? \_\_pfx\_do\_error\_trap+0x10/0x10
 ? handle\_invalid\_op+0x34/0x40
 ? ocfs2\_set\_new\_buffer\_uptodate+0x145/0x160
 ? exc\_invalid\_op+0x38/0x50
 ? asm\_exc\_invalid\_op+0x1a/0x20
 ? ocfs2\_set\_new\_buffer\_uptodate+0x2e/0x160
 ? ocfs2\_set\_new\_buffer\_uptodate+0x144/0x160
 ? ocfs2\_set\_new\_buffer\_uptodate+0x145/0x160
 ocfs2\_group\_add+0x39f/0x15a0
 ? \_\_pfx\_ocfs2\_group\_add+0x10/0x10
 ? \_\_pfx\_lock\_acquire+0x10/0x10
 ? mnt\_get\_write\_access+0x68/0x2b0
 ? \_\_pfx\_lock\_release+0x10/0x10
 ? rcu\_read\_lock\_any\_held+0xb7/0x160
 ? \_\_pfx\_rcu\_read\_lock\_any\_held+0x10/0x10
 ? smack\_log+0x123/0x540
 ? mnt\_get\_write\_access+0x68/0x2b0
 ? mnt\_get\_write\_access+0x68/0x2b0
 ? mnt\_get\_write\_access+0x226/0x2b0
 ocfs2\_ioctl+0x65e/0x7d0
 ? \_\_pfx\_ocfs2\_ioctl+0x10/0x10
 ? smack\_file\_ioctl+0x29e/0x3a0
 ? \_\_pfx\_smack\_file\_ioctl+0x10/0x10
 ? lockdep\_hardirqs\_on\_prepare+0x43d/0x780
 ? \_\_pfx\_lockdep\_hardirqs\_on\_prepare+0x10/0x10
 ? \_\_pfx\_ocfs2\_ioctl+0x10/0x10
 \_\_se\_sys\_ioctl+0xfb/0x170
 do\_syscall\_64+0xf3/0x230
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
...
 \</TASK\>

When 'ioctl(OCFS2\_IOC\_GROUP\_ADD, ...)' has failed for the particular
inode in 'ocfs2\_verify\_group\_and\_input()', corresponding buffer head
remains cached and subsequent call to the same 'ioctl()' for the same
inode issues the BUG() in 'ocfs2\_set\_new\_buffer\_uptodate()' (trying
to cache the same buffer head of that inode). Fix this by uncaching
the buffer head with 'ocfs2\_remove\_from\_cache()' on error path in
'ocfs2\_group\_add()'.

## Affected and fixed versions

- Linux: \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< ac0cfe8ac35cf1be54131b90d114087b558777ca; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 5ae8cc0b0c027e9cab22596049bc4dd1cbc37ee4; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 28d4ed71ae0b4baedca3e85ee6d8f227ec75ebf6; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 0e04746db2ec4aec04cef5763b9d9aa32829ae2f; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 620d22598110b0d0cb97a3fcca65fc473ea86e73; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 843dfc804af4b338ead42331dd58081b428ecdf8; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< b751c50e19d66cfb7360c0b55cf17b0722252d12; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 737f34137844d6572ab7d473c998c7f977ff30eb (cvelist)
- Linux: 2.6.25 (cvelist)

## Mitigation

- Upgrade Linux to 737f34137844d6572ab7d473c998c7f977ff30eb 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-53112. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53112.md
Affected: Linux >= 7909f2bf835376a20d6dbf853eb459a27566eba2, < ac0cfe8ac35cf1be54131b90d114087b558777ca; >= 7909f2bf835376a20d6dbf853eb459a27566eba2, < 5ae8cc0b0c027e9cab22596049bc4dd1cbc37ee4; >= 7909f2bf835376a20d6dbf853eb459a27566eba2, < 28d4ed71ae0b4baedca3e85ee6d8f227ec75ebf6; >= 7909f2bf835376a20d6dbf8…
Fixed in: Linux 5ae8cc0b0c027e9cab22596049bc4dd1cbc37ee4, Linux 28d4ed71ae0b4baedca3e85ee6d8f227ec75ebf6, Linux 0e04746db2ec4aec04cef5763b9d9aa32829ae2f, Linux 620d22598110b0d0cb97a3fcca65fc473ea86e73, Linux 843dfc804af4b338ead42331dd58081b428ecdf8, Linux 737f34137844d6572ab7d473c998c7f977ff30eb

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-53112 being exploited?

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

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

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

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

Linux \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< ac0cfe8ac35cf1be54131b90d114087b558777ca; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 5ae8cc0b0c027e9cab22596049bc4dd1cbc37ee4; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 28d4ed71ae0b4baedca3e85ee6d8f227ec75ebf6; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 0e04746db2ec4aec04cef5763b9d9aa32829ae2f; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 620d22598110b0d0cb97a3fcca65fc473ea86e73; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 843dfc804af4b338ead42331dd58081b428ecdf8; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< b751c50e19d66cfb7360c0b55cf17b0722252d12; \>= 7909f2bf835376a20d6dbf853eb459a27566eba2, \< 737f34137844d6572ab7d473c998c7f977ff30eb; Linux 2.6.25.

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

Yes. Fixed in Linux 5ae8cc0b0c027e9cab22596049bc4dd1cbc37ee4, Linux 28d4ed71ae0b4baedca3e85ee6d8f227ec75ebf6, Linux 0e04746db2ec4aec04cef5763b9d9aa32829ae2f, Linux 620d22598110b0d0cb97a3fcca65fc473ea86e73, Linux 843dfc804af4b338ead42331dd58081b428ecdf8, Linux 737f34137844d6572ab7d473c998c7f977ff30eb. Upgrade Linux to 737f34137844d6572ab7d473c998c7f977ff30eb or later.

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

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/ac0cfe8ac35cf1be54131b90d114087b558777ca>
- patch: <https://git.kernel.org/stable/c/620d22598110b0d0cb97a3fcca65fc473ea86e73>
- patch: <https://git.kernel.org/stable/c/843dfc804af4b338ead42331dd58081b428ecdf8>
- patch: <https://git.kernel.org/stable/c/b751c50e19d66cfb7360c0b55cf17b0722252d12>
- patch: <https://git.kernel.org/stable/c/737f34137844d6572ab7d473c998c7f977ff30eb>
- other: <https://git.kernel.org/stable/c/5ae8cc0b0c027e9cab22596049bc4dd1cbc37ee4>
- other: <https://git.kernel.org/stable/c/28d4ed71ae0b4baedca3e85ee6d8f227ec75ebf6>
- other: <https://git.kernel.org/stable/c/0e04746db2ec4aec04cef5763b9d9aa32829ae2f>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## 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-53112>

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