SecurityContext

CVE-2024-42118: Linux Kernel - Out of Bounds Read/Write

  • Cve: CVE-2024-42118
  • Name: Linux Kernel - Out of Bounds Read/Write
  • Description: In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Do not return negative stream id for array [WHY] resource_stream_to_stream_idx returns an array index and it return -1 when not found; however, -1 is not a valid array index number. [HOW] When this happens, call ASSERT(), and return a zero instead. This fixes an OVERRUN and an NEGATIVE_RETURNS issues reported by Coverity.
  • Impact: Potential array overrun and negative index issues could lead to kernel crashes or privilege escalation.
  • Remediation: Update to the latest Linux kernel version where this issue is fixed.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00235
  • Epss percentile: 0.1434
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-07-30T08:15:04Z
  • Age in days: 847
  • Modified at: 2026-06-17T07:48:52Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-42118
  • Nvd status: analyzed
  • 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-125Out-of-bounds Read

References

UrlSourceTags
https://git.kernel.org/stable/c/3ac31c9a707dd1c7c890b95333182f955e9dcb57nvdPatch
https://git.kernel.org/stable/c/a76fa9c4f0fc0aa6f517da3fa7d7c23e8a32c7d0nvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 4.15, < 6.9.9nonvd/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