# net/iucv: fix use after free in iucv_sock_close()

CVE record · `CVE-2024-42271`

- **Identifiers:** `CVE-2024-42271`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 17 Aug 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 17 Aug 2024, 08:54 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: `7d316b9453523498246e9e19a659c423d4c5081e to before 84f40b46787ecb67c7ad08a5bb1376141fa10c01` (git)
  - affected: `7d316b9453523498246e9e19a659c423d4c5081e to before 37652fbef9809411cea55ea5fa1a170e299efcd0` (git)
  - affected: `7d316b9453523498246e9e19a659c423d4c5081e to before c65f72eec60a34ace031426e04e9aff8e5f04895` (git)
  - affected: `7d316b9453523498246e9e19a659c423d4c5081e to before ac758e1f663fe9bc64f6b47212a2aa18697524f5` (git)
  - affected: `7d316b9453523498246e9e19a659c423d4c5081e to before 8b424c9e44111c5a76f41c6b741f8d4c4179d876` (git)
  - affected: `7d316b9453523498246e9e19a659c423d4c5081e to before 01437282fd3904810603f3dc98d2cac6b8b6fc84` (git)
  - affected: `7d316b9453523498246e9e19a659c423d4c5081e to before 69620522c48ce8215e5eb55ffbab8cafee8f407d` (git)
  - affected: `7d316b9453523498246e9e19a659c423d4c5081e to before f558120cd709682b739207b48cf7479fd9568431` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.4`
  - unaffected: `before 3.4` (semver)
  - unaffected: `4.19.320 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.282 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.224 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.165 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.104 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.45 to 6.6.*, inclusive` (semver)
  - unaffected: `6.10.4 to 6.10.*, inclusive` (semver)
  - unaffected: `6.11 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **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 17 Aug 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/84f40b46787ecb67c7ad08a5bb1376141fa10c01>
- <https://git.kernel.org/stable/c/37652fbef9809411cea55ea5fa1a170e299efcd0>
- <https://git.kernel.org/stable/c/c65f72eec60a34ace031426e04e9aff8e5f04895>
- <https://git.kernel.org/stable/c/ac758e1f663fe9bc64f6b47212a2aa18697524f5>
- <https://git.kernel.org/stable/c/8b424c9e44111c5a76f41c6b741f8d4c4179d876>
- <https://git.kernel.org/stable/c/01437282fd3904810603f3dc98d2cac6b8b6fc84>
- <https://git.kernel.org/stable/c/69620522c48ce8215e5eb55ffbab8cafee8f407d>
- <https://git.kernel.org/stable/c/f558120cd709682b739207b48cf7479fd9568431>

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-42271>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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