5.5

CVE-2024-42246: linux Infinite Loop

CVSS: 5.5v3.1MediumModified
AliasesUBUNTU-CVE-2024-42246DEBIAN-CVE-2024-42246
Published 07-08-2024Last modified 11-05-2026

Vulnerability summary

CVE-2024-42246 is a medium (CVSS 5.5) Infinite Loop vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 39 · Related 32

Timeline

  1. 07-08-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket When using a BPF program on kernel_connect(), the call can return -EPERM. This causes xs_tcp_setup_socket() to loop forever, filling up the syslog and causing the kernel to potentially freeze up. Neil suggested: This will propagate -EPERM up into other layers which might not be ready to handle it. It might be safer to map EPERM to an error we would be more likely to expect from the network system - such as ECONNREFUSED or ENETDOWN. ECONNREFUSED as error seems reasonable. For programs setting a different error can be out of reach (see handling in 4fbac77d2d09) in particular on kernels which do not have f10d05966196 ("bpf: Make BPF_PROG_RUN_ARRAY return -err instead of allow boolean"), thus given that it is better to simply remap for consistent behavior. UDP does handle EPERM in xs_udp_send_request().

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

0.00 pp

From 0.23% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.23%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu125 products
  • linux< 5.4.0-200.220 | < 5.15.0-125.135 | < 6.8.0-48.48
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.4.0-1135.145 | < 5.15.0-1072.78 | < 6.8.0-1018.20
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 4fbac77d2d092b475dda9eea66da674369665427, < bc790261218952635f846aaf90bcc0974f6f62c6 | ≥ 4fbac77d2d092b475dda9eea66da674369665427, < 934247ea65bc5eca8bdb7f8c0ddc15cef992a5d6 | ≥ 4fbac77d2d092b475dda9eea66da674369665427, < 02ee1976edb21a96ce8e3fd4ef563f14cc16d041 | ≥ 4fbac77d2d092b475dda9eea66da674369665427, < 5d8254e012996cee1a0f9cc920531cb7e4d9a011 | ≥ 4fbac77d2d092b475dda9eea66da674369665427, < f2431e7db0fe0daccb2f06bb0d23740affcd2fa6 | ≥ 4fbac77d2d092b475dda9eea66da674369665427, < d6c686c01c5f12ff8f7264e0ddf71df6cb0d4414 | ≥ 4fbac77d2d092b475dda9eea66da674369665427, < f388cfd913a2b96c05339a335f365795db1b36b6 | ≥ 4fbac77d2d092b475dda9eea66da674369665427, < 626dfed5fa3bfb41e0dffd796032b555b69f9cde | 4.17
  • linux_kernel≥ 4.17, < 6.1.100 | ≥ 6.2, < 6.6.41 | ≥ 6.7, < 6.9.10
Debian1 product
  • linux< 6.1.106-1 | < 6.9.10-1

3 vendors · 128 products

References

36 links
Show all 36 references