{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-42246",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-42246",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-08-07T15:14:31.615Z",
    "updatedAt": "2026-05-11T20:28:37.829Z",
    "importedAt": "2026-10-24T01:57:16.009Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket\n\nWhen using a BPF program on kernel_connect(), the call can return -EPERM. This\ncauses xs_tcp_setup_socket() to loop forever, filling up the syslog and causing\nthe kernel to potentially freeze up.\n\nNeil suggested:\n\n  This will propagate -EPERM up into other layers which might not be ready\n  to handle it. It might be safer to map EPERM to an error we would be more\n  likely to expect from the network system - such as ECONNREFUSED or ENETDOWN.\n\nECONNREFUSED as error seems reasonable. For programs setting a different error\ncan be out of reach (see handling in 4fbac77d2d09) in particular on kernels\nwhich do not have f10d05966196 (\"bpf: Make BPF_PROG_RUN_ARRAY return -err\ninstead of allow boolean\"), thus given that it is better to simply remap for\nconsistent behavior. UDP does handle EPERM in xs_udp_send_request().",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "4fbac77d2d092b475dda9eea66da674369665427",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bc790261218952635f846aaf90bcc0974f6f62c6"
            },
            {
              "version": "4fbac77d2d092b475dda9eea66da674369665427",
              "status": "affected",
              "versionType": "git",
              "lessThan": "934247ea65bc5eca8bdb7f8c0ddc15cef992a5d6"
            },
            {
              "version": "4fbac77d2d092b475dda9eea66da674369665427",
              "status": "affected",
              "versionType": "git",
              "lessThan": "02ee1976edb21a96ce8e3fd4ef563f14cc16d041"
            },
            {
              "version": "4fbac77d2d092b475dda9eea66da674369665427",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5d8254e012996cee1a0f9cc920531cb7e4d9a011"
            },
            {
              "version": "4fbac77d2d092b475dda9eea66da674369665427",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f2431e7db0fe0daccb2f06bb0d23740affcd2fa6"
            },
            {
              "version": "4fbac77d2d092b475dda9eea66da674369665427",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d6c686c01c5f12ff8f7264e0ddf71df6cb0d4414"
            },
            {
              "version": "4fbac77d2d092b475dda9eea66da674369665427",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f388cfd913a2b96c05339a335f365795db1b36b6"
            },
            {
              "version": "4fbac77d2d092b475dda9eea66da674369665427",
              "status": "affected",
              "versionType": "git",
              "lessThan": "626dfed5fa3bfb41e0dffd796032b555b69f9cde"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.17",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.17"
            },
            {
              "version": "4.19.322",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.284",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.226",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.167",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.100",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.41",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.9.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}