# net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket

CVE record · `CVE-2024-42246`

- **Identifiers:** `CVE-2024-42246`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 7 Aug 2024
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 7 Aug 2024, 15:14 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: `4fbac77d2d092b475dda9eea66da674369665427 to before bc790261218952635f846aaf90bcc0974f6f62c6` (git)
  - affected: `4fbac77d2d092b475dda9eea66da674369665427 to before 934247ea65bc5eca8bdb7f8c0ddc15cef992a5d6` (git)
  - affected: `4fbac77d2d092b475dda9eea66da674369665427 to before 02ee1976edb21a96ce8e3fd4ef563f14cc16d041` (git)
  - affected: `4fbac77d2d092b475dda9eea66da674369665427 to before 5d8254e012996cee1a0f9cc920531cb7e4d9a011` (git)
  - affected: `4fbac77d2d092b475dda9eea66da674369665427 to before f2431e7db0fe0daccb2f06bb0d23740affcd2fa6` (git)
  - affected: `4fbac77d2d092b475dda9eea66da674369665427 to before d6c686c01c5f12ff8f7264e0ddf71df6cb0d4414` (git)
  - affected: `4fbac77d2d092b475dda9eea66da674369665427 to before f388cfd913a2b96c05339a335f365795db1b36b6` (git)
  - affected: `4fbac77d2d092b475dda9eea66da674369665427 to before 626dfed5fa3bfb41e0dffd796032b555b69f9cde` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.17`
  - unaffected: `before 4.17` (semver)
  - unaffected: `4.19.322 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.284 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.226 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.167 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.100 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.41 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.10 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0023, 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 7 Aug 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/bc790261218952635f846aaf90bcc0974f6f62c6>
- <https://git.kernel.org/stable/c/934247ea65bc5eca8bdb7f8c0ddc15cef992a5d6>
- <https://git.kernel.org/stable/c/02ee1976edb21a96ce8e3fd4ef563f14cc16d041>
- <https://git.kernel.org/stable/c/5d8254e012996cee1a0f9cc920531cb7e4d9a011>
- <https://git.kernel.org/stable/c/f2431e7db0fe0daccb2f06bb0d23740affcd2fa6>
- <https://git.kernel.org/stable/c/d6c686c01c5f12ff8f7264e0ddf71df6cb0d4414>
- <https://git.kernel.org/stable/c/f388cfd913a2b96c05339a335f365795db1b36b6>
- <https://git.kernel.org/stable/c/626dfed5fa3bfb41e0dffd796032b555b69f9cde>

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

---

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