SecurityContext

CVE-2024-42145: Linux Kernel - Buffer Overflow

  • Cve: CVE-2024-42145
  • Name: Linux Kernel - Buffer Overflow
  • Description: In the Linux kernel, the following vulnerability has been resolved: IB/core: Implement a limit on UMAD receive List The existing behavior of ib_umad, which maintains received MAD packets in an unbounded list, poses a risk of uncontrolled growth. As user-space applications extract packets from this list, the rate of extraction may not match the rate of incoming packets, leading to potential list overflow. To address this, we introduce a limit to the size of the list. After considering typical scenarios, such as OpenSM processing, which can handle approximately 100k packets per second, and the 1-second retry timeout for most packets, we set the list size limit to 200k. Packets received beyond this limit are dropped, assuming they are likely timed out by the time they are handled by user-space. Notably, packets queued on the receive list due to reasons like timed-out sends are preserved even when the list is full.
  • Impact: Potential list overflow leading to denial of service or system instability when receiving excessive packets.
  • Remediation: Update to the latest Linux kernel version where this fix is included.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00871
  • Epss percentile: 0.59757
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-07-30T08:15:06Z
  • Age in days: 847
  • Modified at: 2026-08-04T11:19:38Z
  • Patch available: yes
  • References total: 9
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-42145
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-770Allocation of Resources Without Limits or Throttling

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/1288cf1cceb0e6df276e182f5412370fb4169bcbPatch
https://git.kernel.org/stable/c/62349fbf86b5e13b02721bdadf98c29afd1e7b5fPatch
https://git.kernel.org/stable/c/63d202d948bb6d3a28cd8e8b96b160fa53e18baaPatch
https://git.kernel.org/stable/c/a6627fba793cc75b7365d9504a0095fb2902dda4Patch
https://git.kernel.org/stable/c/b4913702419d064ec4c4bbf7270643c95cc89a1bPatch
https://git.kernel.org/stable/c/b8c5f635997f49c625178d1a0cb32a80ed33abe6Patch
https://git.kernel.org/stable/c/ca0b44e20a6f3032224599f02e7c8fb49525c894Patch
https://git.kernel.org/stable/c/d73cb8862e4d6760ccc94d3b57b9ef6271400607Patch
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.7, < 6.9.9; >= 6.2, < 6.6.39; >= 5.16, < 6.1.98; >= 5.11, < 5.15.163; >= 5.5, < 5.10.222; >= 4.20, < 5.4.280; < 4.19.318nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports