# usb: roles: fix NULL pointer issue when put module's reference

CVE record · `CVE-2024-26747`

- **Identifiers:** `CVE-2024-26747`
- **State:** Confirmed
- **Severity:** CVSS 4.4 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 3 Apr 2024
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 3 Apr 2024, 17:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `5c54fcac9a9de559b444ac63ec3cd82f1d157a0b to before e279bf8e51893e1fe160b3d8126ef2dd00f661e1` (git)
  - affected: `5c54fcac9a9de559b444ac63ec3cd82f1d157a0b to before ef982fc41055fcebb361a92288d3225783d12913` (git)
  - affected: `5c54fcac9a9de559b444ac63ec3cd82f1d157a0b to before 0158216805ca7e498d07de38840d2732166ae5fa` (git)
  - affected: `5c54fcac9a9de559b444ac63ec3cd82f1d157a0b to before 4b45829440b1b208948b39cc71f77a37a2536734` (git)
  - affected: `5c54fcac9a9de559b444ac63ec3cd82f1d157a0b to before 01f82de440f2ab07c259b7573371e1c42e5565db` (git)
  - affected: `5c54fcac9a9de559b444ac63ec3cd82f1d157a0b to before 1c9be13846c0b2abc2480602f8ef421360e1ad9e` (git)
  - affected: `7b169e33a3bc9040e06988b2bc15e83d2af80358` (git)
  - affected: `4.18.12 to before 4.19` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.19`
  - unaffected: `before 4.19` (semver)
  - unaffected: `5.10.211 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.150 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.80 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.19 to 6.6.*, inclusive` (semver)
  - unaffected: `6.7.7 to 6.7.*, inclusive` (semver)
  - unaffected: `6.8 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 4.4 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 14th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 3 Apr 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-26747](https://www.cve.org/CVERecord?id=CVE-2024-26747)
- [NVD: CVE-2024-26747](https://nvd.nist.gov/vuln/detail/CVE-2024-26747)

### References from the CNA

- <https://git.kernel.org/stable/c/e279bf8e51893e1fe160b3d8126ef2dd00f661e1>
- <https://git.kernel.org/stable/c/ef982fc41055fcebb361a92288d3225783d12913>
- <https://git.kernel.org/stable/c/0158216805ca7e498d07de38840d2732166ae5fa>
- <https://git.kernel.org/stable/c/4b45829440b1b208948b39cc71f77a37a2536734>
- <https://git.kernel.org/stable/c/01f82de440f2ab07c259b7573371e1c42e5565db>
- <https://git.kernel.org/stable/c/1c9be13846c0b2abc2480602f8ef421360e1ad9e>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-26747>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-26747/>. Everything for agents: <https://agentprime.io/llms.txt>.
